/* =========================================================
   Little Lantern Preschool — shared stylesheet
   Warm cream, rounded, playful. Fredoka display / Nunito body.
   ========================================================= */

:root {
  --cream:    #FFF8EE;
  --paper:    #FFFFFF;
  --ink:      #2B2118;
  --ink-soft: #6B5D4F;
  --sun:      #FFB020;
  --sun-soft: #FFE3B0;
  --sky:      #6EC6E8;
  --sky-soft: #DDF2FA;
  --leaf:     #7BC47F;
  --leaf-soft:#E1F5E2;
  --berry:    #FF7A9C;
  --berry-soft:#FFE3EA;
  --grape:    #B79CED;
  --grape-soft:#EFE7FC;
  --shadow:   rgba(43,33,24,0.10);
  --shadow-strong: rgba(43,33,24,0.18);

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22,1,.36,1);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: "Fredoka", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
svg { display: block; }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 999; transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Labels / eyebrow text ---------- */
.eyebrow {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--berry);
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* ---------- Underline squiggle ---------- */
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.1em;
  height: 0.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 8 0 16 8 T 32 8 T 48 8 T 64 8 T 80 8 T 96 8' fill='none' stroke='%23FFB020' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 32px 12px;
}
.squiggle.sky::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 8 0 16 8 T 32 8 T 48 8 T 64 8 T 80 8 T 96 8' fill='none' stroke='%236EC6E8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.squiggle.berry::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 8 0 16 8 T 32 8 T 48 8 T 64 8 T 80 8 T 96 8' fill='none' stroke='%23FF7A9C' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(255,176,32,0.35);
  animation: pulseGlow 3.2s ease-in-out infinite;
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(255,176,32,0.45);
}
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid rgba(43,33,24,0.15);
  box-shadow: 0 6px 16px var(--shadow);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px var(--shadow-strong);
}
.btn-small { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(255,176,32,0.35); }
  50% { box-shadow: 0 10px 30px rgba(255,176,32,0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43,33,24,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand svg { flex-shrink: 0; }
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.4rem 0.1rem;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--sun);
}
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(43,33,24,0.15);
  background: var(--paper);
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle::before { position: absolute; transform: translateY(-7px); }
.nav-toggle::after { position: absolute; transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.mobile-menu.is-open { max-height: 480px; }
.mobile-menu a {
  padding: 0.85rem 0.25rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(43,33,24,0.08);
}
.mobile-menu .btn { margin-top: 1rem; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- Section base ---------- */
main { display: block; }
section { position: relative; }
.section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.section-tight { padding: 3.5rem 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: rgba(255,248,238,0.85); }
.section-ink h2, .section-ink h3 { color: var(--cream); }
.section-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-header.left { text-align: left; margin-left: 0; }
.section-header h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }

/* ---------- Wavy divider ---------- */
.wave {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  height: 90px;
  line-height: 0;
  pointer-events: none;
}
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; transform: scaleY(-1); }
.wave svg { width: 100%; height: 100%; display: block; }

/* ---------- Blobs ---------- */
.blob {
  position: absolute;
  z-index: 0;
  opacity: 0.55;
  filter: blur(0px);
  border-radius: 42% 58% 63% 37% / 42% 44% 56% 58%;
  animation: floaty 7s ease-in-out infinite;
}
.blob.sun   { background: var(--sun-soft); }
.blob.sky   { background: var(--sky-soft); }
.blob.leaf  { background: var(--leaf-soft); }
.blob.berry { background: var(--berry-soft); }
.blob.grape { background: var(--grape-soft); }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .float { animation: none !important; }
}
.float { animation: floaty 6s ease-in-out infinite; }

/* ---------- Badges (stickers) ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid rgba(43,33,24,0.08);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: 0 8px 18px var(--shadow);
  transform: rotate(-2deg);
  transition: transform 0.3s var(--ease);
}
.badge:nth-child(2n) { transform: rotate(2deg); }
.badge:nth-child(3n) { transform: rotate(-1deg); }
.badge:hover { transform: rotate(0deg) translateY(-2px) scale(1.03); }
.badge svg { flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43,33,24,0.05);
  box-shadow: 0 10px 30px var(--shadow);
  padding: 2.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 18px 40px var(--shadow-strong);
}
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-circle.sun   { background: var(--sun-soft); color: #A85E00; }
.icon-circle.sky   { background: var(--sky-soft); color: #146A8A; }
.icon-circle.leaf  { background: var(--leaf-soft); color: #2E7D34; }
.icon-circle.berry { background: var(--berry-soft); color: #C23A5C; }
.icon-circle.grape { background: var(--grape-soft); color: #6F49B8; }

.card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 780px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.25rem;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-art {
  position: relative;
  min-height: 380px;
}
.hero-photo-main {
  position: relative;
  border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
  overflow: hidden;
  box-shadow: 0 26px 50px var(--shadow-strong);
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
}
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-secondary {
  position: absolute;
  bottom: -2rem; left: -1.5rem;
  width: 42%;
  border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: 0 18px 34px var(--shadow-strong);
  border: 6px solid var(--paper);
}
.hero-photo-secondary img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.hero-deco { position: absolute; z-index: 1; }

/* ---------- Feature trio icons row already covered by .card ---------- */

/* ---------- Program cards ---------- */
.program-card {
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  color: var(--ink);
  box-shadow: 0 10px 30px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid rgba(43,33,24,0.06);
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px var(--shadow-strong); }
.program-card.sun   { background: linear-gradient(160deg, var(--sun-soft), var(--paper) 60%); }
.program-card.sky   { background: linear-gradient(160deg, var(--sky-soft), var(--paper) 60%); }
.program-card.leaf  { background: linear-gradient(160deg, var(--leaf-soft), var(--paper) 60%); }
.program-card .meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem;
  color: var(--ink-soft);
}
.program-card ul.schedule { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.5rem 0 0.5rem; }
.program-card ul.schedule li { display: flex; gap: 0.75rem; font-size: 0.95rem; }
.program-card ul.schedule time { font-weight: 800; color: var(--ink); min-width: 68px; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    to bottom, var(--sun) 0 10px, transparent 10px 18px
  );
}
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--sun);
}
.timeline-item time {
  font-family: "Nunito"; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.78rem; color: var(--berry);
  display: block; margin-bottom: 0.2rem;
}
.timeline-item h4 { margin-bottom: 0.25rem; font-size: 1.15rem; }

/* ---------- Testimonial ---------- */
.testimonial-panel {
  background: var(--grape-soft);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.testimonial-quote {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--paper);
}
.testimonial-author .name { font-weight: 800; color: var(--ink); }
.testimonial-author .role { font-size: 0.88rem; color: var(--ink-soft); }
.testimonial-nav-dots { display: flex; gap: 0.5rem; margin-top: 1.75rem; }
.testimonial-nav-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(43,33,24,0.18); padding: 0;
}
.testimonial-nav-dots button[aria-selected="true"] { background: var(--berry); }

/* ---------- Stats ---------- */
.stat-tile {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 22px var(--shadow);
}
.stat-tile .num {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 2.8rem);
  color: var(--sun);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-tile.berry .num { color: var(--berry); }
.stat-tile.sky .num { color: var(--sky); }
.stat-tile.leaf .num { color: var(--leaf); }
.stat-tile .label {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.82rem; color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.6rem); }
.cta-band p { color: rgba(255,248,238,0.75); max-width: 480px; margin: 0 auto 1.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid rgba(43,33,24,0.08);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand p { max-width: 320px; }
.footer-col h4 {
  font-family: "Nunito"; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.85rem; color: var(--ink); margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(43,33,24,0.08);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: 0.88rem;
}
.social-row { display: flex; gap: 0.75rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid rgba(43,33,24,0.1);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.social-row a:hover { transform: translateY(-3px); background: var(--sun-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page-hero .lead { max-width: 620px; margin: 0 auto; font-size: 1.15rem; }

/* ---------- Team cards ---------- */
.team-card { text-align: left; }
.team-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 24px var(--shadow);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role { color: var(--berry); font-weight: 800; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

/* ---------- Values grid ---------- */
.value-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.value-item .icon-circle { flex-shrink: 0; margin-bottom: 0; width: 52px; height: 52px; }
.value-item h4 { margin-bottom: 0.35rem; font-size: 1.1rem; }

/* ---------- Environment gallery ---------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 780px) {
  .gallery-strip { grid-template-columns: repeat(4, 1fr); }
  .gallery-strip li:nth-child(1) { grid-row: span 2; }
}
.gallery-strip li {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow);
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }

/* ---------- Funded hours note ---------- */
.note-panel {
  background: var(--sky-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.note-panel .icon-circle { background: var(--paper); }

/* ---------- Form (visit page) ---------- */
.visit-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 980px) {
  .visit-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px var(--shadow);
  padding: 2.5rem;
  position: relative;
}
.form-row { display: grid; gap: 1.4rem; margin-bottom: 1.4rem; }
@media (min-width: 620px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field .req { color: var(--berry); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid rgba(43,33,24,0.15);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(110,198,232,0.25);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--berry); background: var(--berry-soft); }
.field .error-msg {
  color: #C23A5C;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.4rem;
  display: none;
}
.field.has-error .error-msg { display: block; }
.form-footnote { font-size: 0.85rem; margin-top: 1rem; color: var(--ink-soft); }

.success-panel {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.success-panel.is-visible { display: block; }
.success-panel .icon-circle { margin: 0 auto 1.25rem; width: 88px; height: 88px; }
.success-panel h3 { font-size: 1.7rem; }

.contact-card { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row h4 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px dashed rgba(43,33,24,0.15); font-size: 0.95rem; }
.hours-table td:first-child { font-weight: 800; color: var(--ink); }
.hours-table td:last-child { text-align: right; }
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 26px var(--shadow);
  border: none;
  width: 100%;
  height: 280px;
}

/* ---------- Confetti ---------- */
.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  width: 10px; height: 16px;
  opacity: 0.9;
  animation: confetti-fall linear forwards;
  border-radius: 2px;
}
@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0.4; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
