/* =========================================================
   Dr. M. V. Krishna Chaitanya Boddikura — Cardiology Landing
   style.css  (v2 — matched to approved mockup)
   - Mobile-first, BEM, CSS custom properties
   - Pairs with Bootstrap 5.3 (utility grid + components)
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette */
  --kc-indigo:        #1f2470;   /* dark bands, headings on light */
  --kc-indigo-deep:   #191c5e;   /* gradient end for bands */
  --kc-ink:           #1c2461;   /* primary navy headings */
  --kc-red:           #df2935;   /* HEART CARE, CTAs */
  --kc-red-dark:      #c11f2b;   /* CTA hover */
  --kc-green:         #2bb24c;   /* check badges */
  --kc-green-dark:    #1f9a40;

  /* Neutrals */
  --kc-white:         #ffffff;
  --kc-bg-soft:       #f4f6fc;   /* light card / panel background */
  --kc-bg-tint:       #eef2fb;
  --kc-field:         #e9ecf5;   /* form field fill (mockup) */
  --kc-text:          #4c5266;   /* body copy */
  --kc-text-soft:     #6b7286;
  --kc-border:        #e4e8f2;
  --kc-border-faint:  #eef1f8;

  /* On-dark text */
  --kc-on-dark:       #ffffff;
  --kc-on-dark-soft:  #c5c9ee;
  --kc-card-dark:     rgba(255, 255, 255, 0.04);
  --kc-card-dark-bd:  rgba(255, 255, 255, 0.45);

  /* Type */
  --kc-font-display:  "Poppins", system-ui, sans-serif;
  --kc-font-body:     "Inter", system-ui, sans-serif;

  /* Shape & motion */
  --kc-radius:        14px;
  --kc-radius-lg:     22px;
  --kc-radius-xl:     30px;
  --kc-radius-pill:   60px;
  --kc-shadow-sm:     0 4px 14px rgba(28, 36, 97, 0.06);
  --kc-shadow-md:     0 14px 36px rgba(28, 36, 97, 0.10);
  --kc-shadow-lg:     0 24px 60px rgba(28, 36, 97, 0.16);
  --kc-ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --kc-header-h:      76px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--kc-header-h); }

body {
  margin: 0;
  font-family: var(--kc-font-body);
  color: var(--kc-text);
  background: var(--kc-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--kc-font-display); color: var(--kc-ink); margin: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color .2s var(--kc-ease); }
img, svg { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--kc-red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  z-index: 2000;
  background: var(--kc-indigo);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 0 0 10px 10px;
  transition: top .25s var(--kc-ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- AOS fallback ---------- */
[data-aos]:not(.aos-init) {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- 3. Shared section helpers ---------- */
.section-eyebrow {
  font-family: var(--kc-font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kc-red);
  margin: 0 0 .35rem;
}

.section-title {
  font-weight: 700;
  color: var(--kc-ink);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

/* ---------- 4. Buttons ---------- */
.btn-kc-primary,
.btn-kc-navy {
  --bs-btn-focus-box-shadow: none;
  font-family: var(--kc-font-display);
  font-weight: 600;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  transition: transform .25s var(--kc-ease), box-shadow .25s var(--kc-ease), background-color .25s var(--kc-ease), color .25s var(--kc-ease);
}

.btn-kc-primary {
  background: var(--kc-red);
  color: #fff;
  border: none;
  border-radius: var(--kc-radius-pill);
  padding: .7rem 1.7rem;
  box-shadow: 0 10px 24px rgba(223, 41, 53, 0.28);
}
.btn-kc-primary:hover,
.btn-kc-primary:focus-visible {
  background: var(--kc-red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(223, 41, 53, 0.36);
}
.btn-kc-primary.btn-lg { padding: .95rem 2.6rem; font-size: 1.05rem;margin-bottom: 30px; }
.btn-kc-primary.btn-sm { padding: .5rem 1.15rem; font-size: .85rem; }

/* Small navy rectangle buttons — trust cards (mockup) */
.btn-kc-navy {
  background: var(--kc-indigo);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: .45rem 1.05rem;
  font-size: .8rem;
}
.btn-kc-navy:hover,
.btn-kc-navy:focus-visible {
  background: var(--kc-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(223, 41, 53, 0.3);
}

/* =========================================================
   5. HEADER — transparent over banner, solid on scroll
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--kc-ease), background-color .3s var(--kc-ease), border-color .3s var(--kc-ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 6px 24px rgba(28, 36, 97, 0.08);
  border-bottom-color: var(--kc-border-faint);
}
.site-header .navbar { padding-block: .55rem; }
.site-header__logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(28, 36, 97, 0.18);
}
.site-header__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-header__brand-name {
  font-family: var(--kc-font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--kc-ink);
}
.site-header__brand-role {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--kc-text-soft);
}
.navbar-brand:hover .site-header__brand-name { color: var(--kc-red); }

.site-header .nav-link {
  font-family: var(--kc-font-display);
  font-weight: 500;
  font-size: .94rem;
  color: var(--kc-ink);
  padding: .45rem .9rem;
  position: relative;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .25rem;
  height: 2px;
  background: var(--kc-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--kc-ease);
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--kc-red); }

.navbar-toggler { border: none; padding: .3rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: #fff;
    margin-top: .6rem;
    padding: .75rem;
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow-md);
    border: 1px solid var(--kc-border-faint);
  }
  .site-header .nav-link::after { display: none; }
  .site-header .nav-item .btn { margin-top: .5rem; }
}

/* =========================================================
   6. HERO — photo banner (mockup)
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--kc-header-h) + 1.25rem);
  background-color: #f0f4fb;
  /* png layer on top of jpg layer: whichever file exists renders */
  background-image: url("../images/banner-bg.png"), url("../images/banner-bg.jpg");
  background-position: center top, center top;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  min-height: min(92vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero::before {
  /* soft white wash on the left so copy stays crisp over the photo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              rgba(255, 255, 255, 0.62) 0%,
              rgba(255, 255, 255, 0.30) 45%,
              rgba(255, 255, 255, 0) 72%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; width: 100%; }

.hero__copy {
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 9vw, 7rem);
  padding-left: clamp(0rem, 4vw, 3rem);
}
.hero__eyebrow {
  font-family: var(--kc-font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4.4vw, 2.7rem);
  letter-spacing: .12em;
  color: var(--kc-indigo);
  margin: 0;
  line-height: 1.15;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 4.9rem);
  line-height: 1.02;
  color: var(--kc-red);
  letter-spacing: -0.015em;
  margin: 0 0 .3rem;
}
.hero__tagline {
  font-family: var(--kc-font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.8vw, 1.7rem);
  color: var(--kc-indigo);
  margin: 0 0 clamp(1.8rem, 5vw, 3.4rem);
}

.hero__ecg {
  width: min(400px, 85%);
  height: auto;
  margin:0 auto clamp(1.4rem, 2.5vw, 0.4rem);
}
.hero__ecg-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: ecg-draw 2.6s var(--kc-ease) .4s forwards;
}
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }

.hero__identity {
  text-align: right;
  margin-inline: auto;
}
.hero__name {
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--kc-indigo);
  margin: 0 0 .15rem;
}
.hero__credentials {
  font-family: var(--kc-font-display);
  font-weight: 600;
  color: var(--kc-ink);
  margin: 0;
}
.hero__credentials span { font-weight: 500; color: var(--kc-text-soft); }
.hero__role {
  color: var(--kc-indigo);
  font-weight: 500;
  font-size: .95rem;
  margin: .1rem 0 0;
}

.hero__media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.hero__portrait {
  width: auto;
  max-height: clamp(440px, 60vw, 660px);
  filter: drop-shadow(-16px 16px 32px rgba(28, 36, 97, 0.2));
}

@media (max-width: 991.98px) {
  .hero { min-height: auto; text-align: center; }
  .hero::before {
    background: linear-gradient(180deg,
                rgba(255,255,255,0.72) 0%,
                rgba(255,255,255,0.4) 100%);
  }
  .hero__copy { padding-left: 0; padding-bottom: 1.5rem; }
  .hero__media { margin-top: .5rem; }
  .hero__portrait { max-height: 420px; }
}

/* =========================================================
   7. CREDENTIALS BAND — dashed stat chips + straddling CTA
   ========================================================= */
.credentials {
  background: linear-gradient(160deg, var(--kc-indigo) 0%, var(--kc-indigo-deep) 100%);
  color: var(--kc-on-dark);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}
.credentials__intro {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--kc-on-dark);
  line-height: 1.7;
}
.credentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 0 0 clamp(2rem, 4.5vw, 3rem);
}
@media (min-width: 576px) { .credentials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .credentials__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

/* Mockup: transparent chip, dashed light border, green check on corner */
.stat-card {
  position: relative;
  background: var(--kc-card-dark);
  border: 1.5px dashed var(--kc-card-dark-bd);
  border-radius: 10px;
  padding: 1.1rem 2.4rem 1.1rem 1.15rem;
  text-align: left;
  transition: transform .3s var(--kc-ease), background-color .3s var(--kc-ease), border-color .3s var(--kc-ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}
.stat-card__check {
  position: absolute;
  top: -13px; right: -11px;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--kc-green);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  border: 3px solid var(--kc-indigo);
  box-shadow: 0 4px 10px rgba(43, 178, 76, 0.4);
}
/* Value + label flow together as one text block (mockup) */
.stat-card__value {
  display: inline;
  font-family: var(--kc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.45;
}
.stat-card__value--text { font-size: 1.05rem; }
.stat-card__label {
  display: inline;
  margin-left: .3rem;
  font-family: var(--kc-font-display);
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  line-height: 1.45;
}
.stat-card__label small { color: var(--kc-on-dark-soft); font-size: .82em; }

/* CTA pill straddles the navy/white boundary */
.credentials__cta {
  text-align: center;
  transform: translateY(50%);
}

/* =========================================================
   8. ABOUT
   ========================================================= */
.about {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 2vw, 5rem);
  background: var(--kc-white);
}
/* ---- About photo: natural image, small card (reference) ---- */
.about__media {
  position: relative;
  width: 240px;
  max-width: 100%;
  margin: 0 auto 1.5rem;
}
.about__photo {
  width: 100%;
  height: auto;              /* natural proportions — no crop, no zoom */
  aspect-ratio: auto;
  object-fit: unset;
  border-radius: 16px;
  box-shadow: var(--kc-shadow-md);
}
.about__badge {
  position: absolute;
  left: auto;
  right: -40px;
  bottom: -20px;
  transform: none;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 8px 18px rgba(28, 36, 97, 0.22));
}

/* Big navy heading (mockup) */
.about__eyebrow {
  font-family: var(--kc-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--kc-ink);
  margin: 0 0 .3rem;
}
/* Italic "Meet Dr…" subtitle (mockup) */
.about__title {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--kc-indigo);
  margin-bottom: 1.4rem;
}
.about__title em { font-style: italic; color: var(--kc-red); font-weight: 600; }
.about__lead { color: var(--kc-text); }
.about__award { color: var(--kc-ink); font-weight: 600; }
.about__award strong { color: var(--kc-indigo); }

/* Dashed rule closing the section (mockup) */
.about__rule {
  border: none;
  border-top: 1.5px dashed var(--kc-border);
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  opacity: 1;
}

/* =========================================================
   9. SPECIALIZED SERVICES — plain items, red bars (mockup)
   ========================================================= */
.services { padding: clamp(1rem, 4vw, 3rem) 0; background: var(--kc-white); }
.services__heading { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin-bottom: clamp(2rem, 4vw, 3.2rem); }

.service-item {
  height: 100%;
  background: transparent;
  border: none;
  border-left: 3px solid var(--kc-red);
  border-radius: 0;
  padding: .15rem 1rem .15rem 1rem;
  box-shadow: none;
  transition: transform .28s var(--kc-ease), border-left-color .28s var(--kc-ease);
}
.service-item:hover {
  transform: translateY(-4px);
  border-left-color: var(--kc-indigo);
}
.service-item__title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--kc-ink);
  line-height: 1.3;
  margin: 0 0 .45rem;
}
.service-item__text {
  font-size: .86rem;
  color: var(--kc-text-soft);
  margin: 0;
  line-height: 1.55;
}
/* 5-up on very wide screens; incomplete rows centre themselves */
@media (min-width: 1200px) {
  .services__grid > [class*="col-"] { flex: 0 0 20%; max-width: 20%; }
}

/* =========================================================
   10. COMPREHENSIVE CARE — full-bleed photo band (mockup)
   ========================================================= */
.care {
  position: relative;
  background-color: #f2f2f5;
  background-image: url("../images/banner2.png");
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  min-height: clamp(420px, 46vw, 760px);
  display: flex;
  align-items: center;
}
.care::before {
  /* keeps the right-side text crisp whatever the photo does */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              rgba(242, 242, 245, 0) 45%,
              rgba(242, 242, 245, 0.55) 70%,
              rgba(242, 242, 245, 0.8) 100%);
  pointer-events: none;
}
.care > .container { position: relative; z-index: 1; width: 100%; }
.care__inner { max-width: 460px; margin-left: auto; }
.care__heading {
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
  text-align: right;
  margin: 0 0 1.7rem;
}
.care__list { margin: 0; }
.care__list li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
  padding: .42rem 0;
  border: none;
  font-family: var(--kc-font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--kc-ink);
  text-align: right;
  transition: color .2s var(--kc-ease), padding-right .25s var(--kc-ease);
}
.care__list li i { color: var(--kc-indigo); font-size: 1rem; flex-shrink: 0; }
.care__list li:hover { color: var(--kc-red); padding-right: .35rem; }
.care__list li:hover i { color: var(--kc-red); }

@media (max-width: 991.98px) {
  .care {
    background-position: center top;
    background-size: auto clamp(260px, 60vw, 380px);
    padding-top: clamp(280px, 64vw, 400px);
    min-height: auto;
  }
  .care::before {
    background: linear-gradient(180deg,
                rgba(242,242,245,0) 30%,
                rgba(242,242,245,0.9) 55%,
                #f2f2f5 70%);
  }
  .care__inner { margin-inline: auto; }
  .care__heading, .care__list li { text-align: center; justify-content: center; }
}

/* =========================================================
   11. WHY TRUST — flat soft-grey cards, navy buttons (mockup)
   ========================================================= */
.trust { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--kc-white); }
.trust__heading { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin-bottom: clamp(2rem, 4vw, 3rem); }

.trust-card {
  height: 100%;
  background: var(--kc-bg-soft);
  border: none;
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .3s var(--kc-ease), box-shadow .3s var(--kc-ease);
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--kc-shadow-md); }
.trust-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kc-ink);
  line-height: 1.3;
  margin: 0 0 .8rem;
}
.trust-card__text {
  font-size: .88rem;
  color: var(--kc-text-soft);
  margin: 0 0 1.4rem;
  flex-grow: 1;
}

/* =========================================================
   12. CONTACT / BOOKING — navy rounded panel (mockup)
   ========================================================= */
.contact {
  background: var(--kc-white);
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.75rem);
}
.contact__panel {
  background: linear-gradient(160deg, var(--kc-indigo) 0%, var(--kc-indigo-deep) 100%);
  color: var(--kc-on-dark);
  border-radius: var(--kc-radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}
.contact__name { font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 700; color: #fff; margin: 0 0 .25rem; }
.contact__role { font-family: var(--kc-font-display); font-weight: 500; color: var(--kc-on-dark-soft); margin: 0 0 1rem; }
.contact__tagline { color: var(--kc-on-dark-soft); margin-bottom: 1.4rem; max-width: 480px;  }

.contact__list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: rgba(255, 255, 255, 0.09);
  border: none;
  border-radius: 9px;
  transition: background-color .25s var(--kc-ease), transform .25s var(--kc-ease);
  padding: .6rem 1rem;
  margin-bottom: .7rem;
  max-width: 420px;
}
.contact__list li:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.contact__list a:hover { color: #fff; }
.contact__icon {
  display: grid; place-items: center;
  background: var(--kc-red);
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
   width: 34px; height: 34px; font-size: .9rem;
}

/* Booking card overhangs below the navy panel (mockup) */
.booking-card {
  background: #f1f1f4;
  border-radius: 20px;
  box-shadow: var(--kc-shadow-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transform: translateY(clamp(1.75rem, 4.5vw, 3rem));
  position: absolute;
  width: 90%;
}
.booking-card__title {
  font-weight: 700;
  color: var(--kc-indigo);
  line-height: 1.12;
  margin: 0 0 1.6rem;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  margin-bottom: 1.1rem;
}
.booking-form__field {  margin-bottom: .8rem; }
.booking-form .form-control {
  background: #e2e3e9;
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: var(--kc-ink);
  transition: border-color .2s var(--kc-ease), box-shadow .2s var(--kc-ease), background-color .2s var(--kc-ease);
  padding: .65rem 1rem;
  font-size: .92rem;
}
.booking-form .form-control::placeholder { color: var(--kc-text-soft); }
.booking-form .form-control:focus {
  background: #fff;
  border-color: var(--kc-indigo);
  box-shadow: 0 0 0 4px rgba(31, 36, 112, 0.12);
}
/* Navy pill submit (mockup) */
.booking-form__submit {
  background: var(--kc-indigo);
  color: #fff;
  border: none;
  border-radius: var(--kc-radius-pill);
  font-family: var(--kc-font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  box-shadow: 0 12px 26px rgba(31, 36, 112, 0.3);
  transition: transform .25s var(--kc-ease), box-shadow .25s var(--kc-ease), background-color .25s var(--kc-ease);
  padding: .7rem 1.8rem; font-size: .93rem;
}
.booking-form__submit:hover,
.booking-form__submit:focus-visible {
  background: var(--kc-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(223, 41, 53, 0.35);
}
.booking-form__success {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  background: rgba(43, 178, 76, 0.12);
  border: 1px solid rgba(43, 178, 76, 0.4);
  border-radius: 10px;
  color: var(--kc-green-dark);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

@media (max-width: 991.98px) {
  .booking-card { transform: translateY(clamp(1rem, 4vw, 2rem)); }
}

/* =========================================================
   13. FOOTER — stacked left-aligned lines (mockup)
   ========================================================= */
.site-footer { background: #fff; padding: 1.5rem 0 2rem; }
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding-left: clamp(1rem, 6vw, 5rem);
}
.site-footer__copy { margin: 0; font-size: .92rem; color: var(--kc-ink); }
.site-footer__links {
  font-family: var(--kc-font-display);
  font-weight: 500;
  font-size: .92rem;
  color: var(--kc-ink);
  display: flex; flex-wrap: wrap; gap: .9rem; align-items: center;
}
.site-footer__links a { color: var(--kc-ink); }
.site-footer__links a:hover { color: var(--kc-red); }
.site-footer__divider { color: var(--kc-border); }

@media (max-width: 575.98px) {
  .site-footer .container { align-items: center; text-align: center; }
}

/* =========================================================
   14. BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--kc-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 10px 24px rgba(223, 41, 53, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--kc-ease), transform .3s var(--kc-ease), background-color .25s var(--kc-ease);
  z-index: 1020;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--kc-red-dark); transform: translateY(-3px); }

/* =========================================================
   15. Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__ecg-path { stroke-dashoffset: 0; }
}