
:root {
  --sand: #fbf2df;
  --sand-2: #f3dec0;
  --shell: #fff9ed;
  --ink: #173f49;
  --muted: #66777b;
  --sea: #0a7f9d;
  --sea-dark: #07516a;
  --foam: #dff4f2;
  --sun: #df9f57;
  --coral: #da7d54;
  --white: #fff;
  --shadow: 0 24px 70px rgba(20, 66, 77, .18);
  --radius: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Assistant', Arial, sans-serif; background: var(--sand); color: var(--ink); direction: rtl; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.kicker { color: var(--sea); font-weight: 900; letter-spacing: .08em; font-size: .95rem; }
.section-heading { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.section-heading h2, .program-header h2 { font-size: clamp(2.3rem, 5vw, 5rem); line-height: .92; margin: 12px 0 16px; color: var(--ink); }
.section-heading p, .program-header p { color: #5b6c70; font-size: 1.18rem; line-height: 1.8; margin: 0; }
.cta-button { border: 0; cursor: pointer; text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--sea), var(--sea-dark)); padding: 15px 26px; border-radius: 999px; font-weight: 900; box-shadow: 0 18px 36px rgba(8, 95, 122, .24); display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .25s ease, box-shadow .25s ease; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 24px 45px rgba(8, 95, 122, .3); }
.ghost-button, .ghost-dark-button { text-decoration: none; border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.12); padding: 14px 23px; border-radius: 999px; font-weight: 800; cursor: pointer; backdrop-filter: blur(10px); }
.ghost-dark-button { color: var(--sea-dark); border-color: rgba(8,95,122,.22); background: rgba(255,255,255,.65); }
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.beach-hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: white; background: #0a5268; }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(3,42,54,.74), rgba(5,52,66,.35), rgba(0,0,0,.18)), url('../journeys/beach/hero_beach.webp'); background-size: cover; background-position: center; transform: scale(1.04); animation: heroDrift 20s ease-in-out infinite alternate; }
.hero-wave { position: absolute; inset: auto 0 0; height: 34%; background: radial-gradient(120% 70% at 50% 100%, rgba(251,242,223,.95), rgba(251,242,223,0) 58%); opacity: .95; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(1220px, calc(100% - 42px)); margin: 0 auto; display: grid; grid-template-columns: 1fr .85fr; gap: 54px; align-items: center; padding: 120px 0 90px; }
.hero-pill { display: inline-flex; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(12px); font-weight: 800; margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(5rem, 13vw, 10rem); line-height: .78; margin: 0 0 22px; font-weight: 900; letter-spacing: -.05em; text-shadow: 0 18px 50px rgba(0,0,0,.28); }
.hero-subtitle { font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 800; margin: 0 0 18px; color: #dffbff; }
.hero-text { font-size: 1.28rem; line-height: 1.85; max-width: 680px; margin: 0 0 26px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr)); gap: 12px; max-width: 760px; }
.hero-facts div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); border-radius: 22px; padding: 16px; backdrop-filter: blur(12px); }
.hero-facts small { display: block; color: rgba(255,255,255,.72); font-weight: 700; }
.hero-facts strong { display: block; margin-top: 6px; font-size: 1.08rem; }
.hero-visual { position: relative; min-height: 560px; }
.photo-card { position: absolute; border-radius: 34px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.4); background: #fff; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card.main { width: 66%; height: 360px; top: 48px; right: 90px; transform: rotate(-2deg); }
.photo-card.small { width: 270px; height: 220px; }
.photo-card.one { top: 315px; right: 0; transform: rotate(6deg); }
.photo-card.two { top: 0; left: 18px; transform: rotate(5deg); }
.hero-note { position: absolute; left: 20px; bottom: 42px; max-width: 330px; padding: 20px; border-radius: 26px; background: rgba(255,255,255,.88); color: var(--ink); box-shadow: var(--shadow); }
.hero-note strong { display: block; font-size: 1.2rem; margin-bottom: 8px; color: var(--sea-dark); }
.hero-note span { line-height: 1.55; color: #47595d; }
.hero-scroll { position: absolute; z-index: 2; right: 50%; bottom: 24px; transform: translateX(50%); color: rgba(255,255,255,.85); text-decoration: none; font-weight: 800; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { width: 2px; height: 42px; border-radius: 999px; background: linear-gradient(to bottom, transparent, #fff); }
@keyframes heroDrift { to { transform: scale(1.09) translate3d(1.4%, -1.2%, 0); } }

.intro-section, .essence-section, .team-section, .gallery-section, .practical-section, .faq-section, .lead-section { padding: 100px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 52px; align-items: center; }
.intro-copy h2 { font-size: clamp(2.3rem, 5vw, 5.4rem); line-height: .92; margin: 14px 0 22px; color: var(--sea-dark); }
.intro-copy p { font-size: 1.25rem; line-height: 1.9; color: #44585d; margin: 0 0 18px; }
.intro-photo { position: relative; border-radius: 38px; overflow: hidden; box-shadow: var(--shadow); min-height: 560px; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.intro-badge { position: absolute; right: 22px; bottom: 22px; background: rgba(255,249,237,.92); color: var(--sea-dark); padding: 13px 18px; border-radius: 999px; font-weight: 900; box-shadow: 0 16px 40px rgba(0,0,0,.15); }

.quick-lead-section { padding: 24px 0 90px; }
.quick-lead-card { background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(218,246,247,.72)); border: 1px solid rgba(10,127,157,.18); border-radius: 36px; padding: 32px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; box-shadow: var(--shadow); align-items: center; }
.quick-lead-copy h2 { margin: 8px 0 8px; font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1; color: var(--ink); }
.quick-lead-copy p { margin: 0; color: #53686e; line-height: 1.7; font-size: 1.1rem; }
.quick-lead-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quick-lead-form .cta-button { grid-column: span 2; }
.quick-lead-form .ghost-dark-button { grid-column: span 1; }
.quick-lead-form .form-note { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 900; margin-bottom: 8px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid rgba(8,95,122,.18); background: rgba(255,255,255,.9); border-radius: 18px; padding: 14px 15px; color: var(--ink); outline: none; transition: border .25s ease, box-shadow .25s ease; }
.form-field textarea { min-height: 105px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: rgba(10,127,157,.55); box-shadow: 0 0 0 4px rgba(10,127,157,.1); }
.form-note { margin: 8px 0 0; color: var(--sea-dark); font-weight: 800; min-height: 22px; }

.essence-section { background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); }
.essence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.essence-card { background: rgba(255,255,255,.66); border: 1px solid rgba(8,95,122,.12); border-radius: 30px; padding: 28px; box-shadow: 0 20px 55px rgba(18,82,96,.1); min-height: 250px; }
.essence-card span { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--foam); color: var(--sea-dark); border-radius: 50%; font-weight: 900; margin-bottom: 22px; }
.essence-card h3 { margin: 0 0 12px; font-size: 1.5rem; color: var(--sea-dark); }
.essence-card p { margin: 0; line-height: 1.7; color: #52666b; }

.waves-program { position: relative; padding: 110px 0; overflow: hidden; color: #fff; background: #063f54; }
.program-bg { position: absolute; inset: 0; }
.program-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,38,50,.72), rgba(5,64,78,.58), rgba(251,242,223,.14)); }
.program-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s ease, transform 1.2s ease; filter: saturate(.95) brightness(.82); }
.program-bg img.is-active { opacity: 1; transform: scale(1.01); }
.waves-program .section-shell { position: relative; z-index: 2; }
.program-header { text-align: center; max-width: 860px; margin: 0 auto 54px; padding: 26px; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px); }
.program-header h2 { color: #fff; }
.program-header p { color: rgba(255,255,255,.84); }
.program-header .kicker { color: #a6eff7; }
.program-layout { display: grid; grid-template-columns: 140px 1fr; gap: 38px; align-items: start; }
.wave-nav { position: sticky; top: 92px; height: 520px; display: grid; place-items: center; }
.wave-nav svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wave-path-base, .wave-path-progress { fill: none; stroke-linecap: round; stroke-width: 10; }
.wave-path-base { stroke: rgba(255,255,255,.22); }
.wave-path-progress { stroke: #eac79f; stroke-dasharray: var(--wave-length); stroke-dashoffset: calc(var(--wave-length) * (1 - var(--wave-progress, 0))); filter: drop-shadow(0 8px 22px rgba(234,199,159,.35)); transition: stroke-dashoffset .12s linear; }
.wave-dot { position: absolute; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.18); color: white; font-weight: 900; cursor: pointer; backdrop-filter: blur(10px); box-shadow: 0 14px 35px rgba(0,0,0,.18); transition: transform .25s ease, background .25s ease, color .25s ease; }
.wave-dot:nth-of-type(1) { top: 0; right: 34px; }
.wave-dot:nth-of-type(2) { top: 224px; left: 22px; }
.wave-dot:nth-of-type(3) { bottom: 0; right: 36px; }
.wave-dot.is-active { background: #fff5e4; color: #182d34; transform: scale(1.18); box-shadow: 0 20px 45px rgba(234,199,159,.34); }
.program-days { display: grid; gap: 42px; }
.day-card { display: grid; grid-template-columns: .78fr 1fr; gap: 0; background: rgba(255,250,240,.94); color: var(--ink); border: 1px solid rgba(255,255,255,.34); border-radius: 38px; overflow: hidden; box-shadow: 0 34px 100px rgba(0,0,0,.2); opacity: .78; transform: scale(.985); transition: opacity .4s ease, transform .4s ease; scroll-margin-top: 110px; }
.day-card:nth-child(even) { grid-template-columns: 1fr .78fr; }
.day-card:nth-child(even) .day-image { order: 2; }
.day-card.is-active { opacity: 1; transform: scale(1); }
.day-image { min-height: 520px; position: relative; overflow: hidden; }
.day-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.day-content { padding: clamp(28px, 4vw, 52px); }
.day-meta { display: flex; gap: 10px; align-items: center; justify-content: space-between; color: var(--sea); font-weight: 900; margin-bottom: 18px; }
.day-content h3 { font-size: clamp(2rem, 4.5vw, 4.2rem); line-height: .94; margin: 0 0 18px; color: #18464f; }
.day-content p { font-size: 1.13rem; line-height: 1.7; color: #52686d; margin: 0 0 22px; }
.schedule-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.schedule-list li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; border-bottom: 1px solid rgba(8,95,122,.1); padding-bottom: 11px; }
.schedule-list time { font-weight: 900; color: var(--sea); direction: ltr; text-align: left; }
.schedule-list span { color: #42575c; line-height: 1.55; font-weight: 650; }
.day-question { margin-top: 24px; border-radius: 20px; background: rgba(10,127,157,.09); color: #25464e; padding: 16px 18px; font-weight: 900; }

.fit-section { padding: 110px 0; background: var(--shell); }
.fit-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.fit-copy h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); line-height: .94; margin: 12px 0 18px; color: var(--sea-dark); }
.fit-copy p { color: #52666b; line-height: 1.85; font-size: 1.18rem; }
.fit-list { display: grid; gap: 14px; }
.fit-list div { padding: 20px 22px; border-radius: 24px; background: rgba(255,255,255,.78); border: 1px solid rgba(8,95,122,.12); box-shadow: 0 14px 42px rgba(8,95,122,.08); font-size: 1.12rem; font-weight: 800; color: #34515a; }
.fit-list div::before { content: '●'; color: var(--sea); margin-left: 10px; }

.team-section { background: linear-gradient(180deg, var(--sand), #fff7e8); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.team-card { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; background: rgba(255,255,255,.78); border: 1px solid rgba(8,95,122,.12); border-radius: 34px; padding: 22px; box-shadow: var(--shadow); }
.team-card img { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 12px 38px rgba(0,0,0,.12); }
.team-card h3 { margin: 0 0 8px; font-size: 1.7rem; color: var(--sea-dark); }
.team-card p { margin: 0; color: #52666b; line-height: 1.72; }

.gallery-section { background: var(--shell); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 18px; }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: 30px; margin: 0; box-shadow: 0 20px 60px rgba(8,95,122,.12); }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 12px 16px; border-radius: 18px; color: white; background: rgba(5,46,58,.68); backdrop-filter: blur(9px); font-weight: 900; }

.practical-section { background: linear-gradient(180deg, #fff7e8, var(--sand)); }
.practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.practical-card { border-radius: 34px; padding: 34px; background: rgba(255,255,255,.76); border: 1px solid rgba(8,95,122,.12); box-shadow: var(--shadow); }
.practical-card.blue { background: linear-gradient(135deg, #276b94, #0a7f9d); color: white; }
.practical-card h3 { margin: 0 0 22px; font-size: 2.2rem; }
.practical-card ul { margin: 0; padding: 0 1.15rem 0 0; display: grid; gap: 14px; line-height: 1.6; font-weight: 750; }
.practical-card:not(.blue) li { color: #455e64; }

.faq-section { background: var(--shell); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; }
.faq-copy h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); line-height: .95; margin: 12px 0 18px; color: var(--sea-dark); }
.faq-copy p { color: #52666b; line-height: 1.8; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: rgba(255,255,255,.78); border: 1px solid rgba(8,95,122,.13); border-radius: 24px; overflow: hidden; box-shadow: 0 15px 42px rgba(8,95,122,.08); }
.faq-question { width: 100%; border: 0; background: none; padding: 20px 24px; text-align: right; font-size: 1.15rem; font-weight: 900; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.faq-question::after { content: '+'; color: var(--sea); font-size: 1.6rem; }
.faq-item.is-open .faq-question::after { content: '×'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { margin: 0; padding: 0 24px 22px; color: #52666b; line-height: 1.75; }

.lead-section { background: linear-gradient(135deg, #0a647c, #123c4a); color: white; }
.lead-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; }
.lead-copy h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; margin: 12px 0 18px; }
.lead-copy p { color: rgba(255,255,255,.82); line-height: 1.8; font-size: 1.15rem; }
.direct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.phone-link { color: #fff; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.1); border-radius: 999px; padding: 13px 18px; text-decoration: none; font-weight: 900; }
.lead-card { background: rgba(255,255,255,.92); color: var(--ink); padding: 30px; border-radius: 34px; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-field.full { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; line-height: 1.5; color: #4f6469; font-weight: 700; }
.site-footer { padding: 28px; text-align: center; background: #092f3d; color: rgba(255,255,255,.84); }

.floating-lead-cta { position: fixed; z-index: 80; right: 24px; bottom: 24px; }
.floating-lead-button { border: 0; cursor: pointer; color: white; background: linear-gradient(135deg, var(--coral), var(--sea)); padding: 13px 18px; border-radius: 999px; box-shadow: 0 20px 45px rgba(9,78,94,.26); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 230px; }
.floating-lead-button span { font-size: .92rem; opacity: .9; }
.floating-lead-button strong { font-size: 1.08rem; }
.lead-modal { position: fixed; inset: 0; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lead-modal.is-open { opacity: 1; pointer-events: auto; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(3,33,44,.62); backdrop-filter: blur(8px); }
.lead-modal-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -45%); width: min(900px, calc(100% - 28px)); background: #fff8e8; border-radius: 36px; box-shadow: 0 40px 120px rgba(0,0,0,.36); padding: 32px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; transition: transform .25s ease; }
.lead-modal.is-open .lead-modal-panel { transform: translate(-50%, -50%); }
.lead-modal-close { position: absolute; top: 16px; left: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(8,95,122,.1); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.lead-modal-copy { padding: 30px 12px 12px; }
.lead-modal-copy h2 { margin: 12px 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; color: var(--sea-dark); }
.lead-modal-copy p { color: #52666b; line-height: 1.75; }
.modal-lead-form { display: grid; gap: 13px; }

@media (max-width: 980px) {
  .hero-content, .intro-grid, .quick-lead-card, .fit-layout, .faq-layout, .lead-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .photo-card.main { right: 60px; width: 72%; }
  .hero-facts, .essence-grid, .team-grid, .practical-grid { grid-template-columns: repeat(2, 1fr); }
  .program-layout { grid-template-columns: 1fr; }
  .wave-nav { position: relative; top: 0; height: 94px; display: flex; justify-content: center; gap: 14px; }
  .wave-nav svg { display: none; }
  .wave-dot { position: relative !important; inset: auto !important; width: 58px; height: 58px; }
  .day-card, .day-card:nth-child(even) { grid-template-columns: 1fr; }
  .day-card:nth-child(even) .day-image { order: 0; }
  .day-image { min-height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-modal-panel { grid-template-columns: 1fr; max-height: calc(100svh - 28px); overflow: auto; }
}
@media (max-width: 620px) {
  .section-shell { width: min(100% - 24px, 1180px); }
  .hero-content { width: min(100% - 24px, 1180px); grid-template-columns: 1fr; padding-top: 110px; }
  .hero-copy h1 { font-size: clamp(4.8rem, 28vw, 7rem); }
  .hero-visual { display: none; }
  .hero-facts, .essence-grid, .team-grid, .practical-grid, .form-grid, .quick-lead-form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-grid figure.wide { grid-column: span 1; }
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .team-card img { margin: 0 auto; }
  .floating-lead-cta { right: 12px; left: 12px; bottom: 12px; }
  .floating-lead-button { width: 100%; align-items: center; }
  .lead-section { padding-bottom: 110px; }
  .day-content { padding: 24px; }
  .schedule-list li { grid-template-columns: 58px 1fr; }
}

/* v11 refinements - keep the wave progress visible while scrolling through all days */
.wave-nav {
  top: max(96px, calc(50vh - 260px));
  z-index: 5;
  min-height: 520px;
  align-self: start;
}
.program-layout {
  align-items: stretch;
}
.wave-dot {
  z-index: 3;
  outline: 1px solid rgba(255,255,255,.18);
}
.wave-dot.is-active {
  outline: 8px solid rgba(255,245,228,.18);
}
.day-card {
  opacity: .9;
}
.day-card.is-active {
  opacity: 1;
}
.exact-program li {
  grid-template-columns: 78px 1fr;
}
.exact-program span {
  font-weight: 750;
}
@media (max-width: 900px) {
  .wave-nav {
    position: sticky;
    top: 76px;
    min-height: 94px;
    height: 94px;
    z-index: 8;
    background: rgba(6,63,84,.62);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    margin-bottom: 22px;
  }
}


/* v12 refinements - keep the 1-2-3 wave process visible across the whole program */
.waves-program {
  overflow: visible;
  isolation: isolate;
}
.program-bg {
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.program-layout {
  position: relative;
}
.wave-nav {
  position: sticky !important;
  top: max(110px, calc(50vh - 260px));
  align-self: flex-start;
  z-index: 12;
}
.team-card:first-child img {
  object-position: center 32%;
}
@media (max-width: 980px) {
  .waves-program {
    overflow: hidden;
  }
  .wave-nav {
    transform: none;
    top: 76px;
  }
}

/* v28 - unified lead form layout */
.modal-lead-form,
.quick-lead-form,
.final-form,
form.lead-card,
form[data-lead-form] .form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 16px;
  align-items: end;
}

.modal-lead-form .form-field,
.quick-lead-form .form-field,
.final-form .form-field,
form.lead-card .form-field,
form[data-lead-form] .form-grid .form-field {
  min-width: 0;
}

.modal-lead-form .email-field,
.quick-lead-form .email-field,
.final-form .email-field,
form.lead-card .email-field,
form[data-lead-form] .form-grid .email-field,
.modal-lead-form .full,
.quick-lead-form .full,
.final-form .full,
form.lead-card .full,
form[data-lead-form] .form-grid .full {
  grid-column: 1 / -1;
}

.modal-lead-form .consent,
.quick-lead-form .consent,
.final-form .consent,
form.lead-card .consent,
form[data-lead-form] > .consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 18px;
  line-height: 1.55;
}

.modal-lead-form .consent input,
.quick-lead-form .consent input,
.final-form .consent input,
form.lead-card .consent input,
form[data-lead-form] > .consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--turquoise, #328b86);
}

.modal-lead-form .consent span,
.quick-lead-form .consent span,
.final-form .consent span,
form.lead-card .consent span,
form[data-lead-form] > .consent span {
  font-size: .92rem;
  font-weight: 700;
}

.modal-lead-form .cta-button,
.final-form .cta-button,
form.lead-card .cta-button,
form[data-lead-form] > .cta-button {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.quick-lead-form .cta-button,
.quick-lead-form .ghost-dark-button {
  grid-column: auto;
  width: 100%;
  margin-top: 2px;
}

.modal-lead-form .form-note,
.quick-lead-form .form-note,
.final-form .form-note,
form.lead-card .form-note,
form[data-lead-form] > .form-note {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .modal-lead-form,
  .quick-lead-form,
  .final-form,
  .lead-card,
  form[data-lead-form] .form-grid {
    grid-template-columns: 1fr;
  }

  .quick-lead-form .cta-button,
  .quick-lead-form .ghost-dark-button {
    grid-column: 1 / -1;
  }
}



/* v31: single clear CTA in lead forms */
.quick-lead-form .cta-button {
  grid-column: 1 / -1 !important;
  width: 100%;
}
.quick-lead-form .ghost-dark-button {
  display: none !important;
}
