/* ==========================================================================
   Neo Smile Dental — Design System
   Extracted from the client-approved homepage mockup and extended to cover
   every inner page. Drop-in replacement for css/style.css + css/responsive.css.
   ========================================================================== */

:root{
  --ink:#0F2E34;
  --ink-soft:#3C5A5E;
  --base:#F7FBFA;
  --mint:#E7F5F2;
  --mint-deep:#D6EEE8;
  --teal:#12888A;
  --teal-deep:#0B5F63;
  --coral:#FF6B54;
  --coral-deep:#E5533D;
  --line:#D9E8E4;
  --white:#FFFFFF;
  --font-display:'Fraunces', serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;
  --radius:18px;
  --shadow:0 20px 50px -25px rgba(15,46,52,0.35);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--base);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;}
a{text-decoration:none; color:inherit;}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display); font-weight:600; color:var(--ink); line-height:1.15;}
p{color:var(--ink-soft);}

.wrap{max-width:1400px; margin:0 auto; padding:0 32px;}
@media(max-width:600px){ .wrap{padding:0 20px;} }

.eyebrow{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12.5px;
  color:var(--teal-deep);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{content:"";width:22px;height:1.5px;background:var(--coral);display:inline-block;}
.eyebrow.on-dark{color:#8FE1D9;}
.eyebrow.on-dark::before{background:var(--coral);}

.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,3.6vw,42px); margin-top:16px;}
.section-head p{color:var(--ink-soft); margin-top:16px; font-size:16px;}
.section-head.center{text-align:center; margin-left:auto; margin-right:auto;}

/* ===== Buttons — reskins every Bootstrap .btn variant already in the markup ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:100px; font-weight:600; font-size:15px;
  cursor:pointer; border:1.5px solid transparent; transition:.25s ease; white-space:nowrap;
  font-family:var(--font-body);
}
.btn:focus{box-shadow:none;}
.btn.btn-primary, .btn.btn-coral{background:var(--coral); border-color:var(--coral); color:#fff !important;}
.btn.btn-primary:hover, .btn.btn-coral:hover{background:var(--coral-deep); border-color:var(--coral-deep); color:#fff !important; transform:translateY(-2px);}
.btn.btn-dark, .btn.btn-teal{background:var(--teal); border-color:var(--teal); color:#fff !important;}
.btn.btn-dark:hover, .btn.btn-teal:hover{background:var(--teal-deep); border-color:var(--teal-deep); color:#fff !important; transform:translateY(-2px);}
.btn.btn-light{background:#fff; border-color:#fff; color:var(--teal-deep) !important;}
.btn.btn-light:hover{background:var(--mint); transform:translateY(-2px);}
.btn.btn-secondary, .btn.btn-outline, .btn.btn-outline-primary{background:transparent; border-color:rgba(255,255,255,.55); color:#fff !important;}
.btn.btn-outline-primary{border-color:var(--teal); color:var(--teal-deep) !important;}
.btn.btn-outline-primary:hover{background:var(--mint);}
.btn.btn-secondary:hover, .btn.btn-outline:hover{background:rgba(255,255,255,.12); transform:translateY(-2px);}
.btn.btn-success{background:#25D366; border-color:#25D366; color:#fff !important;}
.btn.btn-success:hover{background:#1fb956; border-color:#1fb956; color:#fff !important; transform:translateY(-2px);}
.btn.btn-danger{background:var(--coral); border-color:var(--coral); color:#fff !important;}
.btn-lg{padding:16px 32px; font-size:16px;}
.btn-sm{padding:8px 18px; font-size:13.5px;}
.btn.disabled,.btn:disabled{opacity:.6;}

/* ===== Form fields — reskins Bootstrap .form-control / .form-select ===== */
.form-control, .form-select, select.field, input.field, textarea.field{
  width:100%; padding:12px 14px; border:1.5px solid var(--line) !important; border-radius:10px !important;
  font-family:var(--font-body); font-size:14.5px; color:var(--ink); background:#fff !important;
}
.form-control:focus, .form-select:focus{
  outline:none; border-color:var(--teal) !important; box-shadow:0 0 0 3px rgba(18,136,138,.15) !important;
}
.form-floating > label{color:var(--ink-soft); font-family:var(--font-body);}
.form-floating > .form-control, .form-floating > .form-select{height:calc(3.5rem + 2px);}

/* ===== Topbar ===== */
.topbar{background:var(--ink); color:#CFE6E4; font-size:13px;}
.topbar .wrap{display:flex; justify-content:space-between; align-items:center; padding:9px 28px; flex-wrap:wrap; gap:6px;}
.topbar .tb-item{display:inline-flex; align-items:center; gap:7px; margin-right:22px; font-family:var(--font-mono); letter-spacing:.02em; color:#CFE6E4;}
.topbar .tb-item:last-child{margin-right:0;}
.topbar a.tb-item:hover{color:#fff;}

/* ===== Header ===== */
.ns-header{background:var(--base); position:sticky; top:0; z-index:1040; border-bottom:1px solid var(--line);}
.ns-nav{display:flex; align-items:center; justify-content:space-between; padding:14px 28px; gap:24px;}
.ns-logo img{height:46px; width:auto;}
.ns-navlinks{display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0;}
.ns-navlinks > li{position:relative;}
.ns-navlinks a.top-link{font-weight:600; font-size:15px; color:var(--ink); padding:8px 0; display:inline-block;}
.ns-navlinks a.top-link:hover, .ns-navlinks a.top-link.active{color:var(--teal-deep);}
/* CSS-drawn triangle instead of a unicode glyph — renders identically
   everywhere instead of depending on font/glyph support. */
.has-drop > a.top-link{display:inline-flex; align-items:center; gap:6px;}
.has-drop > a.top-link::after{
  content:""; display:inline-block; width:0; height:0; margin-top:2px;
  border-left:4px solid transparent; border-right:4px solid transparent;
  border-top:5px solid currentColor; opacity:.55;
}
.ns-dropdown{
  position:absolute; top:100%; left:-16px; background:#fff; min-width:270px;
  border-radius:12px; box-shadow:var(--shadow); padding:10px; opacity:0; visibility:hidden;
  transform:translateY(8px); transition:.2s ease; border:1px solid var(--line); z-index:10;
}
.has-drop:hover .ns-dropdown{opacity:1; visibility:visible; transform:translateY(0);}
.ns-dropdown a{display:block; padding:10px 14px; border-radius:8px; font-size:14px; color:var(--ink-soft); font-weight:500;}
.ns-dropdown a:hover{background:var(--mint); color:var(--teal-deep);}
.nav-cta{display:flex; align-items:center; gap:12px;}
.icon-btn{
  width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--mint); color:var(--teal-deep); flex-shrink:0;
}
.icon-btn:hover{background:var(--mint-deep);}
.burger{display:none; width:42px; height:42px; border-radius:50%; background:var(--mint); align-items:center; justify-content:center; border:none; cursor:pointer;}
.burger span, .burger span::before, .burger span::after{content:""; display:block; width:18px; height:2px; background:var(--ink); position:relative; transition:.2s;}
.burger span::before{position:absolute; top:-6px;}
.burger span::after{position:absolute; top:6px;}

.mobile-panel{
  position:fixed; inset:0 0 0 auto; width:min(320px,84vw); background:#fff; z-index:1400; height:100vh;
  box-shadow:-20px 0 50px rgba(0,0,0,.25); transform:translateX(100%); transition:.3s ease; padding:26px 24px; overflow-y:auto;
}
.mobile-panel.open{transform:translateX(0);}
.mobile-panel .mp-close{width:36px; height:36px; border-radius:50%; background:var(--mint); display:flex; align-items:center; justify-content:center; margin-left:auto; margin-bottom:20px; cursor:pointer; border:none;}
.mobile-panel a{display:block; padding:12px 4px; font-weight:600; font-size:15.5px; border-bottom:1px solid var(--line); color:var(--ink);}
.mobile-panel .sub-link{padding-left:16px; font-weight:500; font-size:14px; color:var(--ink-soft); border-bottom:none;}
.mobile-panel .mp-cta{margin-top:18px;}
.scrim{position:fixed; inset:0; background:rgba(11,26,29,.5); z-index:1399; opacity:0; visibility:hidden; transition:.3s;}
.scrim.show{opacity:1; visibility:visible;}

@media(max-width:980px){
  .ns-navlinks{display:none;}
  .burger{display:flex;}
}
@media(max-width:600px){
  .ns-nav{padding:12px 18px;}
  .ns-logo img{height:32px;}
  .nav-cta{gap:8px;}
  .nav-cta > a.btn{display:none;}
  .topbar .tb-item{margin-right:14px; font-size:11.5px;}
}

/* ===== Smart Symptom Checker ===== */
.symptom-tool{background:#fff; border-radius:26px; box-shadow:var(--shadow); border:1px solid var(--line); overflow:hidden;}
.symptom-tool-head{background:var(--ink); color:#fff; padding:30px 34px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.symptom-tool-head h3{color:#fff; font-size:22px; margin:6px 0 0;}
.symptom-tool-head p{color:#B9D6D3; margin:0; font-size:13.5px;}
.symptom-steps{display:flex; gap:6px;}
.symptom-steps span{width:26px; height:4px; border-radius:2px; background:rgba(255,255,255,.25);}
.symptom-steps span.done{background:#8FE1D9;}
.symptom-steps span.active{background:var(--coral);}
.symptom-tool-body{padding:36px;}
@media(max-width:600px){ .symptom-tool-body{padding:24px 20px;} .symptom-tool-head{padding:22px 20px;} }
.symptom-step{display:none;}
.symptom-step.active{display:block; animation:st-fade .3s ease;}
@keyframes st-fade{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);}}
.symptom-step h4{font-size:19px; margin-bottom:18px;}
.symptom-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
@media(max-width:700px){ .symptom-grid{grid-template-columns:1fr 1fr;} }
.symptom-choice{
  background:var(--base); border:1.5px solid var(--line); border-radius:14px; padding:18px 14px; text-align:center;
  cursor:pointer; transition:.2s ease; font-weight:600; font-size:14px; color:var(--ink);
}
.symptom-choice .ic{font-size:26px; display:block; margin-bottom:8px;}
.symptom-choice:hover{border-color:var(--teal); background:var(--mint);}
.symptom-choice.picked{border-color:var(--teal); background:var(--mint); box-shadow:0 0 0 2px var(--teal) inset;}
.symptom-row-choices{display:flex; gap:12px; flex-wrap:wrap;}
.symptom-row-choices .symptom-choice{flex:1; min-width:140px;}
.severity-wrap{margin:26px 0 10px;}
.severity-wrap input[type="range"]{width:100%; accent-color:var(--coral);}
.severity-labels{display:flex; justify-content:space-between; font-size:12.5px; color:var(--ink-soft); margin-top:4px;}
.severity-value{font-family:var(--font-mono); font-size:32px; color:var(--coral-deep); text-align:center; margin-bottom:6px;}
.symptom-back{background:none; border:none; color:var(--ink-soft); font-size:13.5px; font-weight:600; cursor:pointer; padding:0; margin-bottom:18px; display:inline-flex; align-items:center; gap:6px;}
.symptom-back:hover{color:var(--teal-deep);}
.symptom-next{margin-top:26px;}

.st-result{display:flex; gap:28px; align-items:flex-start; flex-wrap:wrap;}
.st-result-badge{
  flex-shrink:0; width:84px; height:84px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:34px; background:var(--mint);
}
.st-urgency{display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11.5px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; padding:5px 12px; border-radius:100px; margin-bottom:10px;}
.st-urgency.routine{background:var(--mint); color:var(--teal-deep);}
.st-urgency.soon{background:#FFE8CC; color:#B2560B;}
.st-urgency.urgent{background:#FFD9D3; color:var(--coral-deep);}
.st-result h3{font-size:24px; margin-bottom:8px;}
.st-result p{margin-bottom:20px;}
.st-result .actions{display:flex; gap:12px; flex-wrap:wrap;}

/* ===== Homepage hero (image slideshow) ===== */
.hero{position:relative; background:var(--ink); color:#fff; overflow:hidden;}
.hero-slide{position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1.2s ease;}
.hero-slide.active{opacity:1;}
.hero-slide::after{content:""; position:absolute; inset:0; background:linear-gradient(100deg, rgba(11,26,29,.92) 20%, rgba(11,26,29,.55) 60%, rgba(11,26,29,.35) 100%);}
.hero-inner{position:relative; z-index:2; padding:120px 32px 150px; max-width:1400px; margin:0 auto;}
.hero-content{max-width:640px;}
.hero-content h1{font-size:clamp(36px,5.2vw,60px); color:#fff; margin:18px 0 22px; letter-spacing:-.01em;}
.hero-content h1 em{font-style:normal; color:#8FE1D9;}
.hero-content p{font-size:17px; color:#D6E7E4; max-width:520px; margin-bottom:34px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
.hero-dots{position:absolute; bottom:36px; left:28px; z-index:3; display:flex; gap:8px;}
.hero-dots button{width:26px; height:4px; border-radius:2px; background:rgba(255,255,255,.35); border:none; cursor:pointer; transition:.2s;}
.hero-dots button.active{background:var(--coral); width:38px;}
.quick-strip{background:var(--mint); padding-top:130px; padding-bottom:60px;}
@media(max-width:900px){ .quick-strip{padding-top:60px;} }

/* ===== Page hero header (inner pages) ===== */
.page-hero{
  background:var(--ink); color:#fff; padding:64px 0; position:relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; right:-100px; top:-100px; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,107,84,.22), transparent 70%);
}
.page-hero .wrap{position:relative; z-index:2; text-align:center;}
.page-hero h1{color:#fff; font-size:clamp(30px,4.4vw,46px); margin-bottom:12px;}
.page-hero .crumbs{font-family:var(--font-mono); font-size:13px; letter-spacing:.04em; color:#B9D6D3;}
.page-hero .crumbs a{color:#8FE1D9; font-weight:600;}
.page-hero .crumbs a:hover{color:#fff;}

/* ===== Section shells ===== */
.ns-section{padding:90px 0;}
.ns-section.tight{padding:60px 0;}
.bg-base{background:var(--base);}
.bg-mint{background:var(--mint);}
.bg-ink{background:var(--ink); color:#fff;}
.bg-ink p{color:#B9D6D3;}
.bg-ink h1,.bg-ink h2,.bg-ink h3,.bg-ink h4{color:#fff;}

/* ===== Quick strip ===== */
.quick-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media(max-width:860px){ .quick-grid{grid-template-columns:1fr;} }
.quick-card{background:#fff; border-radius:16px; padding:26px; box-shadow:0 12px 30px -20px rgba(15,46,52,.25); border:1px solid var(--line);}
.quick-card h4{font-size:19px; margin-bottom:14px; display:flex; align-items:center; gap:10px;}
.quick-card h4 .dot{width:9px; height:9px; border-radius:50%; background:var(--coral); flex-shrink:0;}
.hours-row{display:flex; justify-content:space-between; font-size:14.5px; padding:7px 0; border-bottom:1px dashed var(--line); color:var(--ink-soft);}
.hours-row:last-of-type{border-bottom:none;}
.hours-row b{color:var(--ink); font-weight:600;}
.emergency-card{background:var(--ink); color:#fff; border:none;}
.emergency-card p{color:#B9D6D3; font-size:14px; margin-bottom:14px;}
.emergency-num{font-family:var(--font-mono); font-size:26px; font-weight:600; color:var(--coral); margin-bottom:16px; display:block;}
.emergency-actions{display:flex; gap:10px;}
.emergency-actions .btn{flex:1; padding:12px 14px; font-size:14px;}

/* ===== About / info split ===== */
.about{background:var(--base);}
.services{background:var(--mint);}
.team{background:var(--base);}
.book{background:var(--ink); color:#fff; padding:90px 0;}
@media(max-width:640px){ .book{padding:60px 0;} }
.book > .wrap > .book-copy p{color:#B9D6D3;}
.book h2{color:#fff;}
.book-form h3{color:var(--ink);}
.about-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:center;}
@media(max-width:900px){ .about-grid{grid-template-columns:1fr; gap:60px;} }
.about-media{position:relative;}
.about-media img{border-radius:22px; width:100%; height:520px; object-fit:cover;}
.about-badge{
  position:absolute; bottom:-28px; left:-28px; background:#fff; border-radius:16px; padding:20px 22px;
  box-shadow:var(--shadow); display:flex; align-items:center; gap:14px; max-width:230px; border:1px solid var(--line);
}
@media(max-width:560px){ .about-badge{left:0; bottom:-20px; padding:14px 16px;} }
.about-badge .num{font-family:var(--font-display); font-size:34px; color:var(--teal-deep); line-height:1;}
.about-badge .lbl{font-size:12.5px; color:var(--ink-soft); font-weight:600; margin-top:4px;}
.about-copy p{color:var(--ink-soft); margin:18px 0 26px; font-size:16px;}
.stat-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:32px;}
.stat-item{padding:18px 20px; background:var(--mint); border-radius:14px;}
.stat-item .n{font-family:var(--font-mono); font-weight:700; font-size:15px; color:var(--teal-deep);}
.stat-item .l{font-size:13.5px; color:var(--ink-soft); margin-top:3px;}

.value-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media(max-width:900px){ .value-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:600px){ .value-grid{grid-template-columns:1fr;} }
.value-card{background:#fff; border-radius:18px; border:1px solid var(--line); padding:34px 26px; text-align:center;}
.value-card .ico{width:60px; height:60px; border-radius:16px; background:var(--mint); color:var(--teal-deep); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:24px;}
.value-card h4{font-size:17.5px; margin-bottom:10px;}
.value-card p{font-size:14.5px; margin:0;}

/* Responsive-safe 90° image rotation: some source photos were shot sideways.
   A square inner viewport is rotation-invariant in size, so it can be
   rotated without breaking the outer box's (possibly responsive) aspect
   ratio — no JS or hardcoded breakpoints needed. */
.rotate-fix{position:relative; overflow:hidden; border-radius:22px;}
.rotate-fix .rotate-fix-inner{
  position:absolute; top:50%; left:50%; width:520px; height:520px; max-width:none;
  transform:translate(-50%,-50%) rotate(-90deg);
}
.rotate-fix .rotate-fix-inner img{width:100%; height:100%; object-fit:cover; border-radius:0;}

.point-row{display:flex; gap:16px; margin-bottom:22px;}
.point-row .tick{flex-shrink:0; width:38px; height:38px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center;}
.point-row h5{font-size:16px; margin-bottom:4px;}
.point-row p{font-size:14.5px; margin:0;}

/* ===== Services ===== */
.svc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media(max-width:960px){ .svc-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:640px){ .svc-grid{grid-template-columns:1fr;} }
.svc-card{background:#fff; border-radius:18px; overflow:hidden; border:1px solid var(--line); transition:.25s ease; height:100%; display:flex; flex-direction:column;}
.svc-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.svc-card .svc-media{height:190px; overflow:hidden;}
.svc-card .svc-media img{width:100%; height:100%; object-fit:cover; transition:.4s ease;}
.svc-card:hover .svc-media img{transform:scale(1.06);}
.svc-body{padding:22px 24px 26px; flex:1; display:flex; flex-direction:column;}
.svc-body h4{font-size:18.5px; margin-bottom:8px;}
.svc-body p{font-size:14.5px; color:var(--ink-soft); margin-bottom:14px; flex:1;}
.svc-link{font-size:13.5px; font-weight:600; color:var(--coral-deep); display:inline-flex; align-items:center; gap:5px;}
.svc-link:hover{gap:8px;}

/* Service-detail media: replaces the old site's fragile absolute-positioned,
   hardcoded-percentage image stacks (which cropped badly on most photos
   regardless of their actual size) with a clean, predictable grid that always
   fits the source image correctly via object-fit:cover on a fixed box. */
.svc-detail-media{border-radius:22px; overflow:hidden; height:520px;}
.svc-detail-media img{width:100%; height:100%; object-fit:cover; object-position:center;}
.svc-detail-media.split{display:grid; grid-template-rows:1fr 1fr; gap:10px; height:520px; border-radius:0; overflow:visible;}
.svc-detail-media.split img{border-radius:22px; height:100%;}
@media(max-width:900px){ .svc-detail-media, .svc-detail-media.split{height:360px;} }

.feature-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media(max-width:900px){ .feature-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:600px){ .feature-grid{grid-template-columns:1fr;} }
.feature-card{background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px;}
.feature-card .row-flex{display:flex; align-items:center; gap:14px;}
.feature-card .tick-sm{width:34px; height:34px; flex-shrink:0; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center;}

.step-row{display:flex; gap:20px; margin-bottom:26px; max-width:680px;}
.step-num{flex-shrink:0; width:52px; height:52px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:20px;}

/* ===== Testimonials ===== */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media(max-width:900px){ .testi-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:640px){ .testi-grid{grid-template-columns:1fr;} }
.testi-card{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:26px;}
.testi-card p{color:#D6E7E4; font-size:14.5px; font-style:italic; margin-bottom:14px;}
.testi-card h6{color:#fff; font-family:var(--font-body); font-weight:700; font-size:14px; margin:0;}
.testi-quote{color:var(--coral); font-size:26px; font-family:var(--font-display); line-height:1;}

/* ===== CTA banner ===== */
.cta-banner{background:var(--ink); color:#fff; position:relative; overflow:hidden; padding:56px 0;}
@media(max-width:640px){ .cta-banner{padding:44px 0;} }
.cta-banner::before{
  content:""; position:absolute; right:-120px; top:50%; transform:translateY(-50%); width:420px; height:420px;
  border-radius:50%; background:radial-gradient(circle, rgba(255,107,84,.28), transparent 70%);
}
.cta-inner{position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;}
.cta-inner h3{color:#fff; font-size:clamp(24px,3vw,34px); max-width:480px;}
.cta-right{display:flex; align-items:center; gap:22px; flex-wrap:wrap;}
.cta-phone{font-family:var(--font-mono); font-size:24px; color:#8FE1D9; font-weight:600;}

/* ===== Team ===== */
.team-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:28px;}
@media(max-width:640px){ .team-grid{grid-template-columns:1fr;} }
.team-grid.cols-4{grid-template-columns:repeat(4,1fr);}
@media(max-width:1100px){ .team-grid.cols-4{grid-template-columns:repeat(3,1fr);} }
@media(max-width:760px){ .team-grid.cols-4{grid-template-columns:repeat(2,1fr);} }
@media(max-width:480px){ .team-grid.cols-4{grid-template-columns:1fr;} }
.team-card{background:#fff; border-radius:20px; overflow:hidden; border:1px solid var(--line);}
/* aspect-ratio (not a fixed height) so the box always closely matches the
   real source photos (tall portraits, ~360x475) regardless of card width —
   fixed-height boxes were forcing a wide crop that cut through faces. */
.team-photo{aspect-ratio:3/4; overflow:hidden;}
.team-photo img{width:100%; height:100%; object-fit:cover; object-position:center top;}
.team-info{padding:22px 24px;}
.team-info h4{font-size:20px;}
.team-info .role{color:var(--coral-deep); font-weight:600; font-size:13.5px; margin:6px 0 4px;}
.team-info .cred{font-family:var(--font-mono); font-size:12px; color:var(--ink-soft); letter-spacing:.03em;}
.team-social{display:flex; gap:10px; margin-top:14px;}
.team-social a{width:34px; height:34px; border-radius:50%; background:var(--mint); color:var(--teal-deep); display:flex; align-items:center; justify-content:center; font-size:13px;}
.team-social a:hover{background:var(--teal); color:#fff;}
.team-spec-card{background:#fff; border-radius:16px; border:1px solid var(--line); padding:24px; display:flex; gap:20px; align-items:flex-start;}
.team-spec-card img{width:80px; height:80px; border-radius:50%; object-fit:cover; flex-shrink:0;}

/* ===== Booking form ===== */
.book-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:flex-start;}
@media(max-width:900px){ .book-grid{grid-template-columns:1fr; gap:36px;} }
.book-points{margin-top:28px; display:flex; flex-direction:column; gap:14px; list-style:none; padding:0;}
.book-points li{display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:#D6E7E4;}
.book-points .tick{width:22px; height:22px; border-radius:50%; background:rgba(143,225,217,.15); color:#8FE1D9; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:12px; margin-top:1px;}
.book-form{background:#fff; border-radius:22px; padding:34px; color:var(--ink); box-shadow:var(--shadow);}
.book-form h3{font-size:22px; margin-bottom:6px;}
.book-form .sub{color:var(--ink-soft); font-size:14px; margin-bottom:22px;}
.book-form > input, .book-form > select, .book-form > textarea, .book-form > .form-row{margin-bottom:14px;}

/* Paired fields (name/phone, date/time, ...) — every usage sets this via an
   inline style, which can never respond to a media query, so on phones the
   pair stayed squeezed into two narrow columns instead of stacking. */
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
@media(max-width:480px){ .form-row{grid-template-columns:1fr;} }

/* Several sections set a one-off column ratio (.8fr 1.2fr, .9fr 1.4fr, etc.)
   via an inline style, which — being inline — silently blocks that class's
   own mobile-stacking media query below. Force single-column on phones
   regardless of any inline override, present or future. */
@media(max-width:700px){
  .row, .about-grid, .svc-grid, .feature-grid{grid-template-columns:1fr !important;}
}
.form-note{font-size:12.5px; color:var(--ink-soft); margin-top:2px; margin-bottom:16px;}

/* Bootstrap 4's .btn-block was dropped in Bootstrap 5 (replaced by .w-100),
   but the markup across every form still uses it for full-width buttons. */
.btn-block{display:flex; width:100%;}

/* ===== Contact ===== */
.contact-card{background:var(--mint); border-radius:16px; padding:28px; text-align:center; margin-bottom:20px;}
.contact-card .ico{width:60px; height:60px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-size:22px;}
.contact-card.dark{background:var(--ink); color:#fff;}
.contact-card.dark .ico{background:#fff; color:var(--teal-deep);}
.contact-card.dark p{color:#B9D6D3;}
.contact-form-panel{background:#fff; border:1px solid var(--line); border-radius:20px; padding:38px; box-shadow:0 12px 30px -20px rgba(15,46,52,.25);}
.map-wrap{border-radius:18px; overflow:hidden; box-shadow:0 12px 30px -20px rgba(15,46,52,.25);}
.emergency-strip{background:var(--coral); border-radius:18px; padding:30px; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;}

/* ===== Gallery ===== */
.gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
@media(max-width:900px){ .gallery-grid{grid-template-columns:repeat(3,1fr);} }
@media(max-width:640px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }
.gallery-tile{position:relative; border-radius:14px; overflow:hidden; cursor:pointer; height:220px;}
.gallery-tile img{width:100%; height:100%; object-fit:cover; transition:.35s ease;}
.gallery-tile:hover img{transform:scale(1.08);}
.gallery-tile .ov{position:absolute; inset:0; background:rgba(15,46,52,.55); opacity:0; transition:.25s ease; display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px;}
.gallery-tile:hover .ov{opacity:1;}

/* before/after signature widget — source photos are square (600x600), so the
   panel matches that ratio exactly instead of forcing a crop */
.ba-panel{background:#fff; border-radius:20px; padding:20px; box-shadow:var(--shadow); border:1px solid var(--line);}
.ba-slider{position:relative; width:100%; aspect-ratio:1/1; border-radius:14px; overflow:hidden; cursor:ew-resize; user-select:none;}
.ba-slider img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none;}
.ba-slider .ba-after{clip-path:inset(0 0 0 50%);}
.ba-handle{position:absolute; top:0; bottom:0; left:50%; width:0; transform:translateX(-50%); pointer-events:none;}
.ba-handle::before{content:""; position:absolute; top:0; bottom:0; left:0; width:2.5px; background:#fff; box-shadow:0 0 0 2px rgba(0,0,0,.08);}
.ba-handle .knob{
  position:absolute; top:50%; left:0; transform:translate(-50%,-50%); width:38px; height:38px; border-radius:50%;
  background:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(0,0,0,.25); pointer-events:none;
}
.ba-tag{position:absolute; top:10px; font-family:var(--font-mono); font-size:10.5px; font-weight:600; letter-spacing:.05em; padding:4px 9px; border-radius:100px; background:rgba(15,46,52,.65); color:#fff; pointer-events:none; z-index:2;}
.ba-tag.left{left:10px;}
.ba-tag.right{right:10px;}
/* before/after float widget as used on the hero */
.ba-float{position:absolute; right:6%; bottom:-90px; z-index:5; width:330px; background:#fff; border-radius:20px; padding:16px; box-shadow:var(--shadow);}
.ba-float .ba-label{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px;}
.ba-float .ba-label span{font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--teal-deep); font-weight:600;}
@media(max-width:900px){ .ba-float{display:none;} }

/* ===== FAQ ===== */
.faq-item{background:#fff; border:1px solid var(--line); border-radius:14px; margin-bottom:14px; overflow:hidden;}
.faq-q{padding:22px 24px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; font-weight:600; font-size:16px;}
.faq-q:hover{background:var(--mint);}
.faq-q .chev{transition:.25s ease; flex-shrink:0; color:var(--teal-deep);}
.faq-item.open .faq-q .chev{transform:rotate(180deg);}
.faq-a{max-height:0; overflow:hidden; transition:.25s ease; padding:0 24px;}
.faq-item.open .faq-a{max-height:600px; padding:0 24px 22px;}
.faq-a p{margin:0; font-size:14.5px;}
.faq-cat-head{font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.08em; font-size:13px; color:var(--teal-deep); margin:36px 0 18px; padding-bottom:10px; border-bottom:2px solid var(--line);}
.faq-cat-head:first-of-type{margin-top:0;}

/* ===== Blog ===== */
.blog-grid{display:grid; grid-template-columns:2fr 1fr; gap:40px;}
@media(max-width:900px){ .blog-grid{grid-template-columns:1fr;} }
.blog-card{background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; margin-bottom:28px; display:grid; grid-template-columns:1fr 1.4fr;}
@media(max-width:700px){ .blog-card{grid-template-columns:1fr;} }
.blog-card img{width:100%; height:100%; object-fit:cover; min-height:200px;}
.blog-card-body{padding:26px;}
.blog-tag{background:var(--mint); color:var(--teal-deep); padding:4px 12px; border-radius:100px; font-size:12px; font-weight:600; font-family:var(--font-mono);}
.blog-card h3{font-size:21px; margin:12px 0 10px;}
.blog-card p{font-size:14.5px;}
.side-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; margin-bottom:22px;}
.side-card h5{font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.08em; font-size:12.5px; color:var(--teal-deep); margin-bottom:16px;}
.side-post{display:flex; gap:12px; margin-bottom:14px; align-items:flex-start;}
.side-post img{width:60px; height:60px; border-radius:10px; object-fit:cover; flex-shrink:0;}
.side-post h6{font-size:13.5px; margin-bottom:3px; line-height:1.4;}
.side-post .date{font-size:11.5px; color:var(--ink-soft);}
.side-card.dark{background:var(--ink); color:#fff;}
.side-card.dark h5{color:#8FE1D9;}
.side-card.dark p{color:#B9D6D3;}
.cat-pill-row a{display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--line); font-size:14px; color:var(--ink-soft);}
.cat-pill-row a:hover{color:var(--teal-deep);}
.cat-pill-row a:last-child{border-bottom:none;}
.blog-detail-hero{padding:60px 0 30px;}
.blog-detail-hero img{width:100%; height:380px; object-fit:cover; border-radius:20px; margin-top:24px;}
.blog-body{font-size:16px; color:var(--ink-soft); line-height:1.85; max-width:760px;}
.tag-pill{display:inline-block; background:var(--mint); color:var(--teal-deep); padding:5px 14px; border-radius:100px; font-size:12.5px; margin:0 8px 8px 0;}
.share-row{display:flex; align-items:center; justify-content:space-between; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:32px 0;}
.share-row a{width:38px; height:38px; border-radius:50%; background:var(--mint); color:var(--teal-deep); display:inline-flex; align-items:center; justify-content:center; margin-left:8px;}
.share-row a:hover{background:var(--teal); color:#fff;}

/* Laravel's default paginator markup (Tailwind-based, no Tailwind loaded here)
   — styled generically via structure/aria rather than its utility classes. */
nav[role="navigation"]{display:flex; justify-content:center; margin-top:20px;}
nav[role="navigation"] > div{display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:center;}
nav[role="navigation"] a, nav[role="navigation"] span{
  min-width:38px; height:38px; padding:0 12px; border-radius:10px; display:inline-flex;
  align-items:center; justify-content:center; font-size:14px; font-weight:600; color:var(--ink-soft);
  border:1px solid var(--line); background:#fff;
}
nav[role="navigation"] a:hover{background:var(--mint); color:var(--teal-deep);}
nav[role="navigation"] span[aria-current="page"] span{background:var(--teal); color:#fff; border-color:var(--teal); border-radius:10px; min-width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;}
nav[role="navigation"] svg{width:16px; height:16px;}

/* ===== Footer ===== */
.ns-footer{background:#0B2429; color:#B9D6D3; padding-top:80px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.08);}
@media(max-width:860px){ .foot-grid{grid-template-columns:1fr 1fr; row-gap:36px;} }
@media(max-width:520px){ .foot-grid{grid-template-columns:1fr;} }
/* the real logo file has an opaque white background (not transparent), so a
   brightness(0)/invert(1) silhouette trick was turning the whole image into
   a blank white blob — show it in its real colors on a small white plate
   instead, which works regardless of the source file's background. */
.foot-logo-plate{display:inline-block; background:#fff; border-radius:12px; padding:10px 16px; margin-bottom:16px;}
.foot-logo{height:34px; display:block; margin-bottom:0;}
.foot-about p{font-size:14px; line-height:1.7; max-width:280px; color:#8FADA9;}
.foot-social{display:flex; gap:10px; margin-top:18px;}
.foot-social a{width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; font-size:13px; color:#B9D6D3;}
.foot-social a:hover{background:var(--coral); color:#fff;}
.ns-footer h5{font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.1em; font-size:12.5px; color:#8FE1D9; margin-bottom:18px; font-weight:600;}
.ns-footer ul{list-style:none; padding:0; margin:0;}
.ns-footer ul li{margin-bottom:11px;}
.ns-footer ul li a{font-size:14.5px; color:#B9D6D3;}
.ns-footer ul li a:hover{color:#fff;}
.foot-contact li{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; margin-bottom:14px; color:#B9D6D3;}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:13px; color:#7C9C97; flex-wrap:wrap; gap:8px;}
.foot-bottom a{color:#7C9C97;}
.foot-bottom a:hover{color:#fff;}

/* newsletter band injected before footer */
.ns-newsletter{background:var(--coral); padding:50px 0;}
.ns-newsletter .nl-inner{display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;}
.ns-newsletter h3{color:#fff; font-size:22px; margin-bottom:4px;}
.ns-newsletter p{color:rgba(255,255,255,.85); margin:0; font-size:14px;}
.ns-newsletter form{display:flex; gap:10px; flex-wrap:wrap;}
.ns-newsletter input{border-radius:100px !important; padding:12px 20px !important; min-width:260px;}
.ns-newsletter button{white-space:nowrap;}

/* ===== Floating WhatsApp ===== */
.float-wa{
  position:fixed; bottom:24px; right:24px; z-index:1200; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px -8px rgba(0,0,0,.4);
  animation:ns-pulse 2.4s infinite;
}
@keyframes ns-pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{box-shadow:0 0 0 14px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}}

/* ===== Toast override ===== */
.toast.bg-success{background:var(--teal) !important;}
.toast.bg-danger{background:var(--coral) !important;}

/* Guarantee these stay hidden even if the Bootstrap CDN stylesheet is
   slow/blocked/cached stale — don't depend on an external file for
   default-hidden behaviour. Bootstrap's own JS adds .show / sets an inline
   display:block when actually opening one, which wins over this. */
.modal{display:none;}
.toast{display:none;}
.toast.show{display:block;}

/* ===== Modal override (appointment modal) ===== */
.modal-content{border-radius:22px; border:none; overflow:hidden;}
.modal-header.bg-primary{background:var(--ink) !important;}
.modal-header .btn-close{filter:none;}

@media(max-width:640px){
  .ns-section{padding:60px 0;}
  .cta-inner{flex-direction:column; align-items:flex-start;}
  .ns-newsletter .nl-inner{flex-direction:column; align-items:flex-start;}
}
