/* =========================================================
   DESIGN TOKENS
   Values copied from the POD Clinics Homepage frame in Figma.
   Change a value here and it updates everywhere it is used.
   ========================================================= */
:root {
  /* Colours */
  --color-primary: #00b7ff;      /* "Book an Appointment" button */
  --color-nav-active: #18a5d2;   /* "Home" link */
  --color-text: #3f474a;         /* nav links, logo text */
  --color-navy: #092e3a;         /* "Get Started" button */
  --color-white: #ffffff;

  /* Typography */
  --font-main: "Instrument Sans", system-ui, sans-serif;

  /* Layout */
  --page-max: 1512px;            /* Figma frame width */
  --page-gutter: 48px;           /* left/right margin in Figma */
  --radius-pill: 50px;           /* buttons */
  --radius-hero: 26px;           /* hero card */
  --radius-badge: 25px;          /* approval badge */

  /* Figma's "Auto" line height for Instrument Sans: about 1.22 × the font size,
     rounded to a whole pixel (e.g. 15px text → 18px lines, 36px → 44px). */
  --lh: round(1.22em, 1px);
}

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

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

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

/* Buttons (Figma: padding 15 × 30, radius 50, 16px SemiBold) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  line-height: var(--lh);
  white-space: nowrap;
  color: var(--color-white);
  transition: filter 0.2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn-primary { background: var(--color-primary); }
.btn-dark { background: var(--color-navy); }

/* =========================================================
   HEADER  (Figma: 1512 × 108, content 48px from the left)
   ========================================================= */
.site-header { background: var(--color-white); }

.header-inner {
  position: relative;
  max-width: var(--page-max);
  height: 108px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { width: 167px; height: 39px; }

.site-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 162px;           /* Figma gap between logo and nav */
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 60px;                      /* Figma gap between links */
  font-size: 16px;
  font-weight: 600;
  line-height: var(--lh);
}
.main-nav a { color: var(--color-text); transition: color 0.2s ease; }
.main-nav a:hover,
.main-nav a.is-active { color: var(--color-nav-active); }

/* Hamburger button: only shown on small screens */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO  (Figma: 1416 × 668, radius 26, text 80px from left / 108px from top)
   ========================================================= */
.hero {
  position: relative;
  max-width: calc(var(--page-max) - 2 * var(--page-gutter));
  min-height: 668px;
  margin: 0 var(--page-gutter);
  padding: 108px 80px 51px;
  border-radius: var(--radius-hero);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 126px;                     /* Figma gap between button and badge */
  color: var(--color-white);
  /* Figma fill: blue tint gradient on top of the photo */
  background:
    linear-gradient(179.91deg, rgba(0, 183, 255, 0) 49.931%, rgba(0, 183, 255, 0.33) 97.752%),
    url("assets/hero-bg.png") center bottom / cover no-repeat;
}

/* Centre the hero once the screen is wider than the Figma frame */
@media (min-width: 1512px) {
  .hero { margin: 0 auto; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  max-width: 845px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  margin: 0;
  font-size: 64px;
  font-weight: 600;
  line-height: var(--lh);
}

.hero-subtitle {
  margin: 0;
  max-width: 576px;
  font-size: 24px;
  font-weight: 500;
  line-height: var(--lh);
}

/* Approval badge: frosted glass pill (Figma: blur 14.5, white 12%, 1px white border) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;            /* 10px in Figma minus the 1px border, which Figma draws inside */
  border: 1px solid var(--color-white);
  border-radius: var(--radius-badge);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14.5px);
  backdrop-filter: blur(14.5px);
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
}

/* The badge icon: in Figma it is a white fill shaped by this image.
   brightness(0) invert(1) turns every visible pixel white, which gives the same result. */
.hero-badge-icon {
  flex: none;
  width: 30px;
  height: 31px;
  filter: brightness(0) invert(1);
}

/* =========================================================
   RESPONSIVE
   The Figma file only has a desktop design (1512px wide),
   so these rules decide how it adapts to smaller screens.
   ========================================================= */

/* Laptops: tighten the spacing so the nav still fits on one line */
@media (max-width: 1400px) {
  .site-menu { padding-left: 48px; }
  .main-nav { gap: 32px; }
}

/* Tablets and phones: hamburger menu */
@media (max-width: 1080px) {
  :root { --page-gutter: 24px; }

  .header-inner { height: 80px; }
  .menu-toggle { display: flex; }

  .site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 8px var(--page-gutter) 24px;
    background: var(--color-white);
    box-shadow: 0 12px 24px rgba(9, 46, 58, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    display: none;
  }
  .site-menu.is-open { display: flex; }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(63, 71, 74, 0.1); }

  .hero {
    min-height: 560px;
    padding: 72px 48px 40px;
    gap: 72px;
  }
  .hero-title { font-size: 48px; }
  .hero-subtitle { font-size: 20px; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --page-gutter: 16px; }

  .header-inner { height: 72px; }
  .logo img { width: 140px; height: auto; }

  .hero {
    min-height: 600px;
    padding: 40px 24px 24px;
    gap: 40px;
    justify-content: space-between;
    border-radius: 20px;
    /* keep the gloved hand in the lower right, clear of the text */
    background-position: center, right bottom;
  }
  .hero-content { gap: 32px; }
  .hero-text { gap: 16px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 18px; }

  .hero-badge {
    padding: 10px 16px;
    font-size: 13px;
    white-space: normal;
  }
}


/* =========================================================
   SHARED PIECES FOR THE SECTIONS BELOW THE HERO
   ========================================================= */
:root {
  --color-blue-light: #aeecff;   /* end of the blue gradients */
  --color-card-grey: #f8f8f8;    /* Why Choose Us cards */
  --color-input-border: #8b8b8b; /* booking form inputs */
  --radius-card: 30px;           /* most cards and images */
  --gradient-blue: linear-gradient(to bottom, var(--color-primary), var(--color-blue-light));
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Section headings (Figma: 36px SemiBold) and intro text (16px Medium) */
.h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-text);
}
.lead {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh);
  color: var(--color-text);
}

/* Heading on the left, "See all" link on the right */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-head-text { max-width: 452px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 20px;
  font-weight: 500;
  line-height: var(--lh);
  color: var(--color-text);
  text-transform: capitalize;   /* Figma shows "See all services" as "See All Services" */
}
.text-link:hover { color: var(--color-nav-active); }

/* Outlined label pills: "Our Clinical Partners", "Why Choose Us", "Reviews" */
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh);
  color: var(--color-navy);
}
.pill-line {
  width: 2px;
  height: 12px;
  background: var(--color-primary);
}
.pill-plus {
  font-size: 25px;
  line-height: 18px;
  color: #aa00ff;
}

/* Three equal cards in a row */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 39px;
}

/* =========================================================
   TAGLINE STRIP  (Figma: 1512 × 120, navy, 48px Regular)
   ========================================================= */
.tagline {
  margin-top: 64px;
  min-height: 120px;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
}
.tagline p {
  margin: 0;
  font-size: min(48px, 3.6vw);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}

/* =========================================================
   SERVICES  (Figma: cards 445 × 452, radius 30)
   ========================================================= */
.section-services { margin-top: 64px; }
.section-services .card-grid { margin-top: 60px; }

.service-card {
  position: relative;
  aspect-ratio: 445 / 452;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-text);
}

/* The photo sits in a box that is cropped exactly like the Figma image layer */
.service-media {
  position: absolute;
  left: -0.22%;
  top: 0.66%;
  width: 100.22%;
  height: 98.67%;
}
.service-media--implants {
  left: -46.97%;
  top: -28.98%;
  width: 149.21%;
  height: 146.9%;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.service-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  padding: 21px 23px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-navy);
  color: var(--color-white);
}
.service-caption h3 {
  margin: 0;
  max-width: 212px;
  font-size: 24px;
  font-weight: 600;
  line-height: var(--lh);
}
.service-card:not(:first-child) .service-caption h3 { max-width: 146px; }
.service-caption p {
  margin: 0;
  width: 161px;
  flex: none;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--lh);
}

/* =========================================================
   GOLDEN POD STAMP  (Figma: 655px tall, blue gradient)
   ========================================================= */
.stamp {
  margin-top: 64px;
  overflow: hidden;
  background: var(--gradient-blue);
  color: var(--color-white);
}
.stamp-inner {
  position: relative;
  max-width: var(--page-max);
  height: 655px;
  margin: 0 auto;
}
.stamp-text {
  position: absolute;
  z-index: 1;
  left: 145px;
  top: 100px;
  width: 745px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.stamp-kicker {
  margin: 0;
  font-size: 34.865px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 4.881px;
  text-transform: uppercase;
}
.stamp-title {
  margin: 0;
  font-size: 94.128px;
  font-weight: 600;
  line-height: 1;
}
.stamp-label {
  position: absolute;
  z-index: 1;
  left: 1110px;
  top: 48px;
  width: 277px;
  margin: 0;
  padding-left: 9px;
  border-left: 2px solid var(--color-white);
  font-size: 24.812px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.4962px;
}
.stamp-label strong {
  font-weight: 700;
  letter-spacing: -0.32px;
  color: #0e4759;
}
/* Seal (Figma Group 513083): a 1072.55px box at x 823, y -50 in the 1516 × 655 frame.
   It is anchored to the section's right and bottom edges (not the 1512px content
   column), so it always runs off the right edge of the screen. Every size and offset
   is a fraction of --seal, so it can shrink on smaller screens and keep its shape. */
.stamp { position: relative; }
.stamp-seal {
  --seal: 1072.55px;
  position: absolute;
  right: calc(var(--seal) * -0.3576);    /* centre 152.73px in from the right edge */
  bottom: calc(var(--seal) * -0.34268);  /* centre 168.73px up from the bottom edge */
  width: var(--seal);
  height: var(--seal);
  pointer-events: none;
  /* Figma drop shadow (-30.92, 57.21, blur 35.02, 22%). It sits on this outer box
     so it keeps pointing the same way while the inner seal turns. */
  filter: drop-shadow(calc(var(--seal) * -0.02883) calc(var(--seal) * 0.05334) calc(var(--seal) * 0.0653) rgba(0, 0, 0, 0.22));
}
.stamp-seal-turn {
  position: absolute;
  inset: 0;
  transform: rotate(var(--seal-turn, 0deg));
  will-change: transform;
}
.stamp-seal img { position: absolute; max-width: none; }
/* Transparent wax seal: 889.3px, rotated -13.52deg, centred in the box */
.stamp-seal-wax {
  left: 8.543%;
  top: 8.543%;
  width: 82.914%;
  height: 82.914%;
  transform: rotate(-13.52deg);
}
/* The two POD marks (already rotated in the export), blended as in Figma */
.stamp-seal-mark { height: 16.316%; }
.stamp-seal-mark--overlay { left: 34.054%; top: 41.798%; width: 30.209%; mix-blend-mode: overlay; }
.stamp-seal-mark--light { left: 33.553%; top: 41.55%; width: 30.768%; mix-blend-mode: plus-lighter; }

/* =========================================================
   CLINICAL PARTNERS  (Figma: cards 445 × 616)
   ========================================================= */
.section-team { margin-top: 88px; }
.section-head--team {
  margin-top: 72px;
  padding-left: 15px;           /* Figma has this heading 15px further in than the label */
  align-items: center;
}
.section-head--team .section-head-text { max-width: 532px; }
.section-head--team .lead { margin-top: 8px; }
.card-grid--team { margin-top: 32px; gap: 40px; }

.team-card {
  position: relative;
  aspect-ratio: 445 / 616;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #e1e0e4;
}
.team-photo {
  position: absolute;
  max-width: none;
}
.team-photo--adeolu { left: -8.89%; top: -20.32%; width: 149.83%; height: 162.39%; }
.team-photo--dami { left: -8.66%; top: -22.56%; width: 154.35%; height: 167.29%; }

.team-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo-box {
  position: absolute;
  left: -27.19%;
  top: -5.03%;
  width: 160.67%;
  height: 116.07%;
  overflow: hidden;
}
.team-photo-box img {
  position: absolute;
  left: 5.62%;
  top: -2.49%;
  width: 150.04%;
  height: 100%;
  max-width: none;
}

/* Frosted glass name panel */
.team-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 154px;
  padding: 38px 45px 0;
  background: rgba(255, 255, 255, 0.08);
  /* brightness() makes Chrome's blur match how Figma renders this glass panel */
  -webkit-backdrop-filter: blur(16.3px) brightness(0.8);
  backdrop-filter: blur(16.3px) brightness(0.8);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
}
.team-info h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: var(--lh);
}
.team-info h3 img { width: 28px; height: 29.3px; flex: none; }
.team-info p {
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 400;
  line-height: var(--lh);
}
.round-btn {
  position: absolute;
  right: 47px;
  top: 43px;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   STATISTICS  (Figma: centre card 994 × 150, faded cards either side)
   ========================================================= */
.stats {
  margin-top: 77px;
  overflow: hidden;
}
.stats-track {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.stats-ghost,
.stats-card {
  flex: none;
  height: 150px;
  border: 1px solid rgba(63, 71, 74, 0.5);
  border-radius: var(--radius-card);
}
.stats-ghost { width: 454px; }
.stats-card {
  width: 994px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text);
  line-height: var(--lh);
  white-space: nowrap;
}
.stat strong { font-size: 48px; font-weight: 600; line-height: var(--lh); }
.stat span { font-size: 20px; font-weight: 500; line-height: var(--lh); }
.stat-divider {
  width: 1px;
  height: 74px;
  background: rgba(63, 71, 74, 0.5);
}

/* =========================================================
   BEFORE AND AFTER  (Figma: 1416 × 333, radius 30)
   ========================================================= */
.before-after {
  position: relative;
  margin-top: 88px;
  height: 333px;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.before-after > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-badge {
  position: absolute;
  left: 77px;
  top: 247px;
  display: inline-flex;
  align-items: center;
  gap: 11.8px;
  padding: 11.8px 18.9px;
  border: 1.18px solid var(--color-white);
  border-radius: 35.4px;
  font-size: 11.8px;
  font-weight: 600;
  line-height: var(--lh);
  letter-spacing: 0.944px;
  text-transform: uppercase;
  color: var(--color-white);
}

/* =========================================================
   CONSULTATION + WHY CHOOSE US
   ========================================================= */
.section-consult {
  margin-top: 113px;
  display: grid;
  grid-template-columns: 911px 1fr;
  gap: 60px;
  align-items: start;
}
.consult-visual {
  position: relative;
  height: 706px;
}
.consult-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 614px;
  height: 706px;
}
.consult-blue {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 84.99%;               /* 600 of 706 */
  border-radius: var(--radius-card);
  background: var(--color-primary);
}
.consult-doctor {
  position: absolute;
  left: 0;
  top: 0;
  width: 74.43%;                /* 457 of 614 */
  height: 100%;
  max-width: none;
  border-radius: 29px;
}

.consult-card {
  position: absolute;
  left: 389px;
  top: 2px;
  width: 522px;
  min-height: 585px;
  padding: 48px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: -10px 9px 112.2px rgba(0, 0, 0, 0.11);
  color: var(--color-text);
}
.consult-intro {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
}
.hours {
  margin: 58px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 20px;
  line-height: var(--lh);
}
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-weight: 500; }

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 23px;
  padding: 27px 30px;
  border-radius: 4px;
  background: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-white);
  text-align: center;
  transition: filter 0.2s ease;
}
.hours + .contact-btn { margin-top: 56px; }
.contact-btn:hover { filter: brightness(1.08); }

.why { padding-top: 2px; }
.why .h2 { margin-top: 31px; max-width: 396px; }
.why-intro {
  margin: 8px 0 0;
  max-width: 396px;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
  color: var(--color-text);
}
.features {
  margin: 38px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature {
  max-width: 432px;
  min-height: 113px;
  padding: 18px;
  display: flex;
  gap: 19px;
  border-radius: 10px;
  background: var(--color-card-grey);
  color: var(--color-text);
}
.feature-icon {
  flex: none;
  width: 76px;
  height: 77px;
  border-radius: 5px;
  background: var(--color-nav-active);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: var(--lh);
}
.feature p {
  margin: 8px 0 0;
  max-width: 300px;
  font-size: 12px;
  font-weight: 400;
  line-height: var(--lh);
}

/* =========================================================
   RETAINERSHIP PACKAGES  (Figma: cards 445 × 616)
   ========================================================= */
.section-packages { margin-top: 64px; }
.section-head-text--packages { max-width: 620px; }
.section-head-text--packages .lead { max-width: 507px; }
.section-packages .card-grid { margin-top: 44px; gap: 41px; }

.package-card {
  position: relative;
  min-height: 616px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--gradient-blue);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
}
.package-card--school {
  background: linear-gradient(180.34deg, var(--color-primary) 15.065%, var(--color-blue-light) 97.267%);
}
.package-body {
  position: relative;
  flex: 1;
  min-height: 470px;
  padding: 37px 34px 32px 45px; /* the Family Plan pills reach 35px from the right edge in Figma */
}
.package-body > *:not(.coin) { position: relative; z-index: 1; }

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.package-tags span {
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  line-height: var(--lh);
  color: var(--color-navy);
  white-space: nowrap;
}
.package-card h3 {
  margin: 20px 0 0;
  max-width: 324px;
  font-size: 36px;
  font-weight: 600;
  line-height: var(--lh);
}
.tier {
  margin: 20px 0 0;
  font-size: 24px;
  font-weight: 500;
  line-height: var(--lh);
}
.tier--regular { margin-top: 14px; font-weight: 400; }
.price {
  margin: 6px 0 0;
  font-size: 36px;
  font-weight: 600;
  line-height: var(--lh);
}
.price-note {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
  color: var(--color-blue-light);
}

/* Gold naira coin, cropped like the Figma image layer and cut off by the card edge */
.coin {
  position: absolute;
  right: -70px;
  top: 200px;
  width: 230px;
  height: 231px;
  overflow: hidden;
  pointer-events: none;
}
.coin img {
  position: absolute;
  left: -78.5%;
  top: -34.39%;
  width: 257.73%;
  height: 170.42%;
  max-width: none;
}

.package-foot {
  height: 146px;
  padding: 0 51px 0 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius-card);
  background: var(--color-navy);
}
.circle-btn {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-btn img { transform: rotate(90deg); }

/* =========================================================
   DREAM SMILE: BENEFITS + BOOKING FORM
   ========================================================= */
.section-dream {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 696px 1fr;
  gap: 50px;
  align-items: start;
}
.dream-photo {
  width: 100%;
  height: 423px;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.dream-content { color: var(--color-text); }
.dream-title {
  margin: 0;
  max-width: 538px;
  font-size: 48px;
  font-weight: 600;
  line-height: 52px;            /* Figma: 109% of 48px, rounded */
}
.dream-title span { color: var(--color-primary); }
.dream-intro {
  margin: 12px 0 0;
  max-width: 538px;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
  white-space: pre-wrap;
}
.benefits {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 283px auto;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 16px 0;
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 600;
  line-height: var(--lh);
}
.benefits img { flex: none; }

.book-form {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: var(--lh);
}
.field input {
  width: 182px;
  height: 48px;
  padding: 0 21px;
  border: 1px solid var(--color-input-border);
  border-radius: 10px;
  background: var(--color-white);
  font: 500 12px var(--font-main);
  color: var(--color-text);
}
.field input::placeholder { color: rgba(63, 71, 74, 0.7); }
.field input:focus,
.newsletter-form input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-btn {
  width: 228px;
  height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary);
  font: 600 16px var(--font-main);
  color: var(--color-white);
  cursor: pointer;
  transition: filter 0.2s ease;
}
.form-btn:hover { filter: brightness(1.08); }

/* =========================================================
   REVIEWS  (Figma: navy cards 445 × 335)
   ========================================================= */
.section-reviews {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 930px;
  gap: 40px;
  align-items: start;
}
.reviews-intro .h2 { margin-top: 33px; max-width: 381px; }
.reviews-lead {
  margin: 12px 0 0;
  max-width: 379px;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh);
  color: var(--color-text);
}
.reviews-intro .btn { margin-top: 42px; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.review-card {
  margin: 0;
  min-height: 335px;
  padding: 55px 40px 32px;
  border-radius: var(--radius-card);
  background: var(--color-navy);
  color: var(--color-white);
}
.review-person {
  display: flex;
  align-items: center;
  gap: 18px;
}
.avatar { flex: none; width: 78px; height: 78px; border-radius: 50%; }
.review-person strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: var(--lh);
}
.review-person span {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh);
}
.review-person div img { display: block; margin-top: 2px; }
.review-card blockquote {
  margin: 50px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: var(--lh);
}
.review-card .quote-medium { font-weight: 500; }

/* =========================================================
   FOOTER  (Figma: 1512 × 400, navy)
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: 71px;
  min-height: 400px;
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-white);
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 64px var(--page-gutter) 40px;
  display: grid;
  grid-template-columns: 554px 186px 292px 1fr;
}
.footer-logo { margin-top: 9px; width: 220px; height: 51px; }
.footer-about p {
  margin: 42px 0 0;
  max-width: 416px;
  font-size: 14px;
  line-height: var(--lh);
}
.footer-about address {
  margin-top: 42px;
  max-width: 261px;
  font-size: 14px;
  font-style: normal;
  line-height: var(--lh);
}
.footer-col h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: var(--lh);
}
.footer-links {
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}
.footer-links li + li { margin-top: 1.4px; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--color-primary); }
.footer-contact {
  margin: 31px 0 0;
  font-size: 14px;
  line-height: 1.7;
}
.socials {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8.6px;
}
.socials img { width: 19.55px; height: 19.55px; }
/* The Instagram, Facebook and Snapchat icons are shape masks in Figma, filled white */
.icon-white { filter: brightness(0) invert(1); }

.newsletter-form { margin-top: 24px; }
.newsletter-form input {
  display: block;
  width: 253px;
  max-width: 100%;
  height: 53px;
  margin-left: 2px;
  padding: 0 20px;
  border: 1px solid var(--color-white);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font: 400 14px var(--font-main);
  color: var(--color-white);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.8); }
.newsletter-form button {
  margin-top: 18px;
  padding: 10px 30px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary);
  font: 600 14px var(--font-main);
  line-height: var(--lh);
  color: var(--color-white);
  cursor: pointer;
}
.copyright {
  margin: 105px 0 0 23px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--lh);
}
.copyright-mark {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1.433px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.17px;
  line-height: 1;
  padding-bottom: 1px;
}
.footer-watermark {
  position: absolute;
  left: max(-47px, calc(50% - 803px));
  top: 310px;
  margin: 0;
  font-size: 144.164px;
  font-weight: 700;
  line-height: 0.86;
  white-space: nowrap;
  color: var(--color-white);
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* =========================================================
   RESPONSIVE: SECTIONS
   ========================================================= */

/* Smaller laptops (up to 1400px) */
@media (max-width: 1400px) {
  .service-caption {
    height: auto;
    min-height: 100px;
    padding: 18px 24px;
    flex-direction: column;
    gap: 6px;
  }
  .service-caption h3,
  .service-card:not(:first-child) .service-caption h3 { max-width: none; font-size: 22px; }
  .service-caption p { width: auto; }

  .stamp-text { left: 48px; width: 52%; }
  .stamp-kicker { font-size: min(34.865px, 2.5vw); letter-spacing: 0.14em; }
  .stamp-title { font-size: min(94.128px, 5.8vw); }
  .stamp-label { left: auto; right: 127px; }
  /* The text column is 52% wide here, so the seal (which reaches 0.482 × its box width
     in from the right) shrinks to keep a 24px gap from the heading. */
  .stamp-seal { --seal: min(1072.55px, calc((48vw - 72px) * 2.0746)); }

  .team-info { padding: 32px 28px 0; }
  .team-info h3, .team-info p { font-size: 20px; }
  .round-btn { right: 28px; top: 40px; width: 52px; height: 52px; }

  .section-consult { grid-template-columns: 1fr; gap: 56px; }
  .consult-visual { width: 911px; max-width: 100%; margin: 0 auto; }
  .why .h2, .why-intro { max-width: none; }
  .features {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .feature { max-width: none; }

  .package-body { padding: 32px 32px 28px; }
  .package-tags { gap: 10px; }
  .package-tags span { padding: 12px 22px; font-size: 15px; }
  .package-card h3, .price { font-size: 32px; }
  .package-foot { padding: 0 32px; }

  .section-dream { grid-template-columns: 1fr 1fr; gap: 40px; }
  .dream-photo { height: auto; aspect-ratio: 696 / 423; }
  .benefits { grid-template-columns: 1fr 1fr; }

  .section-reviews { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1.6fr 0.8fr 1.2fr 1fr; column-gap: 24px; }
}

/* Tablets (up to 1080px) */
@media (max-width: 1080px) {
  .h2 { font-size: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head--team { padding-left: 0; margin-top: 40px; }

  .tagline { min-height: 0; padding: 32px var(--page-gutter); }
  .tagline p { font-size: 32px; white-space: normal; }

  .card-grid,
  .card-grid--team,
  .section-packages .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-services .card-grid { margin-top: 40px; }

  /* Golden stamp: text first, then room at the bottom for the seal, which still
     runs off the right and bottom edges. The seal rises 0.4971 × its box width
     above the bottom edge, so the padding reserves that plus a 24px gap. */
  .stamp-inner {
    height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(var(--seal-box) * 0.4971 + 24px);
  }
  .stamp { --seal-box: min(820px, 105vw); }
  .stamp-label {
    position: static;
    order: -1;
    width: auto;
    max-width: 277px;
    margin: 48px var(--page-gutter) 0;
    font-size: 22px;
  }
  .stamp-text {
    position: static;
    width: auto;
    margin: 40px var(--page-gutter) 0;
    gap: 16px;
  }
  .stamp-kicker { font-size: 24px; letter-spacing: 0.14em; }
  .stamp-title { font-size: 64px; }
  .stamp-seal { --seal: var(--seal-box); }

  .stats { margin-top: 56px; padding: 0 var(--page-gutter); }
  .stats-ghost { display: none; }
  .stats-card { width: 100%; gap: 48px; }

  .before-after { margin-top: 56px; height: auto; aspect-ratio: 2816 / 1132; }
  .ba-badge { top: auto; left: 24px; bottom: 24px; }

  .section-consult { margin-top: 72px; }
  .consult-visual {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .consult-photo {
    position: relative;
    width: min(614px, 100%);
    height: auto;
    aspect-ratio: 614 / 706;
    margin: 0 auto;
  }
  .consult-card {
    position: static;
    width: 100%;
    max-width: 614px;
    min-height: 0;
    margin: 0 auto;
    padding: 40px;
  }
  .features { grid-template-columns: 1fr; }

  .section-dream { grid-template-columns: 1fr; }
  .dream-title, .dream-intro { max-width: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-bottom: 120px; }
  .copyright { margin: 40px 0 0; }
  .footer-watermark { top: auto; bottom: -12px; font-size: 13vw; }
}

/* Phones (up to 640px) */
@media (max-width: 640px) {
  .h2 { font-size: 28px; }
  .text-link { font-size: 18px; }

  .tagline p { font-size: 24px; }

  .stamp-label { margin-top: 40px; font-size: 20px; }
  .stamp-kicker { font-size: 18px; }
  .stamp-title { font-size: 44px; }
  .stamp { --seal-box: min(130vw, 680px); }

  .stats-card { gap: 12px; height: 120px; border-radius: 24px; }
  .stat strong { font-size: 32px; }
  .stat span { font-size: 14px; }
  .stat-divider { height: 56px; }

  .before-after { border-radius: 20px; aspect-ratio: 16 / 10; }
  .ba-badge { left: 10px; bottom: 10px; padding: 6px 9px; gap: 5px; font-size: 8.5px; letter-spacing: 0.3px; }
  .ba-badge img { width: 10px; height: 10px; }

  .consult-card { padding: 28px 24px; border-radius: 24px; }
  .hours { margin-top: 32px; font-size: 18px; }
  .hours + .contact-btn { margin-top: 32px; }
  .contact-btn { margin-top: 16px; padding: 20px 16px; font-size: 17px; }

  .feature { padding: 16px; gap: 16px; }
  .feature-icon { width: 64px; height: 64px; }
  .feature h3 { font-size: 18px; }

  .package-card { min-height: 0; }
  .package-body { min-height: 380px; padding: 28px 24px; }
  .package-tags span { padding: 10px 18px; font-size: 14px; }
  .package-card h3, .price { font-size: 28px; }
  .tier { font-size: 20px; }
  .package-foot { height: 112px; padding: 0 24px; }

  .dream-title { font-size: 36px; line-height: 1.1; }
  .benefits { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .book-form { flex-direction: column; align-items: stretch; gap: 16px; }
  .field input, .form-btn { width: 100%; }

  .review-grid { grid-template-columns: 1fr; gap: 24px; }
  .review-card { min-height: 0; padding: 32px 24px; border-radius: 24px; }
  .review-card blockquote { margin-top: 32px; font-size: 18px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer-about p, .footer-about address { margin-top: 24px; }
  .footer-links, .footer-contact { margin-top: 16px; }
  .newsletter-form { margin-top: 16px; }
  .copyright { font-size: 13px; }
}


