/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr-dark:       #0D1B2A;
  --clr-teal:       #2BB5BE;
  --clr-teal-dark:  #1e969d;
  --clr-white:      #ffffff;
  --clr-off-white:  #f7f7f7;
  --clr-body:       #555555;
  --clr-heading:    #0D1B2A;
  --clr-border:     #e2e2e2;
  --clr-darkblue:   #2f72a9;

  --ff-sans:   'Montserrat', sans-serif;
  --ff-body:   'Open Sans', sans-serif;
  --ff-serif:  'Playfair Display', serif;

  --container-w: 1220px;
  --nav-h:       88px;

  --ease: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-body);
  background: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.container {
  max-width: 85%;
  margin-inline: auto;
  padding-inline: 48px;
}

/* Serif italic accent used in section headings */
.serif-italic {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Teal underline bar */
.teal-bar {
  width: 56px;
  height: 3px;
  background: var(--clr-teal);
  margin-block: 22px;
  flex-shrink: 0;
}
.teal-bar.centered { margin-inline: auto; }

/* Section heading shared style */
.section-heading {
  font-family: var(--ff-serif);
  font-size: 46px;
  font-weight: 800;
  color: var(--clr-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.15;
}
.section-heading.light { color: var(--clr-white); }
.section-heading .serif-italic { font-size: 1em; }

/* Section header block (centered) */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  border: none;
}

.btn-teal {
  background: var(--clr-teal);
  color: var(--clr-white);
  border-color: var(--clr-teal);
}
.btn-teal:hover {
  background: transparent;
  color: var(--clr-teal);
}

/* Decorative watermark text */
.watermark {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-sans);
  font-weight: 900;
  font-size: clamp(60px, 14vw, 190px);
  color: rgba(0, 0, 0, 0.045);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: var(--clr-dark);
}

/* Header Grid — logo spans both rows on the left */
.header-grid {
  padding-inline: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
}

.nav-logo {
  grid-row: 1 / 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  padding-right: 32px;
  z-index: 1;
}

.nav-logo img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

/* Top Bar (row 1, right of logo) */
.top-bar {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding-block: 8px;
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  margin-right: -48px;
  padding-right: 48px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 1% 100%);
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-icon img {
  height: 16px;
  width: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity var(--ease);
}

.top-bar-icon:hover img {
  opacity: 1;
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  transition: color var(--ease);
}

.top-bar-phone img {
  height: 14px;
  width: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.top-bar-phone:hover {
  color: var(--clr-teal);
}

/* Nav Row (row 2, right — right-aligned under top bar) */
.nav-row {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 56px;
  padding-block: 12px;
  margin-right: -48px;
  padding-right: 48px;
}

.nav-cta {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background var(--ease), border-color var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--clr-teal);
  border-color: var(--clr-teal);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-link {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--ease);
}
.nav-link:hover { color: var(--clr-teal); }


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--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); }


/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* Gradient overlay – dark left, fades right */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 27, 42, 0.82) 0%,
    rgba(13, 27, 42, 0.58) 45%,
    rgba(13, 27, 42, 0.12) 100%
  );
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 48px;
  padding-top: var(--nav-h);
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--ff-sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 18px;
}

.hero-heading {
  font-family: var(--ff-serif);
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-white);
  margin-bottom: 28px;
}

.hero-heading .color {
  font-family: var(--ff-serif);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--clr-darkblue);
}
.hero-heading .centre {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

.hero-heading .for-advanced{
  font-family: var(--ff-serif);
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-white);
  margin-bottom: 28px;
}

.hero-description {
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-content .btn {
  display: inline-block;
  align-self: flex-start;
  padding: 18px 40px;
  border-radius: 0;
  background: linear-gradient(135deg, #2f72a9 0%, #2BB5BE 100%);
  border-color: transparent;
}

.hero-content .btn:hover {
  background: linear-gradient(135deg, #245d8a 0%, #1e969d 100%);
  color: var(--clr-white);
  border-color: transparent;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background var(--ease), transform var(--ease);
  border: none;
  padding: 0;
}
.hero-dot.active {
  background: var(--clr-teal);
  transform: scale(1.2);
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.75); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), background var(--ease);
}
.hero-arrow svg { width: 24px; height: 24px; }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero:hover .hero-arrow {
  opacity: 1;
  pointer-events: auto;
}
.hero-arrow:hover { background: rgba(0, 0, 0, 0.55); }
.hero-arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid var(--clr-teal);
  outline-offset: 2px;
}


/* ═══════════════════════════════════════════════════════════
   ADVANCED CARE SECTION
═══════════════════════════════════════════════════════════ */
.advanced-care {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 48px;
  display: flex;
  justify-content: center;
}

.ac-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--container-w);
  background: rgba(230, 236, 240, 0.85);
  border-radius: 0;
  padding: 60px 64px;
}

.ac-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ac-heading {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--clr-heading);
  margin-bottom: 32px;
}
.ac-heading .serif-italic { font-size: 1em; }

.btn-amalgam {
  background: linear-gradient(135deg, #2f72a9 0%, #2BB5BE 100%);
  color: var(--clr-white);
  border-color: transparent;
  border-radius: 0;
  align-self: flex-start;
}

.btn-amalgam:hover {
  background: linear-gradient(135deg, #245d8a 0%, #1e969d 100%);
  color: var(--clr-white);
  border-color: transparent;
}

.ac-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ac-right p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 20px;
}

.ac-right p:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.about-section {
  background: #272727;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-text .section-heading { margin-bottom: 16px; }

.about-text p.about-subtitle {
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.btn-outline {
  background: transparent;
  background: linear-gradient(to right, #2e7d4f, #6fdf8f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 2px solid;
  border-image: linear-gradient(to right, #2e7d4f, #6fdf8f) 1;
  border-radius: 0;
  align-self: flex-start;
}

.btn-outline:hover {
  background: #2e7d4f;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: var(--clr-white);
  background-clip: border-box;
  border-image: none;
  border-color: #2e7d4f;
}

.about-watermark {
  position: absolute;
  bottom: -5px;
  right: 0;
  font-family: var(--ff-serif);
  font-size: clamp(40px, 5vw, 100px);
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 8px;
}


/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════ */
.services-section {
  padding-block: 100px;
  background: var(--clr-off-white);
  position: relative;
  overflow: hidden;
}

.services-subtitle {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-body);
  text-align: center;
  max-width: 600px;
  margin: 16px auto 0;
}

/* Tabs */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.services-tab {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid #ddd;
  background: var(--clr-white);
  color: #aaa;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.services-tab + .services-tab { border-left: none; }

.services-tab.active {
  background: #3a3a3a;
  color: var(--clr-white);
  border-color: #3a3a3a;
}

.services-tab:hover:not(.active) {
  background: #f0f0f0;
}

.services-section .watermark {
  top: auto;
  bottom: -20px;
  transform: none;
  font-family: var(--ff-serif);
}

/* Cards Grid */
.services-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.services-grid.active {
  display: grid;
  animation: fadeIn 0.7s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-card {
  background: var(--clr-white);
  overflow: hidden;
  transition: box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.service-list li a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}
.service-list li a:hover {
  color: var(--clr-teal);
}

.service-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-body {
  padding: 28px 32px 32px;
  background: rgba(230, 236, 240, 0.85);
  flex: 1;
}

.service-body h3 {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 16px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
}

.service-list li {
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--clr-body);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-teal);
}

/* section-header inside services needs z-index */
.services-section .section-header {
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════
   MISSION SECTION
═══════════════════════════════════════════════════════════ */
.mission-section {
  position: relative;
}

.mission-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mission-images img {
  width: 100%;
  height: clamp(300px, 45vw, 700px);
  object-fit: cover;
  display: block;
}

.mission-images img:first-child {
  object-position: center;
}

.mission-card {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--clr-white);
  padding: 56px 64px;
  max-width: 520px;
  z-index: 1;
}

.mission-card .section-heading {
  margin-bottom: 20px;
}

.mission-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
}


/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding-block: 100px 60px;
  background: var(--clr-white);
  overflow: hidden;
}

.testimonials-watermark {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-serif);
  font-size: clamp(60px, 14vw, 190px);
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -4px;
  line-height: 1;
  z-index: 0;
}

.testimonials-layout {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding-bottom: 120px;
}

.testimonials-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Track overlaps center of image */
.carousel-track {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  min-height: 180px;
}

/* Slides */
.testimonial-slide {
  display: none;
  animation: fadeIn 0.7s ease;
}
.testimonial-slide.active { display: block; }

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #e6ecf0 100%);
  padding: 40px 48px;
  text-align: center;
  position: relative;
}

.quote-open,
.quote-close {
  font-family: var(--ff-serif);
  font-size: 48px;
  color: #ccc;
  line-height: 1;
  user-select: none;
}

.quote-open {
  position: absolute;
  top: 12px;
  left: 20px;
}

.quote-close {
  position: absolute;
  bottom: 50px;
  right: 20px;
}

.testimonial-quote {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 1.75;
  color: var(--clr-body);
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-heading);
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.c-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  transition: background var(--ease), transform var(--ease);
  padding: 0;
  border: none;
}
.c-dot.active {
  background: var(--clr-teal);
  transform: scale(1.25);
}
.c-dot:hover { background: #999; }

/* Testimonial arrows — flank the carousel text card */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--ease);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.carousel-arrow-prev { left: -64px; }
.carousel-arrow-next { right: -64px; }


/* ═══════════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════════ */
.faq-section {
  padding-block: 60px 100px;
  background: var(--clr-white);
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
}

/* Individual FAQ item */
.faq-item {
  border-bottom: 1px solid var(--clr-border);
}
.faq-item:first-child { border-top: 1px solid var(--clr-border); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-heading);
  transition: color var(--ease);
}
.faq-trigger:hover { color: #333; }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--clr-heading);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--ease);
  display: inline-block;
  transform: rotate(-90deg);
}
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(90deg); }

/* Collapsible panel */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-panel.open { grid-template-rows: 1fr; }

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 16px;
  padding-bottom: 0;
}
.faq-panel-inner p:last-child { margin-bottom: 28px; }
.faq-panel-inner strong { color: var(--clr-heading); }


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #272727;
}

.footer-main {
  padding-block: 80px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
  gap: 48px;
}

/* Brand column */
.footer-brand .footer-logo {
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a img {
  height: 26px;
  width: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--ease);
}
.footer-social a:hover img { opacity: 1; }

/* Footer headings */
.footer-heading {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--clr-white);
  margin-bottom: 22px;
}

/* Footer links */
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--clr-teal); }

/* Contact items */
.footer-contact-item {
  margin-bottom: 16px;
}
.footer-contact-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 2px;
}
.footer-contact-item a {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-white);
  transition: color var(--ease);
}
.footer-contact-item a:hover {
  color: var(--clr-teal);
}
.footer-contact-item a.footer-email {
  font-size: 13px;
  font-weight: 400;
  color: var(--clr-teal);
}
.footer-contact-item a.footer-email:hover {
  color: var(--clr-white);
}

/* Opening hours */
.footer-hours {
  list-style: none;
}
.footer-hours li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}
.footer-hours .day {
  min-width: 135px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.footer-hours .sep {
  color: rgba(255, 255, 255, 0.3);
}
.footer-hours .time {
  color: rgba(255, 255, 255, 0.55);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 12px;
  text-align: left;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .nav-list { gap: 18px; }
  .nav-link  { font-size: 10px; }

  .hero-content { max-width: 560px; }

  .ac-card { gap: 40px; padding: 48px; }

  .about-text { padding: 60px 48px; }

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

  .mission-images img { height: 340px; }
  .mission-card { padding: 40px 48px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ─ Nav ─ */
  .header-grid {
    display: flex;
    align-items: center;
    padding-inline: 24px;
    height: var(--nav-h);
  }
  .hamburger    { display: flex; }
  .top-bar      { display: none; }
  .nav-cta      { display: none; }
  .nav-row      { display: contents; }

  .nav-logo {
    padding-right: 0;
  }

  .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--clr-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin-inline-start: 0;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
  }
  .nav-list li { width: 100%; }
  .nav-link {
    display: block;
    padding: 14px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
  }

  /* ─ Container ─ */
  .container { max-width: 100%; padding-inline: 24px; }

  /* ─ Images fill mobile width ─ */
  img { max-width: 100%; height: auto; }

  /* ─ Hero ─ */
  .hero-content {
    padding-inline: 24px;
    max-width: 100%;
  }
  .hero-heading { font-size: clamp(36px, 8vw, 52px); }
  .hero-eyebrow { font-size: 12px; }

  /* ─ Advanced Care ─ */
  .ac-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .ac-heading    { font-size: 30px; }

  /* ─ About ─ */
  .about-grid     { grid-template-columns: 1fr; }
  .about-image img { height: 300px; }
  .about-text     { padding: 48px 28px; }
  .section-heading { font-size: 34px; }

  /* ─ Services ─ */
  .services-section { padding-block: 68px; }
  .services-grid    { grid-template-columns: 1fr; }
  .services-tabs    { flex-wrap: wrap; }
  .services-tab     { width: 100%; text-align: center; }
  .service-list     { grid-template-columns: 1fr; }

  /* ─ Mission ─ */
  .mission-images img { height: 280px; }
  .mission-card {
    position: static;
    transform: none;
    max-width: none;
    margin: 32px;
    padding: 32px 28px;
  }

  /* ─ Watermark ─ */
  .watermark { font-size: clamp(48px, 12vw, 90px); letter-spacing: -2px; }

  /* ─ Testimonials ─ */
  .testimonials-section { padding-block: 68px; }
  .testimonials-image img { height: 300px; }
  .carousel-track { width: 80%; margin-top: -100px; }
  .testimonial-card { padding: 28px 24px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-arrow-prev { left: 4px; }
  .carousel-arrow-next { right: 4px; }

  /* ─ FAQ ─ */
  .faq-section   { padding-block: 68px; }
  .faq-trigger   { font-size: 14px; }

  /* ─ Footer ─ */
  .footer-main { padding-block: 56px 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-heading  { font-size: 34px; }
  .section-heading { font-size: 28px; }
  .ac-heading { font-size: 26px; }
  .mission-images { grid-template-columns: 1fr; }
  .mission-images img { height: 200px; }
  .testimonial-quote { font-size: 14px; }
  .carousel-track { width: 90%; margin-top: -80px; }
}


/* ═══════════════════════════════════════════════════════════
   NAV DROPDOWN (Services mega-menu)
═══════════════════════════════════════════════════════════ */
.nav-row { position: relative; }
.nav-list li.has-dropdown { position: static; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 48px;
  min-width: 760px;
  background: var(--clr-white);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
  padding: 36px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-list li.has-dropdown:hover .nav-dropdown,
.nav-list li.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 28px;
  row-gap: 0;
}

.dropdown-col { min-width: 0; }

.dropdown-cat {
  font-family: var(--ff-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-heading);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--clr-teal);
  min-height: 2.6em;
}
.dropdown-cat + .dropdown-cat,
.dropdown-col > .dropdown-cat:not(:first-child) { margin-top: 22px; }

.dropdown-sub {
  font-family: var(--ff-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clr-heading);
  margin: 12px 0 6px;
}

.dropdown-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropdown-grid li { margin: 0; padding: 0; }

.dropdown-grid a {
  display: block;
  padding: 5px 0;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--clr-body);
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.4;
  transition: color var(--ease), padding-left var(--ease);
}
.dropdown-grid a:hover {
  color: var(--clr-teal);
  padding-left: 4px;
}

.dropdown-all {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--clr-teal);
  padding-top: 14px;
  border-top: 1px solid var(--clr-border);
  width: 100%;
}
.dropdown-all::after { content: ' →'; }
.dropdown-all:hover { color: var(--clr-teal-dark); }


/* ═══════════════════════════════════════════════════════════
   INTERNAL PAGES — SHARED
═══════════════════════════════════════════════════════════ */
body.internal-page .site-header { background: var(--clr-dark); }

/* Page Hero */
.page-hero {
  position: relative;
  height: 440px;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(13, 27, 42, 0.85) 0%,
    rgba(13, 27, 42, 0.62) 45%,
    rgba(13, 27, 42, 0.30) 100%
  );
  z-index: 0;
}
/* Plain header — no image, used for non-service internal pages */
.page-hero.plain {
  background: var(--clr-dark);
  height: 340px;
  min-height: 280px;
}
.page-hero.plain::before {
  background: linear-gradient(105deg,
    rgba(13, 27, 42, 1) 0%,
    rgba(13, 27, 42, 0.92) 55%,
    rgba(47, 114, 169, 0.35) 100%
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  width: 100%;
}
.page-hero-eyebrow {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-white);
  margin-bottom: 18px;
}
.page-hero h1 em { font-weight: 400; font-style: italic; text-transform: none; font-family: var(--ff-serif); }
.page-hero-breadcrumb {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.page-hero-breadcrumb a { color: var(--clr-teal); transition: color var(--ease); }
.page-hero-breadcrumb a:hover { color: var(--clr-white); }
.page-hero-breadcrumb .sep { margin-inline: 8px; opacity: 0.4; }

/* Page section wrap */
.page-section {
  padding-block: 100px;
  background: var(--clr-white);
  position: relative;
}
.page-section.alt { background: var(--clr-off-white); }

/* Sidebar layout */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.page-content h2 {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-top: 36px;
  margin-bottom: 16px;
}
.page-content > h2:first-child,
.page-content > .lede + h2 { margin-top: 0; }
.page-content h3 {
  font-family: var(--ff-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-top: 26px;
  margin-bottom: 12px;
}
.page-content p {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 18px;
}
.page-content .lede {
  font-size: 16px;
  color: var(--clr-heading);
  font-weight: 500;
  line-height: 1.8;
}

/* Image card under the title hero */
.service-square {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 36px;
  overflow: hidden;
  background: var(--clr-off-white);
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.10);
}
.service-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 36px;
  overflow: hidden;
  background: var(--clr-off-white);
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.10);
}
.service-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.page-content ul {
  list-style: none;
  margin-bottom: 18px;
  padding-left: 0;
}
.page-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 8px;
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-teal);
}
.page-content a {
  color: var(--clr-teal);
  font-weight: 600;
  transition: color var(--ease);
}
.page-content a:hover { color: var(--clr-teal-dark); }

.page-content .cta-block {
  margin-top: 44px;
  padding: 44px 48px;
  background: rgba(230, 236, 240, 0.85);
  border-left: 4px solid var(--clr-teal);
}
.page-content .cta-block h3 { margin-top: 0; }
.page-content .cta-block .btn { margin-top: 8px; }
.page-content .cta-block .btn-teal { color: var(--clr-white); }
.page-content .cta-block .btn-teal:hover { color: var(--clr-darkblue); }

/* Inline FAQ inside content */
.page-content .inline-faq {
  margin-top: 36px;
}
.page-content .inline-faq h2 { margin-bottom: 8px; }
.page-content .inline-faq .faq-item { border-bottom: 1px solid var(--clr-border); }
.page-content .inline-faq .faq-item:first-of-type { border-top: 1px solid var(--clr-border); }

/* Sidebar */
.page-sidebar { position: static; }

.sidebar-form {
  background: var(--clr-dark);
  padding: 36px 32px;
  color: var(--clr-white);
}
.sidebar-form h3 {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.sidebar-form .sf-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  line-height: 1.6;
}
.sidebar-form .form-row { margin-bottom: 14px; }
.sidebar-form input,
.sidebar-form select,
.sidebar-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--clr-white);
  font-family: var(--ff-body);
  font-size: 13px;
  border-radius: 0;
  outline: none;
  transition: border-color var(--ease);
}
.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.sidebar-form input:focus,
.sidebar-form select:focus,
.sidebar-form textarea:focus { border-color: var(--clr-teal); }
.sidebar-form textarea { resize: vertical; min-height: 110px; }
.sidebar-form button {
  width: 100%;
  padding: 14px 20px;
  margin-top: 6px;
  background: linear-gradient(135deg, #2f72a9 0%, #2BB5BE 100%);
  color: var(--clr-white);
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity var(--ease);
}
.sidebar-form button:hover { opacity: 0.9; }

.sidebar-info {
  margin-top: 24px;
  padding: 30px 28px;
  background: rgba(230, 236, 240, 0.85);
}
.sidebar-info h4 {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-heading);
  margin-bottom: 14px;
}
.sidebar-info p,
.sidebar-info a {
  font-size: 13px;
  line-height: 1.75;
  color: var(--clr-body);
  margin-bottom: 8px;
  display: block;
}
.sidebar-info a { color: var(--clr-teal); font-weight: 600; }
.sidebar-info a:hover { color: var(--clr-teal-dark); }

.sidebar-related {
  margin-top: 24px;
  padding: 26px 28px;
  background: var(--clr-off-white);
  border-top: 3px solid var(--clr-teal);
}
.sidebar-related h4 {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-heading);
  margin-bottom: 8px;
}
.sidebar-related ul { list-style: none; }
.sidebar-related li { border-bottom: 1px solid var(--clr-border); }
.sidebar-related li:last-child { border-bottom: none; }
.sidebar-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  font-size: 13px;
  color: var(--clr-body);
  font-weight: 600;
  transition: color var(--ease);
}
.sidebar-related a::after {
  content: '›';
  font-size: 18px;
  color: var(--clr-teal);
}
.sidebar-related a:hover { color: var(--clr-teal); }

/* Team page */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.team-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.team-image {
  background: var(--clr-off-white);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.team-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 72px;
  font-weight: 700;
  color: rgba(13, 27, 42, 0.18);
  background: linear-gradient(135deg, #e6ecf0 0%, #ffffff 100%);
}
.team-info h3 {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 6px;
}
.team-role {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: 6px;
}
.team-quals {
  font-family: var(--ff-body);
  font-size: 13px;
  font-style: italic;
  color: var(--clr-body);
  margin-bottom: 18px;
}
.team-info p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 14px;
}

/* About summary */
.about-summary {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 64px;
}
.about-summary p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--clr-body);
}

/* Services overview page */
.service-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
}
.service-category .cat-head {
  margin-bottom: 28px;
}
.service-category h2 {
  font-family: var(--ff-serif);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-heading);
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--clr-teal);
  display: inline-block;
}
.service-category .cat-intro {
  margin-top: 8px;
  color: var(--clr-body);
  font-size: 15px;
  line-height: 1.85;
  max-width: 780px;
}
.service-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-tile {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-tile:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: var(--clr-teal);
}
.service-tile h3 {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 10px;
}
.service-tile p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--clr-body);
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-tile .tile-link {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-teal);
  align-self: flex-start;
}
.service-tile .tile-link::after { content: ' →'; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block {
  margin-bottom: 28px;
}
.contact-info-block h4 {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: 8px;
}
.contact-info-block p,
.contact-info-block a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--clr-body);
  display: block;
  margin-bottom: 4px;
}
.contact-info-block a { color: var(--clr-heading); font-weight: 600; }
.contact-info-block a:hover { color: var(--clr-teal); }
.contact-hours-list {
  list-style: none;
  padding: 0;
}
.contact-hours-list li {
  display: flex;
  justify-content: space-between;
  padding-block: 10px;
  border-bottom: 1px solid var(--clr-border);
  font-size: 14px;
  color: var(--clr-body);
}
.contact-hours-list li span:first-child { font-weight: 700; color: var(--clr-heading); }

.contact-form-wrap {
  background: var(--clr-dark);
  padding: 48px 44px;
  color: var(--clr-white);
}
.contact-form-wrap h3 {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--clr-white);
}
.contact-form-wrap .sf-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}
.contact-form-wrap .form-row { margin-bottom: 16px; }
.contact-form-wrap .form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--clr-white);
  font-family: var(--ff-body);
  font-size: 14px;
  border-radius: 0;
  outline: none;
  transition: border-color var(--ease);
}
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus { border-color: var(--clr-teal); }
.contact-form-wrap textarea { min-height: 140px; resize: vertical; }
.contact-form-wrap button {
  margin-top: 8px;
  padding: 16px 32px;
  width: 100%;
  background: linear-gradient(135deg, #2f72a9 0%, #2BB5BE 100%);
  color: var(--clr-white);
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity var(--ease);
}
.contact-form-wrap button:hover { opacity: 0.9; }

/* Testimonials page grid */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.tm-card {
  background: linear-gradient(135deg, #ffffff 0%, #e6ecf0 100%);
  padding: 44px 44px 36px;
  position: relative;
  border-left: 3px solid var(--clr-teal);
}
.tm-card .tm-quote-mark {
  font-family: var(--ff-serif);
  font-size: 56px;
  line-height: 1;
  color: rgba(43, 181, 190, 0.35);
  position: absolute;
  top: 18px;
  right: 24px;
}
.tm-card p {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 22px;
}
.tm-card .tm-author {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-heading);
}
@media (max-width: 768px) {
  .tm-grid { grid-template-columns: 1fr; gap: 22px; }
  .tm-card { padding: 32px 28px 28px; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #e6ecf0 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(13, 27, 42, 0.35);
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Before & After image comparison */
.ba-hint {
  text-align: center;
  font-family: var(--ff-sans);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.55);
  margin: 0 0 36px;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}
.ba-case { display: flex; flex-direction: column; gap: 18px; }
.ba-case-title {
  font-family: var(--ff-serif, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-primary, #0d1b2a);
  margin: 0;
  position: relative;
  padding-bottom: 14px;
}
.ba-case-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent, #c9a96e);
}
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6ecf0;
  user-select: none;
  touch-action: none;
  cursor: ns-resize;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.12);
}
.compare .compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.compare-clip {
  position: absolute;
  inset: 0;
  height: 50%;
  overflow: hidden;
  will-change: height;
}
.compare-clip .compare-img {
  height: var(--compare-h, 100%);
  max-height: none;
}
.ba-case.is-mouth-zoom .compare > .compare-img {
  transform: scale(3);
  transform-origin: 47% 65%;
}
.ba-case.is-case1 .compare > .compare-img {
  object-position: center 30%;
  transform: scale(1.25);
  transform-origin: center 35%;
}
.compare-label {
  position: absolute;
  left: 14px;
  padding: 6px 14px;
  background: rgba(13, 27, 42, 0.78);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.compare-label-before { top: 14px; }
.compare-label-after  { bottom: 14px; background: var(--color-accent, #c9a96e); }
.compare-handle {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}
.compare-handle-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(13, 27, 42, 0.15);
}
.compare-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary, #0d1b2a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.25);
}
.compare.is-dragging { cursor: grabbing; }

/* FAQ page */
.faq-page-list { max-width: 920px; margin-inline: auto; }
.faq-category {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--clr-heading);
  margin: 56px 0 12px;
}
.faq-category:first-child { margin-top: 0; }
.faq-category + .faq-item { border-top: 1px solid var(--clr-border); }
.faq-panel-inner a {
  color: var(--clr-accent, #c9a96e);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-panel-inner a:hover { color: var(--clr-heading); }
.faq-panel-inner ul {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  padding-left: 22px;
  margin-bottom: 16px;
}
.faq-panel-inner ul li { margin-bottom: 6px; }

/* Policy page */
.policy-content h3 { margin-top: 36px; }
.policy-content h3:first-of-type { margin-top: 0; }
.policy-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.policy-content ol li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--clr-body);
  margin-bottom: 8px;
}

/* RESPONSIVE — internal pages */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .service-tile-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-card { grid-template-columns: 240px 1fr; gap: 32px; }
}

/* Tablet — keep dropdown reachable */
@media (max-width: 1100px) {
  .nav-dropdown { min-width: 640px; padding: 28px 30px; }
  .dropdown-grid { gap: 22px; }
  .dropdown-grid a { font-size: 11px; }
}

/* Mobile — dropdown becomes inline submenu */
@media (max-width: 768px) {
  .nav-list li.has-dropdown { position: relative; }
  .nav-dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    padding: 8px 0 16px;
    min-width: 0;
    margin: 0 24px 4px;
  }
  .nav-list li.has-dropdown.open > .nav-dropdown { display: block; }
  .nav-list li.has-dropdown:hover .nav-dropdown,
  .nav-list li.has-dropdown:focus-within .nav-dropdown { display: none; }
  .nav-list li.has-dropdown.open:hover .nav-dropdown,
  .nav-list li.has-dropdown.open:focus-within .nav-dropdown { display: block; }
  .nav-dropdown::before { display: none; }
  .dropdown-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 14px;
  }
  .dropdown-cat {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    border-bottom-color: rgba(43, 181, 190, 0.4);
    margin-bottom: 6px;
    min-height: 0;
  }
  .dropdown-cat + .dropdown-cat,
  .dropdown-col > .dropdown-cat:not(:first-child) { margin-top: 16px; }
  .dropdown-sub { color: rgba(255, 255, 255, 0.85); margin: 8px 0 4px; }
  .dropdown-grid a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    padding: 4px 0;
  }
  .dropdown-grid a:hover { color: var(--clr-teal); padding-left: 0; }
  .dropdown-all {
    color: var(--clr-teal);
    border-top-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 768px) {
  .page-hero { height: 360px; min-height: 320px; }
  .page-section { padding-block: 64px; }
  .page-content h2 { font-size: 24px; }
  .service-tile-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ba-grid { grid-template-columns: 1fr; gap: 40px; }
  .ba-case-title { font-size: 18px; }
  .compare-handle-knob { width: 38px; height: 38px; }
  .team-card { grid-template-columns: 1fr; gap: 24px; }
  .team-image { max-width: 280px; }
  .contact-form-wrap { padding: 36px 28px; }
  .contact-form-wrap .form-row.split { grid-template-columns: 1fr; }
  .page-content .cta-block { padding: 32px 28px; }
}
