/* Surprise Family Dentist – site styles
   Brand blue #45b2ec is used exactly as on the original site.
   --blue-deep is a darker shade of the same hue, used only where white text sits on blue
   (white on #45b2ec is only 2.4:1; white on #0f709f is 5.5:1). */

@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/inter-400.woff") format("woff")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url("../fonts/inter-600.woff") format("woff")}
@font-face{font-family:"Inter";font-weight:700;font-style:normal;font-display:swap;src:url("../fonts/inter-700.woff") format("woff")}
@font-face{font-family:"Inter";font-weight:800;font-style:normal;font-display:swap;src:url("../fonts/inter-800.woff") format("woff")}

:root{
  --blue:#45b2ec;        /* brand blue (original) */
  --blue-deep:#0f709f;   /* same hue, darker: buttons, links and small text on light backgrounds */
  --navy:#0b2a3c;        /* text and dark bands */
  --ink-soft:#3a5163;    /* secondary text */
  --tint:#eef8fd;        /* pale blue section background */
  --line:#d5e6f0;
  --sky:#8fd3f5;         /* icons on navy */
  --on-navy-soft:#d9f1fc;
  --field-border:#6b8496;
  --radius:20px;
  --maxw:1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--navy);background:#fff;line-height:1.55;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-deep)}
a:hover{color:var(--navy)}
h1,h2,h3,p,ul{margin-top:0}
:focus-visible{outline:3px solid var(--blue-deep);outline-offset:3px}
.on-dark :focus-visible{outline-color:#fff}

.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--navy);color:#fff;padding:12px 18px;border-radius:8px;font-weight:700}
.skip:focus{left:8px}
.container{max-width:var(--maxw);margin:0 auto}
.section{padding:88px 24px}
.section--tint{background:var(--tint)}
.on-dark{background:var(--navy);color:#fff}
.on-dark a{color:#fff}

.eyebrow{margin:0 0 12px;font-size:14px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-deep)}
.section-head{max-width:680px;margin:0 auto 48px;text-align:center}
.section-head p{font-size:18px;color:var(--ink-soft);margin:20px 0 0}
h1{font-size:clamp(40px,5.4vw,68px);line-height:1.04;font-weight:800;letter-spacing:-.02em;margin-bottom:20px}
h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1;font-weight:800;letter-spacing:-.01em;margin-bottom:16px}
h3{font-size:22px;line-height:1.25;font-weight:800;margin-bottom:8px}
.rule{width:96px;height:4px;border-radius:4px;background:var(--blue);margin:0 auto}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 28px;border-radius:999px;border:0;font:inherit;font-size:17px;font-weight:700;text-decoration:none;cursor:pointer;line-height:1.2}
.btn svg{flex:none}
.btn--navy{background:var(--navy);color:#fff}
.btn--navy:hover{background:#12425e;color:#fff}
.btn--deep{background:var(--blue-deep);color:#fff}
.btn--deep:hover{background:var(--navy);color:#fff}
.btn--white{background:#fff;color:var(--navy)}
.btn--white:hover{background:var(--tint);color:var(--navy)}
.btn--brand{background:var(--blue);color:var(--navy)}
.btn--brand:hover{background:#6cc4f2;color:var(--navy)}
.btn--sm{min-height:46px;padding:11px 22px;font-size:16px}

/* Top bar */
.topbar{background:var(--navy);color:#fff;font-size:14px;padding:10px 24px}
.topbar .container{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 28px}
.topbar ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 24px}
.topbar li{display:inline-flex;align-items:center;gap:8px}
.topbar svg{color:var(--sky);flex:none}
.topbar a{text-decoration:none;font-weight:700;display:inline-flex;align-items:center;gap:8px;min-height:24px}

/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--line);padding:14px 24px;position:sticky;top:0;z-index:50}
.site-header .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy)}
.brand:hover{color:var(--navy)}
.brand-mark{width:48px;height:48px;border-radius:999px;background:var(--blue);display:inline-flex;align-items:center;justify-content:center;flex:none}
.brand-text{display:flex;flex-direction:column;line-height:1.2}
.brand-name{font-size:20px;font-weight:800}
.brand-sub{font-size:13px;font-weight:600;color:var(--ink-soft)}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 26px}
.nav a:not(.btn){color:var(--navy);font-weight:600;text-decoration:none;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
.nav a:not(.btn):hover{color:var(--blue-deep);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.menu-btn{display:none;min-height:46px;padding:10px 18px;border-radius:999px;border:2px solid var(--navy);background:#fff;color:var(--navy);font:inherit;font-weight:700;cursor:pointer;align-items:center;gap:10px}

/* Hero */
.hero{background:var(--blue);padding:72px 24px 80px;color:var(--navy)}
.hero .container{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center}
.hero .eyebrow{color:var(--navy)}
.hero-lede{font-size:20px;line-height:1.5;max-width:520px;margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-note{margin:20px 0 0;font-size:15px}
.hero-photo{border-radius:28px;overflow:hidden;aspect-ratio:4/5;background:rgba(255,255,255,.35)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}

/* Trust strip */
.trust{border-bottom:1px solid var(--line);padding:36px 24px}
.trust ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 40px}
.trust strong{display:block;font-size:24px;font-weight:800;line-height:1.2}
.trust span{font-size:15px;color:var(--ink-soft)}

/* About */
.split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:center}
.photo-frame{border-radius:28px;overflow:hidden;background:var(--tint)}
.photo-frame img{width:100%;height:auto}
.about-copy p.lead{font-size:18px;color:var(--ink-soft);margin-bottom:24px}
.checks{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-direction:column;gap:12px}
.checks li{display:flex;align-items:flex-start;gap:12px;font-size:17px}
.checks .tick{flex:none;width:26px;height:26px;border-radius:999px;background:var(--blue);display:inline-flex;align-items:center;justify-content:center;margin-top:1px}
.arrow-link{font-weight:700;font-size:17px;display:inline-flex;align-items:center;gap:8px;min-height:44px}

/* Services */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:10px}
.card p{margin:0;color:var(--ink-soft);font-size:16px}
.icon-dot{width:52px;height:52px;border-radius:999px;background:var(--blue);display:inline-flex;align-items:center;justify-content:center;margin-bottom:6px;flex:none;color:var(--navy)}
.card .arrow-link{margin-top:auto;font-size:16px}

/* Video */
.video-wrap{max-width:960px;margin:0 auto}
.video{position:relative;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:var(--navy)}
.video iframe,.video-btn{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:linear-gradient(135deg,var(--blue) 0%,#2f9bd6 100%);color:var(--navy);font:inherit;font-weight:800;font-size:clamp(18px,2.4vw,26px);cursor:pointer;padding:24px;text-align:center}
.video-btn:hover .play{transform:scale(1.06)}
.play{width:88px;height:88px;border-radius:999px;background:var(--navy);display:inline-flex;align-items:center;justify-content:center;transition:transform .15s ease}
.video-alt{margin:16px 0 0;text-align:center;font-size:15px;color:var(--ink-soft)}

/* Discount band */
.band{padding:56px 24px}
.band .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px}
.band h2{font-size:clamp(28px,3.2vw,40px);margin-bottom:12px}
.band p{margin:0;font-size:18px;color:var(--on-navy-soft);max-width:640px}
.band a.btn{color:var(--navy)}

/* Team */
.team-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.team-card img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 18%;background:var(--tint)}
.team-card .body{padding:24px}
.team-role{margin:0 0 4px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-deep)}
.team-card p.bio{margin:0;color:var(--ink-soft);font-size:16px}

/* Reviews */
.reviews-embed{max-width:960px;margin:0 auto}
.reviews-alt{margin:20px 0 0;text-align:center;font-size:15px;color:var(--ink-soft)}

/* Patients */
.docs{list-style:none;margin:0 0 48px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.doc{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--navy);text-decoration:none;min-height:84px;height:100%}
.doc:hover{border-color:var(--blue-deep);color:var(--navy)}
.doc-icon{flex:none;width:44px;height:44px;border-radius:12px;background:var(--tint);color:var(--blue-deep);display:inline-flex;align-items:center;justify-content:center}
.doc strong{display:block;font-weight:700;line-height:1.3}
.doc small{display:block;font-size:14px;color:var(--ink-soft)}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.panel{background:var(--tint);border-radius:var(--radius);padding:28px}
.panel h3{margin-bottom:14px}
.panel ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;color:var(--ink-soft);font-size:16px}
.panel p{color:var(--ink-soft);font-size:16px;margin:0 0 12px}
.panel p:last-child{margin-bottom:0}

/* Contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:start}
.contact-grid > div > p.lead{font-size:18px;color:var(--ink-soft);margin-bottom:28px}
.form{display:flex;flex-direction:column;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:700;font-size:15px}
.field .req{color:var(--blue-deep)}
.field input,.field select,.field textarea{font:inherit;font-size:17px;padding:12px 14px;min-height:48px;border:1.5px solid var(--field-border);border-radius:12px;color:var(--navy);background:#fff;width:100%}
.field textarea{resize:vertical;min-height:110px}
.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid var(--blue-deep);outline-offset:1px;border-color:var(--blue-deep)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:14px;color:var(--ink-soft);margin:0}
.form-status{margin:0;padding:14px 16px;border-radius:12px;font-weight:600;display:none}
.form-status.is-ok{display:block;background:#e3f6ea;color:#0d4a26}
.form-status.is-err{display:block;background:#fdeaea;color:#7a1414}
.info-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:18px}
.info-row{display:flex;align-items:flex-start;gap:14px}
.info-row .icon-dot{width:40px;height:40px;margin:0}
.hours{border-top:1px solid var(--line);padding-top:18px;display:flex;flex-direction:column;gap:6px;font-size:16px;margin:0}
.hours div{display:flex;justify-content:space-between;gap:16px}
.hours dt{font-weight:400}
.hours dd{margin:0;font-weight:700}
.map{margin-top:24px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#fff}
.map iframe{display:block;width:100%;height:340px;border:0}
.map-links{padding:12px 16px;background:#fff;font-size:15px}

/* Footer */
.site-footer{padding:64px 24px 32px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px 56px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.18)}
.site-footer h3{font-size:16px;margin-bottom:12px}
.site-footer p,.site-footer li{color:var(--on-navy-soft);font-size:16px}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.site-footer a{color:#fff}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-size:20px;font-weight:800}
.footer-brand .brand-mark{width:44px;height:44px}
.legal{padding-top:24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:14px;color:var(--on-navy-soft)}
.legal a{color:#fff}

/* Phone action bar */
.mbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--navy)}
.mbar a{flex:1;min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:800;text-decoration:none}
.mbar a:first-child{background:#fff;color:var(--navy)}
.mbar a:last-child{flex:2;background:var(--blue);color:var(--navy)}

/* Responsive */
@media (max-width:980px){
  .menu-btn{display:inline-flex}
  .js .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding-top:8px}
  .js .nav.is-open{display:flex}
  .js .nav a:not(.btn){border-top:1px solid var(--line);padding:14px 4px}
  .js .nav .btn{margin-top:12px}
  .hero .container,.split,.contact-grid{grid-template-columns:minmax(0,1fr)}
  .hero .container{gap:40px}
  .hero-photo{max-width:520px;aspect-ratio:4/3.4}
  .trust ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  body{padding-bottom:72px}
  .mbar{display:flex}
  .section{padding:56px 20px}
  .hero{padding:48px 20px 56px}
  .topbar ul{display:none}
  .topbar .container{justify-content:center}
  .form-row{grid-template-columns:minmax(0,1fr)}
  .form{padding:20px}
  .brand-sub{display:none}
  .trust ul{grid-template-columns:minmax(0,1fr)}
  .play{width:68px;height:68px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .play{transition:none}
}
@media print{
  .topbar,.site-header,.mbar,.video-wrap,.map,.form{display:none}
  body{padding-bottom:0}
}

/* Added: visually hidden text for screen readers, and address styling (replaces an inline style) */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.info-row address{font-style:normal;margin:0}
/* Added: larger tap area for the phone and email links in the contact card */
.info-row{align-items:center}
.info-row a{display:inline-block;padding:10px 0}

/* Added: tidier phone header and a taller hero photo so the portrait is not cropped */
@media (max-width:980px){
  .hero-photo{aspect-ratio:5/6;max-width:520px}
}
@media (max-width:720px){
  .brand{flex:1 1 0;min-width:0}
  .brand-mark{width:42px;height:42px}
  .brand-name{font-size:17px}
  .menu-btn{flex:none;padding:8px 16px}
  .site-header{padding:12px 20px}
}
