/* =========================================================
   MARK Healthcare Service — Design System
   Palette: White / Teal / Navy — minimal, professional, trustworthy
   Display: Fraunces (warm, human serif for headlines)
   Body/UI: Inter (clean, legible sans)
   Signature motif: the pulse/EKG line — echoes the heart-monitor
   mark in the logo, used as a rhythmic divider through the page.
   ========================================================= */

:root{
  /* --- Color tokens --- */
  --navy:            #0B2740;
  --navy-deep:       #071A2C;
  --teal:            #12817D;
  --teal-deep:       #0B5F5C;
  --teal-light:      #E6F5F3;
  --teal-mist:       #F3FAF9;
  --white:           #FFFFFF;
  --paper:           #F7FAFA;
  --ink:             #16232E;
  --ink-soft:        #4B5D6B;
  --line:            #E1EAE9;
  --gold:            #C9A25C; /* rare accent, used sparingly */

  /* --- Type tokens --- */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Layout tokens --- */
  --max-w: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(11,39,64,0.06);
  --shadow-md: 0 12px 32px rgba(11,39,64,0.10);
  --shadow-lg: 0 24px 60px rgba(11,39,64,0.14);
  --ease: cubic-bezier(.22,.85,.35,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; }

.container{
  width:100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section{ position:relative; }

/* --- Typography --- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 560; }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: 1.28rem; }
p{ margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 0.78rem;
  font-weight:700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--teal);
  display:inline-block;
  border-radius: 2px;
}

.section-head{
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head.center{
  margin-left:auto; margin-right:auto; text-align:center;
}
.lede{ font-size: 1.08rem; color: var(--ink-soft); }

/* --- Buttons --- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-primary{
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18,129,125,0.28);
}
.btn-primary:hover{ background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18,129,125,0.34); }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover{ border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost-light{
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover{ background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.7); }
.btn-block{ width:100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* --- Header --- */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{ height: 46px; width:auto; }

.main-nav{
  display:flex;
  align-items:center;
  gap: 6px;
}
.main-nav a{
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
  position: relative;
}
.main-nav a:hover{ background: var(--teal-mist); color: var(--teal-deep); }
.main-nav a.active{ color: var(--teal-deep); background: var(--teal-light); }

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px; height:44px;
  border-radius:50%;
  border:1.5px solid var(--line);
  color: var(--navy);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.icon-btn:hover{ background: var(--teal-mist); border-color: var(--teal); transform: translateY(-2px); }
.icon-btn svg{ width:20px; height:20px; }
.icon-btn.whatsapp{ color:#1FA855; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  width:44px; height:44px;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  border:1.5px solid var(--line);
  background:transparent;
}
.nav-toggle span{
  width: 20px; height:2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero{
  background: linear-gradient(180deg, var(--teal-mist) 0%, var(--white) 78%);
  overflow: hidden;
  padding: 92px 0 60px;
  position: relative;
}
.hero::before{
  content:"";
  position:absolute;
  top:-180px; right:-160px;
  width:520px; height:520px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(18,129,125,0.14) 0%, rgba(18,129,125,0) 70%);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  bottom:-220px; left:-180px;
  width:460px; height:460px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(201,162,92,0.10) 0%, rgba(201,162,92,0) 70%);
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items:center;
  position:relative;
  z-index:1;
}
.hero-copy h1{ margin-bottom: 18px; }
.hero-copy .lede{ max-width: 520px; margin-bottom: 30px; }
.text-accent{
  background: linear-gradient(100deg, var(--teal) 10%, var(--teal-deep) 55%, var(--gold) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom: 34px;
}
.hero-actions .btn{
  min-width: 158px;
  font-weight: 800;
}
.hero-actions .btn-primary{
  background: #0D47A1;
  box-shadow: 0 10px 24px rgba(13,71,161,0.28);
}
.hero-actions .btn-primary:hover{
  background: #083B87;
  box-shadow: 0 14px 30px rgba(13,71,161,0.34);
}
.hero-actions .btn-outline{
  color: #0D47A1;
  border-color: rgba(13,71,161,0.34);
  background: var(--white);
}
.service-area-highlight{
  color: #0D47A1;
  font-weight: 800;
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap: 14px 16px;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:0.9rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.trust-item .dot-icon{
  width: 34px; height:34px;
  border-radius:50%;
  background: var(--teal-light);
  color: var(--teal-deep);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.trust-item svg{ width:17px; height:17px; }

.hero-art{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-art-glow{
  position:absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 45%, rgba(18,129,125,0.20) 0%, rgba(18,129,125,0) 62%);
  filter: blur(6px);
  pointer-events:none;
  z-index:0;
}
.pulse-card{
  position:relative;
  width:100%;
  max-width: 480px;
  aspect-ratio: 1/1;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal-deep) 100%);
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255,255,255,0.55), 0 0 0 11px rgba(18,129,125,0.12), 0 30px 70px rgba(11,39,64,0.20);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  z-index:1;
}
.pulse-card-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(0.85) brightness(0.92);
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}
.pulse-card:hover .pulse-card-photo{ transform: scale(1); }
.pulse-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(195deg, rgba(11,39,64,0.55) 0%, rgba(11,95,92,0.38) 55%, rgba(11,39,64,0.62) 100%),
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.14), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(255,255,255,0.10), transparent 45%);
  z-index:1;
}
.pulse-line{ width: 84%; position:relative; z-index:2; }
.pulse-line path{
  fill:none;
  stroke: rgba(255,255,255,0.92);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw-pulse 2.6s var(--ease) 0.4s forwards infinite;
}
@keyframes draw-pulse{
  0%{ stroke-dashoffset: 620; }
  55%{ stroke-dashoffset: 0; }
  100%{ stroke-dashoffset: -620; }
}
.pulse-badge{
  position:absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 20px 14px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  z-index:3;
}
.pulse-badge-icon{
  width: 42px; height:42px;
  border-radius:12px;
  background: var(--teal-light);
  color: var(--teal-deep);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.pulse-badge-icon svg{ width:22px; height:22px; }
.pulse-badge strong{ display:block; font-size:1.05rem; color:var(--navy); font-family: var(--font-display); }
.pulse-badge span{ font-size: 0.78rem; color: var(--ink-soft); }
.pulse-badge.b1{ bottom: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* --- Pulse divider (signature motif) --- */
.pulse-divider{
  width:100%;
  height: 46px;
  display:block;
}
.pulse-divider path{
  fill:none;
  stroke: var(--teal);
  stroke-width: 2;
  opacity: 0.5;
}

/* --- Generic sections --- */
.section{ padding: 88px 0; }
.section.tight{ padding: 64px 0; }
.section-alt{ background: var(--paper); }
.section-navy{ background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3{ color: var(--white); }
.section-navy p{ color: rgba(255,255,255,0.72); }
.section-navy .eyebrow{ color: #7CD6CF; }
.section-navy .eyebrow::before{ background: #7CD6CF; }

/* --- About preview / Split --- */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media{
  position:relative;
}
.split-media .photo-frame{ margin-bottom: 22px; }
.media-frame{
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--teal-light), var(--white));
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.value-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value-chip{
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.value-chip svg{ width:22px; height:22px; color:var(--teal); margin-bottom:10px; }
.value-chip strong{ display:block; font-size:0.95rem; color:var(--navy); }

.about-story-split{
  gap: 72px;
  align-items:center;
}
.about-media{
  display:flex;
  flex-direction:column;
  gap: 24px;
}
.about-photo-frame{
  aspect-ratio: 4/2.9;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(11,39,64,0.13);
}
.about-photo-frame img{
  object-fit: cover;
  object-position: 58% center;
}
.about-media.in-view .about-photo-frame img{
  transform:scale(1);
  opacity:1;
}
.values-statement,
.core-values-statement{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.values-statement{
  padding: 28px;
}
.values-statement .service-icon{ margin-bottom: 16px; }
.values-statement h3{ margin-bottom: 10px; }
.values-statement p,
.core-values-statement p{ margin-bottom:0; }
.core-values-statement{
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 34px;
  text-align:center;
}

/* --- Service cards --- */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon{
  width: 56px; height:56px;
  border-radius: 16px;
  background: var(--teal-light);
  color: var(--teal-deep);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
  transition: background .3s ease, color .3s ease;
}
.service-card:hover .service-icon{ background: var(--teal); color: var(--white); }
.service-icon svg{ width: 28px; height:28px; }
.service-card h3{ margin-bottom: 10px; }
.service-card p{ font-size: 0.95rem; flex-grow:1; }
.card-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:0.92rem;
  color: var(--teal-deep);
  margin-top: 14px;
}
.card-link svg{ width:16px; height:16px; transition: transform .25s ease; }
.service-card:hover .card-link svg{ transform: translateX(4px); }

/* --- Why choose us --- */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-item{
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature-item svg{ width:24px; height:24px; color: var(--teal); margin-bottom: 14px; }
.feature-item h3{ font-size: 1.02rem; margin-bottom:6px; }
.feature-item p{ font-size: 0.9rem; margin:0; }

/* --- How it works --- */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position:relative;
}
.step{
  position:relative;
  padding: 0 20px;
  text-align:left;
}
.step-num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--teal-light);
  -webkit-text-stroke: 1.5px var(--teal);
  color: transparent;
  line-height:1;
  margin-bottom: 14px;
  display:block;
}
.step h3{ font-size: 1.05rem; margin-bottom: 8px; }
.step p{ font-size: 0.9rem; }
.step-connector{
  position:absolute;
  top: 22px;
  left: -14px;
  width: 28px;
  height: 2px;
  background: var(--line);
}
.step:first-child .step-connector{ display:none; }

/* --- Testimonials --- */
.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stars{ display:flex; gap:3px; margin-bottom:14px; color: var(--gold); }
.stars svg{ width:16px; height:16px; }
.testimonial-card p{ font-style: italic; color: var(--ink); margin-bottom: 18px; }
.testimonial-author{ display:flex; align-items:center; gap:12px; }
.author-avatar{
  width:42px;height:42px;border-radius:50%;
  background: var(--teal-light);
  color: var(--teal-deep);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;
  font-family: var(--font-display);
}
.author-name{ font-weight:700; font-size:0.9rem; color: var(--navy); }
.author-loc{ font-size:0.8rem; color: var(--ink-soft); }

/* --- FAQ accordion --- */
.faq-list{ max-width: 780px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-question{
  width:100%;
  background:none;
  border:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align:left;
  font-weight:700;
  font-size: 1.02rem;
  color: var(--navy);
}
.faq-question .plus{
  flex-shrink:0;
  width: 30px;height:30px;
  border-radius:50%;
  border:1.5px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  position:relative;
  transition: transform .3s var(--ease), background .25s ease, border-color .25s ease;
}
.faq-question .plus::before, .faq-question .plus::after{
  content:"";
  position:absolute;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.faq-question .plus::before{ width:12px;height:2px; }
.faq-question .plus::after{ width:2px;height:12px; }
.faq-item.open .faq-question .plus{ background: var(--teal); border-color: var(--teal); transform: rotate(180deg); }
.faq-item.open .faq-question .plus::before, .faq-item.open .faq-question .plus::after{ background: var(--white); }
.faq-item.open .faq-question .plus::after{ opacity:0; }
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition: max-height .4s var(--ease);
}
.faq-answer p{ padding: 0 4px 22px; margin:0; font-size:0.96rem; }

/* --- CTA banner --- */
.cta-banner{
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 30px;
  color: var(--white);
  position:relative;
  overflow:hidden;
}
.cta-banner::after{
  content:"";
  position:absolute;
  right:-60px; top:-60px;
  width:220px;height:220px;
  border-radius:50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner h2{ color:var(--white); margin-bottom:8px; }
.cta-banner p{ color: rgba(255,255,255,0.75); margin:0; }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* --- Footer --- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img{ height:40px; margin-bottom: 16px; }
.footer-brand p{ color: rgba(255,255,255,0.6); font-size:0.92rem; max-width: 300px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.2);
  display:flex;align-items:center;justify-content:center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover{ background: var(--teal); border-color: var(--teal); }
.footer-social svg{ width:16px;height:16px; }
.footer-col h4{
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight:700;
}
.footer-col ul li{ margin-bottom: 12px; }
.footer-col a{ color: rgba(255,255,255,0.68); font-size:0.94rem; transition: color .2s ease; }
.footer-col a:hover{ color: #7CD6CF; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; font-size:0.92rem; color: rgba(255,255,255,0.68); }
.footer-contact svg{ width:17px;height:17px; flex-shrink:0; margin-top:2px; color:#7CD6CF; }
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 22px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  flex-wrap:wrap;
}
.footer-bottom a{ color: rgba(255,255,255,0.55); }
.footer-bottom a:hover{ color: var(--white); }
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }

/* --- Floating action buttons --- */
.float-actions{
  position: fixed;
  right: 22px;
  bottom: 22px;
  display:flex;
  flex-direction:column;
  gap:18px;
  z-index: 90;
}
.fab{
  width: 58px; height:58px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease);
  color: var(--white);
}
.fab:hover{ transform: translateY(-3px) scale(1.04); }
.fab svg{ width:26px;height:26px; }
.fab-whatsapp{ background: #25D366; box-shadow: var(--shadow-md), 0 0 0 1px rgba(37,211,102,0.25); }
.fab-whatsapp svg{ fill: var(--white) !important; }
.fab-call{ background: var(--teal-deep); }

/* --- Page hero (inner pages) --- */
.page-hero{
  background: linear-gradient(180deg, var(--teal-mist), var(--white));
  padding: 56px 0 40px;
  text-align:center;
}
.page-hero .eyebrow{ justify-content:center; }
.breadcrumb{
  display:flex; justify-content:center; gap:8px;
  font-size:0.85rem; color: var(--ink-soft); margin-top:10px;
}
.breadcrumb a{ color: var(--teal-deep); font-weight:600; }

/* --- Page hero photo variant --- */
.page-hero.has-photo{
  position:relative;
  background-size: cover;
  background-position: center;
  padding: 118px 0 84px;
  color: var(--white);
  overflow:hidden;
}
.page-hero.has-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(7,26,44,0.86) 0%, rgba(11,95,92,0.72) 55%, rgba(7,26,44,0.90) 100%);
}
.page-hero.has-photo .container{ position:relative; z-index:1; }
.page-hero.has-photo h1{ color: var(--white); }
.page-hero.has-photo .lede{ color: rgba(255,255,255,0.86); }
.page-hero.has-photo .eyebrow{ color: #7CD6CF; }
.page-hero.has-photo .eyebrow::before{ background: #7CD6CF; }
.page-hero.has-photo .breadcrumb{ color: rgba(255,255,255,0.75); }
.page-hero.has-photo .breadcrumb a{ color: var(--white); }

/* --- Services page --- */
.service-block{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items:center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child{ border-bottom:none; }
.service-block:nth-child(even){ direction: rtl; }
.service-block:nth-child(even) > *{ direction: ltr; }
.service-visual{
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--teal-light), var(--white));
  border: 1px solid var(--line);
  padding: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 260px;
}
.service-visual svg{ width: 96px; height:96px; color: var(--teal-deep); }
.service-visual.photo{
  padding:0;
  overflow:hidden;
  min-height:320px;
}
.service-visual.photo img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
  transform: scale(1.08);
  opacity:0;
  transition: transform 1.1s var(--ease), opacity .8s ease;
}
.service-block.in-view .service-visual.photo img{ transform:scale(1); opacity:1; }
.service-tag{
  display:inline-block;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color: var(--teal-deep);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.include-list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 22px 0 26px;
}
.include-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size: 0.94rem;
  color: var(--ink);
}
.include-list svg{ width:17px;height:17px; color: var(--teal); flex-shrink:0; margin-top:3px; }

/* --- Service areas --- */
.area-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.area-chip{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align:center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.area-chip:hover{ transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.area-chip svg{ width:26px;height:26px;color:var(--teal); margin: 0 auto 12px; }
.area-chip strong{ color: var(--navy); font-family: var(--font-display); font-size:1.05rem; }
.area-chip strong{
  color: #0D47A1;
  font-weight: 800;
}

/* --- Mission/Vision --- */
.mv-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 38px;
}
.mv-card .service-icon{ margin-bottom: 20px; }
.mv-card p strong{
  color: var(--ink-soft);
  font-weight: 600;
}

.support-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.support-card{
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.support-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18,129,125,0.26);
}
.support-icon{
  width:48px;
  height:48px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal-deep);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 18px;
}
.support-icon svg{ width:24px; height:24px; }
.support-card h3{ margin-bottom: 8px; }
.support-card p{ margin-bottom:0; }

.core-values-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* --- Contact page --- */
.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items:start;
}
.contact-info-card{
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info-card h3{ color: var(--white); }
.contact-info-list{ margin: 22px 0; display:flex; flex-direction:column; gap:20px; }
.contact-info-list li{ display:flex; gap:14px; align-items:flex-start; }
.contact-info-list .ci-icon{
  width:42px;height:42px;border-radius:12px;
  background: rgba(255,255,255,0.1);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.contact-info-list svg{ width:19px;height:19px; color:#7CD6CF; }
.contact-info-list strong{ display:block; font-size:0.92rem; color: rgba(255,255,255,0.6); font-weight:600; margin-bottom:3px; }
.contact-info-list a, .contact-info-list span{ font-size:1rem; font-weight:600; color: var(--white); }
.contact-quick-actions{ display:flex; gap:12px; margin-top: 28px; flex-wrap:wrap; }

.contact-form-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom: 20px; }
.form-group label{
  display:block;
  font-size:0.86rem;
  font-weight:700;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea{
  width:100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none;
  border-color: var(--teal);
  background: var(--white);
}
.form-group textarea{ resize:vertical; min-height:120px; }
.form-error{
  font-size: 0.8rem;
  color: #C0392B;
  margin-top: 6px;
  display:none;
}
.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select{ border-color: #C0392B; }
.form-group.invalid .form-error{ display:block; }
.form-note{ font-size:0.82rem; color: var(--ink-soft); margin-top:6px; }
.form-success{
  display:none;
  align-items:center;
  gap:12px;
  background: var(--teal-light);
  border: 1px solid var(--teal);
  color: var(--teal-deep);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight:600;
  font-size:0.94rem;
  margin-top: 18px;
}
.form-success.show{ display:flex; }
.form-success svg{ width:20px;height:20px; flex-shrink:0; }

.map-wrap{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 380px;
}
.map-wrap iframe{ width:100%; height:100%; border:0; display:block; }

/* --- Legal / Privacy page --- */
.legal-content{ max-width: 820px; margin: 0 auto; }
.legal-content h2{ margin-top: 44px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content ul{ margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.legal-content li{ margin-bottom:8px; color: var(--ink-soft); }
.legal-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 40px;
  padding: 10px;
  background: var(--paper);
  border-radius: 999px;
  justify-content:center;
}
.legal-nav a{
  padding: 10px 18px;
  border-radius: 999px;
  font-weight:600;
  font-size:0.9rem;
  transition: background .2s ease, color .2s ease;
}
.legal-nav a:hover, .legal-nav a.active{ background: var(--teal); color: var(--white); }
.legal-updated{ font-size:0.85rem; color: var(--ink-soft); margin-bottom: 30px; }

/* --- Photo frame (image + floating overlay card) --- */
.photo-frame{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 4/3.1;
  box-shadow: var(--shadow-md);
}
.photo-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.1);
  opacity:0;
  transition: transform 1.1s var(--ease), opacity .8s ease;
}
.photo-frame.in-view img{ transform:scale(1); opacity:1; }
.photo-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(0deg, rgba(11,39,64,0.32) 0%, rgba(11,39,64,0) 40%);
  pointer-events:none;
}
.photo-float-card{
  position:absolute;
  left:20px;
  bottom:20px;
  z-index:2;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display:flex;
  align-items:center;
  gap: 12px;
  max-width: calc(100% - 40px);
}
.photo-float-card .pf-icon{
  width:38px; height:38px;
  border-radius:50%;
  background: var(--teal-light);
  color: var(--teal-deep);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.photo-float-card .pf-icon svg{ width:19px; height:19px; }
.photo-float-card strong{ display:block; font-family: var(--font-display); color: var(--navy); font-size:1rem; line-height:1.2; }
.photo-float-card span{ font-size:0.8rem; color: var(--ink-soft); }

/* --- Stat strip --- */
.stat-strip{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.stat-strip::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 12% 20%, rgba(124,214,207,0.14), transparent 45%),
              radial-gradient(circle at 90% 85%, rgba(124,214,207,0.10), transparent 45%);
}
.stat-item{ position:relative; text-align:center; }
.stat-num{
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight:600;
  color: var(--white);
  line-height:1;
  margin-bottom:8px;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:2px;
}
.stat-text{
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight:700;
  color: var(--white);
  line-height:1;
  margin-bottom:8px;
}
.stat-item span.stat-label{
  display:block;
  font-size:0.86rem;
  color: rgba(255,255,255,0.68);
  font-weight:600;
}
.stat-divider{
  display:none;
}

/* --- Scroll reveal --- */
[data-reveal]{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in-view{ opacity:1; transform:none; }

/* --- Back to top --- */
.back-top{
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 46px; height:46px;
  border-radius:50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  display:flex; align-items:center; justify-content:center;
  color: var(--navy);
  opacity:0;
  pointer-events:none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
.back-top.show{ opacity:1; pointer-events:auto; transform:none; }
.back-top svg{ width:18px;height:18px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px){
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .testimonial-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .area-grid{ grid-template-columns: repeat(2, 1fr); }
  .core-values-grid{ grid-template-columns: repeat(2, 1fr); }
  .support-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-strip{ grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-inner{
    gap: 10px;
    padding: 10px 0;
  }
  .brand img{
    height: 38px;
    max-width: 168px;
    object-fit: contain;
  }
  .header-actions{
    gap: 8px;
    margin-left: auto;
  }
  .header-actions .btn{
    display:none;
  }
  .site-header.nav-open .main-nav{
    display:flex;
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    background: var(--white);
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap:2px;
  }
  .site-header.nav-open .main-nav a{ padding: 13px 14px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; margin-bottom: 28px; }
  .pulse-card{ max-width: 360px; margin: 0 auto; }
  .split{ grid-template-columns: 1fr; }
  .about-story-split{ gap: 38px; }
  .split.reverse .split-media{ order:0; }
  .service-block{ grid-template-columns: 1fr; }
  .service-block{ gap: 26px; padding: 42px 0; }
  .service-block:nth-child(even){ direction: ltr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .mv-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .section{ padding: 60px 0; }
  .hero{ padding: 64px 0 40px; }
  .page-hero.has-photo{ padding: 84px 0 56px; }
  .trust-row{ gap: 10px; }
  .container{ padding: 0 18px; }
  .hero-actions{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-actions .btn{
    width:100%;
    min-width:0;
    padding: 12px 10px;
    font-size: 0.88rem;
  }
  .hero-actions .btn svg{
    width:16px;
    height:16px;
  }
  .card-grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .support-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .testimonial-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:32px; }
  .area-grid{ grid-template-columns: 1fr 1fr; }
  .core-values-grid{ grid-template-columns: 1fr; }
  .cta-banner{ flex-direction:column; text-align:center; padding: 40px 26px; }
  .form-row{ grid-template-columns: 1fr; }
  .include-list{ grid-template-columns: 1fr; }
  .service-block > div:not(.service-visual){
    padding: 0 6px;
  }
  .service-visual.photo,
  .service-visual.photo img{
    min-height: 250px;
  }
  .float-actions{
    right: 16px;
    bottom: max(18px, env(safe-area-inset-bottom));
    gap: 20px;
  }
  .fab{
    width: 54px;
    height: 54px;
  }
  .footer-bottom{ flex-direction:column; text-align:center; }
  .contact-form-card{ padding: 26px; }
  .stat-strip{ grid-template-columns: repeat(2, 1fr); padding: 34px 20px; }
  .photo-float-card{ left:14px; bottom:14px; padding:11px 14px; }
  .photo-float-card strong{ font-size:0.9rem; }
  .values-statement,
  .core-values-statement,
  .support-card{ padding: 24px; }
  .about-photo-frame{ aspect-ratio: 4/3.15; }
}


/* --- About page image visibility fix --- */
.about-media[data-reveal]{
  opacity:1 !important;
  transform:none !important;
}
.about-photo-frame{
  min-height:320px;
  background:#f7f1ec;
}
.about-photo-frame img{
  display:block;
  width:100%;
  height:100%;
  opacity:1 !important;
  transform:none !important;
  object-fit:cover;
  object-position:58% center;
}
@media (max-width: 768px){
  .about-photo-frame{
    min-height:260px;
    aspect-ratio:4/3.15;
  }
  .about-photo-frame img{
    object-position:60% center;
  }
}
