:root{
  --bg:#f5f7f4;
  --surface:#ffffff;
  --surface-2:#edf3ef;
  --surface-3:#e3eee7;
  --ink:#16302b;
  --muted:#5e736d;
  --line:rgba(22,48,43,.12);
  --teal:#1f6b63;
  --teal-deep:#144c47;
  --sage:#6f9888;
  --gold:#c9a96a;
  --shadow: 0 18px 50px rgba(18,42,37,.10);
  --shadow-soft: 0 10px 30px rgba(18,42,37,.07);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1480px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31,107,99,.08), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(201,169,106,.13), transparent 24%),
    linear-gradient(180deg, #f8fbf8 0%, var(--bg) 45%, #f6f8f5 100%);
  line-height:1.6;
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{
  max-width:100%;
  display:block;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
  max-width:100%;
}

button,
input,
textarea,
select{
  font:inherit;
  max-width:100%;
}

::selection{
  background:rgba(31,107,99,.18);
}

.container{
  width:min(calc(100% - 24px), var(--max));
  margin:0 auto;
  padding-left:12px;
  padding-right:12px;
  justify-content: center;
  align-items: center;
}

.section{
  padding:74px 0;
  position:relative;
}

.section.compact{
  padding:48px 0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px;
  border-radius:999px;
  background:rgba(31,107,99,.08);
  color:var(--teal-deep);
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  max-width:100%;
  flex-wrap:wrap;
}

.kicker::h1{
  padding:10px;
}

.kicker::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 6px rgba(201,169,106,.15);
  flex:0 0 auto;
}

h1,h2,h3,h4{
  font-family:'Montserrat', system-ui, sans-serif;
  line-height:1.02;
  padding:5px;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
  word-break:break-word;
  max-width:100%;
  margin-top:0;
}

h1{
  font-size:clamp(2.8rem, 7vw, 5.6rem);
}

h2{
  font-size:clamp(2.1rem, 4vw, 3.5rem);
}

h3{
  font-size:clamp(1.5rem, 2.3vw, 2.2rem);
}

p{
  margin:0;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.lead{
  font-size:clamp(1.05rem, 1.3vw, 1.18rem);
  max-width:62ch;
  overflow-wrap:anywhere;
}

.mini{
  font-size:.95rem;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.grid{
  display:grid;
  gap:24px;
}

.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  max-width:100%;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 22px;
  border-radius:999px;
  border:1px solid transparent;
  transition:.25s ease;
  box-shadow:0 10px 24px rgba(31,107,99,.14);
  font-weight:700;
  letter-spacing:.01em;
  font-family:'Montserrat', system-ui, sans-serif;
  max-width:100%;
  white-space:normal;
  text-align:center;
}

.btn.primary{
  background:linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color:#fff;
}

.btn.secondary{
  background:rgba(255,255,255,.75);
  border-color:rgba(31,107,99,.16);
  color:var(--teal-deep);
  backdrop-filter:blur(10px);
}

.btn.ghost{
  background:transparent;
  border-color:rgba(31,107,99,.18);
  color:var(--teal-deep);
  box-shadow:none;
}

.btn:hover{
  transform:translateY(-1px);
}

.topbar{
  background:linear-gradient(90deg, #123f3a, #1f6b63);
  color:#ecf7f4;
  font-size:.94rem;
}

.topbar .container{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
}

.topbar a{
  color:#fff;
  font-weight:600;
  overflow-wrap:anywhere;
}

.site-header{
  position:sticky;
  top:0;
  z-index:80;
  backdrop-filter:saturate(160%) blur(16px);
  background:rgba(245,247,244,.72);
  border-bottom:1px solid rgba(22,48,43,.08);
}

.nav-wrap{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  min-height:82px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
  max-width:100%;
}

.brand-mark{
  width:56px;
  height:56px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 14px 30px rgba(20,79,71,.10);
  position:relative;
  object-fit:contain;
  padding:2px;
  flex:0 0 auto;
}

.brand-mark::before,
.brand-mark::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  background:#fff;
  border-radius:99px;
}

.brand-mark::before{
  width:24px;
  height:6px;
}

.brand-mark::after{
  width:6px;
  height:24px;
}

.brand-text{
  min-width:0;
}

.brand-text strong{
  display:block;
  font-size:1.02rem;
  letter-spacing:.02em;
  font-family:'Montserrat', system-ui, sans-serif;
  overflow-wrap:anywhere;
}

.brand-text span{
  display:block;
  color:var(--muted);
  font-size:.82rem;
  margin-top:2px;
  overflow-wrap:anywhere;
}

.nav-toggle{
  display:none;
  width:48px;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(31,107,99,.15);
  background:rgba(255,255,255,.72);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 auto;
}

.nav-toggle span{
  width:20px;
  height:2px;
  background:var(--teal-deep);
  position:relative;
  display:block;
  border-radius:999px;
}

.nav-toggle span::before,
.nav-toggle span::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background:var(--teal-deep);
  border-radius:999px;
}

.nav-toggle span::before{
  top:-6px;
}

.nav-toggle span::after{
  top:6px;
}

.nav{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
  min-width:0;
}

.nav a{
  padding:11px 14px;
  border-radius:999px;
  color:var(--teal-deep);
  font-weight:600;
  font-size:.96rem;
  transition:.2s ease;
  white-space:nowrap;
  max-width:100%;
}

.nav a:hover,
.nav a.active{
  background:rgba(31,107,99,.08);
  color:var(--teal-deep);
}

.header-cta{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left:0;
  justify-self:end;
  min-width:0;
}

.hero{
  padding:28px 0 28px;
  align-items:center;
  align-content:center;
}

.hero-shell{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:28px;
  justify-content:center;
  padding:clamp(16px, 1.5vw, 22px);
  border:1px solid rgba(22,48,43,.08);
  border-radius:34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,251,248,.88)),
    radial-gradient(circle at top right, rgba(201,169,106,.08), transparent 32%);
  box-shadow:var(--shadow);
  overflow:hidden;
  max-width:100%;
}

.hero-copy{
  padding:10px 4px 10px 2px;
  min-width:0;
}

.hero-copy h1{
  max-width:10ch;
  overflow-wrap:anywhere;
}

.hero-copy .lead{
  margin-top:22px;
}

.hero-meta{
  margin:26px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  max-width:100%;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  background:#fff;
  border:1px solid rgba(22,48,43,.08);
  border-radius:999px;
  color:var(--teal-deep);
  box-shadow:0 8px 20px rgba(18,42,37,.05);
  max-width:100%;
}

.pill i{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--gold);
  display:inline-block;
  flex:0 0 auto;
}

.hero-card{
  border-radius:30px;
  background:
    linear-gradient(180deg, rgba(31,107,99,.96), rgba(20,79,71,.96));
  color:#fff;
  padding:22px;
  position:relative;
  overflow:hidden;
  min-height:540px;
  max-width:100%;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:auto -90px -110px auto;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(255,255,255,.09);
}

.hero-image{
  border-radius:24px;
  min-height:320px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.02)),
    url('assets/images/hero-placeholder.svg') center/cover no-repeat;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 20px 60px rgba(0,0,0,.17);
  max-width:100%;
}

.logo-display{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  padding:12px 8px 18px;
  border-radius:24px;
  background:rgba(255,255,255,1);
  box-shadow:0 20px 60px rgba(0,0,0,.17);
  max-width:100%;
  overflow:hidden;
}

.hero-logo{
  width:min(100%, 360px);
  height:auto;
  display:block;
  margin:auto;
  filter:drop-shadow(0 10px 20px rgba(0,0,0,.08));
  max-width:100%;
}

.hero-panel{
  display:grid;
  gap:14px;
  margin-top:16px;
  max-width:100%;
}

.surface-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  padding:18px;
  backdrop-filter:blur(10px);
  max-width:100%;
}

.surface-card strong{
  display:block;
  font-family:'Montserrat', system-ui, sans-serif;
  font-size:1.45rem;
  margin-bottom:4px;
  overflow-wrap:anywhere;
}

.surface-card p{
  color:rgba(255,255,255,.8);
  overflow-wrap:anywhere;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:16px;
  max-width:100%;
}

.stat{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:16px;
  min-width:0;
}

.stat b{
  display:block;
  font-size:1.5rem;
  font-family:'Montserrat', system-ui, sans-serif;
  overflow-wrap:anywhere;
}

.stat span{
  display:block;
  font-size:.9rem;
  color:rgba(255,255,255,.84);
  overflow-wrap:anywhere;
}

.trust-box b{
  display:block;
  font-size:1.8rem;
  color:var(--teal-deep);
  font-family:'Cormorant Garamond', Georgia, serif;
  overflow-wrap:anywhere;
}

.trust-box span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:24px;
  max-width:100%;
}

.section-heading .copy{
  max-width:68ch;
  min-width:0;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:100%;
}

.card{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(22,48,43,.08);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  padding:22px;
  min-width:0;
  max-width:100%;
}

.card.soft{
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(239,245,241,.9));
}

.icon-badge{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(31,107,99,.12), rgba(201,169,106,.12));
  color:var(--teal-deep);
  font-size:1.4rem;
  margin-bottom:16px;
  border:1px solid rgba(31,107,99,.09);
  flex:0 0 auto;
}

.card h3{
  margin-bottom:10px;
  overflow-wrap:anywhere;
}

.card p{
  font-size:.98rem;
  overflow-wrap:anywhere;
}

.list{
  display:grid;
  gap:14px;
  margin-top:18px;
  max-width:100%;
}

.list-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  min-width:0;
}

.bullet{
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--gold);
  margin-top:.46rem;
  flex:0 0 auto;
}

.feature-layout{
  display:grid;
  grid-template-columns:.98fr 1.02fr;
  gap:22px;
  align-items:center;
  max-width:100%;
}

.visual-doctor {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  background: 
    linear-gradient(180deg, rgba(31,107,99,.12), rgba(20,79,71,.04)),
    url('assets/images/dr_aboli.jpeg') center/cover no-repeat;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(22,48,43,.08);
  box-shadow: var(--shadow);
}

.visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(22,48,43,.08);
  box-shadow: var(--shadow);
  background: #fff;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;

  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  cursor: pointer;

  font-size: 18px;
  font-weight: 600;

  color: var(--brand-dark);
  z-index: 5;
  transition: all .2s ease;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .3s ease;
}

.dot.active {
  background: #fff;
  width: 26px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .visual {
    aspect-ratio: 1 / 1;
    min-height: 280px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

.visual-badge{
  position:absolute;
  left:20px;
  bottom:20px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(22,48,43,.08);
  border-radius:22px;
  padding:16px 18px;
  box-shadow:0 16px 30px rgba(18,42,37,.1);
  max-width:min(280px, calc(100% - 40px));
}

.visual-badge strong{
  display:block;
  color:var(--teal-deep);
  font-family:'Montserrat', system-ui, sans-serif;
  font-size:1.45rem;
  overflow-wrap:anywhere;
}

.visual-badge span{
  color:var(--muted);
  font-size:.96rem;
  overflow-wrap:anywhere;
}

.profile-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:100%;
}

.profile{
  overflow:hidden;
  min-width:0;
}

.profile .portrait{
  height:260px;
  border-radius:20px;
  margin:-2px -2px 18px;
  background:
    linear-gradient(180deg, rgba(31,107,99,.16), rgba(201,169,106,.08)),
    url('assets/images/dr_aboli.jpeg') center/cover no-repeat;
  border:1px solid rgba(22,48,43,.08);
  max-width:calc(100% + 4px);
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
  max-width:100%;
}

.badge{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(22,48,43,.09);
  background:rgba(255,255,255,.76);
  color:var(--teal-deep);
  font-size:.9rem;
  font-weight:600;
  max-width:100%;
}

.testimonials{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:100%;
}

.quote{
  position:relative;
  padding:24px;
  min-width:0;
}

.quote::before{
  content:"“";
  position:absolute;
  top:4px;
  right:18px;
  font-family:'Montserrat', system-ui, sans-serif;
  font-size:5rem;
  line-height:1;
  color:rgba(31,107,99,.12);
}

.quote .stars{
  color:var(--gold);
  letter-spacing:.12em;
  margin-bottom:14px;
  font-size:1rem;
}

.quote footer{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--teal-deep);
  font-weight:700;
  min-width:0;
}

.avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(31,107,99,.24), rgba(201,169,106,.24));
  border:1px solid rgba(22,48,43,.08);
  flex:0 0 auto;
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:100%;
}
5
.blog-card{
  overflow:hidden;
  min-width:0;
}

.blog-thumb{
  height:220px;
  background:
    linear-gradient(180deg, rgba(31,107,99,.12), rgba(20,79,71,.04)),
    url('assets/images/blog-placeholder.svg') center/cover no-repeat;
  border-radius:18px;
  margin:-2px -2px 18px;
  border:1px solid rgba(22,48,43,.08);
  max-width:calc(100% + 4px);
}

.blog-card .meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  font-size:.88rem;
  color:var(--muted);
  margin-bottom:8px;
  max-width:100%;
}

.blog-card h3{
  font-size:1.9rem;
  overflow-wrap:anywhere;
}

.blog-card .read{
  display:inline-flex;
  margin-top:18px;
  color:var(--teal-deep);
  font-weight:700;
}

.cta{
  background:
    radial-gradient(circle at top right, rgba(201,169,106,.15), transparent 22%),
    linear-gradient(135deg, #1f6b63, #123f3a);
  color:#eff9f6;
  border-radius:34px;
  padding:38px;
  box-shadow:var(--shadow);
  overflow:hidden;
  max-width:100%;
}

.cta p{
  color:rgba(239,249,246,.82);
  overflow-wrap:anywhere;
}

.cta .btn.secondary{
  background:rgba(255,255,255,.95);
}

.footer{
  margin-top:20px;
  padding:34px 0 50px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr 1fr;
  gap:24px;
  padding-top:24px;
  border-top:1px solid rgba(22,48,43,.1);
  max-width:100%;
}

.footer h4{
  font-size:1.2rem;
  margin-bottom:14px;
  font-family:'Montserrat', system-ui, sans-serif;
  overflow-wrap:anywhere;
}

.footer a,
.footer p,
.footer li{
  color:var(--muted);
  font-size:.96rem;
  overflow-wrap:anywhere;
}

.footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-top:18px;
  margin-top:18px;
  border-top:1px solid rgba(22,48,43,.08);
  color:var(--muted);
  font-size:.92rem;
  max-width:100%;
}

.page-hero{
  padding:36px 0 22px;
}

.page-shell{
  background:linear-gradient(135deg, rgba(255,255,255,.88), rgba(240,246,242,.86));
  border:1px solid rgba(22,48,43,.08);
  border-radius:34px;
  padding:36px;
  box-shadow:var(--shadow);
  max-width:100%;
  overflow:hidden;
}

.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:.94rem;
  margin-bottom:12px;
  max-width:100%;
}

.breadcrumbs a{
  color:var(--teal-deep);
  font-weight:600;
  overflow-wrap:anywhere;
}

.content-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:24px;
  align-items:start;
  max-width:100%;
}

.sidebar{
  position:sticky;
  top:108px;
  min-width:0;
}

.info-box{
  background:#fff;
  border:1px solid rgba(22,48,43,.08);
  border-radius:24px;
  padding:20px;
  box-shadow:var(--shadow-soft);
  max-width:100%;
  overflow:hidden;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:100%;
}

.contact-item{
  background:#fff;
  border:1px solid rgba(22,48,43,.08);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-soft);
  min-width:0;
}

.contact-item b{
  display:block;
  font-size:1.35rem;
  color:var(--teal-deep);
  margin-bottom:8px;
  font-family:'Cormorant Garamond', Georgia, serif;
  overflow-wrap:anywhere;
}

.form-frame{
  width:100%;
  min-height:920px;
  border:0;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}

.notice{
  background:rgba(31,107,99,.08);
  border:1px solid rgba(31,107,99,.12);
  color:var(--teal-deep);
  border-radius:18px;
  padding:14px 16px;
  max-width:100%;
  overflow-wrap:anywhere;
}

.article{
  max-width:900px;
}

.article .hero-image{
  min-height:320px;
  margin-top:24px;
}

.article h2,
.article h3{
  margin-top:28px;
  margin-bottom:12px;
}

.article ul{
  padding-left:18px;
  color:var(--muted);
}

.article li{
  margin-bottom:10px;
  overflow-wrap:anywhere;
}

.faq{
  display:grid;
  gap:14px;
  max-width:100%;
}

.faq-item{
  background:#fff;
  border:1px solid rgba(22,48,43,.08);
  border-radius:20px;
  padding:18px 20px;
  box-shadow:var(--shadow-soft);
  min-width:0;
}

.faq-item h3{
  font-family:'Inter', sans-serif;
  font-size:1.04rem;
  line-height:1.4;
  margin-bottom:8px;
  overflow-wrap:anywhere;
}

.mobile-only{
  display:none;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:16px;
  top:12px;
  width:auto;
  height:auto;
  z-index:200;
  background:#fff;
  padding:12px 14px;
  border-radius:12px;
}

/* Responsive fixes without changing class names or layout structure */

@media (max-width: 1200px){
  .container{
    width:min(calc(100% - 20px), var(--max));
    padding-left:10px;
    padding-right:10px;
  }

  .hero-copy h1{
    max-width:12ch;
  }
}

@media (max-width: 1100px){
  .hero-shell,
  .feature-layout,
  .content-grid,
  .footer-grid,
  .nav-wrap{
    grid-template-columns:1fr;
  }

  .nav-wrap{
    gap:14px;
    align-items:flex-start;
  }

  .brand{
    width:100%;
  }

  .hero-card{
    min-height:auto;
  }

  .cards,
  .profile-grid,
  .testimonials,
  .blog-grid,
  .contact-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .sidebar{
    position:static;
  }

  .nav{
    justify-content:flex-start;
  }

  .header-cta{
    justify-self:start;
  }

  .section-heading{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 820px){
  .nav-toggle{
    display:inline-flex;
  }

  .nav{
    position:absolute;
    left:16px;
    right:16px;
    top:100%;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(22,48,43,.08);
    border-radius:22px;
    padding:10px;
    box-shadow:var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:8px;
    max-height:min(70vh, 520px);
    overflow:auto;
    z-index:120;
  }

  .nav.open{
    display:flex;
  }

  .nav a{
    width:100%;
    text-align:center;
    white-space:normal;
  }

  .header-cta{
    display:none;
  }

  .cards,
  .profile-grid,
  .testimonials,
  .blog-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .hero-shell,
  .page-shell{
    padding:20px;
  }

  .section{
    padding:62px 0;
  }

  .hero-copy h1{
    max-width:100%;
  }

  .hero-meta{
    gap:10px;
  }

  .pill{
    width:100%;
    justify-content:flex-start;
  }

  .hero-stats{
    grid-template-columns:1fr;
  }

  .visual{
    min-height:360px;
  }

  .visual-badge{
    left:14px;
    right:14px;
    bottom:14px;
    max-width:none;
  }

  .form-frame{
    min-height:760px;
  }
}

@media (max-width: 560px){
  h1{
    font-size:clamp(2.4rem, 6.2vw, 4.8rem);
    padding:0;
    line-height:1.06;
  }

  h2{
    font-size:clamp(2rem, 10vw, 2.8rem);
    padding:0;
    line-height:1.08;
  }

  h3,h4{
    padding:0;
    line-height:1.12;
  }

  .topbar .container{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-wrap{
    min-height:74px;
  }

  .btn{
    width:100%;
  }

  .btn-row{
    width:100%;
  }

  .pill{
    font-size:.92rem;
  }

  .hero{
    padding:20px 0 24px;
  }

  .hero-shell{
    border-radius:28px;
  }

  .hero-card{
    border-radius:26px;
    padding:18px;
  }

  .hero-image,
  .logo-display{
    min-height:240px;
  }

  .hero-logo{
    width:min(100%, 280px);
  }

  .card,
  .contact-item,
  .faq-item,
  .info-box{
    padding:18px;
    border-radius:20px;
  }

  .page-shell{
    padding:18px;
    border-radius:28px;
  }

  .cta{
    padding:24px 18px;
    border-radius:28px;
  }

  .footer{
    padding:28px 0 42px;
  }

  .footer-grid{
    gap:18px;
    padding-top:18px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .brand-mark{
    width:50px;
    height:50px;
  }
}

@media (max-width: 420px){
  .container{
    width:min(calc(100% - 16px), var(--max));
    padding-left:8px;
    padding-right:8px;
  }

  .topbar .container{
    padding:6px 0;
  }

  .nav a{
    padding:10px 12px;
    font-size:.94rem;
  }

  .surface-card{
    padding:16px;
  }

  .stat{
    padding:14px;
  }

  .blog-card h3{
    font-size:1.6rem;
  }

  .visual{
    min-height:300px;
  }

  .article .hero-image{
    min-height:240px;
  }
}