@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Bungee&family=Nunito:ital,wght@0,400;0,600;0,700;1,400&display=swap');
/* =============================================================================
   SX-PAGE - the SITE page design system
   elementaryschoolassemblies.com                                     VERSION 1

   The fifth reusable stylesheet on this site, and the one that finishes the
   job: it dresses the 21 indexed pages that are not show pages, not letter
   pages, and not middle school pages.

   Same family as everything else here - Baloo 2 display, Bungee small-caps
   labels, Nunito body, two-tone headings, the constant orange CTA - so these
   pages read as part of the same site as .es-page and .ap-page.

   What is different: these pages are not all the same SHAPE. A schedule is a
   table, an About page is a story, a testimonial archive is 80 quotes, a city
   landing page is a service-area pitch, and a birthday party page sells to a
   parent. So the component vocabulary is wider than the show-page system's,
   and a page uses the handful it needs.

   FOUR PALETTES, one per family, taken from the logo taxonomy the home page
   already established (character=purple, reading=pink, science=blue,
   math=gold, fun=orange, field day=green):

       .sx-trust    core pages - about, contact, schedule, FAQ, hubs   BLUE
       .sx-library  library, summer reading                            PINK
       .sx-shop     the three workshops                                PURPLE
       .sx-local    Buffalo and Syracuse city pages                    GREEN
       .sx-party    birthdays, fairs, Blue & Gold                      MAGENTA+GOLD

   Single-theme on purpose: every color is painted explicitly. A marketing page
   must look the same for every visitor.

   Scoped entirely under .sx-page. No bare element selectors, no Global Colors
   touched, nothing that can reach the header, footer or funds bar.
   ============================================================================= */

.sx-page{
  --cta:      #FF8A00;   /* the constant orange, same button as every other page */
  --cta-hov:  #E07800;
  /* The button LABEL is dark, not white.
     White on #FF8A00 measures 2.36:1 and fails at any size. This is not a new
     invention: the middle school, spooky and Haunted Christmas stylesheets have
     always used #1B1206 on the orange (7.83:1) - it was the later systems that
     drifted to white. Darkening the orange instead would have left the site
     with two different orange buttons. */
  --cta-ink:  #1B1206;
  --white:    #FFFFFF;
  --paper:    #FFFDF8;
  --panel:    #FFFFFF;
  --ink:      #1E2233;
  --muted:    #5B6274;
  --rule:     #E7E2D6;

  --f-disp: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --f-lab:  "Bungee", "Arial Black", sans-serif;
  --f-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --read: 68ch;

  /* Mago form height. MEASURED per page in the build, not guessed - a wrong
     value here either cuts the Submit button off or leaves dead space. */
  --form-h: 700px;
}

/* --accent-lt: the SAME hue lifted until it clears 4.5:1 on --deep.
   The bright accent is tuned for a light ground. On the dark bands it is used
   for quote names and the second half of two-tone headings, and three of the
   five palettes measured 3.67-4.42 there - close enough to look fine and still
   fail. Anything sitting on a dark band uses --accent-lt instead. */

/* ---------------------------------------------------------------------------
   The palettes.

   --deep       the dark ink headings open in, and the dark band background
   --accent     the bright hue: fills, rules, chips, underlines
   --accent-dk  the SAME hue darkened until it clears 4.5:1 on the cream paper,
                because the second half of every two-tone heading is set in it.
                NEVER set heading text in --accent - it fails on white, exactly
                as the lime and the gold do on the show pages.
   --accent-soft a pale wash of the hue for callout backgrounds
   --band       the alternating section background
   --------------------------------------------------------------------------- */
.sx-page.sx-trust{
  --deep:#0B1234; --accent:#0078F0; --accent-dk:#0057B0; --accent-soft:#E6F1FE; --accent-lt:#0683FF; --band:#F2F6FC;
}
.sx-page.sx-library{
  --deep:#2B0A2E; --accent:#F01890; --accent-dk:#B00A67; --accent-soft:#FDE8F3; --accent-lt:#F2389F; --band:#FBF1F7;
}
/* The logo purple #7800D8 is too dark to carry the deep ink on top of it - the
   step numbers and the guarantee seal measured 2.44:1 on it. Lifted to #9A3BEA,
   which reads as the same purple and clears 3.67:1. --accent-dk stays the
   original for heading text. */
.sx-page.sx-shop{
  --deep:#1B0B33; --accent:#9A3BEA; --accent-dk:#5E00A8; --accent-soft:#F1E6FD; --accent-lt:#AD5FEE; --band:#F6F1FC;
}
.sx-page.sx-local{
  --deep:#0C2415; --accent:#2E9E1E; --accent-dk:#1F7213; --accent-soft:#E8F7E5; --accent-lt:#2FA31F; --band:#F1F8EF;
}
/* Party was a magenta and sat 9.2 Lab units from the library pink, which is a
   collision, not a variation. Gold was the obvious alternative and is wrong for
   a different reason - it lands ~32 from the constant orange CTA. Teal is far
   from all five (>=70) and is already in this site's vocabulary via the Mind
   Control cyan and the math chalk. */
.sx-page.sx-party{
  --deep:#04262B; --accent:#00B3C4; --accent-dk:#00707C; --accent-soft:#E0F7FA; --accent-lt:#00B3C4; --band:#EFF9FA;
}

/* ------------------------------------------------------------------- frame --*/
.sx-page{
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: 17px;
  overflow-x: hidden;
}
.sx-page *{ box-sizing: border-box; }
.sx-page img{ max-width: 100%; display: block; }
.sx-page a{ color: var(--accent-dk); }

.sx-page .sx-in{ width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.sx-page .sx-narrow{ max-width: 800px; }

.sx-page .sx-sec{ padding: 58px 0; }
.sx-page .sx-white{ background: var(--panel); }
.sx-page .sx-band { background: var(--band); }
.sx-page .sx-soft { background: var(--accent-soft); }
.sx-page .sx-dark {
  background: var(--deep);
  color: #F3F5FF;
}

.sx-page h1, .sx-page h2, .sx-page h3, .sx-page h4{
  font-family: var(--f-disp);
  line-height: 1.14;
  margin: 0 0 .5em;
  color: var(--deep);
  letter-spacing: -.01em;
}
.sx-page .sx-dark h2, .sx-page .sx-dark h3, .sx-page .sx-dark h4{ color: #FFFFFF; }
.sx-page h1{ font-size: clamp(29px, 4.6vw, 46px); font-weight: 800; text-wrap: wrap; }
.sx-page h2{ font-size: clamp(23px, 3.2vw, 33px); font-weight: 800; }
.sx-page h3{ font-size: clamp(18px, 2.1vw, 22px); font-weight: 700; }
.sx-page h4{ font-size: 17px; font-weight: 700; }
.sx-page p{ margin: 0 0 1.05em; }
.sx-page .sx-sec p{ max-width: var(--read); }
.sx-page .sx-dark p{ color: #D6DBF2; }

/* Two-tone headings - the device Cris signed off on for the home page and
   asked to carry to every page. */
.sx-page .hl{ color: var(--accent-dk); }
.sx-page .sx-dark .hl{ color: var(--accent-lt); }

/* The keyword span. Renders as the small-caps eyebrow it looks like, but lives
   INSIDE the h1 - so the heading carries the search term while the hook still
   owns the page visually. Same device as the middle school pages' .ms-lab and
   the Jurassic .h1-kw. `.sx-page .sx-kw` outranks `.sx-page h1`, so no extra
   CSS is needed to make it look like a label. */
.sx-page .sx-kw{
  display: block;
  font-family: var(--f-lab);
  font-size: clamp(10px, 1.15vw, 12.5px);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin: 0 0 12px;
  line-height: 1.5;
  font-weight: 400;
}
.sx-page .sx-dark .sx-kw{ color: var(--accent-lt); }

.sx-page .sx-lab{
  font-family: var(--f-lab);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin: 0 0 14px;
}
.sx-page .sx-dark .sx-lab{ color: var(--accent-lt); }

/* -------------------------------------------------------------------- hero --*/
.sx-page .sx-hero{
  background: var(--paper);
  border-bottom: 5px solid var(--accent);
  padding: 46px 0 42px;
}
.sx-page .sx-hero-grid{
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}
@media (min-width: 900px){
  .sx-page .sx-hero-grid.sx-has-shot{ grid-template-columns: 1.15fr .85fr; }
}
.sx-page .sx-hero p.sx-sub{
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--muted);
  max-width: 42rem;
}
/* The hero picture. A white card with an accent border reads as a cut-out when
   the photograph is shot on white, which most of his studio shots are - and
   object-fit:contain means a portrait source is never cropped to a letterbox.
   Match the frame to the SOURCE shape: four beheaded photos on the show pages
   came from using one crop shape for every slot. */
.sx-page .sx-shot{
  background: var(--white);
  border: 5px solid var(--accent);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(11,18,52,.10);
}
.sx-page .sx-shot img{ width: 100%; border-radius: 12px; }
.sx-page .sx-shot.sx-contain img{ object-fit: contain; aspect-ratio: 4/5; }
.sx-page .sx-shot.sx-cover img{ object-fit: cover; object-position: center 18%; aspect-ratio: 4/3; }
.sx-page .sx-shot.sx-wide img{ object-fit: cover; object-position: center 18%; aspect-ratio: 16/9; }
/* sx-logo - for a wordmark rather than a photograph. A 1024x280 logo dropped
   into sx-wide got cropped to 16/9, which turned "Cris Johnson's MAGIC CLASS!"
   into "agic ass". Never crop type: contain it, on white, at a wide ratio. */
.sx-page .sx-shot.sx-logo{ padding: clamp(16px, 2.4vw, 26px); display: grid; place-items: center; }
/* No fixed aspect-ratio and no width:100%. A forced 5/2 box left a tall band of
   empty white above and below a 3.66:1 wordmark, so the card read as far bigger
   than the logo in it. Let the image keep its own proportions and cap the width
   so it sits as a badge rather than filling the frame edge to edge. */
.sx-page .sx-shot.sx-logo img{
  width: auto; height: auto; max-width: min(100%, 330px);
  aspect-ratio: auto; object-fit: contain; border-radius: 0; background: transparent;
}

/* chips ---------------------------------------------------------------------*/
.sx-page .sx-chips{
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 9px;
}
.sx-page .sx-chips li{
  font-weight: 700; font-size: 14px;
  color: var(--deep);
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 7px 15px;
}

/* stat bar ------------------------------------------------------------------*/
.sx-page .sx-stats{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sx-page .sx-stats li{
  background: var(--panel);
  padding: 18px 14px;
  text-align: center;
}
.sx-page .sx-stats b{
  display: block;
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--accent-dk);
  line-height: 1.1;
}
.sx-page .sx-stats span{ font-size: 13.5px; color: var(--muted); }

/* -------------------------------------------------------------- prose bits --*/
.sx-page .sx-lead{ font-size: 19px; }
.sx-page .sx-letter p:first-of-type::first-letter{
  float: left;
  font-family: var(--f-disp); font-weight: 800;
  font-size: 3.4em; line-height: .82;
  color: var(--accent-dk);
  margin: .06em .1em 0 0;
}
.sx-page .sx-pull{
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  border-left: 6px solid var(--accent);
  font-family: var(--f-disp); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.32;
  color: var(--deep);
}
.sx-page .sx-note{
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 24px 0;
}
.sx-page .sx-note p:last-child{ margin-bottom: 0; }

/* bullet list with accent ticks ---------------------------------------------*/
.sx-page .sx-ticks{ list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 11px; }
.sx-page .sx-ticks li{ display: flex; gap: 11px; align-items: flex-start; }
.sx-page .sx-ticks li > span{ flex: 1 1 auto; min-width: 0; }
.sx-page .sx-ticks li::before{
  content: "\2713";
  color: var(--accent-dk); font-weight: 900; flex: 0 0 auto; line-height: 1.5;
}
.sx-page .sx-dark .sx-ticks li::before{ color: var(--accent-lt); }

/* numbered steps ------------------------------------------------------------*/
.sx-page .sx-steps{
  list-style: none; counter-reset: sxstep; margin: 26px 0 0; padding: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr);
}
.sx-page .sx-steps li{
  counter-increment: sxstep; position: relative;
  background: var(--panel); border: 2px solid var(--rule);
  border-radius: 16px; padding: 46px 20px 20px;
}
.sx-page .sx-steps li::before{
  content: counter(sxstep);
  position: absolute; top: -18px; left: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--deep);
  font-family: var(--f-disp); font-weight: 800; font-size: 22px;
  line-height: 44px; text-align: center;
}
.sx-page .sx-steps p{ margin: 0; color: var(--muted); font-size: 15.5px; }

/* auto-numbered reasons -----------------------------------------------------*/
.sx-page .sx-reasons{ list-style: none; counter-reset: sxr; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.sx-page .sx-reason{
  counter-increment: sxr;
  display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start;
  background: var(--panel); border: 2px solid var(--rule); border-left: 6px solid var(--accent);
  border-radius: 14px; padding: 18px 20px;
}
.sx-page .sx-reason::before{
  content: counter(sxr);
  font-family: var(--f-disp); font-weight: 800; font-size: 32px;
  color: var(--accent); line-height: 1;
}
.sx-page .sx-reason h3{ margin-bottom: .25em; }
.sx-page .sx-reason p{ margin: 0; font-size: 15.5px; color: var(--muted); }

/* ------------------------------------------------------------------- cards --*/
.sx-page .sx-grid{ display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.sx-page .sx-grid.sx-two{ grid-template-columns: repeat(2, 1fr); }
.sx-page .sx-card{
  display: flex; flex-direction: column;
  background: var(--panel); border: 2px solid var(--rule);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(11,18,52,.06);
}
.sx-page .sx-card img{ width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center 18%; }
.sx-page .sx-card .sx-cardbody{ padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sx-page .sx-card h3{ margin-bottom: .3em; }
.sx-page .sx-card p{ font-size: 15.5px; color: var(--muted); }
.sx-page .sx-card .sx-btn{ margin-top: auto; align-self: flex-start; }

/* program link tiles --------------------------------------------------------*/
.sx-page .sx-progs{ display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.sx-page .sx-prog{
  display: block; text-decoration: none;
  background: var(--panel); border: 2px solid var(--rule); border-left: 6px solid var(--accent);
  border-radius: 12px; padding: 15px 17px;
  color: var(--deep); font-weight: 700; font-size: 15.5px;
}
.sx-page .sx-prog:hover{ border-color: var(--accent); }
.sx-page .sx-prog span{ display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 3px; }

/* ------------------------------------------------------------ testimonials --*/
.sx-page .sx-quotes{ display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.sx-page .sx-quotes.sx-two{ grid-template-columns: repeat(2, 1fr); }
.sx-page .sx-q{
  display: flex; flex-direction: column;
  background: var(--panel); border: 2px solid var(--rule);
  border-top: 5px solid var(--accent);
  border-radius: 14px; padding: 20px;
}
.sx-page .sx-dark .sx-q{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-top: 5px solid var(--accent);
}
.sx-page .sx-q p{ font-size: 15.5px; font-style: italic; margin-bottom: 12px; max-width: none; }
.sx-page .sx-dark .sx-q p{ color: #E7EAFA; }
/* cite pushed to the bottom so names line up across a row however long the
   quote is - quotes here run from four words to four lines. */
.sx-page .sx-q cite{
  margin-top: auto; padding-top: 6px;
  display: block; font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--muted);
}
.sx-page .sx-dark .sx-q cite{ color: #AEB6DC; }
.sx-page .sx-q cite b{ display: block; color: var(--accent-dk); font-size: 14.5px; }
.sx-page .sx-dark .sx-q cite b{ color: var(--accent-lt); }

/* --------------------------------------------------------------- schedule --*/
.sx-page .sx-tablewrap{ overflow-x: auto; margin-top: 24px; border: 2px solid var(--rule); border-radius: 14px; }
.sx-page .sx-table{ width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 460px; }
.sx-page .sx-table th{
  background: var(--deep); color: #FFFFFF;
  font-family: var(--f-disp); font-weight: 700; font-size: 15px;
  text-align: left; padding: 13px 16px;
}
.sx-page .sx-table td{ padding: 12px 16px; border-top: 1px solid var(--rule); vertical-align: top; }
.sx-page .sx-table tbody tr:nth-child(even) td{ background: var(--band); }
.sx-page .sx-table .sx-when{ font-weight: 700; color: var(--deep); white-space: nowrap; }

/* ------------------------------------------------------------------- FAQ ---*/
/* <details>/<summary>, so it needs no JavaScript - which matters here, because
   a <script> tag in an Elementor HTML widget saves as a 403. */
.sx-page .sx-faq{ margin-top: 24px; display: grid; gap: 12px; }
.sx-page .sx-faq details{
  background: var(--panel); border: 2px solid var(--rule); border-radius: 14px; padding: 0;
}
.sx-page .sx-faq summary{
  cursor: pointer; list-style: none;
  font-family: var(--f-disp); font-weight: 700; font-size: 17.5px;
  color: var(--deep); padding: 16px 52px 16px 20px; position: relative;
}
.sx-page .sx-faq summary::-webkit-details-marker{ display: none; }
.sx-page .sx-faq summary::after{
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-disp); font-weight: 800; font-size: 26px; line-height: 1; color: var(--accent-dk);
}
.sx-page .sx-faq details[open] summary::after{ content: "\2212"; }
.sx-page .sx-faq details[open] summary{ border-bottom: 2px solid var(--rule); }
.sx-page .sx-faq .sx-a{ padding: 16px 20px 4px; }
.sx-page .sx-faq .sx-a p:last-child{ margin-bottom: 12px; }

/* ---------------------------------------------------------------- photos ---*/
.sx-page .sx-photos{ display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.sx-page .sx-photos.sx-three{ grid-template-columns: repeat(3, 1fr); }
.sx-page .sx-photos img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 18%;
  border-radius: 12px; border: 3px solid var(--panel);
  box-shadow: 0 6px 16px rgba(11,18,52,.10);
}
.sx-page figure{ margin: 0; }
.sx-page figcaption{ font-size: 14px; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------------- guarantee -*/
.sx-page .sx-guar{
  margin-top: 28px;
  background: var(--accent-soft);
  border: 3px dashed var(--accent);
  border-radius: 18px;
  padding: 24px 26px;
  display: grid; grid-template-columns: 108px 1fr; gap: 22px; align-items: center;
}
.sx-page .sx-guar .sx-seal{
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--accent); color: var(--deep);
  display: grid; place-content: center; text-align: center;
  font-family: var(--f-disp); font-weight: 800; line-height: 1.05;
}
.sx-page .sx-guar .sx-seal b{ display: block; font-size: 30px; }
.sx-page .sx-guar .sx-seal span{ font-size: 11px; letter-spacing: .04em; }
.sx-page .sx-guar h3{ margin-bottom: .3em; }
.sx-page .sx-guar p:last-child{ margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   Keyboard focus. This was missing entirely, which means somebody tabbing
   through the page had no idea where they were - one of the few failures a
   scanner reports as an outright error rather than a warning.

   :focus-visible rather than :focus, so it shows for keyboard users without
   putting a ring around every button a mouse happens to click. The double ring
   (dark outline, light offset) is so it stays visible on the dark bands as well
   as the cream ones.
   --------------------------------------------------------------------------- */
.sx-page a:focus-visible,
.sx-page button:focus-visible,
.sx-page summary:focus-visible,
.sx-page details:focus-visible{
  outline: 3px solid var(--deep);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--accent-lt);
  border-radius: 6px;
}
.sx-page .sx-dark a:focus-visible,
.sx-page .sx-dark button:focus-visible{
  outline: 3px solid #FFFFFF;
  box-shadow: 0 0 0 6px var(--accent-lt);
}

/* -------------------------------------------------------------- buttons ----*/
.sx-page .sx-btn{
  display: inline-block;
  font-family: var(--f-disp); font-weight: 800; font-size: 16.5px;
  text-align: center; text-decoration: none;
  color: var(--cta-ink); background: var(--cta);
  border: none; border-radius: 12px; padding: 13px 24px;
  box-shadow: 0 4px 0 var(--cta-hov);
}
.sx-page .sx-btn:hover{ background: var(--cta-hov); color: var(--cta-ink); }
.sx-page .sx-btn.sx-ghost{
  background: transparent; color: var(--accent-dk);
  border: 2px solid var(--accent); box-shadow: none; padding: 11px 22px;
}
.sx-page .sx-dark .sx-btn.sx-ghost{ color: #FFFFFF; border-color: rgba(255,255,255,.5); }
.sx-page .sx-btn.sx-ghost:hover{ background: var(--accent-soft); color: var(--accent-dk); }
.sx-page .sx-btnrow{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.sx-page .sx-btnrow.sx-center{ justify-content: center; }

/* The phone link appears on light bands AND on dark ones, so it needs both
   values rather than one that happens to work in the commoner case. */
.sx-page .sx-phone{
  display: inline-block;
  font-family: var(--f-disp); font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--accent-dk); text-decoration: none;
}
.sx-page .sx-dark .sx-phone{ color: var(--accent-lt); }
.sx-page .sx-phone:hover{ text-decoration: underline; }

/* ------------------------------------------------------------------ form ---*/
.sx-page .sx-formcard{
  background: var(--panel);
  border: 4px solid var(--accent);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
}
.sx-page .sx-formcard h3{ margin-bottom: 4px; }
.sx-page .sx-formcard .sx-fine{ font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.sx-page .sx-formcard iframe{ width: 100%; height: var(--form-h); border: 0; display: block; }
/* ---------------------------------------------------------------------------
   His live Google Calendar. The original embed was hard-sized 800x600, which
   overflows a phone and leaves a horizontal scrollbar on the whole page.
   --------------------------------------------------------------------------- */
.sx-page .sx-cal{
  margin-top: 24px;
  border: 3px solid var(--accent);
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
}
.sx-page .sx-cal iframe{ width: 100%; height: 640px; border: 0; display: block; }
@media (max-width: 620px){ .sx-page .sx-cal iframe{ height: 520px; } }

.sx-page .sx-ctagrid{ display: grid; gap: clamp(22px, 3vw, 38px); align-items: start; }
@media (min-width: 900px){ .sx-page .sx-ctagrid{ grid-template-columns: .9fr 1.1fr; } }

/* ------------------------------------------------------------- responsive --*/
@media (max-width: 900px){
  .sx-page .sx-steps,
  .sx-page .sx-grid,
  .sx-page .sx-progs,
  .sx-page .sx-quotes{ grid-template-columns: repeat(2, 1fr); }
  .sx-page .sx-photos{ grid-template-columns: repeat(2, 1fr); }
  .sx-page .sx-stats{ grid-template-columns: repeat(2, 1fr); }
  .sx-page .sx-sec{ padding: 44px 0; }
}
@media (max-width: 620px){
  .sx-page{ font-size: 16.5px; }
  .sx-page .sx-steps,
  .sx-page .sx-grid,
  .sx-page .sx-grid.sx-two,
  .sx-page .sx-progs,
  .sx-page .sx-quotes,
  .sx-page .sx-quotes.sx-two,
  .sx-page .sx-photos,
  .sx-page .sx-photos.sx-three{ grid-template-columns: 1fr; }
  .sx-page .sx-reason{ grid-template-columns: 44px 1fr; gap: 12px; }
  .sx-page .sx-guar{ grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ---------------------------------------------------------------------------
   Elementor reset. The theme puts 10px of container padding around an HTML
   widget, which shows as a pale strip above a full-bleed hero.
   NOTE: no ">" child combinators inside :has() anywhere in this file - the WAF
   rejects that character there and a 403 on save is the symptom.
   --------------------------------------------------------------------------- */
body:has(.sx-page) .elementor-widget-html .elementor-widget-container{ padding: 0; margin: 0; }
body:has(.sx-page) .elementor-element.e-con.e-parent:has(.sx-page){ padding: 0; }
body:has(.sx-page) .elementor-element.e-con.e-parent:has(.sx-page) .e-con-inner{ padding: 0; max-width: none; }
