/* ============================================
   Dr. Taskeen Sikora — General & Laparoscopic Surgeon
   Design tokens
   ============================================ */
:root {
  --navy: #015498;
  --navy-deep: #013865;
  --cyan: #1ab1e8;
  --cyan-soft: #e6f7fd;
  --ink: #0e2338;
  --muted: #5c6b7a;
  --line: #d8e3ea;
  --bg: #f6fafd;
  --white: #ffffff;
  --stitch: #9db3c2;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(1, 47, 87, 0.07);
  --shadow-md: 0 12px 32px rgba(1, 47, 87, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
p { margin: 0 0 1em; color: var(--muted); }

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

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

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---------- Suture-stitch divider — the signature motif ---------- */
.stitch-divider {
  height: 22px;
  width: 100%;
  background-image: repeating-linear-gradient(
    100deg,
    var(--stitch) 0 2px,
    transparent 2px 18px
  );
  background-position: center;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0.65;
}
.stitch-divider::before,
.stitch-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-50%);
}
.stitch-divider::before { left: calc(50% - 140px); }
.stitch-divider::after { left: calc(50% + 130px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  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;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 54px; width: 54px; border-radius: 50%; }
.brand-text .doc-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1.1;
}
.brand-text .doc-title {
  font-size: 0.74rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--navy); }

.header-top .container{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

.right-clinic{
    max-width:320px;
    margin-left:auto;
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--navy-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 0; }
  .header-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
}
 /* ── HERO SLIDER ── */
    .banner-img {
      width: 100%;
      height: auto;
      display: block;
    }
/* ── Custom Carousel ── */
.custom-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.custom-slide { display: none; }
.custom-slide.active { display: block; }
.custom-slide img { width: 100%; height: auto; display: block; }
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
  z-index: 10;
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(0,0,0,0.7); }
.awards-section {
    padding: 60px 0;
    background: #f9fbff;
}

/* ── Awards ── */
.awards-section { padding:60px 0; background:#f9fbff; }
.award-heading i { color:#2682ec; }
.awards-slider { overflow:hidden; position:relative; width:100%; }
.awards-track { display:flex; gap:20px; width:calc((300px + 20px) * 8); animation:awardsScroll 30s linear infinite; }
.award-card { width:300px; height:250px; flex-shrink:0; }
.award-card img { width:100%; height:100%; object-fit:cover; border-radius:18px; transition:0.4s ease; }
.award-card:hover img { transform:scale(1.05); }
@keyframes awardsScroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
.awards-slider:hover .awards-track { animation-play-state:paused; }
/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--cyan-soft) 0%, transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
  background: linear-gradient(180deg, transparent 62%, var(--cyan-soft) 62%);
}
.hero .lede { font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
}
.hero-stats .stat span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
}
.hero-badge img { border-radius: 50%; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px dashed var(--stitch);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-visual::before { animation: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-badge { width: min(280px, 70vw); }
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--navy-deep);
  color: var(--white);
  padding: 20px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}
.trust-strip .item { display: flex; align-items: center; gap: 10px; opacity: 0.92; }
.trust-strip .item svg { flex-shrink: 0; color: var(--cyan); }

/* ============================================
   ABOUT SNAPSHOT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--navy) 0%, var(--cyan) 100%);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo img { width: 62%; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.25)); }
.about-copy .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}
.about-copy .credentials li {
  background: var(--cyan-soft);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
}

/* ============================================
   SERVICES — flip cards
   ============================================ */
.services-section {
    padding: 60px 40px !important;   /* Top/Bottom Left/Right */
}

.services-section .services-grid {
    max-width: 1320px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}

.services-section .services-grid {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;   /* Left & Right Space */
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
}
/* ── SERVICES FLIP CARDS — forced override ── */
.services-section .services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

.services-section .services-grid .flip-card {
  position: relative !important;
  display: block !important;
  height: 270px !important;
  min-height: 270px !important;
  perspective: 1200px !important;
  cursor: pointer !important;
}

.services-section .services-grid .flip-card-inner {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1) !important;
  transform-style: preserve-3d !important;
}

.services-section .services-grid .flip-card:hover .flip-card-inner,
.services-section .services-grid .flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg) !important;
}

.services-section .services-grid .flip-front,
.services-section .services-grid .flip-back {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.services-section .services-grid .flip-front {
  background: #ffffff !important;
  border: 1px solid #e8e4d8 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: rotateY(0deg) !important;
}

.services-section .services-grid .flip-front img {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.services-section .services-grid .flip-front-body {
  padding: 0.85rem 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 1 !important;
}

.services-section .services-grid .flip-front-body h3 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
}

.services-section .services-grid .flip-front-body .arrow {
  font-size: 13px !important;
  color: #d8281b !important;
}

.services-section .services-grid .flip-back {
  background: #b94242 !important;
  transform: rotateY(180deg) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem 1.4rem !important;
  text-align: center !important;
  gap: 0.6rem !important;
}

.services-section .services-grid .flip-back h3 {
  font-family: 'Fraunces', serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111110 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.services-section .services-grid .flip-back p {
  font-size: 12.5px !important;
  color: #0e0d0c !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.services-section .services-grid .flip-back a {
  display: inline-block !important;
  margin-top: 0.2rem !important;
  padding: 0.4rem 1.2rem !important;
  border: 1.5px solid #1a1200 !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1a1200 !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s !important;
}

.services-section .services-grid .flip-back a:hover {
  background: #1a1200 !important;
  color: #c9a84c !important;
}

@media (max-width: 860px) {
  .services-section .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 520px) {
  .services-section .services-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   WHY CHOOSE
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--line);
  text-align: left;
}
.why-card .num {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; margin: 0; }

/* ============================================
   JOURNEY / PROCESS
   ============================================ */
.journey { background: var(--white); }
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.journey-steps::before {
  content: "";
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--stitch) 0 8px, transparent 8px 16px);
}
@media (max-width: 860px) { .journey-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .journey-steps::before { display: none; } }
@media (max-width: 480px) { .journey-steps { grid-template-columns: 1fr; } }
.journey-step { position: relative; padding-right: 20px; }
.journey-step .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.journey-step h4 { font-size: 1rem; margin-bottom: 6px; }
.journey-step p { font-size: 0.86rem; margin: 0; }

/* ============================================
   TESTIMONIAL / CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; max-width: 46ch; }
.cta-band .btn-primary { background: var(--white); color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--cyan-soft); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-grid > div{
    align-self: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-list li {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .icon { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list span { color: var(--muted); font-size: 0.88rem; }


form.appointment-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.94rem;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 90px; }

.map-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden; /* clips iframe corners to match radius */
}
.map-embed iframe {
  width: 100%;
  height: 320px;   /* shorter on mobile so it doesn't dominate the screen */
  display: block;
  border: 0;
}
@media (min-width: 640px) {
  .map-embed iframe {
    height: 450px;
  }
}
@media (max-width: 480px) {
  .contact-card { padding: 20px; }
}
.clinic-time{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:8px;
    font-size:15px;
    color:#444;
    font-weight:500;
}

.clinic-time i{
    color:#0d6efd;   /* Blue clock icon */
    font-size:16px;
    width:18px;
}

.map-embed {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}
/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 46px; width: 46px; border-radius: 50%; }
.footer-brand .doc-name { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.footer-brand .doc-title { color: var(--cyan); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.site-footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.footer-map {
    margin-top: 20px;
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 12px;
}
/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 600;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================
   APPOINTMENT MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(9, 27, 46, 0.55);
  display: none;
  align-items: center; justify-content: center;
  z-index: 900;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  padding: 34px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--bg);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--muted);
}
.modal-close:hover { color: var(--navy); }
.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.modal-success.active { display: block; }
.modal-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}

/* Page header (about/contact) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 50ch; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
