:root{
  --primary:#1f6fb2;
  --primary-deep:#154f82;
  --secondary:#1aa3a8;
  --secondary-soft:#d9f3f4;
  --bg:#f7fbfd;
  --white:#ffffff;
  --text:#173042;
  --muted:#5f7889;
  --border:#d9e7ef;
  --shadow:0 16px 40px rgba(13, 53, 87, .10);
  --radius:18px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(217,231,239,.9);
}

.header-wrap{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  font-weight:700;
  font-size:24px;
}

.brand strong{
  display:block;
  font-size:1rem;
}

.brand small{
  display:block;
  color:var(--muted);
  font-size:.82rem;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.main-nav a{
  color:var(--text);
  font-weight:600;
  position:relative;
}

.main-nav a.active,
.main-nav a:hover{
  color:var(--primary);
}

.header-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:700;
  transition:.25s ease;
  border:1px solid transparent;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  box-shadow:var(--shadow);
}

.btn-secondary{
  background:#eef7fb;
  color:var(--primary-deep);
  border:1px solid #d3e7f3;
}

.btn-light{
  background:#f4fbff;
  color:var(--primary-deep);
  border:1px solid #d7ebf5;
}

.btn-outline{
  background:#fff;
  color:var(--text);
  border:1px solid var(--border);
}

.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.hero-home{
  background:
    url("img/clinic-hero.jpg") center/cover no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,35,58,.55), rgba(8,35,58,.68));
}

.hero-content{
  position:relative;
  z-index:2;
  color:#fff;
  padding:90px 0;
}

.single-column{
  max-width:820px;
}

.demo-badge{
  display:inline-block;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.03em;
  margin-bottom:18px;
}

.hero h1{
  margin:0 0 18px;
  font-size:clamp(2.2rem, 5vw, 4.4rem);
  line-height:1.06;
}

.hero-lead{
  max-width:760px;
  font-size:1.12rem;
  color:rgba(255,255,255,.92);
  margin-bottom:22px;
}

.hero-callout{
  display:inline-block;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  padding:14px 18px;
  border-radius:16px;
  margin-bottom:22px;
}

.hero-callout strong{
  display:block;
  margin-bottom:4px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.hero-emergency{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  font-size:1rem;
  margin-bottom:22px;
}

.hero-emergency a{
  color:#fff;
  font-weight:800;
  text-decoration:underline;
}

.emergency-label{
  color:rgba(255,255,255,.82);
}

.demo-warning{
  background:#fff4d8;
  color:#6a4c00;
  border:1px solid #f2d68a;
  padding:14px 16px;
  border-radius:16px;
  max-width:760px;
  font-size:.96rem;
}

.inline-warning{
  margin-top:18px;
}

.top-gap{
  margin-top:20px;
}

.info-strip{
  background:var(--bg);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  padding:28px 0;
}

.info-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

.info-card h3{
  margin:0 0 8px;
  color:var(--primary-deep);
}

.section{
  padding:78px 0;
}

.soft-bg{
  background:var(--bg);
}

.section-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:start;
}

.section-kicker{
  display:inline-block;
  margin-bottom:12px;
  color:var(--secondary);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.82rem;
}

.section h2,
.page-hero h1{
  margin:0 0 16px;
  font-size:clamp(1.9rem, 3vw, 3rem);
  line-height:1.1;
  color:var(--primary-deep);
}

.section p,
.page-hero p{
  color:var(--muted);
}

.feature-panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow);
}

.feature-item + .feature-item{
  border-top:1px solid var(--border);
  padding-top:16px;
  margin-top:16px;
}

.feature-item h3{
  margin:0 0 8px;
  color:var(--primary);
}

.section-head{
  max-width:720px;
  margin-bottom:28px;
}

.cards-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.service-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:24px;
  box-shadow:var(--shadow);
}

.service-card h3{
  margin:0 0 10px;
  color:var(--primary-deep);
}

.cta-box{
  background:linear-gradient(135deg,#eef8fc,#f6ffff);
  border:1px solid #d7ebef;
  border-radius:28px;
  padding:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:var(--shadow);
}

.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.page-main{
  background:#fff;
}

.page-hero{
  padding:72px 0 30px;
  background:linear-gradient(180deg,#f4fbfd 0%, #ffffff 100%);
  border-bottom:1px solid var(--border);
}

.site-footer{
  background:#0f2c40;
  color:#dceaf1;
  padding:28px 0;
}

.footer-wrap{
  display:flex;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.footer-wrap p{
  margin:.35rem 0 0;
  color:#b7ccd8;
}

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  background:#25D366;
  border-radius:50%;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  transition:.25s ease;
}

.whatsapp-float:hover{
  transform:translateY(-3px) scale(1.04);
}

.whatsapp-float svg{
  width:34px;
  height:34px;
  display:block;
}

@media (max-width: 980px){
  .section-grid,
  .cards-3,
  .info-grid{
    grid-template-columns:1fr;
  }

  .cta-box{
    flex-direction:column;
    align-items:flex-start;
  }

  .header-wrap{
    justify-content:center;
  }
}

@media (max-width: 640px){
  .hero{
    min-height:auto;
  }

  .hero-content{
    padding:76px 0 70px;
  }

  .hero h1{
    font-size:2.2rem;
  }

  .btn{
    width:100%;
  }

  .hero-actions,
  .header-actions{
    width:100%;
  }

  .main-nav{
    justify-content:center;
    width:100%;
  }
}