/* Shared squeeze-page styles.
   Extracted verbatim from the Hougang page so the two files cannot drift apart by hand.
   The only changes: the hero and final-CTA images are now CSS custom properties
   (--hero-image / --cta-image) supplied per venue, instead of hardcoded Hougang paths.
   Hougang still uses its own inline copy and is deliberately untouched. */


  /* ── Squeeze-page-specific styles (everything else comes from ssa.css) ── */
  /* Darken body text for stronger contrast on the light/tinted bands (was #5b6673). Page-wide for consistency. */
  :root { --muted: #3a4655; }

  /* Hero: two columns on desktop (copy + form card), stacked on mobile.
     Overrides the centered single-column ssa.css hero for this page only. */
  .sq-hero { text-align: left; }  /* --hero-image is set per venue by the page */
  .sq-hero .hero-inner {
    align-items: center;
    display: grid;
    gap: 2.4rem;
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }
  .sq-hero-copy { max-width: 40rem; }

  .offer-pill {
    align-items: center;
    background: var(--ssa-green);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(17, 32, 42, 0.3);
    color: var(--ink);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.45rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    padding: 0.5rem 0.95rem;
  }
  .offer-pill svg { flex: 0 0 auto; height: 1.05rem; width: 1.05rem; }

  .sq-hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.05rem);
    margin-bottom: 0.6rem;
    max-width: 100%;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.72);
  }
  .sq-hero .hero-lede { margin-bottom: 1rem; max-width: 36rem; }
  .sq-urgency {
    color: #e7f2cf;
    font-size: 0.84rem;
    font-weight: 600;
    margin: 0;
    max-width: 34rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  }

  /* Lead form card */
  .lead-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(10, 18, 24, 0.28);
    color: var(--ink);
    padding: 1.5rem 1.4rem;
  }
  .lead-card h2 { font-size: 1.18rem; margin: 0 0 0.2rem; }
  .lead-card .lead-sub { color: var(--muted); font-size: 0.84rem; margin: 0 0 1rem; }
  .lead-field { display: block; margin-bottom: 0.85rem; }
  .lead-field span { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.3rem; }
  .lead-field input {
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 0.95rem;
    padding: 0.7rem 0.8rem;
    width: 100%;
  }
  .lead-field input:focus { border-color: var(--ssa-green-dark); outline: 2px solid rgba(179, 207, 50, 0.4); }
  /* intl-tel-input wraps the number input in .iti (inline-block by default), which made
     the WhatsApp field narrower than the name field. Force the wrapper full-width to match. */
  .lead-field .iti { display: block; width: 100%; }
  /* Match the +65 dial code to the input font (was 20px vs 19px) and add a small gap so
     the typed number doesn't butt right up against the dial code. */
  /* top nudge: the flex-centred dial sits ~1.5px higher than the input's line-box text,
     so drop it to share the number's baseline. */
  .lead-field .iti__selected-dial-code { font-size: 0.95rem; position: relative; top: 1.5px; }
  .lead-field .iti__tel-input { text-indent: 0.4rem; }
  .lead-who-label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.3rem; }
  .lead-who { display: flex; gap: 0.6rem; margin-bottom: 1rem; }
  .lead-who label {
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem;
    text-align: center;
  }
  .lead-who input { position: absolute; opacity: 0; }
  .lead-who input:checked + span { color: var(--ssa-green-dark); }
  .lead-who label:has(input:checked) { border-color: var(--ssa-green-dark); background: var(--green-soft); }
  .lead-submit {
    background: var(--ssa-green);
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.85rem 1rem;
    width: 100%;
  }
  .lead-submit:hover { background: #c4df45; }
  .lead-note { color: var(--muted); font-size: 0.74rem; margin: 0.7rem 0 0; text-align: center; }

  /* Alternating section bands (SSA convention: white <-> green-soft, lime accent bar leads each).
     First band after the hero is tinted. White sections keep ssa.css .section-soft default. */
  .band-tint { background: #f5fbeb; }
  /* Hero wave meets the first (tinted) band, so colour it to match instead of white. */
  .sq-hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 88' preserveAspectRatio='none'%3E%3Cpath fill='%23f5fbeb' d='M0 48C112 66 220 34 340 50C488 70 612 74 760 48C898 24 1014 34 1140 52C1262 68 1358 54 1440 38V88H0Z'/%3E%3C/svg%3E"); }

  /* Free starter-kit offer: standard left-aligned section header (lime line via .answer-panel), grid below. */
  /* Value flag = highlighter-marker swipe (deliberately different from the lime pill button).
     Scoped to .copy-column so it beats the muted `.copy-column p` / `.bundle-copy p` colour. */
  .copy-column .kit-value {
    color: #16202a;
    display: inline-block;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.95rem;
    padding: 0 0.18em 0.06em;
    position: relative;
    white-space: nowrap;
    z-index: 0;
  }
  /* Highlighter swipe sits behind the text on a slight hand-drawn angle. */
  .copy-column .kit-value::before {
    content: "";
    position: absolute;
    left: -0.06em;
    right: -0.06em;
    bottom: 0.06em;
    height: 0.52em;
    background: linear-gradient(104deg, rgba(255, 219, 59, 0) 0.5%, #ffd21f 2%, #ffe25c 48%, #ffd21f 98%, rgba(255, 219, 59, 0) 99.5%);
    border-radius: 3px;
    transform: rotate(-5deg);
    transform-origin: center;
    z-index: -1;
  }
  .kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; margin: 1.6rem 0 1.6rem; }
  .kit-card { background: transparent; border: 0; box-shadow: none; padding: 0; width: 100%; text-align: center; }
  .kit-card img { aspect-ratio: 1 / 1; margin: 0 auto 0.4rem; object-fit: contain; width: 100%; }
  .kit-card span { color: var(--ink); display: block; font-size: 0.95rem; font-weight: 700; }
  .kit-card small { color: var(--muted); display: block; font-size: 0.75rem; line-height: 1.4; margin-top: 0.25rem; }
  .kit-items { color: var(--muted); font-size: 0.86rem; margin: 0 auto 1.6rem; max-width: 40rem; }
  .kit-terms { color: var(--muted); font-size: 0.74rem; margin: 1rem 0 0; }

  /* Bundle promo (1st section teaser): bundle image + copy, no item list */
  .bundle-grid { align-items: center; display: grid; gap: 1.8rem; grid-template-columns: 1fr; }
  .bundle-copy::before { background: var(--ssa-green); content: ""; display: block; height: 5px; width: 88px; border-radius: 999px; margin-bottom: 1.15rem; }
  .bundle-img img { margin: 0 auto; max-width: 440px; width: 100%; }
  .bundle-copy h2 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.2rem 0 0.7rem; }
  .bundle-copy .kit-value { margin-bottom: 0.95rem; }
  .bundle-copy p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 1.3rem; max-width: 42ch; }
  @media (min-width: 900px) { .bundle-grid { gap: 2.8rem; grid-template-columns: 0.85fr 1fr; } }

  /* Final CTA: sits directly on its tinted band (no inner card). */
  .final-cta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(3rem, 7vw, 5rem) 1.5rem; text-align: center;
    background: linear-gradient(rgba(17, 32, 42, 0.58), rgba(17, 32, 42, 0.8)), var(--cta-image) center/cover; }
  .final-cta .cta-k { color: var(--ssa-green); text-align: center; }
  .final-cta h3 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; margin: 0 auto 1.3rem; max-width: 26ch; }

  /* Steps */
  .steps-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); margin-top: 1.6rem; }
  .step { display: flex; gap: 0.8rem; }
  .step-num {
    align-items: center;
    background: var(--ssa-green);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
  }
  .step strong { display: block; margin-bottom: 0.2rem; }
  .step p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }

  /* Soft safety note */
  .safety-note {
    background: var(--aqua-soft);
    border-left: 4px solid var(--ssa-blue);
    border-radius: 8px;
    margin-top: 1.6rem;
    padding: 1.1rem 1.3rem;
  }
  .safety-note p { color: var(--ink); font-size: 0.92rem; line-height: 1.6; margin: 0; max-width: none; }
  .safety-note cite { color: var(--muted); display: block; font-size: 0.74rem; font-style: normal; margin-top: 0.5rem; }

  /* Venue: each pool photo paired with its description (no card chrome) */
  .venue-pools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1.6rem; }
  .venue-pool { margin: 0; }
  .venue-pool img { width: 100%; height: 180px; object-fit: cover; display: block; border-radius: 12px; }
  .venue-pool .vp-body { padding: 0.9rem 0.1rem 0; }
  .venue-pool strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 0.3rem; }
  .venue-pool span { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }


  /* Text-only pool row (venues without a full set of pool photos). Gives the
     cards a left accent so they read as a deliberate list, not a photo grid
     whose images failed to load. */
  .venue-pools--text .venue-pool { border-left: 3px solid var(--ssa-green); padding-left: 0.9rem; }
  .venue-pools--text .venue-pool .vp-body { padding-top: 0; }

  /* Venue: compact map + address + directions */
  .venue-map { margin-top: 1.8rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.4rem; align-items: center; }
  .venue-map iframe { width: 100%; height: 190px; border: 0; display: block; border-radius: 14px; }
  .venue-map__info { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .venue-map__addr { color: var(--ink); font-size: 0.95rem; line-height: 1.5; margin: 0; }
  .venue-map__addr span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }

  /* Lesson photo */
  .lesson-photo { border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 1.4rem; width: 100%; }

  /* "Why it matters" fun/freedom section */
  .why-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2.8rem; align-items: center; }
  .why-split--reverse { grid-template-columns: 1.05fr 0.95fr; }
  .why-split__art { margin: 0; }
  /* Shape 45 — wave bottom (strong), portrait. Mask clips the drop-shadow, so none here. */
  .why-split__art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; display: block; border-radius: 16px 16px 0 0;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,0 H100 V80 C80,100 64,74 50,85 C36,96 20,76 0,90 Z'/></svg>") center/100% 100% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M0,0 H100 V80 C80,100 64,74 50,85 C36,96 20,76 0,90 Z'/></svg>") center/100% 100% no-repeat; }
  @media (max-width: 760px) { .why-split { grid-template-columns: 1fr; gap: 1.6rem; } }
  /* Weekend planner image — flat-lay, so a different shape (asymmetric corners) instead of the wave. */
  #weekend .why-split__art img { aspect-ratio: 1 / 1; border-radius: 64px 14px 64px 14px; object-position: center; -webkit-mask: none; mask: none; box-shadow: 0 14px 34px rgba(17, 32, 42, 0.12); }
  /* "Be perfectly prepared for" checklist (green-circle checks, matches coaches section) */
  .prep-label { color: var(--ink); font-weight: 700; margin: 0.2rem 0 0.85rem; }
  .prep-checks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem 1.4rem; }
  .prep-checks li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
  .prep-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--green-soft); color: var(--ssa-green-dark); font-size: 0.78rem; font-weight: 800; }
  @media (max-width: 420px) { .prep-checks { grid-template-columns: 1fr; } }
  /* Weekend routine list (Swim / Walk / Lunch) */
  .routine { list-style: none; padding: 0; margin: 0.5rem 0 1.4rem; display: grid; gap: 0.85rem; }
  .routine li { display: grid; grid-template-columns: 104px 1fr; gap: 0.8rem; align-items: baseline; padding-left: 0.9rem; border-left: 3px solid var(--ssa-green); }
  .routine b { color: var(--ssa-green-dark); font-weight: 800; font-size: 0.95rem; }
  .routine span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

  /* Testimonials (brand quote-cards with star rating) */
  .tm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
  .tm-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 26px rgba(17, 32, 42, 0.05); padding: 1.7rem 1.6rem; }
  .stars { display: inline-flex; gap: 2px; color: var(--ssa-green); margin-bottom: 0.85rem; }
  .stars svg { width: 18px; height: 18px; }
  .tm-card blockquote { margin: 0 0 1rem; color: var(--ink); font-size: 1rem; line-height: 1.6; }
  .tm-card .who { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

  /* Coaches feature */
  .coach-photo { margin: 0.4rem 0 1.6rem; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(17, 32, 42, 0.12); }
  .coach-photo img { width: 100%; height: auto; aspect-ratio: 1800 / 621; object-fit: cover; display: block; }
  .coach-checks { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem 2rem; }
  .coach-checks li { position: relative; padding-left: 2.1rem; line-height: 1.45; color: var(--ink); font-weight: 600; }
  .coach-checks li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--green-soft); color: var(--ssa-green-dark); font-size: 0.85rem; font-weight: 800; }
  .coach-text { margin-top: 1.4rem; max-width: 75ch; }
  .coach-text p { color: var(--muted); line-height: 1.7; margin: 0; max-width: none; }
  .coach-text p + p { margin-top: 1rem; }

  /* CTA inline strip (warm cream) + shared kicker/button — used by coaches + private-lesson fallback */
  .cta-k { color: var(--ssa-green-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; margin: 0 0 0.5rem; text-transform: uppercase; }
  .cta-btn { background: var(--ssa-green); border-radius: 999px; color: #16202a; display: inline-block; font-size: 0.95rem; font-weight: 700; padding: 0.8rem 1.7rem; text-decoration: none; white-space: nowrap; }
  .cta-btn:hover { background: #c4df45; }
  .cta-inline, .cta-white { align-items: center; display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: space-between; border-radius: 16px; padding: 1.8rem 2rem; margin-top: 2.4rem; }
  .cta-inline { background: #faf5e9; border: 1px solid #ece4d2; box-shadow: 0 10px 28px rgba(17, 32, 42, 0.07); }
  .cta-white { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(17, 32, 42, 0.07); margin-top: 0; }
  .cta-inline > div, .cta-white > div { flex: 1 1 300px; min-width: 0; }
  .cta-inline .cta-btn, .cta-white .cta-btn { flex: 0 0 auto; }
  .cta-inline h3, .cta-white h3 { color: var(--ink); font-size: 1.35rem; line-height: 1.25; margin: 0; max-width: 44ch; }

  /* Swimming-lessons section */
  .lesson-sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: stretch; margin-top: 2rem; }
  .lesson-sub + .lesson-sub { margin-top: 2.6rem; }
  .lesson-sub__art { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(17, 32, 42, 0.1); }
  .lesson-sub__art img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .lesson-sub__copy { display: flex; flex-direction: column; align-items: flex-start; }
  .lesson-sub--reverse .lesson-sub__art { order: 2; }
  .lesson-sub__copy h3 { color: var(--ink); font-size: 1.35rem; margin: 0 0 0.5rem; }
  .lesson-sub__copy > p { color: var(--muted); line-height: 1.7; margin: 0 0 0.9rem; max-width: 56ch; }
  .lesson-sub__deal { width: 100%; background: var(--green-soft); border-radius: 14px; padding: 1.3rem 1.5rem; margin: 0.2rem 0 1.3rem; }
  .lesson-sub__deal .lesson-sub__price { color: var(--ink); font-weight: 600; margin: 0 0 0.9rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(79, 111, 22, 0.2); max-width: none; }
  .price-mark { position: relative; display: inline-block; }
  .price-mark .ul { display: block; position: absolute; left: -6%; right: -6%; bottom: 3px; height: 22px; color: var(--ssa-green); }
  .price-mark .ul svg { width: 100%; height: 100%; overflow: visible; }
  .price-mark .ul path { fill: none; stroke: currentColor; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
  .lesson-sub__amount { color: var(--ssa-green-dark); font-size: 1.8rem; font-weight: 800; }
  .lesson-spec { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.2rem; }
  .lesson-spec li { position: relative; padding-left: 1.5rem; color: var(--ink); font-weight: 600; line-height: 1.4; font-size: 0.92rem; }
  .lesson-spec li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ssa-green-dark); font-weight: 800; }
  .lesson-sub__copy .button-primary { display: inline-flex; background: var(--ssa-green); color: var(--ink); }
  .lesson-aside { margin: 0.9rem 0 0; font-size: 0.9rem; line-height: 1.6; color: var(--muted); max-width: none; }
  .lesson-aside a { color: var(--ssa-green-dark); font-weight: 600; }
  @media (max-width: 860px) { .lesson-sub { grid-template-columns: 1fr; } .lesson-sub--reverse .lesson-sub__art { order: 0; } }
  @media (max-width: 520px) { .lesson-spec { grid-template-columns: 1fr; } }

  @media (min-width: 900px) {
    .sq-hero .hero-inner { grid-template-columns: minmax(0, 1.1fr) 24rem; }
  }
  @media (max-width: 680px) {
    .steps-grid, .venue-pools, .tm-cards, .venue-map { grid-template-columns: 1fr; }
    .kit-grid { grid-template-columns: repeat(2, 1fr); }
    /* ssa.css hides the (header) .enquire-button on mobile with a bare selector,
       which also kills every in-content CTA. Restore the in-content ones. */
    .copy-column .enquire-button { display: inline-flex; }
    /* Centre every in-content CTA on mobile (header nav button is outside .copy-column,
       so it stays untouched). Auto margins centre the button even inside the flex
       .cta-inline strip; fit-content keeps the natural pill width. */
    .copy-column .enquire-button,
    .copy-column .button-primary,
    .copy-column .cta-btn {
      display: flex;
      width: fit-content;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  }
