/* ========================================
   Baker's Acres Child Care — Styles
   Classic & Elegant | Plum + Amber
   ======================================== */

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

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

body {
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: color-mix(in srgb, #7B2D5B 80%, white);
  color: white;
}

/* ---- Utilities ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Section System ---- */
.section {
  padding: 6rem 0;
}

.section--light {
  background: color-mix(in srgb, #faf4f7 60%, white);
}

.section--plum {
  background: #7B2D5B;
  color: #faf4f7;
}

.section--amber {
  background: #D4A84B;
  color: #3d1429;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4A84B;
  margin-bottom: 1rem;
}

.section-eyebrow--light {
  color: color-mix(in srgb, #D4A84B 80%, white);
}

.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: #3d1429;
  margin-bottom: 1.25rem;
}

.section-heading--light {
  color: #faf4f7;
}

.section-subtitle {
  font-size: 1.1rem;
  color: color-mix(in srgb, #3d1429 70%, #7B2D5B);
  line-height: 1.7;
}

.section-subtitle--light {
  color: color-mix(in srgb, #faf4f7 80%, #7B2D5B);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background: #D4A84B;
  color: #3d1429;
  border: 2px solid #D4A84B;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #b8892e;
  border-color: #b8892e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, #D4A84B 30%, transparent);
}

.btn--ghost {
  background: transparent;
  color: #faf4f7;
  border: 2px solid color-mix(in srgb, #faf4f7 40%, transparent);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: #D4A84B;
  color: #D4A84B;
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 244, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, #7B2D5B 10%, transparent);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px color-mix(in srgb, #7B2D5B 10%, transparent);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #7B2D5B;
}

.nav__logo {
  color: #7B2D5B;
}

.nav__name {
  letter-spacing: 0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c1f40;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #D4A84B;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: #7B2D5B;
}

.nav__link--cta {
  background: #7B2D5B;
  color: #faf4f7 !important;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: #5c1f40;
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.nav__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #7B2D5B;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #3d1429 0%, #5c1f40 40%, #7B2D5B 100%);
  padding: 7rem 0 4rem;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, color-mix(in srgb, #D4A84B 15%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, color-mix(in srgb, #D4A84B 10%, transparent) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #D4A84B;
  margin-bottom: 1.5rem;
}

.hero__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #faf4f7;
  margin-bottom: 1.5rem;
}

.hero__body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, #faf4f7 80%, #7B2D5B);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: color-mix(in srgb, #faf4f7 75%, #D4A84B);
  letter-spacing: 0.04em;
}

.trust-item svg {
  color: #D4A84B;
  flex-shrink: 0;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  height: 780px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 32px 64px color-mix(in srgb, #3d1429 40%, transparent);
}

.hero__image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  border: 3px solid #D4A84B;
  border-radius: 8px;
  z-index: -1;
  opacity: 0.4;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 48px color-mix(in srgb, #7B2D5B 15%, transparent);
}

.about__content .section-eyebrow {
  margin-bottom: 0.75rem;
}

.about__content .section-heading {
  margin-bottom: 1.25rem;
}

.about__content p {
  color: color-mix(in srgb, #3d1429 75%, #7B2D5B);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, #7B2D5B 15%, transparent);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat__number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #7B2D5B;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #3d1429 65%, #7B2D5B);
}

.stat-divider {
  width: 1px;
  background: color-mix(in srgb, #7B2D5B 20%, transparent);
  align-self: stretch;
  margin: 0.5rem 0;
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 2.25rem;
  border: 1px solid color-mix(in srgb, #7B2D5B 8%, transparent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7B2D5B, #D4A84B);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px color-mix(in srgb, #7B2D5B 12%, transparent);
  border-color: color-mix(in srgb, #7B2D5B 15%, transparent);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: color-mix(in srgb, #7B2D5B 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7B2D5B;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.card:hover .card__icon {
  background: #7B2D5B;
  color: #faf4f7;
}

.card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #3d1429;
  margin-bottom: 0.75rem;
}

.card__body {
  font-size: 0.95rem;
  color: color-mix(in srgb, #3d1429 70%, #7B2D5B);
  line-height: 1.7;
}

/* ---- Why Us ---- */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.reason {
  padding: 2.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, white 8%, transparent);
  border: 1px solid color-mix(in srgb, white 12%, transparent);
  transition: all 0.3s ease;
}

.reason:hover {
  background: color-mix(in srgb, white 12%, transparent);
  transform: translateY(-2px);
}

.reason__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #D4A84B;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.reason__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #faf4f7;
  margin-bottom: 0.75rem;
}

.reason__body {
  font-size: 0.95rem;
  color: color-mix(in srgb, #faf4f7 70%, #D4A84B);
  line-height: 1.7;
}

/* ---- Community ---- */
.community__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.community__quote-wrap {
  position: relative;
  padding: 2.5rem;
  background: color-mix(in srgb, white 25%, transparent);
  border-radius: 8px;
}

.community__quote-mark {
  color: #3d1429;
  opacity: 0.2;
  margin-bottom: 1rem;
}

.community__quote-wrap blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: #3d1429;
  margin-bottom: 1.5rem;
}

.community__author {
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, #3d1429 60%, #7B2D5B);
}

.community__image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 48px color-mix(in srgb, #3d1429 20%, transparent);
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info .section-heading {
  margin-bottom: 1rem;
}

.contact__body {
  font-size: 1.05rem;
  color: color-mix(in srgb, #3d1429 70%, #7B2D5B);
  margin-bottom: 2.5rem;
}

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

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, #7B2D5B 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7B2D5B;
  flex-shrink: 0;
}

.contact-detail__label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: color-mix(in srgb, #3d1429 50%, #7B2D5B);
  margin-bottom: 0.25rem;
}

.contact-detail__value {
  display: block;
  font-size: 1rem;
  color: #3d1429;
  line-height: 1.5;
}

.contact-detail__link {
  color: #7B2D5B;
  transition: color 0.3s ease;
}

.contact-detail__link:hover {
  color: #D4A84B;
}

/* Form */
.contact-form-wrap {
  background: white;
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid color-mix(in srgb, #7B2D5B 10%, transparent);
  box-shadow: 0 8px 32px color-mix(in srgb, #7B2D5B 8%, transparent);
}

.contact-form__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #3d1429;
  margin-bottom: 2rem;
}

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

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

.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #5c1f40;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid color-mix(in srgb, #7B2D5B 20%, transparent);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9375rem;
  color: #3d1429;
  background: color-mix(in srgb, white 60%, #faf4f7);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: color-mix(in srgb, #7B2D5B 40%, transparent);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7B2D5B;
  box-shadow: 0 0 0 3px color-mix(in srgb, #7B2D5B 15%, transparent);
}

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

.contact-form__note {
  font-size: 0.8125rem;
  color: color-mix(in srgb, #7B2D5B 60%, transparent);
  margin-top: 1rem;
  text-align: center;
}

.contact-form__success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: color-mix(in srgb, #D4A84B 15%, transparent);
  border: 1px solid color-mix(in srgb, #D4A84B 30%, transparent);
  border-radius: 4px;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: #64431c;
}

.contact-form__success svg {
  color: #D4A84B;
  flex-shrink: 0;
}

/* ---- Map ---- */
.map-section {
  border-top: 4px solid #7B2D5B;
}

.map-section iframe {
  width: 100%;
  height: 360px;
  display: block;
}

/* ---- Footer ---- */
.footer {
  background: #3d1429;
  color: #faf4f7;
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #faf4f7;
  margin-bottom: 1rem;
}

.footer__logo-icon {
  color: #D4A84B;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: color-mix(in srgb, #faf4f7 60%, #7B2D5B);
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4A84B;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.9375rem;
  color: color-mix(in srgb, #faf4f7 65%, #7B2D5B);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #D4A84B;
}

.footer__address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: color-mix(in srgb, #faf4f7 65%, #7B2D5B);
}

.footer__link {
  color: #D4A84B;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #faf4f7;
}

.footer__bottom {
  border-top: 1px solid color-mix(in srgb, #faf4f7 10%, transparent);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: color-mix(in srgb, #faf4f7 45%, #7B2D5B);
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__grid {
    gap: 2.5rem;
  }

  .hero__image img {
    height: 560px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #faf4f7;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px color-mix(in srgb, #3d1429 20%, transparent);
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__menu.open .nav__link {
    font-size: 1rem;
  }

  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, #3d1429 60%, transparent);
    z-index: 99;
  }

  .nav__overlay.active {
    display: block;
  }

  /* Hero mobile */
  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__heading {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__image {
    order: -1;
  }

  .hero__image img {
    height: 400px;
  }

  .hero__image-accent {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  /* About mobile */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image-wrap img {
    height: 280px;
  }

  .about__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  /* Services mobile */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Why us mobile */
  .reasons__grid {
    grid-template-columns: 1fr;
  }

  /* Community mobile */
  .community__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .community__quote-wrap blockquote {
    font-size: 1.25rem;
  }

  .community__image img {
    height: 320px;
  }

  /* Contact mobile */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }

  .card {
    padding: 1.75rem;
  }

  .contact-form-wrap {
    padding: 1.75rem;
  }
}
