/*
Theme Name: SysReady Dental IT
Theme URI: https://sysready.ca/
Author: OpenAI Codex
Description: WordPress theme for SysReady dental IT services with editable pages, posts, and WordPress.com-friendly packaging.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sysready
*/

:root{
  --ink:#0B1736;
  --text:#27364A;
  --muted:#5D6B7F;
  --blue:#0B3A75;
  --blue2:#124E9A;
  --teal:#35A6B8;
  --green:#0FA77A;
  --soft:#F5F9FC;
  --soft2:#EAF7FA;
  --line:#E3ECF2;
  --white:#fff;
  --shadow:0 18px 45px rgba(11,23,54,.10);
  --radius:16px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Manrope,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.58;
}
img{max-width:100%;display:block}
a{color:inherit}
.container{width:min(92%,var(--max));margin:auto}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}

.nav{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}

.logo{
  display:flex;
  align-items:center;
  gap:.8rem;
  text-decoration:none;
  color:var(--ink);
  font-weight:900;
}

.logo img,
.custom-logo{
  height:54px;
  width:auto;
}

.logo-text{
  font-size:1.05rem;
  letter-spacing:-.02em;
}

.nav-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:1.55rem;
}

.nav-links a{
  text-decoration:none;
  color:#1B2940;
  font-size:.95rem;
  font-weight:750;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-page-ancestor > a{color:var(--blue2)}

.nav-cta{
  background:#082F65;
  color:white!important;
  padding:.85rem 1.2rem;
  border-radius:7px;
  box-shadow:0 9px 22px rgba(8,47,101,.18);
}

.mobile-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--blue);
  -webkit-text-fill-color:var(--blue);
  -webkit-appearance:none;
  appearance:none;
  padding:.65rem .8rem;
  border-radius:8px;
  font-weight:800;
  line-height:1;
  box-shadow:none;
}

.site-content{min-height:40vh}

.hero{
  min-height:610px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 34%,rgba(255,255,255,.72) 52%,rgba(255,255,255,.04) 100%),
    url("assets/images/hero image 2.png") right center/cover no-repeat;
}

.hero-content{
  width:min(92%,1180px);
  margin:auto;
  padding:5.9rem 0 5.4rem;
}

.hero-copy{max-width:610px}

.kicker{
  display:inline-block;
  font-size:.78rem;
  font-weight:900;
  color:var(--blue);
  letter-spacing:.09em;
  text-transform:uppercase;
  margin-bottom:.9rem;
}

h1,h2,h3{margin:0 0 1rem;line-height:1.1}

h1{
  font-size:clamp(2.55rem,5.2vw,4.85rem);
  letter-spacing:-.055em;
}

h2{
  font-size:clamp(2rem,3vw,3.05rem);
  letter-spacing:-.035em;
}

h3{font-size:1.18rem}
.blue{color:var(--blue)}

.lead{
  font-size:1.14rem;
  color:#34445A;
  max-width:690px;
}

.hero-list{
  list-style:none;
  padding:0;
  margin:1.5rem 0 0;
  display:grid;
  gap:.58rem;
}

.hero-list li{
  display:flex;
  align-items:center;
  gap:.7rem;
  font-weight:700;
  color:#27364A;
}

.check{
  width:20px;
  height:20px;
  border-radius:50%;
  background:#E2F8F1;
  color:#0B9D78;
  display:inline-grid;
  place-items:center;
  font-size:.82rem;
  font-weight:950;
  flex:0 0 auto;
}

.actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}

.btn,
button,
input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:.86rem 1.32rem;
  border-radius:7px;
  font-weight:850;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:.18s ease;
}

.btn-primary,
button,
input[type="submit"]{
  background:var(--blue);
  color:white;
  box-shadow:0 12px 24px rgba(11,58,117,.18);
}

.btn-primary:hover,
button:hover,
input[type="submit"]:hover{background:#082D5D;transform:translateY(-1px)}

.btn-outline{
  background:#fff;
  color:var(--blue);
  border-color:#9FB9D8;
}

.btn-outline:hover{border-color:var(--blue);transform:translateY(-1px)}

.section{padding:5.35rem 0}
.section.soft{background:#F4FAFD}
.section.tint{background:linear-gradient(90deg,#F1FBFD,#fff)}

.section-head{
  text-align:center;
  max-width:790px;
  margin:0 auto 2.55rem;
}

.section-head p{margin:0;color:var(--muted);font-size:1.06rem}

.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.35rem;
}

.card{
  background:#fff;
  border:1px solid #DCE8F0;
  border-radius:14px;
  padding:1.55rem;
  box-shadow:0 8px 22px rgba(11,23,54,.035);
  transition:.2s ease;
}

.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}

.icon{
  width:55px;
  height:55px;
  color:var(--blue);
  margin-bottom:1.08rem;
}

.icon svg{width:55px;height:55px;stroke:currentColor;fill:none;stroke-width:1.65}
.card p{color:var(--muted);margin:.5rem 0 1rem}

.card-link{
  color:var(--blue2);
  font-weight:850;
  text-decoration:none;
}

.two-col{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:4.5rem;
  align-items:center;
}

.visual-card{
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  background:#fff;
}

.bullets{
  list-style:none;
  padding:0;
  margin:1.25rem 0 0;
  display:grid;
  gap:.62rem;
}

.bullets li{display:flex;align-items:flex-start;gap:.7rem;color:#304057;font-weight:650}

.article-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.25rem;
}

.article,
.post-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(11,23,54,.04);
}

.article img,
.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}

.article-body,
.post-card-body{padding:1rem}

.tag{
  display:inline-flex;
  background:#E2F8F1;
  color:#08735F;
  border-radius:3px;
  padding:.2rem .45rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:.67rem;
  font-weight:950;
}

.article h3,
.post-card h2{font-size:1rem;margin:.65rem 0 .42rem}

.article p,
.post-card p{color:#536174;font-size:.91rem;margin:0 0 .85rem}

.date,
.post-date{color:#758397;font-size:.82rem}

.cta-band{
  background:linear-gradient(90deg,#0B3A75,#08264F);
  color:white;
  padding:2.6rem 0;
}

.cta-band .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
}

.cta-band h2{font-size:1.8rem;margin-bottom:.25rem}
.cta-band p{margin:0;color:#D9EAF5}

.footer{
  background:#F8FBFD;
  border-top:1px solid var(--line);
}

.footer-main{
  display:grid;
  grid-template-columns:1.4fr .75fr 1fr 1.2fr;
  gap:2.5rem;
  padding:3rem 0 2.4rem;
}

.footer-brand{margin-bottom:.75rem}
.footer-logo,
.footer .custom-logo{height:44px;width:auto}
.footer .custom-logo-link{display:inline-flex;align-items:center}
.footer p,.footer li{color:#556477}
.footer h3{font-size:1rem}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.42rem}
.footer a{text-decoration:none;color:#3D4D63}
.footer a:hover{color:var(--blue)}

.socials{display:flex;gap:.5rem;margin-top:1rem}

.socials a{
  width:34px;
  height:34px;
  border-radius:5px;
  background:var(--blue);
  color:white;
  display:grid;
  place-items:center;
  font-weight:900;
  text-decoration:none;
  font-size:.82rem;
}

.footer-bottom{
  border-top:1px solid var(--line);
  padding:.95rem 0;
  color:#64748B;
  font-size:.88rem;
  display:flex;
  justify-content:space-between;
  gap:1rem;
}

.page-hero{
  --page-hero-image:url("assets/images/hero image 2.png");
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 34%,rgba(255,255,255,.72) 52%,rgba(255,255,255,.08) 100%),
    var(--page-hero-image) right center/cover no-repeat;
  padding:5.5rem 0;
  border-bottom:1px solid var(--line);
}

.page-hero.hero-about{--page-hero-image:url("assets/images/hero image-about.png")}
.page-hero.hero-services{--page-hero-image:url("assets/images/hero image-services.png")}
.page-hero.hero-testimonial{--page-hero-image:url("assets/images/hero image-testimonial.png")}
.page-hero.hero-blog{--page-hero-image:url("assets/images/hero image-blog.png")}
.page-hero.hero-contact{--page-hero-image:url("assets/images/hero image-contact.png")}
.page-hero.hero-support{--page-hero-image:url("assets/images/hero image-support.png")}
.page-hero.hero-blog,
.page-hero.hero-testimonial,
.page-hero.hero-support{
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.94) 24%,rgba(255,255,255,.56) 48%,rgba(255,255,255,.10) 100%),
    var(--page-hero-image) 78% center/cover no-repeat;
}
.page-hero .inner{max-width:720px}
.page-hero > .inner,
.page-hero > .hero-content,
.section > .section-head,
.section > .service-grid,
.section > .two-col,
.section > .detail-grid,
.section > .testimonial-grid,
.section > .support-steps,
.section > .portal-shell,
.section > .blog-layout,
.section > .notice,
.section > .card{
  width:min(92%,var(--max));
  margin-left:auto;
  margin-right:auto;
}

.detail-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.35rem;
}

.detail-card ul{margin:.85rem 0 0;padding-left:1.1rem;color:var(--muted)}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.35rem}
.quote{font-size:1.05rem;color:#27364A}
.quote::before{content:"\201C";font-size:2.9rem;line-height:0;color:var(--teal)}
.blog-layout{display:grid;grid-template-columns:2fr .82fr;gap:2rem}
.blog-list{display:grid;gap:1.25rem}

.blog-row{
  display:grid;
  grid-template-columns:260px 1fr;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(11,23,54,.04);
}

.blog-row img{height:100%;object-fit:cover}
.sidebar{position:sticky;top:102px;align-self:start}
.category-list{display:grid;gap:.55rem}

.category-list a{
  text-decoration:none;
  background:#fff;
  border:1px solid var(--line);
  padding:.78rem .9rem;
  border-radius:8px;
  font-weight:750;
  color:#334155;
}

.support-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;counter-reset:step}
.step{counter-increment:step;background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.35rem}

.step::before{
  content:counter(step);
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  color:white;
  background:var(--blue);
  font-weight:950;
  margin-bottom:.8rem;
}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-grid .full{grid-column:1/-1}
label{font-weight:850;color:#334155;display:grid;gap:.35rem}

input,textarea,select{
  width:100%;
  border:1px solid #C9D6E2;
  border-radius:8px;
  padding:.9rem 1rem;
  font:inherit;
}

textarea{min-height:150px;resize:vertical}

.notice{
  background:#FFF7ED;
  border:1px solid #FED7AA;
  color:#7C2D12;
  padding:1rem;
  border-radius:12px;
}

.portal-shell{display:grid;grid-template-columns:280px 1fr;gap:1.35rem}

.portal-sidebar{
  background:#0B1736;
  color:white;
  padding:1.3rem;
  border-radius:16px;
}

.portal-sidebar img{background:white;border-radius:10px;padding:.45rem;margin-bottom:1rem}
.portal-sidebar a{display:block;color:#DDEAFE;text-decoration:none;font-weight:750;padding:.7rem;border-radius:8px}
.portal-sidebar a:hover{background:rgba(255,255,255,.09)}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.resource{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.15rem}

.entry-content > *:first-child,
.entry-content > .page-hero:first-child,
.entry-content > .hero:first-child{margin-top:0}

.entry-content a:not(.btn):not(.card-link):not(.nav-cta){color:var(--blue2)}
.entry-content p{margin:0 0 1rem}
.entry-header{padding:4rem 0 2rem}
.entry-title{margin:0}
.post-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.35rem}

.screen-reader-text{
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute!important;
  width:1px;
  word-wrap:normal!important;
}

@media(max-width:980px){
  .mobile-toggle{display:block}
  .nav{align-items:flex-start;padding:1rem 0;min-height:unset}
  .nav-links{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:white;
    padding:1rem 4%;
    flex-direction:column;
    align-items:flex-start;
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .nav-links.open{display:flex}
  .nav-cta{display:block;width:100%;text-align:center}
  .hero,.page-hero{
    background:
      linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.62)),
      var(--page-hero-image,url("assets/images/hero image 2.png")) center bottom/cover no-repeat;
  }
  .service-grid,.article-grid,.testimonial-grid,.support-steps,.resource-grid,.post-card-grid{grid-template-columns:1fr 1fr}
  .two-col,.blog-layout,.portal-shell{grid-template-columns:1fr}
  .footer-main{grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  .logo img,.custom-logo{height:48px}
  .logo-text{font-size:.95rem}
  .hero-content{padding:3.4rem 0}
  .hero{min-height:auto}
  .clinic-types,.service-grid,.article-grid,.testimonial-grid,.support-steps,.detail-grid,.form-grid,.resource-grid,.post-card-grid{grid-template-columns:1fr}
  .blog-row{grid-template-columns:1fr}
  .cta-band .container,.footer-bottom{flex-direction:column;align-items:flex-start}
  .footer-main{grid-template-columns:1fr}
}