/* Casa Infantil Montessori: calm and editorial, like a prepared classroom.
   Cream paper, deep forest green for text and buttons, a classic serif for headings,
   thin tan rules, and the logo's Four Roots colors (green, gold, red, blue) as accents only. */

:root {
  --paper: #f8f4ec;
  --paper-2: #f0e9db;
  --white: #fffdf9;
  --forest: #24392f;
  --forest-2: #30493d;
  --forest-ink: #1c2b24;
  --text: #36403b;
  --muted: #5d6762;
  --tan: #a98652;
  --tan-200: #e2d5bd;
  --line: #ddd3c1;

  /* Four Roots, from the logo ring (deepened slightly so text on them reads well). */
  --connection: #5b8f3b;
  --purpose: #d29b22;
  --community: #c2463a;
  --growth: #3d72ab;

  --danger: #b42318;

  --radius: 4px;
  --shadow: 0 1px 2px rgb(36 57 47 / 0.05), 0 12px 32px rgb(36 57 47 / 0.08);
  --container: 1180px;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
}

h1, h2, h3, h4 { color: var(--forest-ink); margin: 0 0 0.55em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3, .h3 { font-family: var(--font); font-size: 1.12rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.h3 { margin-top: 1.6em; }
p { margin: 0 0 1em; }
a { color: var(--forest); text-decoration-color: var(--tan); text-underline-offset: 3px; }
a:hover { color: var(--community); }
img { max-width: 100%; height: auto; }
.center { text-align: center; }

:focus-visible { outline: 2px solid var(--growth); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  padding: 10px 16px; background: var(--forest); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---- Top bar & header ---- */
.top-bar { background: var(--forest); color: #e8e1d2; font-size: 0.9rem; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; flex-wrap: wrap; }
.top-inner p { margin: 0; }
.top-phone a { color: var(--white); font-weight: 600; text-decoration: none; letter-spacing: 0.02em; }

/* ---- Campus switch: one site, two campuses (html[data-loc] picks which copy shows) ---- */
html[data-loc='east'] [data-for='central'],
html[data-loc='central'] [data-for='east'] { display: none !important; }

.loc-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.loc-label { font-weight: 600; margin-right: 4px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; opacity: 0.85; }
.loc-switch button {
  font: inherit; font-weight: 600; cursor: pointer; padding: 3px 14px; border-radius: var(--radius);
  border: 1px solid rgb(232 225 210 / 0.45); background: transparent; color: #e8e1d2;
}
.loc-switch button:hover { border-color: var(--white); color: var(--white); }
.loc-switch button[aria-pressed='true'] { background: var(--paper); border-color: var(--paper); color: var(--forest-ink); }
.loc-switch button:focus-visible { outline: 2px solid var(--purpose); outline-offset: 2px; }
.no-js .loc-switch { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(248 244 236 / 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 82px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; text-decoration: none; }
.logo-mark { display: block; width: 47px; height: auto; flex: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-main { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-ink); letter-spacing: -0.005em; }
.brand-sub { font-family: var(--font-display); font-style: italic; font-size: 0.98rem; color: var(--tan); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { display: block; padding: 8px 12px; color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav ul a:hover { color: var(--forest-ink); border-bottom-color: var(--tan); }
.site-nav ul a[aria-current='page'] { color: var(--forest-ink); border-bottom-color: var(--forest); }
.site-nav .lang-switch { padding: 8px 12px; color: var(--muted); font-weight: 500; text-decoration: none; font-size: 0.95rem; }
.site-nav .lang-switch:hover { color: var(--forest-ink); }
.site-nav .button-small { margin-left: 8px; }

.menu-toggle {
  display: none; font: inherit; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--forest);
  background: transparent; color: var(--forest);
}

@media (max-width: 1080px) {
  .header-inner { min-height: 70px; padding-top: 8px; padding-bottom: 8px; }
  .js .menu-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 18px; flex-direction: column; align-items: flex-start; }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; width: 100%; }
  .site-nav ul a { padding: 10px 0; border-bottom-color: var(--line); }
  .site-nav .lang-switch { padding-left: 0; }
  .site-nav .button-small { margin: 8px 0 0; }
  .no-js .site-nav { width: 100%; flex-wrap: wrap; padding-bottom: 12px; }
  .no-js .site-nav ul { flex-direction: row; }
}

/* ---- Buttons & links ---- */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 26px; border: 1px solid var(--forest); border-radius: var(--radius);
  background: var(--forest); color: var(--white);
  font: inherit; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.button:hover { background: var(--forest-2); border-color: var(--forest-2); color: var(--white); }
.button:disabled { opacity: 0.7; cursor: progress; }
.button-small { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.button-secondary { background: transparent; color: var(--forest); }
.button-secondary:hover { background: var(--forest); color: var(--white); }
.button-light { background: var(--paper); border-color: var(--paper); color: var(--forest-ink); }
.button-light:hover { background: var(--white); border-color: var(--white); color: var(--forest-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-question { margin: 18px 0 0; color: var(--muted); }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--forest); border-bottom: 1px solid var(--tan); padding-bottom: 2px; }
.text-link::after { content: '→'; transition: transform 0.15s; }
.text-link:hover { color: var(--forest-ink); }
.text-link:hover::after { transform: translateX(3px); }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-top { padding-top: 16px; }
.section-tint { background: var(--paper-2); }
.lead { font-size: 1.22rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  color: var(--tan); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem;
}
.eyebrow .sprig { width: 36px; height: 15px; flex: none; color: var(--connection); }
.ornament { margin: 0 0 6px; }
.ornament .sprig { width: 64px; height: 26px; color: var(--connection); }
.note { padding: 14px 18px; border-left: 3px solid var(--tan); background: var(--white); color: var(--text); margin: 24px 0; }
.procare-box { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.procare-box h2 { margin: 0 0 8px; }
.procare-box p { margin: 0 0 10px; color: var(--muted); }
.small-note { font-size: 0.95rem; color: var(--muted); max-width: 62ch; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .lead { margin-bottom: 0; }

/* ---- Hero ---- */
.hero { padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 12ch; }
.hero-figure { margin: 0; position: relative; isolation: isolate; }
.hero-figure > .branch { position: absolute; left: -150px; bottom: 50px; width: 280px; color: var(--connection); opacity: 0.4; z-index: -1; transform: scaleX(-1); }
@media (max-width: 860px) { .hero-figure > .branch { display: none; } }
.hero-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% center; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-figure figcaption {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px;
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--tan);
}
.hero-figure figcaption .sprig { width: 36px; height: 15px; color: var(--connection); }

.facts-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.facts > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--forest-ink); }
.fact-seal { display: inline-flex; align-items: center; gap: 10px; }
.fact-seal img { width: 40px; height: 40px; }
.accredited { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.accredited img { flex: none; width: 88px; height: 88px; }

.page-header { position: relative; overflow: hidden; padding: 72px 0 32px; }
.page-header .branch { position: absolute; right: max(24px, calc(50% - 560px)); top: 40px; width: 320px; color: var(--connection); opacity: 0.22; }
@media (max-width: 760px) { .page-header .branch { width: 180px; top: 16px; right: -30px; opacity: 0.14; } }
.page-header .lead { font-size: 1.3rem; }
.big-phone { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0 0; }
.big-phone a { text-decoration: none; }

/* ---- Layout helpers ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-form { grid-template-columns: 1fr 1.15fr; }
.split-photo { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.split-photo-right { grid-template-columns: 1.3fr 0.7fr; align-items: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card > :last-child { margin-bottom: 0; }

/* Crops lean toward the top: in these photos the children's faces sit in the upper part. */
.photo-frame { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; object-position: center 20%; box-shadow: var(--shadow); }
.split-photo .photo-frame { aspect-ratio: 4 / 5; }
.panorama { aspect-ratio: 1400 / 560; object-position: center 60%; }

/* ---- Four Roots: the tree and its roots, one color per root ---- */
.roots-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.rooted-tree { display: block; width: 100%; max-width: 460px; height: auto; justify-self: center; }
.motto { max-width: 24ch; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.roots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 36px; margin-top: 36px; }
.root { padding-top: 22px; border-top: 3px solid var(--connection); }
.root-purpose { border-top-color: var(--purpose); }
.root-community { border-top-color: var(--community); }
.root-growth { border-top-color: var(--growth); }
.root h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; margin-bottom: 0.4em; }
.root p { color: var(--muted); margin: 0; }

/* ---- Programs ---- */
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.program { display: flex; flex-direction: column; }
.program-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); margin-bottom: 18px; }
.program-level { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 2px; font-family: var(--font-display); font-style: italic; color: var(--tan); font-size: 1.05rem; }
.stage { width: 34px; height: 34px; flex: none; }
.program h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 4px; }
.program-ages { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.program-campus { font-size: 0.92rem; font-style: italic; font-family: var(--font-display); color: var(--forest-2); margin-bottom: 12px; }
.program > p:last-child { margin-bottom: 0; }
.program:nth-child(1) .program-photo { border-bottom: 3px solid var(--connection); }
.program:nth-child(2) .program-photo { border-bottom: 3px solid var(--purpose); }
.program:nth-child(3) .program-photo { border-bottom: 3px solid var(--community); }
.program:nth-child(4) .program-photo { border-bottom: 3px solid var(--growth); }
.program-grid-full { gap: 36px 28px; }

.feature-list { margin: 28px 0 0; display: grid; gap: 18px; }
.feature-list > div { padding-left: 20px; border-left: 2px solid var(--tan-200); }
.feature-list dt { font-weight: 600; color: var(--forest-ink); }
.feature-list dd { margin: 2px 0 0; color: var(--muted); }

.extras { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.extras li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.2rem; color: var(--forest-ink); }
.extras-photo { aspect-ratio: 4 / 3; object-position: center 35%; }

/* ---- Numbered lists (What makes CIM unique, principles) ---- */
.numbered { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 40px 32px; }
.numbered-5 { grid-template-columns: repeat(5, 1fr); }
.numbered-3 { grid-template-columns: repeat(3, 1fr); }
.numbered li { border-top: 1px solid var(--forest); padding-top: 18px; }
.numbered .num { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--tan); line-height: 1; margin-bottom: 14px; }
.numbered p { color: var(--muted); margin: 0; }

/* ---- Dark bands: a faint branch grows in from the corner ---- */
.assist, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.assist > .branch, .cta-band > .branch { position: absolute; right: -20px; bottom: -36px; width: 380px; color: var(--white); opacity: 0.12; z-index: -1; }

/* ---- Financial assistance ---- */
.assist {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center;
  padding: 56px; background: var(--forest); color: #e8e1d2; border-radius: var(--radius);
}
.assist h2 { color: var(--white); }
.assist .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14C2 6 7 2 14 2C14 9 10 14 2 14Z' fill='%23d29b22'/%3E%3Cpath d='M3 13L10 6' stroke='%23f8f4ec' stroke-width='1'/%3E%3C/svg%3E"); }
.assist-side { padding-left: 40px; border-left: 1px solid rgb(255 255 255 / 0.18); }
.assist-side p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--white); }

.check-list { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0.4em; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14C2 6 7 2 14 2C14 9 10 14 2 14Z' fill='%235b8f3b'/%3E%3Cpath d='M3 13L10 6' stroke='%23f8f4ec' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat; }

.ruled-list { margin: 0; padding: 0; list-style: none; counter-reset: day; }
.ruled-list li { counter-increment: day; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ruled-list li::before { content: counter(day, decimal-leading-zero); font-family: var(--font-display); color: var(--tan); }

/* ---- Montessori page ---- */
.pull-quote { margin: 56px auto 0; max-width: 760px; text-align: center; }
.pull-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; color: var(--forest-ink); margin: 0 0 12px; }
.pull-quote footer { color: var(--tan); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.area-photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; border-radius: var(--radius); margin-bottom: 16px; }
.area h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin-bottom: 6px; }
.area p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.look-photo { margin-top: 28px; aspect-ratio: 16 / 9; }

/* ---- About ---- */
.prose { max-width: 66ch; }
.about-logo { width: 100%; max-width: 360px; height: auto; justify-self: center; }
.gallery { display: grid; grid-template-columns: 0.8fr 1.4fr 0.8fr; gap: 20px; margin-top: 32px; }
.gallery .photo-frame { height: 100%; aspect-ratio: auto; max-height: 460px; }
.team-card { margin: 0; text-align: center; }
.photo-team { aspect-ratio: 4 / 5; margin-bottom: 12px; font-size: 0.9rem; }
.team-card figcaption { font-weight: 600; }

/* ---- Campuses, reviews, CTA ---- */
.campus-card { border-top: 3px solid var(--forest); }
.campus-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.contact-list dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan); padding-top: 4px; }
.contact-list dd { margin: 0; }

.review { margin: 0; padding: 28px 0 0; border-top: 1px solid var(--forest); }
.review blockquote { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--forest-ink); }
.review figcaption { color: var(--muted); font-weight: 600; font-size: 0.95rem; }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 56px; border-radius: var(--radius); color: #e8e1d2; background: var(--forest);
  background-image: linear-gradient(90deg, var(--connection) 0 25%, var(--purpose) 25% 50%, var(--community) 50% 75%, var(--growth) 75%);
  background-size: 100% 4px; background-repeat: no-repeat; background-position: bottom; background-color: var(--forest);
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 0; max-width: 58ch; }

/* ---- Enroll & careers ---- */
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 0.5em; padding-left: 4px; }
.steps li::marker { font-family: var(--font-display); color: var(--tan); }
.opening { margin: 28px 0 8px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--community); }
.opening-label { margin: 0 0 4px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tan); }
.opening-title { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-ink); }
.careers-photo { margin-top: 28px; aspect-ratio: 16 / 9; }

.thanks { text-align: center; padding: 56px 20px; }
.thanks .rooted-tree { width: 220px; margin: 0 auto 16px; }
.thanks .lead { margin: 0 auto 28px; }

/* ---- Placeholder text: content we still need from the client ---- */

/* ---- Forms ---- */
.form-card { padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.9rem; margin-bottom: 0.8em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--forest-ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid #cbbfa9; border-radius: var(--radius);
  font: inherit; color: var(--text); background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgb(36 57 47 / 0.12); }
.field [aria-invalid='true'] { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: 0.92rem; font-weight: 600; }
.field-error:empty { display: none; }
.form-status { margin: 0 0 12px; color: var(--danger); font-weight: 600; }
.form-status:empty { display: none; }
.form-done { scroll-margin-top: 120px; padding: 28px; border-radius: var(--radius); background: var(--paper-2); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Floating "Questions?" ---- */
.ask { position: fixed; right: 20px; bottom: 20px; z-index: 15; display: grid; justify-items: end; gap: 12px; }
.ask-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius);
  background: var(--forest); color: var(--white); font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 24px rgb(36 57 47 / 0.25);
}
.ask-toggle::before { content: ''; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14C2 6 7 2 14 2C14 9 10 14 2 14Z' fill='%23d29b22'/%3E%3Cpath d='M3 13L10 6' stroke='%23f8f4ec' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.ask-toggle:hover { background: var(--forest-2); color: var(--white); }
.ask-panel { width: min(400px, calc(100vw - 40px)); max-height: calc(100vh - 120px); overflow: auto; order: -1; box-shadow: var(--shadow); }
.ask-panel .form-grid { grid-template-columns: 1fr; gap: 12px; }
.ask-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ask-head h2 { font-size: 1.5rem; margin: 0; }
.ask-close { font: inherit; font-size: 1.5rem; line-height: 1; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); color: var(--forest-ink); cursor: pointer; }

/* ---- Footer ---- */
.site-footer { padding: 64px 0 104px; background: var(--forest-ink); color: #cfc8b9; font-size: 0.97rem; }
.site-footer a { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-inner p { margin: 0 0 6px; }
.footer-brand img { display: block; width: 112px; height: 112px; background: var(--white); border-radius: 50%; padding: 4px; margin-bottom: 16px; }
.footer-motto { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: #e8e1d2; max-width: 30ch; }
.footer-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-200); margin-bottom: 10px !important; }
.footer-phone { font-family: var(--font-display); font-size: 1.5rem; }
.footer-phone a { text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .numbered-5 { grid-template-columns: repeat(3, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .roots-layout { grid-template-columns: 1fr; gap: 24px; }
  .rooted-tree { max-width: 320px; }
  .hero-inner, .split, .split-form, .split-photo, .split-photo-right, .grid-2, .grid-3, .assist { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .hero-inner { gap: 40px; }
  .hero-photo { aspect-ratio: 1 / 1; }
  .section { padding: 60px 0; }
  .split, .split-photo { gap: 36px; }
  .split-photo .photo-frame { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .facts > div:first-child { border-top: 0; }
  .numbered-3, .numbered-5 { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .assist { padding: 36px 28px; gap: 28px; }
  .assist-side { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.18); }
  .cta-band { padding: 40px 28px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .photo-frame:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .about-logo { max-width: 260px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .top-inner { justify-content: center; text-align: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .loc-label { display: none; }
  .brand { gap: 10px; }
  .logo-mark { width: 38px; }
  .brand-main { font-size: 1.2rem; }
  .brand-sub { font-size: 0.88rem; }
  .form-grid, .grid-4, .program-grid, .roots, .numbered-3, .numbered-5, .extras, .footer-inner { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { margin-bottom: 10px; }
  .ask { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
