/* =========================================================
   Lovely Child Home Daycare — Stylesheet
   Variantage (VA) — variables per docs/daycare.md
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Protest+Riot&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #083F9B;
  --secondary: #FFD500;
  --accent: #A8DDEA;
  --white: #ffffff;
  --ink: #1B2A4A;
  --ink-soft: #55637F;
  --coral: #FF6B6B;
  --surface: #F7FAFC;
  --charcoal: #2B2B2B;

  --font-display: 'Protest Riot', cursive;
  --font-body: 'Poppins', sans-serif;

  --container-width: 1400px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 12px 30px rgba(8, 63, 155, 0.12);
  --shadow-card: 0 8px 20px rgba(8, 63, 155, 0.08);

  --section-y: clamp(3rem, 6vw, 6rem);
}

/* =========================================================
   Reset
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 0.6em;
}

/* Protest Riot is reserved for the hero H1 and major section titles (h2) */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* All remaining headings use Poppins */
h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 6vw, 55px); }
h2 { font-size: clamp(1.9rem, 5.5vw, 55px); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--charcoal); font-size: 1.125rem; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section {
  padding-block: var(--section-y);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading .eyebrow,
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-heading h2::after,
.underline-accent::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--secondary);
  border-radius: 4px;
  margin: 0.75rem auto 0;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}



/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(255, 213, 0, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffe040;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.btn-block { width: 100%; }

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(8, 63, 155, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.logo img {
  height: 68px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-nav a {
  font-weight: 600;
  color: var(--primary);
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  background: linear-gradient(180deg, var(--accent) 0%, rgba(168, 221, 234, 0.25) 60%, var(--white) 100%);
  overflow: hidden;
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-text {
  font-size: 1.2rem;
  max-width: 52ch;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1.25rem 0 1.75rem;
}

.hero-highlights li {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  background: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-ctas .btn-secondary {
  color: var(--primary);
  border-color: var(--primary);
}

.hero-ctas .btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-media {
  position: relative;
}

.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-quote-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 260px;
  margin: 0;
}

.hero-quote-card p {
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.hero-quote-card cite {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* =========================================================
   Cards — Why Families Choose Us
   ========================================================= */

.why-choose-us {
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid #DCD9F2;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.feature-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 1rem;
  margin: 0;
}

/* =========================================================
   Summer Enrollment Banner
   ========================================================= */

.enrollment-banner {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
  padding-block: clamp(4.5rem, 11vw, 9rem);
}

.enrollment-inner {
  position: relative;
  z-index: 1;
}

.enrollment-banner h2 {
  color: var(--secondary);
}

.enrollment-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.6rem, 4.5vw, 2.0rem);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.sun-graphic {
  position: absolute;
  top: 30px;
  right: 4%;
  width: 150px;
  animation: float 6s ease-in-out infinite;
}

/* =========================================================
   Section Dividers (inline SVG, no images/JS)
   ========================================================= */

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(40px, 8vw, 120px);
}

/* Summer Enrollment (blue) -> About (white) */
.wave-divider--blue-to-white {
  background: var(--primary);
  margin-top: -1px;
}

.wave-divider--blue-to-white .wave-divider__back {
  fill: rgba(255, 255, 255, 0.3);
}

.wave-divider--blue-to-white .wave-divider__front {
  fill: var(--white);
}

/* About (white) -> A Typical Day (white) — soft tonal break */
.wave-divider--soft {
  background: var(--white);
  margin-top: -1px;
}

.wave-divider--soft .wave-divider__back {
  fill: rgba(168, 221, 234, 0.3);
}

.wave-divider--soft .wave-divider__front {
  fill: var(--surface);
}

/* =========================================================
   About
   ========================================================= */

/*.about {background-color: #F2FBFF; }*/

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.heart-accent {
  position: absolute;
  width: 48px;
  bottom: -18px;
  right: -18px;
  animation: bounce 3s ease-in-out infinite;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-columns h3 {
  font-size: 1.35rem;
}

.about-columns p {
  font-size: 1.05rem;
}

/* =========================================================
   Learning Through Play (skill pills)
   ========================================================= */

.learning {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.learning .container {
  position: relative;
  z-index: 1;
}

.learning-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.learning-decor-1 {
  width: 42px;
  top: 12%;
  left: 8%;
  animation: bounce 4s ease-in-out infinite;
}

.learning-decor-2 {
  width: 30px;
  top: 65%;
  right: 10%;
  animation: bounce 5s ease-in-out infinite;
  animation-delay: 1s;
}

.learning-decor-3 {
  width: 34px;
  bottom: 8%;
  left: 16%;
  animation: bounce 4.5s ease-in-out infinite;
  animation-delay: 2s;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.skill-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  animation: pillFloat 4s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.skill-pill:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.05);
  background: var(--secondary);
  box-shadow: var(--shadow-card);
}

.skill-pill:nth-child(2n) { animation-delay: 0.3s; }
.skill-pill:nth-child(3n) { animation-delay: 0.6s; }
.skill-pill:nth-child(4n) { animation-delay: 0.9s; }

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =========================================================
   Daily Routine (timeline)
   ========================================================= */

.routine {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Explicit exception to the global Protest Riot rule for major section titles */
.routine .section-heading {
  text-align: left;
  margin-inline: 0;
}

.routine .section-heading h2 {
  font-family: var(--font-body);
  font-weight: 700;
}

.routine .section-heading h2::after {
  margin: 0.75rem 0 0;
}

.routine-doodle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.routine-doodle-left {
  width: 220px;
  top: -30px;
  left: -60px;
  animation: float 9s ease-in-out infinite;
}

.routine-doodle-right {
  width: 200px;
  bottom: -50px;
  right: -60px;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1.5s;
}

.routine-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  counter-reset: step;
  position: relative;
  z-index: 1;
}

.routine-step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.routine-step .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 0 0.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
}

.routine-step h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.routine-step p {
  font-size: 1rem;
  margin: 0;
}

/* =========================================================
   Testimonials
   ========================================================= */

.testimonials {
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-blob {
  position: absolute;
  width: 260px;
  z-index: 0;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.testimonial-blob-left {
  top: -40px;
  left: -80px;
}

.testimonial-blob-right {
  bottom: -60px;
  right: -70px;
  animation-delay: 2s;
}

.testimonial-track {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
}

.testimonial-slides {
  display: grid;
}

.testimonial-slide {
  grid-column: 1;
  grid-row: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-slide p {
  font-size: 1.2rem;
  color: var(--charcoal);
}

.testimonial-slide cite {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-top: 1rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  background: var(--coral);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  cursor: pointer;
  padding: 0;
}

.testimonial-dots button.is-active {
  background: var(--secondary);
  width: 24px;
  border-radius: 999px;
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  background: #FFF9E6;
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 1 / 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-thumb {
  cursor: pointer;
}

.gallery-thumb:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

/* =========================================================
   Lightbox
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 20, 30, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: var(--secondary);
  color: var(--primary);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 640px) {
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  .lightbox-image { max-height: 70vh; }
}

.gallery-doodle {
    position: absolute;
    width: 220px;
    bottom: -20px;
    right: 8%;
    animation: float 3s ease-in-out infinite;
    z-index: 9999;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.faq-bg {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 520px;
  opacity: 0.7;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  position: relative;
  z-index: 1;
}

.faq-item {
  border-bottom: 1px solid rgba(8, 63, 155, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
  padding: 1.1rem 0;
  cursor: pointer;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.is-open .faq-question .icon {
  background: var(--secondary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  font-size: 1.05rem;
  padding-bottom: 1.1rem;
  margin: 0;
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-info {
  background: var(--primary);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
}

.contact-info h2 {
  color: var(--white);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.5rem 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
}

.contact-details .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .house-photo {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.contact-info .house-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(8, 63, 155, 0.18);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* =========================================================
   Final CTA
   ========================================================= */

.final-cta {
  background: var(--secondary);
  text-align: center;
}

.final-cta h2 {
  color: var(--primary);
}

.final-cta p {
  color: var(--primary);
  opacity: 0.85;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.final-cta .btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(8, 63, 155, 0.25);
}

.final-cta .btn-primary:hover { background: #062f76; }

.final-cta .btn-secondary {
  color: var(--primary);
  border-color: var(--primary);
}

.final-cta .btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.final-cta-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
}

.final-cta-tags span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--secondary);
  color: var(--primary);
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: #ffffff;
  font-size:0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* =========================================================
   Decorative animations
   ========================================================= */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

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

.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .routine-timeline { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media { order: -1; }

  .hero-quote-card {
    position: static;
    margin-top: -2.5rem;
    margin-inline: 1rem;
  }

  .nav-toggle { display: flex; }

  .logo img { height: 32px; }

  .header-actions { gap: 0.6rem; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(8, 63, 155, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.is-open { max-height: 400px; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .main-nav li { width: 100%; }

  .main-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .routine-timeline,
  .gallery-grid,
  .footer-grid,
  .form-row,
  .about-columns {
    grid-template-columns: 1fr;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  section { padding-block: 2.5rem; }

  .hero-ctas,
  .final-cta-buttons { flex-direction: column; align-items: stretch; }

  .contact-grid { border-radius: var(--radius-md); }
}
