/* ============================================
   Leap Ahead Tutoring — Spring Green Fun Theme
   ============================================ */

:root {
  --green-900: #1b5e20;
  --green-800: #2e7d32;
  --green-700: #388e3c;
  --green-600: #43a047;
  --green-500: #66bb6a;
  --green-400: #81c784;
  --green-300: #a5d6a7;
  --green-200: #c8e6c9;
  --green-100: #e8f5e9;
  --green-50: #f1f8f2;

  --spring: #7cb342;
  --spring-bright: #8bc34a;
  --spring-lime: #aed581;
  --spring-soft: #dcedc8;
  --mint: #b2dfdb;

  --yellow: #ffc107;
  --yellow-soft: #fff8e1;
  --coral: #ff8a65;
  --cream: #fffcf5;
  --ink: #1a2e1c;
  --ink-soft: #3d5340;
  --muted: #5f7462;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(46, 125, 50, 0.12);
  --shadow-lg: 0 20px 60px rgba(27, 94, 32, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--spring-soft), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, var(--green-100), transparent 45%),
    var(--cream);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-900);
}

/* Floating decorative shapes */
.bg-shapes {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.12;
  color: var(--spring);
  font-size: 1.5rem;
  animation: floaty 12s ease-in-out infinite;
}

.shape-1 { top: 18%; left: 6%; animation-delay: 0s; color: var(--yellow); }
.shape-2 { top: 40%; right: 8%; animation-delay: -3s; font-size: 1rem; }
.shape-3 { bottom: 22%; left: 12%; animation-delay: -6s; color: var(--coral); }
.shape-4 { top: 70%; right: 18%; animation-delay: -9s; font-size: 0.9rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(12deg); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--green-200);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.06);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--spring-bright);
  box-shadow: 0 4px 14px rgba(124, 179, 66, 0.35);
  background: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-800);
}

.brand-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--spring);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.nav-link:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.nav-link.active {
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 600;
}

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--spring), var(--green-600));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(124, 179, 66, 0.4);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--green-800);
  border-radius: 3px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Panels — tab-style sections (all visible for scroll; nav highlights active) */
main {
  position: relative;
  z-index: 1;
}

.panel {
  padding: 2.5rem 1.25rem 3.5rem;
}

.section-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--spring);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.2;
}

.section-lead {
  max-width: 560px;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-lead a {
  font-weight: 700;
  word-break: break-word;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--spring-bright), var(--green-600));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 179, 66, 0.5);
}

.btn-ghost {
  background: var(--white);
  color: var(--green-800);
  border: 2px solid var(--green-300);
}

.btn-ghost:hover {
  background: var(--green-50);
  color: var(--green-900);
  border-color: var(--spring);
}

.btn-block {
  width: 100%;
}

/* HOME / HERO */
.panel-home {
  padding-top: 1.5rem;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2.5rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--spring);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(120deg, var(--spring-bright), var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-pills li {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  background: var(--white);
  border: 2px solid var(--green-200);
  border-radius: 999px;
  color: var(--green-800);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.06);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-burst {
  position: relative;
  padding: 1.25rem;
}

.logo-burst::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--spring-soft) 0%, transparent 70%);
  animation: pulse-soft 3s ease-in-out infinite;
  z-index: 0;
}

.logo-burst::after {
  content: "✦";
  position: absolute;
  top: 8%;
  right: 10%;
  font-size: 1.5rem;
  color: var(--yellow);
  animation: twinkle 2s ease-in-out infinite;
  z-index: 2;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(320px, 85vw);
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85) rotate(15deg); }
}

/* Quick facts */
.quick-facts {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  text-align: center;
  border: 2px solid var(--green-100);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.fact-card:hover {
  transform: translateY(-4px);
  border-color: var(--spring-lime);
}

.fact-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.fact-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-800);
  margin-bottom: 0.25rem;
}

.fact-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ABOUT */
.panel-about {
  background: linear-gradient(180deg, transparent, var(--green-50) 20%, var(--green-50) 80%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid var(--green-200);
  box-shadow: var(--shadow);
}

.about-intro {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.about-photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}

.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--white);
  box-shadow:
    0 0 0 4px var(--spring-bright),
    0 10px 28px rgba(124, 179, 66, 0.35);
  position: relative;
  z-index: 1;
  background: var(--green-100);
}

.about-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--spring-lime);
  animation: spin-slow 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-intro-text {
  flex: 1;
  min-width: 160px;
}

.about-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--spring-soft), var(--green-200));
  color: var(--green-900);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.about-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.about-role {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0 !important;
}

.about-story p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  color: var(--green-800) !important;
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 0.5rem;
  margin-bottom: 0 !important;
}

.about-details {
  display: grid;
  gap: 0.75rem;
}

.detail-tile {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  border: 2px solid var(--green-100);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.2s, transform 0.15s;
}

.detail-tile:hover {
  border-color: var(--spring);
  transform: translateX(4px);
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spring);
}

.detail-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-900);
  font-size: 1.05rem;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 2px solid var(--green-100);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-card.featured {
  border-color: var(--spring);
  background: linear-gradient(160deg, var(--white) 60%, var(--green-50));
}

.service-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-800);
  margin-bottom: 0.85rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  color: var(--ink-soft);
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--spring);
  font-weight: 800;
}

.esa-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--green-700), var(--spring));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-lg);
}

.esa-banner h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.esa-banner p {
  opacity: 0.95;
  max-width: 32rem;
}

.esa-banner .btn-primary {
  background: var(--white);
  color: var(--green-800);
  box-shadow: none;
}

.esa-banner .btn-primary:hover {
  background: var(--yellow-soft);
  color: var(--green-900);
}

/* CREDENTIALS */
.panel-credentials {
  background: linear-gradient(180deg, transparent, rgba(220, 237, 200, 0.45) 30%, transparent);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.cred-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 2px solid var(--green-100);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.cred-card:hover {
  border-color: var(--spring-lime);
  transform: translateY(-3px);
}

.cred-card.wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  background: linear-gradient(90deg, var(--white), var(--green-50));
}

.cred-card.wide .cred-icon {
  margin-bottom: 0;
}

.cred-card.wide h3,
.cred-card.wide p {
  flex: 1 1 200px;
}

.cred-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.cred-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-800);
  margin-bottom: 0.4rem;
}

.cred-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* PAYMENTS */
.panel-payments {
  background: linear-gradient(180deg, transparent, #f3e5f5 12%, var(--green-50) 55%, transparent);
}

.payments-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.payment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid var(--green-100);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.payment-card.zelle-card {
  border-color: #ce93d8;
  background: linear-gradient(165deg, #faf5ff 0%, var(--white) 45%);
}

.payment-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--green-900);
  margin: 0.5rem 0 0.5rem;
}

.payment-card-top p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.payment-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.zelle-badge {
  background: #6c1cd1;
  color: #fff;
}

.esa-badge {
  background: linear-gradient(135deg, var(--spring), var(--green-600));
  color: #fff;
}

.zelle-qr-box {
  text-align: center;
  background: var(--white);
  border: 2px dashed #ce93d8;
  border-radius: var(--radius);
  padding: 1.25rem 1rem 1.35rem;
}

.zelle-scan-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #6c1cd1;
  margin-bottom: 0.75rem;
}

.zelle-qr {
  width: min(260px, 70vw);
  height: auto;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.zelle-payee-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.zelle-payee-email {
  display: inline-block;
  font-weight: 700;
  color: #6c1cd1;
  margin-top: 0.15rem;
  word-break: break-word;
}

.zelle-hint {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.payment-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.payment-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.payment-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--spring);
  font-weight: 800;
}

.payment-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

/* STUDENT INTAKE */
.panel-intake {
  background: linear-gradient(180deg, transparent, var(--green-50) 15%, var(--spring-soft) 50%, var(--green-50) 85%, transparent);
  padding-bottom: 3.5rem;
}

.intake-lead {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.intake-invite {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.intake-invite-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid var(--spring);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.intake-invite-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.intake-invite-copy h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-900);
  margin-bottom: 0.5rem;
}

.intake-invite-copy p {
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}

.intake-perks {
  list-style: none;
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.intake-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.intake-perks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--spring-soft);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.intake-open-btn {
  margin-top: 0.25rem;
}

.intake-form-frame-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--green-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 720px;
  display: flex;
  flex-direction: column;
}

.intake-form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-800);
  padding: 0.85rem 1.15rem;
  background: linear-gradient(90deg, var(--green-50), var(--yellow-soft));
  border-bottom: 2px solid var(--green-100);
}

.intake-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--spring);
  box-shadow: 0 0 0 0 rgba(124, 179, 66, 0.5);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(124, 179, 66, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(124, 179, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 179, 66, 0); }
}

.intake-iframe {
  width: 100%;
  flex: 1;
  min-height: 780px;
  border: 0;
  background: var(--white);
}

/* CONTACT */
.panel-contact {
  padding-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 2px solid var(--green-200);
  box-shadow: var(--shadow);
}

.contact-card.soft {
  background: var(--green-50);
  border-color: var(--green-100);
}

.contact-card h3 {
  font-family: var(--font-display);
  color: var(--green-800);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--green-100);
  color: inherit;
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-row:not(.static):hover .contact-row-value {
  color: var(--green-700);
  text-decoration: underline;
}

.contact-row-icon {
  font-size: 1.25rem;
  line-height: 1.4;
}

.contact-row strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--spring);
  font-weight: 800;
}

.contact-row-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  word-break: break-word;
}

.tips-list {
  list-style: none;
}

.tips-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
}

.tips-list li::before {
  content: "🐸";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid var(--green-200);
  box-shadow: var(--shadow-lg);
}

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

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

.form-row label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-800);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--green-200);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--spring);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.2);
}

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

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  background: var(--green-100);
  color: var(--green-900);
  border: 2px solid var(--green-300);
}

.form-status.error {
  background: #ffebee;
  color: #b71c1c;
  border: 2px solid #ef9a9a;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  color: var(--green-100);
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--spring-lime);
  object-fit: cover;
  background: var(--white);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--spring-lime);
  font-weight: 700;
  font-family: var(--font-display);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 2px solid var(--spring);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  animation: slide-in 0.35s ease;
}

.toast[hidden] {
  display: none;
}

.toast-icon {
  font-size: 1.5rem;
}

.toast strong {
  font-family: var(--font-display);
  color: var(--green-800);
  display: block;
}

.toast p {
  font-size: 0.9rem;
  color: var(--muted);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  margin-left: auto;
}

@keyframes slide-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-pills {
    justify-content: center;
  }

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

  .about-grid,
  .contact-grid,
  .intake-invite,
  .payments-grid {
    grid-template-columns: 1fr;
  }

  .intake-invite-card {
    position: static;
  }

  .intake-iframe {
    min-height: 900px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cred-grid {
    grid-template-columns: 1fr;
  }

  .cred-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--green-200);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

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

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

@media (max-width: 480px) {
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .brand-sub {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shape,
  .logo-burst::before,
  .logo-burst::after,
  .about-photo-ring,
  .intake-pulse {
    animation: none;
  }
}

@media (max-width: 480px) {
  .about-intro {
    flex-direction: column;
    text-align: center;
  }

  .about-intro-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
