/* ==========================================================================
   Dr. Raghavendra Kulkarni — Senior Consultant Urologist
   Global stylesheet
   ========================================================================== */

:root {
  --primary: #2D378E;
  --secondary: #202044;
  --text: #737C91;
  --accent: #6D6BD9;
  --white: #FFFFFF;
  --lavender: #F3F3FD;
  --border: #EEEEEE;
  --gold: #B69B42;

  --font-serif: "Times New Roman", Times, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1140px;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--secondary); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; }

h1 {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

h2 {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--secondary);
}

h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--secondary);
}

h4 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--secondary);
}

h5 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--secondary);
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

button, input, textarea, select { font: inherit; color: inherit; }

/* ----------------------------------------------------------- utilities -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.section { padding: 70px 0; }
.section--tight { padding: 30px 0 0; }
.section--lavender { background: var(--lavender); }

.text-center { text-align: center; }
.accent-word { color: var(--primary); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ------------------------------------------------------------- buttons --
   Hover fills the button from the bottom up: `::before` sits behind the
   label (negative z-index inside the button's own stacking context) and
   scales on the Y axis from its bottom edge. `--btn-fill` lets each variant
   pick the colour that sweeps in without touching the base background —
   animating the background directly would snap instead of wipe.            */
.btn {
  --btn-fill: var(--secondary);
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  background: var(--primary);
  border: 0;
  border-radius: var(--radius);
  padding: 13px 40px;
  cursor: pointer;
  text-align: center;
  transition: color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }
/* focus-visible rather than focus, so a clicked button does not stay lifted */
.btn:hover,
.btn:focus-visible {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(32, 32, 68, .26);
}
.btn:active { transform: translateY(-1px); }

.btn--gold { background: var(--gold); }

.btn--white {
  --btn-fill: var(--primary);
  background: var(--white);
  color: var(--primary);
}
.btn--white:hover { color: var(--white); }

.btn--accent {
  --btn-fill: var(--primary);
  background: var(--accent);
}

.btn--sm { padding: 13px 22px; font-size: 15px; }
.btn--block { display: block; width: 100%; }

/* -------------------------------------------------------------- topbar -- */
.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
}
.topbar__inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar__contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.topbar__contact li { display: flex; align-items: center; }
.topbar__contact li:not(:last-child) {
  padding-right: 15px;
  margin-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .45);
}
.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.topbar__contact a:hover { color: var(--white); opacity: .85; }
.topbar__contact svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.social-row { display: flex; align-items: center; gap: 6px; }
.social-row a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s, background .3s;
}
.social-row a:hover { transform: translateY(-2px); background: var(--white); color: var(--primary); }
.social-row svg { width: 14px; height: 14px; fill: currentColor; }

/* -------------------------------------------------------------- header -- */
.site-header {
  background: var(--white);
  position: relative;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-logo { flex-shrink: 0; }
.site-logo img { width: 170px; }

/* nav */
/* z-index keeps the dropdown above the header CTA, which now creates its own
   stacking context for its hover fill. */
.main-nav { flex: 1 1 auto; position: relative; z-index: 2; }
.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  padding: 10px 8px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color .35s ease;
}
/* the blue sweeps up from the bottom edge rather than switching on */
.main-nav__list > li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--primary);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.main-nav__list > li > a:hover::before,
.main-nav__list > li > a:focus::before,
.main-nav__list > li.is-active > a::before { transform: scaleY(1); }
.main-nav__list > li > a:hover,
.main-nav__list > li > a:focus,
.main-nav__list > li.is-active > a { color: var(--white); }
.main-nav__caret { width: 11px; height: 11px; fill: currentColor; transition: transform .3s; }

/* dropdown */
.has-dropdown > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 12px 30px rgba(32, 32, 68, .22);
  overflow: hidden;
}
.has-dropdown:hover > .sub-menu,
.has-dropdown:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 13px 22px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.sub-menu li:not(:last-child) a { border-bottom: 1px solid rgba(255, 255, 255, .55); }
.sub-menu a:hover,
.sub-menu a:focus,
.sub-menu a.is-active { background: rgba(255, 255, 255, .14); color: var(--white); }

.header__cta { flex-shrink: 0; }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover, .nav-toggle:focus { background: var(--secondary); }
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------------------------------------------------------- hero (home) --
   Matches the original's three breakpoint variants:
   >1024px  desktop artwork, 400px tall
   768-1024 tablet artwork,  600px tall
   <=767px  mobile artwork,  210px tall                                     */
.hero {
  background: url("../img/hero-desktop.jpg") center center / cover no-repeat;
  min-height: 400px;
}
.hero--mobile { display: none; }

/* ------------------------------------------------- page banner (inner) -- */
.page-banner {
  position: relative;
  background: url("../img/page-banner.jpg") center / cover no-repeat;
  padding: 107px 0;
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 55, 142, .55);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--white); margin-bottom: 14px; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-size: 16px;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--white); opacity: .8; }
.breadcrumb svg { width: 12px; height: 12px; fill: currentColor; }

/* ------------------------------------------------------- home: intro -- */
.intro { text-align: center; }
.section.intro { padding: 68px 0 0; }
.intro > .container { max-width: 1170px; }
.intro__name { font-size: 28.8px; line-height: 55px; margin-bottom: 0; }
.intro__role {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 15px;
}
.intro__role::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}
.intro__tagline {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
}
.intro__degrees {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
}
.intro__title { font-size: 22px; line-height: 1.5; color: var(--primary); margin-bottom: 14px; }
.intro__body { max-width: 1140px; margin: 0 auto; }
.intro__body p { line-height: 1.5; margin-bottom: 14px; }
.intro__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.intro__actions .btn { min-width: 212px; }

/* --------------------------------------------------------- home: stats -- */
.stats-wrap {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(32, 32, 68, .10);
  padding: 54px 40px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--gold);
  border-radius: var(--radius);
  padding: 9px 10px;
}
.stats--primary { background: var(--primary); }
.stats__item {
  text-align: center;
  padding: 0 16px;
}
.stats__item:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .5); }
.stats__num {
  font-family: var(--font-sans);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.stats__label {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .6);
  margin-top: 4px;
}

/* ------------------------------------------------------ section titles -- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 15px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}
.section-title {
  font-size: 28.8px;
  line-height: 55px;
  margin-bottom: 27px;
}

/* per-section spacing, measured against the original page */
.sec-services   { padding: 50px 0 51px; }
.sec-excellence { padding: 18px 0 55px; }
.sec-excellence .section-title { margin-bottom: 53px; }
.sec-reviews    { padding: 33px 0 60px; }
.sec-consult    { padding: 62px 0 70px; }

/* ------------------------------------------------------ home: services -- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 14px 14px 14px;
  color: var(--white);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(45, 55, 142, .32);
  color: var(--white);
}
.service-card__media {
  border: 6px solid var(--white);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
}
.service-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-card h3 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.service-card p { color: rgba(255, 255, 255, .92); font-size: 15px; line-height: 1.6; }

/* ----------------------------------------------------- home: excellence -- */
.excellence__grid {
  display: grid;
  grid-template-columns: 1fr 1.435fr 1fr;
  gap: 34px;
  align-items: start;
}
.excellence__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 435 / 470;
  object-fit: cover;
}
.feature { display: flex; gap: 14px; margin-bottom: 34px; }
.feature:last-child { margin-bottom: 0; }
.feature__icon { flex-shrink: 0; margin-top: 4px; }
.feature__icon svg { width: 22px; height: 22px; fill: var(--primary); }
.feature h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.feature p { font-size: 16px; line-height: 1.65; }

/* --------------------------------------------------- home: testimonials -- */
.reviews {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start;
}
.reviews__summary {
  display: flex;
  gap: 14px;
  padding-top: 6px;
}
.reviews__summary img { width: 40px; height: 40px; object-fit: contain; align-self: flex-start; flex-shrink: 0; }
.reviews__summary-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 8px;
}
.stars { color: #fbbc04; font-size: 17px; letter-spacing: 1px; margin-bottom: 6px; }
.reviews__count {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}
.reviews__write {
  display: inline-block;
  background: #4a4a4a;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 3px;
}
.reviews__write:hover { background: #2b2b2b; color: #fff; }

.reviews__viewport { overflow: hidden; position: relative; }
.reviews__track {
  display: flex;
  gap: 18px;
  transition: transform .45s ease;
}
.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  background: #f7f7f7;
  border-radius: 6px;
  padding: 18px;
  font-family: var(--font-sans);
}
.review-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.review-card__date { font-size: 12px; color: #777; }
.review-card__g { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; }
.review-card__stars { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.review-card__stars .stars { margin: 0; font-size: 15px; }
.review-card__verified { width: 15px; height: 15px; fill: #4285f4; }
.review-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.review-card__more {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #777;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.review-card__more:hover { color: var(--primary); }
.review-card.is-open .review-card__text { -webkit-line-clamp: unset; }

.reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.reviews__nav svg { width: 14px; height: 14px; fill: #555; }
.reviews__nav--prev { left: 0; }
.reviews__nav--next { right: 0; }
.reviews__nav:disabled { opacity: .3; cursor: default; }

.reviews__badge {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.reviews__badge span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e7b4d;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
}

/* --------------------------------------------------- home: consultation -- */
.consult {
  display: grid;
  /* minmax(0, 1fr) so neither panel's content can widen its own track —
     the promo and the form stay exactly half and half.                     */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.consult__promo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: url("../img/ainu-building.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  min-height: 420px;
}
.consult__promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 68, .62);
}
.consult__promo-inner { position: relative; z-index: 1; max-width: 460px; }
.consult__promo h2 { font-size: 25px; line-height: 1.3; color: var(--white); margin-bottom: 18px; }
.consult__promo p { color: rgba(255, 255, 255, .92); margin-bottom: 26px; }

.consult__form {
  background: var(--lavender);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 34px;
}
.consult__form h2 { font-size: 30px; line-height: 1.3; text-align: center; margin-bottom: 24px; }

/* --------------------------------------------------------------- forms -- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder,
.field textarea::placeholder { color: #a9adba; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 55, 142, .12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field--error input,
.field--error textarea { border-color: #d64545; }
.field__error {
  display: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #d64545;
  margin-top: 6px;
}
.field--error .field__error { display: block; }

.form-status {
  display: none;
  font-family: var(--font-sans);
  font-size: 15px;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 16px;
}
.form-status.is-success {
  display: block;
  background: #e6f5ec;
  color: #1e7b4d;
  border: 1px solid #b7e2c8;
}

/* ------------------------------------------------------------ about us -- */
.sec-about-intro { padding: 26px 0 0; }
.sec-about-intro .intro__tagline { margin-bottom: 0; line-height: 1.5; }
.sec-about-intro .intro__degrees { line-height: 1.5; }
.sec-about-intro .intro__name { font-size: 34px; }
.sec-about-intro .intro__degrees { margin-bottom: 0; }
.sec-about-body  { padding: 60px 0 0; }
.sec-about-body > .container,
.sec-about-intro > .container { max-width: 1170px; }
.sec-pillars { padding: 42px 0 55px; }
.sec-pillars .section-title { font-size: 33px; font-weight: 700; margin-bottom: 34px; }
.about__grid {
  display: grid;
  grid-template-columns: 1.076fr 1fr;
  gap: 39px;
  align-items: start;
}
.about__photo img { width: 100%; border-radius: 4px; }
.about__body h2 { font-size: 30px; font-weight: 800; line-height: 1.3; color: var(--primary); margin: 26px 0 14px; }
.about__body p { margin-bottom: 16px; }
.about__list { margin: 0 0 16px; padding-left: 20px; }
.about__list li {
  list-style: disc;
  margin-bottom: 6px;
}

.about__cols {
  display: grid;
  grid-template-columns: 2.25fr 1fr;
  gap: 25px;
  align-items: start;
  margin-top: 40px;
}
.about__cols h2 { font-size: 30px; font-weight: 800; line-height: 1.3; color: var(--primary); margin-bottom: 14px; }
.memberships {
  background: var(--primary);
  border-radius: 4px;
  padding: 32px 30px;
  color: var(--white);
}
.memberships h2 { color: var(--white); font-size: 24px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.memberships ul { padding-left: 20px; }
.memberships li {
  list-style: disc;
  color: var(--white);
  margin-bottom: 8px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Blue by default; hover floods the card white from the bottom up and the
   type inverts to blue. Same wipe mechanism as the buttons and nav links.   */
.pillar {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: block;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
  color: var(--white);
  transition: transform .4s ease, box-shadow .4s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}
.pillar:hover::before { transform: scaleY(1); }
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(45, 55, 142, .3);
}
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 12px;
  transition: color .4s ease;
}
.pillar p {
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.5;
  transition: color .4s ease;
}
.pillar:hover h3 { color: var(--primary); }
.pillar:hover p { color: var(--text); }

/* ------------------------------------------------------- service pages -- */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}
.service-intro__media img { width: 100%; border-radius: 4px; }
.service-intro__text p { margin-bottom: 16px; }
.service-intro__text h3 {
  font-size: 26px;
  color: var(--secondary);
  margin: 24px 0 12px;
}

.service-body h3 {
  font-size: 30px;
  color: var(--secondary);
  margin: 30px 0 14px;
}
.service-body h3:first-child { margin-top: 0; }
.service-body h4 {
  font-size: 24px;
  color: var(--secondary);
  margin: 26px 0 12px;
}
.service-body p { margin-bottom: 16px; }
.service-body ul { padding-left: 20px; margin-bottom: 16px; }
.service-body ul li { list-style: disc; margin-bottom: 6px; }

/* ------------------------------------------------------------- contact -- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(32, 32, 68, .07);
  overflow: hidden;
  background: var(--white);
}
.contact-card {
  text-align: center;
  padding: 44px 28px;
}
.contact-card:not(:last-child) { border-right: 1px solid var(--border); }
.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.contact-card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.contact-card h2 { font-size: 22px; margin-bottom: 14px; }
.contact-card p { font-size: 16px; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-map {
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 10px 40px rgba(32, 32, 68, .08);
  min-height: 420px;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: 6px;
  display: block;
}
.contact-form h2 { text-align: center; color: var(--primary); margin-bottom: 26px; }
.contact-form .field input,
.contact-form .field textarea {
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(32, 32, 68, .06);
  padding: 18px 20px;
}
.contact-form .field textarea { min-height: 96px; }
.contact-form .btn { display: block; margin: 6px auto 0; }

/* ------------------------------------------------------------- gallery -- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sec-gallery { padding: 50px 0 10px; }
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 55, 142, 0);
  transition: background .35s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { background: rgba(45, 55, 142, .3); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 30, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  border-radius: 4px;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }

/* ---------------------------------------------------------------- blog -- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(32, 32, 68, .10);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(32, 32, 68, .16);
}
.blog-card__media { display: block; overflow: hidden; }
.blog-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s;
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.blog-card__body h4 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; }
.blog-card__body h4 a { color: #1C244B; }
.blog-card__body h4 a:hover { color: var(--primary); }
.blog-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1 1 auto;
}
.blog-card__more {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #467FF7;
}
.blog-card__more:hover { color: var(--primary); }

/* single post */
.page-banner--post { padding: 0; min-height: 300px; display: flex; align-items: center; }
.page-banner--post h1 { font-size: 46px; line-height: 1.2; }
.sec-post { padding: 53px 0 59px; }
.sec-post > .container { max-width: 1150px; }
.post__featured {
  margin-bottom: 11px;
  border-radius: 4px;
  overflow: hidden;
}
.post__featured img { width: 100%; }
.post-content > *:first-child { margin-top: 0; }
.post-content p { margin-bottom: 13px; }
.post-content h2 {
  font-size: 46px;
  line-height: 1.233;
  color: #1C244B;
  margin: 7px 0 16px;
}
.post-content h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  color: #1C244B;
  margin: 7px 0 16px;
}
.post-content h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #1C244B;
  margin: 0 0 14px;
}
.post-content ul,
.post-content ol { padding-left: 0; margin: 0; }
.post-content ul li { list-style: disc; margin-bottom: 0; }
.post-content ol li { list-style: decimal; margin-bottom: 0; }
.post-content strong { color: var(--secondary); font-weight: 700; }

.post__share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.post__share a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .3s, opacity .3s;
}
.post__share a:hover { transform: translateY(-3px); color: #fff; opacity: .9; }
.post__share svg { width: 19px; height: 19px; fill: currentColor; }
.post__share .share--fb { background: #2D378E; }
.post__share .share--wa { background: #25D366; }

/* -------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, .88);
  padding: 50px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr .8fr 1.05fr;
  gap: 40px;
}
.footer__logo {
  display: inline-block;
  background: var(--white);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 22px;
}
.footer__logo img { width: 290px; }
.footer__about { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .88); }

.footer__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.footer__links li { margin-bottom: 14px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
}
.footer__links a:hover { color: var(--white); }
.footer__links svg { width: 9px; height: 9px; fill: currentColor; flex-shrink: 0; }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.footer__contact a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255, 255, 255, .9);
}
.footer__contact a:hover { color: var(--white); }
.footer__contact-icon { flex-shrink: 0; margin-top: 2px; }
.footer__contact-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.4; }
.footer__contact-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}
.footer__social { justify-content: flex-start; padding-left: 42px; gap: 10px; }
.footer__social a { width: 34px; height: 34px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 26px;
  padding: 20px 0 22px;
  text-align: center;
}
.footer__copyright {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
}
.footer__powered {
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 2px;
}
.footer__powered-logo { display: inline-block; }
.footer__powered-logo img { width: 221px; margin: 0 auto; }
.footer__powered-brand {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .6px;
  color: var(--white);
}

/* --------------------------------------------------- floating whatsapp -- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  z-index: 90;
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ------------------------------------------------------------ reveal -- */
/* Entrance animations, triggered by the IntersectionObserver in script.js.
   Anything already inside the viewport fires on the first observer pass, so
   above-the-fold text animates on page load; the rest animates on scroll.   */
:root {
  --reveal-duration: 1.3s;   /* slow, unhurried entrance                     */
  --reveal-step: .18s;       /* stagger between siblings                     */
  --reveal-ease: cubic-bezier(.22, .61, .36, 1);
}

@keyframes revealUp    { from { opacity: 0; transform: translate3d(0, 42px, 0); }  to { opacity: 1; transform: none; } }
@keyframes revealDown  { from { opacity: 0; transform: translate3d(0, -42px, 0); } to { opacity: 1; transform: none; } }
@keyframes revealLeft  { from { opacity: 0; transform: translate3d(-70px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes revealRight { from { opacity: 0; transform: translate3d(70px, 0, 0); }  to { opacity: 1; transform: none; } }
@keyframes revealZoom  { from { opacity: 0; transform: scale(.92); }               to { opacity: 1; transform: none; } }
@keyframes revealFade  { from { opacity: 0; }                                      to { opacity: 1; } }

.reveal { opacity: 0; }
.reveal.is-visible {
  animation-name: revealUp;
  animation-duration: var(--reveal-duration);
  animation-timing-function: var(--reveal-ease);
  animation-fill-mode: both;
}

/* direction variants */
.reveal--down.is-visible  { animation-name: revealDown; }
.reveal--left.is-visible  { animation-name: revealLeft; }
.reveal--right.is-visible { animation-name: revealRight; }
.reveal--zoom.is-visible  { animation-name: revealZoom; }
.reveal--fade.is-visible  { animation-name: revealFade; }

/* stagger helpers */
.reveal--d1.is-visible { animation-delay: calc(var(--reveal-step) * 1); }
.reveal--d2.is-visible { animation-delay: calc(var(--reveal-step) * 2); }
.reveal--d3.is-visible { animation-delay: calc(var(--reveal-step) * 3); }
.reveal--d4.is-visible { animation-delay: calc(var(--reveal-step) * 4); }
.reveal--d5.is-visible { animation-delay: calc(var(--reveal-step) * 5); }
.reveal--d6.is-visible { animation-delay: calc(var(--reveal-step) * 6); }

/* Once the entrance has played the animation is dropped, otherwise its
   filled `transform: none` would keep overriding :hover transforms.        */
.reveal.is-done { animation: none; opacity: 1; }

/* Hero artwork fades in on load (CSS only — no JS dependency, no delay, so
   it stays the LCP paint). */
.hero,
.hero--mobile { animation: revealFade 1.1s ease both; }

/* ------------------------------------------- header entrance (on load) --
   The top bar and header sit above the fold, so they animate straight from
   CSS rather than waiting on the observer. It is applied to the wrappers
   only — never to a link or button — so :hover transforms on the children
   are not overridden by the animation's filled end state. Keeping it off
   `.main-nav` also leaves the collapsed mobile menu's own opacity /
   visibility switching untouched.                                          */
@keyframes headerUp { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

.anim-up {
  animation-name: headerUp;
  animation-duration: var(--reveal-duration);
  animation-timing-function: var(--reveal-ease);
  animation-fill-mode: both;
}
.anim-up--d1 { animation-delay: calc(var(--reveal-step) * 1); }
.anim-up--d2 { animation-delay: calc(var(--reveal-step) * 2); }
.anim-up--d3 { animation-delay: calc(var(--reveal-step) * 3); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .anim-up,
  .hero,
  .hero--mobile { opacity: 1; transform: none; animation: none; }

  /* hover states still change, they just stop sliding */
  .btn,
  .btn::before,
  .main-nav__list > li > a::before,
  .pillar,
  .pillar::before { transition: none; }
  .btn:hover,
  .btn:focus-visible { transform: none; }
  .pillar:hover { transform: none; }

  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .footer__logo img { width: 240px; }
}

@media (max-width: 1024px) {
  h1 { font-size: 50px; }
  h2 { font-size: 36px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
  body { font-size: 15px; }

  .container { max-width: 1024px; }
  .section { padding: 56px 0; }
  .btn { padding: 17px 35px; font-size: 15px; }
  .btn--sm { padding: 12px 20px; }

  .site-header__inner { padding-left: 10px; padding-right: 10px; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    border-radius: var(--radius);
    margin-top: 12px;
    padding: 6px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .35s ease, opacity .25s ease, visibility .25s;
    box-shadow: 0 18px 40px rgba(32, 32, 68, .28);
  }
  .main-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .35); }
  .main-nav__list > li > a {
    color: var(--white);
    border-radius: 0;
    padding: 13px 20px;
    justify-content: space-between;
  }
  /* The drawer is already blue, so the rising-blue fill would swallow the
     highlight — drop it and go back to the flat tint on mobile. */
  .main-nav__list > li > a::before { display: none; }
  .main-nav__list > li > a:hover,
  .main-nav__list > li > a:focus,
  .main-nav__list > li.is-active > a { background: rgba(255, 255, 255, .14); }

  .has-dropdown > .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, .16);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    min-width: 0;
  }
  .has-dropdown.is-expanded > .sub-menu { max-height: 400px; }
  .has-dropdown.is-expanded > a .main-nav__caret { transform: rotate(180deg); }
  .sub-menu a { padding-left: 34px; }
  .sub-menu li:not(:last-child) a { border-bottom-color: rgba(255, 255, 255, .25); }

  .site-header__inner { position: relative; }
  .header__cta .btn { padding: 12px 18px; font-size: 14px; }

  .hero { display: none; }
  .hero--mobile {
    display: block;
    background: url("../img/hero-banner.jpg") center center / cover no-repeat;
    min-height: 600px;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .excellence__grid { grid-template-columns: 1fr 1fr; }
  .excellence__media { grid-column: 1 / -1; order: -1; max-width: 520px; margin: 0 auto 10px; }
  .excellence__media img { aspect-ratio: 4 / 3; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 calc((100% - 18px) / 2); }
  .reviews { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .about__cols { grid-template-columns: 1fr; }
  .service-intro { grid-template-columns: 1fr; }
  .service-intro__media { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-banner { padding: 90px 0; }
  .post-content h2 { font-size: 32px; }
}

@media (max-width: 767px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  body { font-size: 14px; }

  .container { padding: 0 18px; }
  .section { padding: 44px 0; }
  .btn { padding: 15px 30px; font-size: 14px; }

  .hero--mobile {
    background-image: url("../img/hero-mobile.jpg");
    min-height: 210px;
  }

  .topbar__inner { justify-content: center; gap: 10px; padding: 10px 0; }
  .topbar__contact { justify-content: center; font-size: 14px; }
  .topbar__contact li:not(:last-child) { padding-right: 10px; margin-right: 10px; }

  .site-logo img { width: 140px; }
  .header__cta { display: none; }

  .intro__title { font-size: 22px; }
  .intro__tagline,
  .intro__degrees { font-size: 18px; }
  .intro__actions { gap: 14px; }
  .intro__actions .btn { flex: 1 1 100%; }

  .stats-wrap { padding: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 4px 0; }
  .stats__item { padding: 14px 10px; }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .5); }
  .stats__num { font-size: 28px; }
  .stats__label { font-size: 14px; }

  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .excellence__grid { grid-template-columns: 1fr; gap: 0; }
  .excellence__media { order: -1; margin-bottom: 30px; }
  .feature { margin-bottom: 26px; }

  .review-card { flex: 0 0 100%; }
  .reviews__nav { display: none; }

  .consult { grid-template-columns: 1fr; gap: 20px; }
  .consult__promo { min-height: 320px; padding: 44px 24px; }
  .consult__form { padding: 24px 20px; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-card:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--border); }
  .contact-split { grid-template-columns: 1fr; gap: 26px; }
  .contact-map { min-height: 320px; }
  .contact-map iframe { min-height: 300px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }

  .about__body h2,
  .about__cols h2 { font-size: 26px; }
  .memberships { padding: 24px 20px; }
  .memberships h2 { font-size: 24px; }
  .service-body h3 { font-size: 24px; }
  .service-body h4 { font-size: 20px; }
  .post-content h2 { font-size: 26px; }
  .post-content h3 { font-size: 22px; }

  .page-banner { padding: 66px 0; }
  .breadcrumb { font-size: 14px; }

  .site-footer { padding-top: 46px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__logo img { width: 100%; max-width: 280px; }
  .footer__social { padding-left: 0; justify-content: center; }
  .footer__bottom { margin-top: 34px; }

  .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 25px; height: 25px; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: 0 !important; }
  .stats__item:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .5); }
}

/* visually hidden (labels for placeholder-only fields) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
