:root {
  --bg: #f5efe8;
  --bg-soft: #fbf7f2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf9;
  --text: #182126;
  --muted: #5f6b72;
  --line: rgba(24, 33, 38, 0.12);
  --primary: #0f7b78;
  --primary-deep: #094d52;
  --accent: #ef9c6f;
  --accent-soft: #ffd8c2;
  --shadow: 0 24px 80px rgba(21, 42, 49, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 123, 120, 0.14), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(239, 156, 111, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f2eb 0%, #f2ebe3 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-topbar {
  background: linear-gradient(135deg, #081f5c 0%, #0a2f84 100%);
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.topbar-left,
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-left {
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.topbar-item svg,
.topbar-socials svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.topbar-address {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.topbar-address span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-socials {
  flex-shrink: 0;
}

.topbar-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.topbar-socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 85, 0, 0.92);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  height:100px;
  backdrop-filter: blur(18px);
  background: rgba(248, 242, 235, 0.76);
  border-bottom: 1px solid rgba(24, 33, 38, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 100px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.0rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  flex: 0 0 120px;
}

.site-header .brand-mark {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: red;
}

.brand-copy strong {
  color: var(--electric-blue);
  font-size: 1.3rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.site-nav .button {
  color: #fff;
}

.site-nav .button-small {
  padding: 0.82rem 1.2rem;
  background: linear-gradient(135deg, #ef7d3f, #cf4f10);
  border: 1px solid rgba(125, 36, 0, 0.2);
  box-shadow: 0 14px 32px rgba(207, 79, 16, 0.28);
}

.site-nav .button-small:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(207, 79, 16, 0.34);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(9, 77, 82, 0.2);
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid rgba(24, 33, 38, 0.08);
  box-shadow: none;
}

.button-small {
  padding: 0.8rem 1.1rem;
}

.active-button {
  color: #fff !important;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section {
  padding: 5rem 0 4rem;
}

.page-main .page-hero {
  padding: 4rem 0 2rem;
}

.hero-grid,
.split-layout,
.two-column-feature,
.appointment-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}

.page-hero h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.hero-text,
.page-hero p:last-child {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-points span,
.eyebrow,
.blog-card span,
.featured-blog span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-points span {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 38, 0.07);
  color: var(--text);
}

.eyebrow {
  color: var(--primary);
}

.hero-card,
.service-card,
.doctor-preview,
.testimonial-card,
.blog-card,
.featured-blog,
.procedure-card,
.doctor-card,
.appointment-panel,
.contact-panel,
.cta-panel,
.feature-panel,
.info-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card-large {
  overflow: hidden;
  min-height: 560px;
}

.hero-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hero-stats article {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 33, 38, 0.06);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
}

.section {
  padding: 2rem 0 4rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2,
.split-copy h2,
.feature-panel h2,
.cta-panel h2,
.appointment-panel h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0.4rem 0 0.9rem;
}

.service-grid,
.blog-preview-grid,
.testimonial-page-grid {
  display: grid;
  gap: 1.4rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.blog-card {
  overflow: hidden;
}

.service-card img,
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card div,
.blog-card div {
  padding: 1.3rem;
}

.service-card h3,
.blog-card h3,
.doctor-preview h3,
.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.centered-action {
  margin-top: 2rem;
  text-align: center;
}

.care-layout {
  align-items: center;
}

.care-copy {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.care-card {
  min-height: 480px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.care-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-list-title {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text);
}

.care-list {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.care-pill {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 33, 38, 0.08);
  box-shadow: 0 12px 28px rgba(21, 42, 49, 0.08);
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .care-list {
    grid-template-columns: 1fr;
  }
}

.accent-section {
  background: linear-gradient(180deg, rgba(15, 123, 120, 0.07), rgba(15, 123, 120, 0));
}

.split-layout,
.two-column-feature,
.appointment-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.doctor-stack,
.testimonial-list {
  display: grid;
  gap: 1rem;
}

.doctor-preview,
.testimonial-card,
.feature-panel,
.info-panel,
.appointment-panel,
.contact-panel,
.cta-panel {
  padding: 1.5rem;
}

.doctor-preview span,
.doctor-role,
.procedure-count {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 700;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 28px;
  background: #132126;
}

.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.procedure-list,
.doctor-page-grid,
.blog-layout,
.blog-grid {
  display: grid;
  gap: 1.5rem;
}

.procedure-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
}

.procedure-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.procedure-card div {
  padding: 1.75rem;
}

.procedure-card h2,
.doctor-card h2,
.featured-blog h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  margin: 0.4rem 0 0.9rem;
}

.doctor-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-card {
  overflow: hidden;
}

.doctor-image {
  min-height: 300px;
  background-size: cover;
  background-position: center;
}

.doctor-image-one {
  background-image: linear-gradient(rgba(9, 77, 82, 0.18), rgba(9, 77, 82, 0.18)), url("https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=1000&q=80");
}

.doctor-image-two {
  background-image: linear-gradient(rgba(239, 156, 111, 0.12), rgba(239, 156, 111, 0.12)), url("https://images.unsplash.com/photo-1537368910025-700350fe46c7?auto=format&fit=crop&w=1000&q=80");
}

.doctor-image-three {
  background-image: linear-gradient(rgba(15, 123, 120, 0.12), rgba(15, 123, 120, 0.12)), url("https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=1000&q=80");
}

.doctor-card-copy {
  padding: 1.5rem;
}

.info-list li,
.procedure-card li {
  margin-bottom: 0.65rem;
}

.blog-layout {
  grid-template-columns: 1.1fr 1fr;
}

.featured-blog {
  overflow: hidden;
}

.featured-blog img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.featured-blog div {
  padding: 1.5rem;
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card.large {
  min-height: 240px;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(24, 33, 38, 0.08);
}

.appointment-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.appointment-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 33, 38, 0.12);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-note {
  min-height: 1.5rem;
  color: var(--primary-deep);
  font-weight: 700;
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal.visible,
.reveal-delay.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-topbar-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-left,
  .topbar-socials {
    width: 100%;
  }

  .topbar-socials {
    justify-content: flex-start;
  }

  .topbar-address {
    width: 100%;
    max-width: none;
  }

  .topbar-address span {
    white-space: normal;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 249, 242, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .split-layout,
  .two-column-feature,
  .appointment-layout,
  .blog-layout,
  .procedure-card,
  .doctor-page-grid,
  .service-grid,
  .testimonial-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-large {
    min-height: 420px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-topbar-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .topbar-left,
  .topbar-socials {
    width: auto;
  }

  .topbar-left {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .topbar-left .topbar-item:not(:first-child) {
    display: none;
  }

  .topbar-left .topbar-item:first-child {
    min-width: 0;
  }

  .topbar-left .topbar-item:first-child span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar-item {
    font-size: 0.82rem;
  }

  .topbar-address {
    display: none;
  }

  .topbar-socials a {
    width: 30px;
    height: 30px;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .section {
    padding: 1.5rem 0 3rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .blog-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .procedure-card img {
    min-height: 240px;
  }
}

/* ============================================================
   ADVANCED UI: preloader, progress bar, mega dropdown, carousel,
   marquee, orbs, 3D tilt, gallery, lightbox, sitemap footer
   ============================================================ */

[id] {
  scroll-margin-top: 120px;
}

/* Preloader: hidden by default; only shown when JS is active (html.js) */
.preloader {
  display: none;
}

html.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #f8f2eb;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}

.preloader-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

.preloader-bar {
  width: 160px;
  height: 3px;
  border-radius: 999px;
  background: rgba(24, 33, 38, 0.12);
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  animation: preloader-slide 1.1s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.92); }
}

@keyframes preloader-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.1s linear;
}

/* ---------- Header / nav dropdown ---------- */
.site-header {
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 40px rgba(21, 42, 49, 0.1);
  background: rgba(248, 242, 235, 0.9);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-dropdown-toggle.active,
.nav-dropdown-toggle:hover,
.nav-dropdown.current .nav-dropdown-toggle {
  color: var(--text);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(560px, 88vw);
  padding: 1.25rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 250, 244, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(21, 42, 49, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px) rotateX(-8deg);
  transform-origin: top center;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
  z-index: 50;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.dropdown-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 85% 0%, rgba(239, 156, 111, 0.16), transparent 42%);
  pointer-events: none;
}

@media (hover: hover) and (min-width: 981px) {
  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) rotateX(0deg);
  }

  .nav-dropdown:hover .nav-dropdown-toggle svg,
  .nav-dropdown:focus-within .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }
}

.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) rotateX(0deg);
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-title {
  margin-bottom: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.dropdown-grid a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem;
  border-radius: 16px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.dropdown-grid a:hover {
  background: rgba(15, 123, 120, 0.08);
  transform: translateX(4px);
}

.dropdown-grid img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  object-fit: cover;
}

.dropdown-grid span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.dropdown-grid strong {
  font-size: 0.88rem;
  color: var(--text);
}

.dropdown-grid em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.dropdown-footer-link svg {
  transition: transform 0.3s ease;
}

.dropdown-footer-link:hover svg {
  transform: translateX(5px);
}

/* ---------- Hero carousel ---------- */
.hero-carousel {
  position: relative;
  height: min(78vh, 720px);
  min-height: 520px;
  overflow: hidden;
  perspective: 1400px;
  background: #10262b;
}

.carousel-track,
.carousel-slide {
  position: absolute;
  inset: 0;
}

.carousel-track {
  transform-style: preserve-3d;
}

.carousel-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06) translateY(24px);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.9s;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  z-index: 1;
}

.carousel-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  animation: kenburns 9s ease-out forwards;
}

.carousel-slide:not(.active) .carousel-bg {
  animation: none;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 38, 43, 0.82) 0%, rgba(9, 38, 43, 0.45) 52%, rgba(9, 77, 82, 0.18) 100%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
}

.carousel-content .eyebrow {
  color: var(--accent-soft);
}

.carousel-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}

.carousel-content p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  font-size: 1.05rem;
}

.carousel-content .hero-actions {
  margin-top: 1.4rem;
}

.button-glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: 1.4rem; }
.carousel-arrow.next { right: 1.4rem; }

.carousel-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.6rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}

.carousel-dots button.active {
  width: 30px;
  background: var(--accent);
}

.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.15);
}

.carousel-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

/* ---------- Marquee strip ---------- */
.marquee-strip {
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid rgba(24, 33, 38, 0.08);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.marquee-strip.subtle {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.35);
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}

.marquee-inner.reverse {
  animation-direction: reverse;
}

.marquee-strip:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding-right: 1.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-deep);
  white-space: nowrap;
}

.marquee-item i {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--accent);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Floating orbs ---------- */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
}

.orb-a {
  width: 340px;
  height: 340px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(15, 123, 120, 0.5), transparent 70%);
  animation: orb-float 11s ease-in-out infinite;
}

.orb-b {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: 4%;
  background: radial-gradient(circle, rgba(239, 156, 111, 0.55), transparent 70%);
  animation: orb-float 13s ease-in-out infinite reverse;
}

.orb-c {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 26%;
  background: radial-gradient(circle, rgba(255, 216, 194, 0.7), transparent 70%);
  animation: orb-float 9s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(26px, -30px) scale(1.07); }
  66% { transform: translate(-20px, 22px) scale(0.95); }
}

/* ---------- 3D tilt cards ---------- */
.tilt,
.tilt-sm {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease-out;
}

.tilt-sm {
  transition-duration: 0.3s;
}

.hero-visual.tilt {
  perspective: 900px;
}

/* ---------- Service cards (homepage) ---------- */
.service-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.card-link {
  display: block;
  color: inherit;
}

.card-media {
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.service-card:hover .card-media img {
  transform: scale(1.08) rotate(0.6deg);
}

.service-card div:last-child {
  padding: 1.3rem;
  position: relative;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
}

.card-arrow svg {
  transition: transform 0.3s ease;
}

.service-card:hover .card-arrow svg {
  transform: translateX(5px);
}

.service-card:hover {
  box-shadow: 0 34px 90px rgba(21, 42, 49, 0.2);
}

/* ---------- Gallery ---------- */
.gallery-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(15, 123, 120, 0.08), transparent 30%),
    radial-gradient(circle at 92% 90%, rgba(239, 156, 111, 0.1), transparent 34%);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-chip {
  border: 1px solid rgba(24, 33, 38, 0.12);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: rgba(15, 123, 120, 0.4);
  transform: translateY(-2px);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(9, 77, 82, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 40px rgba(21, 42, 49, 0.12);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, opacity 0.4s ease;
}

.gallery-item.hidden-by-filter {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 60px rgba(21, 42, 49, 0.22);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.1rem;
  padding: 2.2rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(9, 38, 43, 0.85));
  color: #fff;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item figcaption strong {
  font-size: 0.95rem;
}

.gallery-item figcaption span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.zoom-icon {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-deep);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.small {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(21, 42, 49, 0.1);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.1rem 0 1.3rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(9, 24, 28, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  margin: 0;
  max-width: min(920px, 90vw);
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.lightbox figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.open figure img {
  transform: scale(1);
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.lightbox-nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  flex: 0 0 52px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Footer sitemap (full window width) ---------- */
.site-footer {
  width: 100%;
  padding: 0;
  margin-top: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  width: 100%;
  max-width: none;
  padding: clamp(2.25rem, 4vw, 3.75rem) clamp(1.25rem, 4vw, 4rem);
  border-radius: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(239, 156, 111, 0.14), transparent 40%),
    linear-gradient(180deg, #14262b 0%, #101f23 100%);
}

.footer-brand-col p {
  margin-top: 1.1rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.65);
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy span {
  color: #fff;
}

.footer-brand .brand-mark {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(24, 33, 38, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 123, 120, 0.4);
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  position: relative;
  display: inline-block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a::before {
  content: "Ã¢â‚¬Âº";
  position: absolute;
  left: -12px;
  opacity: 0;
  color: var(--accent);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(12px);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: grid;
  gap: 0.9rem;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.footer-contact svg {
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--accent);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-cta {
  background: linear-gradient(135deg, var(--accent), #e2793d);
  color: #fff;
  box-shadow: 0 14px 34px rgba(226, 121, 61, 0.35);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  max-width: none;
  padding: 1.2rem clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0c181b;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(9, 77, 82, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
}

/* ---------- Staggered reveals ---------- */
.reveal,
.reveal-delay {
  transition-delay: var(--stagger, 0s);
}

/* ---------- Responsive additions ---------- */
@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero-carousel {
    height: 68vh;
    min-height: 480px;
  }

  .carousel-content h2 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .carousel-arrow.prev { left: 0.6rem; }
  .carousel-arrow.next { right: 0.6rem; }

  /* Mobile dropdown becomes an accordion inside the slide-down panel */
  .site-nav.open .dropdown-panel,
  .dropdown-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 0;
    visibility: hidden;
    display: grid;
    gap: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 18px;
    background: rgba(15, 123, 120, 0.05);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease, visibility 0.35s;
  }

  .nav-dropdown.open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    max-height: 480px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .dropdown-grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .dropdown-title {
    display: none;
  }

  .marquee-item {
    font-size: 1.2rem;
  }

  .mini-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 2.2rem 1.4rem;
  }

  .footer-bottom {
    padding: 1.1rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .gallery-filters {
    max-height: 150px;
    overflow-y: auto;
    justify-content: flex-start;
  }

  .lightbox {
    padding: 1rem;
    gap: 0.5rem;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 1.2rem;
    z-index: 2;
  }

  .lightbox-nav.prev { left: 1.2rem; }
  .lightbox-nav.next { right: 1.2rem; }

  .carousel-dots {
    bottom: 1.4rem;
  }

  .mini-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-inner {
    animation: none;
  }
}

/* ---- upload prescription page ---- */
.upload-steps {
  display: grid;
  gap: .9rem;
  margin-top: 1rem;
}

.upload-steps article {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(24,33,38,.07);
}

.upload-steps strong {
  color: var(--primary-deep);
  display: block;
  margin-bottom: .3rem;
}

.upload-notes {
  margin-top: 1.1rem;
  display: grid;
  gap: .35rem;
  font-size: .88rem;
}

.upload-notes p {
  font-size: .88rem;
}

.form-error {
  margin-top: .35rem;
  color: #b3261e;
  font-size: .85rem;
  font-weight: 700;
}

.upload-card .button {
  margin-top: .8rem;
}

.appointment-form input[type="file"] {
  padding: .7rem .85rem;
  border: 1px dashed rgba(24,33,38,.28);
  border-radius: 16px;
  background: rgba(255,255,255,.65);
  width: 100%;
  font: inherit;
  color: var(--muted);
}
/* ---- Distinct per-section backgrounds (homepage rhythm) ---- */
.section-alt {
  background:
    radial-gradient(circle at 88% 12%, rgba(15, 123, 120, 0.08), transparent 34%),
    linear-gradient(180deg, #fdfaf5 0%, #f6efe5 100%);
  border-top: 1px solid rgba(24, 33, 38, 0.05);
  border-bottom: 1px solid rgba(24, 33, 38, 0.05);
}

.section-blush {
  background:
    radial-gradient(circle at 10% 18%, rgba(239, 156, 111, 0.16), transparent 36%),
    radial-gradient(circle at 92% 85%, rgba(255, 216, 194, 0.3), transparent 42%),
    linear-gradient(180deg, #fdf1e8 0%, #f9e7da 100%);
}

.section-mint {
  background:
    radial-gradient(circle at 90% 15%, rgba(15, 123, 120, 0.13), transparent 38%),
    radial-gradient(circle at 6% 80%, rgba(15, 123, 120, 0.09), transparent 34%),
    linear-gradient(180deg, #edf4ee 0%, #dfece2 100%);
}

.accent-section {
  background:
    radial-gradient(circle at 8% 30%, rgba(15, 123, 120, 0.16), transparent 40%),
    radial-gradient(circle at 95% 70%, rgba(9, 77, 82, 0.12), transparent 45%),
    linear-gradient(180deg, #e6f0ea 0%, #d8e8de 100%);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(239, 156, 111, 0.28), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(15, 123, 120, 0.35), transparent 45%),
    linear-gradient(135deg, #0c3036 0%, #094d52 60%, #0b3a40 100%);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  animation: orb-float 12s ease-in-out infinite;
}

.cta-band::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(239, 156, 111, 0.6), transparent 70%);
}

.cta-band::after {
  width: 260px;
  height: 260px;
  bottom: -110px;
  left: -70px;
  background: radial-gradient(circle, rgba(15, 123, 120, 0.65), transparent 70%);
  animation-delay: 2s;
}

.cta-band .cta-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.cta-band .cta-panel h2 {
  color: #fff;
}

.cta-band .cta-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-band .eyebrow {
  color: var(--accent-soft);
}

.cta-band .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

@media (max-width: 640px) {
  .section-alt,
  .section-blush,
  .section-mint {
    border-radius: 26px;
    margin-inline: 0.5rem;
    padding-inline: 1rem;
  }
}
/* ---- Homepage doctor profile cards ---- */
.doctor-stack {
  gap: 1.1rem;
}

.doctor-card-home {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.doctor-card-home:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 30px 70px rgba(9, 77, 82, 0.22);
}

.doctor-card-link {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1.05rem;
  align-items: center;
}

.doctor-avatar {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(15, 123, 120, 0.16), rgba(239, 156, 111, 0.2));
  flex: 0 0 92px;
  position: relative;
}

.doctor-avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(15, 123, 120, 0.35);
  pointer-events: none;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-card-home:hover .doctor-avatar img {
  transform: scale(1.08);
}

.doctor-card-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.doctor-card-body strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.1;
}

.doctor-card-body em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.doctor-card-body i {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.doctor-card-body p {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.doctor-card-body u {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.doctor-card-body u svg {
  transition: transform 0.3s ease;
}

.doctor-card-home:hover .doctor-card-body u svg {
  transform: translateX(4px);
}

/* ---- Doctors page feature sections ---- */
.doctors-listing .doctor-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  margin-bottom: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid rgba(24, 33, 38, 0.07);
  box-shadow: var(--shadow);
}

.doctor-feature.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.doctor-feature.reverse .doctor-feature-media {
  order: 2;
}

.doctor-feature-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, #dcebe4, #f6e7db);
}

.doctor-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.doctor-feature:hover .doctor-feature-media img {
  transform: scale(1.06);
}

.doctor-feature-media.no-photo::before {
  content: "PSH";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(9, 77, 82, 0.25);
}

.doctor-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(9, 38, 43, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.doctor-feature-body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.doctor-feature-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1;
  margin: 0.45rem 0 0.7rem;
}

.doctor-chip {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(15, 123, 120, 0.1);
  border: 1px solid rgba(15, 123, 120, 0.22);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.82rem;
}

.doctor-bio {
  margin-top: 1rem;
}

.doctor-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(24, 33, 38, 0.07);
}

.doctor-details dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.doctor-details dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 900px) {
  .doctors-listing .doctor-feature,
  .doctors-listing .doctor-feature.reverse {
    grid-template-columns: 1fr;
  }

  .doctors-listing .doctor-feature.reverse .doctor-feature-media {
    order: 0;
  }

  .doctor-feature-media {
    min-height: 300px;
  }

  .doctor-details {
    grid-template-columns: 1fr;
  }

  .doctor-card-link {
    grid-template-columns: 76px 1fr;
  }

  .doctor-avatar {
    width: 72px;
    height: 72px;
    flex-basis: 76px;
    border-radius: 20px;
  }
}
/* ---- Horizontal card rows (testimonials / blog) ---- */
.section-intro {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.cards-row .testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 210px;
}

.cards-row .testimonial-card p {
  font-size: 1rem;
}

.cards-row .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cards-row .blog-card img {
  height: 200px;
}

.cards-row .blog-card div {
  flex: 1;
}
/* ---- Individual procedure page ---- */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary-deep);
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb em {
  font-style: normal;
  color: var(--text);
}

.service-hero h1 {
  margin-top: 0.8rem;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.service-hero-media {
  margin: 0 0 1.4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-hero-media img {
  width: 100%;
  height: clamp(280px, 42vw, 460px);
  object-fit: cover;
}

.detail-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-panel {
  position: sticky;
  top: 100px;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  border: 1px solid rgba(24, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.service-detail-panel h2,
.service-detail-panel h3 {
  font-family: "Cormorant Garamond", serif;
}

.service-detail-panel h2 {
  font-size: 2rem;
  line-height: 1.05;
  margin: 0.35rem 0 0.8rem;
}

.service-detail-panel h3 {
  font-size: 1.35rem;
  margin-top: 1.4rem;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.highlight-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text);
  line-height: 1.5;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
    linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.procedure-title-link {
  color: inherit;
  transition: color 0.25s ease;
}

.procedure-title-link:hover {
  color: var(--primary-deep);
}

.procedure-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

@media (max-width: 980px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-detail-panel {
    position: static;
  }

  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ---- Bold statement sections (blue / brown) ---- */
.accent-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(239, 156, 111, 0.28), transparent 40%),
    radial-gradient(circle at 6% 90%, rgba(59, 130, 246, 0.35), transparent 45%),
    linear-gradient(135deg, #0f2a66 0%, #1c4dbd 55%, #143585 100%);
}

.accent-section::before,
.accent-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  pointer-events: none;
  animation: orb-float 12s ease-in-out infinite;
}

.accent-section::before {
  width: 320px;
  height: 320px;
  top: -110px;
  right: -70px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.75), transparent 70%);
}

.accent-section::after {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -60px;
  background: radial-gradient(circle, rgba(239, 156, 111, 0.65), transparent 70%);
  animation-delay: 1.6s;
}

.accent-section .eyebrow {
  color: #ffd8c2;
}

.accent-section .split-copy h2,
.accent-section .split-copy h3 {
  color: #fff;
}

.accent-section .split-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.accent-section .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.accent-section .button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.accent-section .doctor-card-home {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 60px rgba(4, 16, 48, 0.45);
}

/* ---- Rich brown testimonials ---- */
.section-blush {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(239, 156, 111, 0.3), transparent 42%),
    radial-gradient(circle at 94% 84%, rgba(255, 216, 194, 0.22), transparent 46%),
    linear-gradient(135deg, #3a2110 0%, #5d3a1e 52%, #472a13 100%);
}

.section-blush::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  top: -120px;
  left: -80px;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.3;
  background: radial-gradient(circle, rgba(255, 176, 120, 0.7), transparent 70%);
  pointer-events: none;
  animation: orb-float 13s ease-in-out infinite reverse;
}

.section-blush .eyebrow {
  color: #ffce9e;
}

.section-blush .feature-panel {
  background: rgba(20, 10, 4, 0.28);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.section-blush .feature-panel h2 {
  color: #fff;
}

.section-blush .feature-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.section-blush .text-link {
  color: #ffce9e;
}

.section-blush .text-link:hover {
  color: #ffe3c4;
}

.section-blush .cards-row .testimonial-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 26px 60px rgba(20, 8, 2, 0.45);
}
/* ============================================================
   2026 Color Refresh: blue, brown, red-orange, green,
   Electric Blue (#0055FF), Vibrant Orange (#FF5500), Neon Purple (#844FC1)
   ============================================================ */
:root {
  --bg: #f3efe8;
  --bg-soft: #fff8f0;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #17202a;
  --muted: #5f6774;
  --line: rgba(23, 32, 42, 0.12);
  --primary: #0055FF;
  --primary-deep: #0c2f7a;
  --accent: #FF5500;
  --accent-soft: #ffb08c;
  --green: #0f8f63;
  --brown: #6a4228;
  --red-orange: #e14b2d;
  --neon-purple: #844FC1;
  --electric-blue: #0055FF;
  --vibrant-orange: #FF5500;
  --shadow: 0 24px 80px rgba(16, 30, 61, 0.16);
}

body {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 85, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 85, 0, 0.14), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(132, 79, 193, 0.1), transparent 30%),
    linear-gradient(180deg, #f8f3eb 0%, #efe7dd 100%);
}

.site-header {
  background: rgba(249, 244, 237, 0.84);
}

.brand-mark,
.button,
.to-top,
.preloader-mark {
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
  box-shadow: 0 18px 40px rgba(0, 85, 255, 0.22);
}

.button-secondary {
  border-color: rgba(0, 85, 255, 0.16);
}

.scroll-progress span {
  background: linear-gradient(90deg, var(--electric-blue), var(--vibrant-orange), var(--neon-purple));
}

.eyebrow,
.dropdown-title,
.doctor-details dt,
.doctor-card-body em,
.procedure-count,
.doctor-preview span,
.doctor-role {
  color: var(--electric-blue);
}

.hero-carousel {
  background: linear-gradient(135deg, #081a45 0%, #0055FF 52%, #844FC1 100%);
}

.carousel-overlay {
  background:
    linear-gradient(90deg, rgba(8, 22, 62, 0.84) 0%, rgba(0, 85, 255, 0.36) 54%, rgba(132, 79, 193, 0.28) 100%);
}

.hero-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 85, 255, 0.14), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(255, 85, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f4ede4 100%);
}

.page-hero {
  background:
    radial-gradient(circle at 14% 22%, rgba(86, 144, 255, 0.34), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(17, 51, 140, 0.46), transparent 30%),
    linear-gradient(135deg, #071a52 0%, #0a2f84 55%, #0d3a9a 100%);
  color: rgba(255, 255, 255, 0.92);
}

.page-hero .eyebrow {
  color: #b8d2ff;
}

.page-hero h1 {
  color: #ffffff;
  text-shadow: 0 14px 34px rgba(2, 12, 38, 0.28);
}

.page-hero p {
  color: rgba(234, 241, 255, 0.84);
}

.section-alt {
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 85, 255, 0.16), transparent 34%),
    radial-gradient(circle at 10% 84%, rgba(132, 79, 193, 0.12), transparent 34%),
    linear-gradient(180deg, #edf4ff 0%, #dce8ff 100%);
}

.gallery-section {
  background:
    radial-gradient(circle at 15% 16%, rgba(255, 85, 0, 0.14), transparent 32%),
    radial-gradient(circle at 85% 78%, rgba(225, 75, 45, 0.12), transparent 34%),
    linear-gradient(180deg, #fff4ec 0%, #ffe6d6 100%);
}

.accent-section {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 85, 0, 0.26), transparent 40%),
    radial-gradient(circle at 8% 88%, rgba(0, 85, 255, 0.34), transparent 45%),
    linear-gradient(135deg, #0d2a67 0%, #0055FF 50%, #844FC1 100%);
}

.section-blush {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 176, 140, 0.18), transparent 36%),
    radial-gradient(circle at 92% 82%, rgba(255, 85, 0, 0.16), transparent 42%),
    linear-gradient(135deg, #4b2e1f 0%, #6a4228 50%, #8a5631 100%);
}

.section-mint {
  background:
    radial-gradient(circle at 88% 12%, rgba(15, 143, 99, 0.22), transparent 36%),
    radial-gradient(circle at 10% 88%, rgba(0, 85, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #edf8f3 0%, #d9efe3 100%);
}

.cta-band {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 85, 0, 0.34), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(15, 143, 99, 0.34), transparent 45%),
    radial-gradient(circle at 50% 12%, rgba(132, 79, 193, 0.3), transparent 34%),
    linear-gradient(135deg, #0b2356 0%, #0055FF 45%, #844FC1 100%);
}

.cta-band .eyebrow,
.accent-section .eyebrow {
  color: #ffd5be;
}

.footer-grid {
  background: linear-gradient(135deg, #091a38 0%, #0e2b63 42%, #6a4228 100%);
}

.footer-cta {
  background: linear-gradient(135deg, var(--vibrant-orange), var(--red-orange));
  box-shadow: 0 14px 34px rgba(255, 85, 0, 0.32);
}

.doctor-chip {
  background: rgba(132, 79, 193, 0.12);
  border-color: rgba(132, 79, 193, 0.28);
  color: var(--neon-purple);
}

.hero-points span,
.hero-stats article,
.contact-card,
.doctor-details,
.upload-steps article {
  border-color: rgba(0, 85, 255, 0.1);
}

.page-main > .section:nth-of-type(2),
.doctors-listing,
.testimonial-page-grid,
.procedure-list {
  background:
    radial-gradient(circle at 8% 22%, rgba(0, 85, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #edf4ff 0%, #e7eefc 100%);
}

.page-main > .section:nth-of-type(3),
.blog-layout,
.appointment-layout,
.doctor-profile-layout {
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 85, 0, 0.1), transparent 30%),
    linear-gradient(180deg, #fff4ec 0%, #f8e7d8 100%);
}

.page-main > .section:nth-of-type(4) {
  background:
    radial-gradient(circle at 10% 18%, rgba(15, 143, 99, 0.12), transparent 30%),
    linear-gradient(180deg, #eef8f1 0%, #dceddf 100%);
}

.page-main > .section:nth-of-type(5) {
  background:
    radial-gradient(circle at 88% 18%, rgba(132, 79, 193, 0.14), transparent 32%),
    linear-gradient(180deg, #f4effc 0%, #e8e0f6 100%);
}

.page-main > .section,
.doctors-listing,
.gallery-section,
.blog-layout,
.appointment-layout,
.doctor-profile-layout,
.procedure-list,
.testimonial-page-grid {
  border-top: 1px solid rgba(23, 32, 42, 0.05);
  border-bottom: 1px solid rgba(23, 32, 42, 0.05);
}

.doctor-profile-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(234, 234, 234, 0.18), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(253, 253, 253, 0.16), transparent 30%),
    linear-gradient(180deg, #eef3ff 0%, #eadff8 100%);
}

@media (max-width: 640px) {
  .page-main > .section,
  .section-alt,
  .section-blush,
  .section-mint,
  .gallery-section,
  .doctors-listing {
    margin-inline: 0.5rem;
    border-radius: 26px;
    overflow: hidden;
  }
}

.brand-mark img,
.preloader-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark img {
  border-radius: 0;
}

.site-header .brand-mark img {
  transform: translateY(25.5px);
  transform-origin: center center;
}

.footer-links a::before {
  content: "\203A";
}

.testimonial-media-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.testimonial-media-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.12), rgba(255, 85, 0, 0.12));
}

.testimonial-media-frame img,
.testimonial-media-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  background: #0f172a;
}

.testimonial-body {
  display: grid;
  gap: 0.45rem;
}

.testimonial-quote {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-body strong {
  color: var(--text);
  font-size: 1.02rem;
}

.testimonial-treatment {
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.testimonial-type-text .testimonial-body {
  min-height: 100%;
  justify-content: space-between;
}

.testimonial-type-video .testimonial-media-frame::after {
  content: "Video Testimonial";
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 22, 62, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.testimonial-page-grid .testimonial-media-card.large {
  min-height: 100%;
}

.cards-row .testimonial-media-card {
  min-height: 280px;
}

@media (max-width: 640px) {
  .testimonial-media-frame img,
  .testimonial-media-frame video {
    max-height: 300px;
  }
}
