/* Surf-day landing (template `surf_day`, SRFT-1069 -- ALL YOU CAN SURF).
   Mobile first; the approved mock A (/proto/all-you-can-surf/). Site palette only:
   #243D44 ink, #545F64 secondary, #D3D8DA lines, #ECECEC, #F7F7F7 soft,
   #C2EAEA / #99DCDC teal, #F6ABAA pink. Builds on home2.css (hero, cards). */
.sd { --ink: #243D44; --sub: #545F64; --line: #D3D8DA; --soft: #F7F7F7; --mint: #C2EAEA; --wave: #99DCDC; --pink: #F6ABAA;
  font-family: 'Almoni Medium'; color: var(--ink); padding-bottom: 84px; }
.sd b, .sd strong { font-family: 'Almoni Bold'; font-weight: normal; }
.sd-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sd-sec { padding: 44px 0; }
.sd-sec--soft { background: var(--soft); }
.sd-sec--ink { background: var(--ink); color: #fff; }
.sd-h2 { margin: 0 0 10px; font-family: 'Almoni Bold'; font-size: 30px; line-height: 1.1; color: inherit; }
.sd-lead { margin: 0 0 22px; font-size: 18px; line-height: 1.5; color: var(--sub); }
.sd-sec--ink .sd-lead { color: #fff; opacity: .85; }
.sd-eyebrow { display: inline-block; font-size: 15px; letter-spacing: .08em; color: var(--sub); margin-bottom: 6px; }

/* hero (video) */
.sd-hero.h2-hero { min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; }
.sd-hero.h2-hero::after { background: linear-gradient(0deg, rgba(36,61,68,.92) 8%, rgba(36,61,68,.25) 60%, rgba(36,61,68,.1) 100%) !important; }
.sd-hero .h2-hero__text { padding: 0 20px 34px; width: 100%; text-align: center; }
.sd-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; white-space: nowrap; padding: 0 14px; border-radius: 20px; font-size: 16px; line-height: 1; }
.sd-pill--glass { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.sd-pill--pink { background: var(--pink); color: var(--ink); font-family: 'Almoni Bold'; }
.sd-pill--mint { background: var(--mint); color: var(--ink); }
.sd-hero__title { margin: 14px 0 6px !important; font-family: 'Almoni Bold' !important; font-size: 54px !important; line-height: .92 !important; letter-spacing: .01em; direction: ltr; }
.sd-hero__sub { margin: 0; font-size: 19px; line-height: 1.35; color: #fff; }
.sd-hero__price { margin: 16px 0 0; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; color: #fff; }
.sd-hero__price big { font-family: 'Almoni Bold'; font-size: 34px; line-height: 1; }
.sd-btns { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.sd-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; min-width: 150px; border-radius: 30px; font-family: 'Almoni Bold'; font-size: 19px; text-decoration: none !important; border: 0; box-sizing: border-box; cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.sd-btn--light { background: #fff; color: var(--ink) !important; }
.sd-btn--light:hover { background: var(--mint); }
.sd-btn--ghost { background: transparent; border: 1px solid #fff; color: #fff !important; }
.sd-btn--dark { background: var(--ink); color: #fff !important; }
.sd-btn--dark:hover { background: var(--sub); }
.sd-btn--block { width: 100%; }
.sd-btn[disabled] { background: var(--line); color: #fff !important; cursor: default; }

/* spots bar */
.sd-spots { background: var(--ink); color: #fff; padding: 14px 0 18px; }
.sd-spots__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.sd-spots__row b { font-size: 20px; }
.sd-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.2); margin-top: 8px; overflow: hidden; }
.sd-bar i { display: block; height: 100%; background: var(--wave); border-radius: 8px; }
.sd-sec:not(.sd-sec--ink) .sd-bar { background: var(--line); }
.sd-sec:not(.sd-sec--ink) .sd-bar i { background: var(--ink); }

/* stats */
.sd-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sd-stat { background: #fff; border-radius: 16px; padding: 16px 14px; text-align: center; }
.sd-stat big { display: block; font-family: 'Almoni Bold'; font-size: 40px; line-height: 1; }
.sd-stat span { font-size: 16px; color: var(--sub); }

/* value math */
.sd-value { background: #fff; color: var(--ink); border-radius: 20px; padding: 22px 18px; text-align: center; }
.sd-value__big { font-family: 'Almoni Bold'; font-size: 64px; line-height: 1; }
.sd-value__unit { font-size: 18px; color: var(--sub); }
.sd-cmp { margin: 18px 0 4px; display: grid; gap: 10px; text-align: right; }
.sd-cmp__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 16px; }
.sd-cmp__row .sd-bar { grid-column: 1 / -1; height: 12px; margin: 0; background: var(--soft) !important; }
.sd-cmp__row--old .sd-bar i { background: var(--line) !important; }
.sd-cmp__row--new .sd-bar i { background: var(--ink) !important; }
.sd-fine { font-size: 14px; color: var(--sub); margin: 10px 0 0; }
.sd-sec--ink .sd-fine { color: #fff; opacity: .7; }

/* how it works */
.sd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sd-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: #fff; border-radius: 16px; padding: 16px; }
.sd-num { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; font-family: 'Almoni Bold'; font-size: 20px; }
.sd-list h3 { margin: 0 0 2px; font-family: 'Almoni Bold'; font-size: 20px; }
.sd-list p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--sub); }
.sd-quote { margin: 20px 0 0; padding: 14px 16px; border-right: 4px solid var(--wave); background: #fff; border-radius: 4px 12px 12px 4px; font-size: 17px; line-height: 1.45; }
.sd-quote small { display: block; color: var(--sub); font-size: 14px; margin-top: 4px; }

/* timeline */
.sd-tl { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.sd-tl::before { content: ''; position: absolute; right: 37px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.sd-tl li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; }
.sd-tl time { position: relative; z-index: 1; justify-self: center; align-self: start; background: var(--ink); color: #fff; border-radius: 14px; padding: 4px 8px; font-family: 'Almoni Bold'; font-size: 15px; }
.sd-tl h3 { margin: 2px 0 2px; font-family: 'Almoni Bold'; font-size: 19px; }
.sd-tl p { margin: 0; font-size: 16px; color: var(--sub); line-height: 1.4; }

/* cards (home2) */
.sd .h2-row--info { gap: 14px; }
.sd .h2-card__media { aspect-ratio: 4 / 3; }
.sd .h2-card__text { font-size: 16px; line-height: 1.45; }
.sd-badge { position: absolute; top: 12px; right: 12px; z-index: 2; }

.sd-one { display: block !important; } .sd-one .h2-card { width: 100%; max-width: none; }
/* launch price */
.sd-launch { position: relative; border: 2px dashed var(--ink); border-radius: 20px; padding: 26px 18px 22px; text-align: center; background: #fff; }
.sd-launch__tag { position: absolute; top: -16px; right: 50%; transform: translateX(50%); }
.sd-launch big { display: block; font-family: 'Almoni Bold'; font-size: 66px; line-height: 1; }
.sd-launch p { margin: 6px 0 0; font-size: 17px; line-height: 1.45; color: var(--sub); }
.sd-launch .sd-btn { margin-top: 18px; }

/* registration (eventer flow) */
.sd-reg { background: #fff; border-radius: 20px; padding: 20px 18px; box-shadow: 0 2px 18px rgba(36,61,68,.08); }
.sd-reg__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.sd-reg__head h3 { margin: 0; font-family: 'Almoni Bold'; font-size: 22px; }
.sd-reg__meta { font-size: 15px; color: var(--sub); }
.sd-add { background: none; border: 0; padding: 6px 0; font-family: 'Almoni Bold'; font-size: 17px; color: var(--ink); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.sd-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; }
.sd-total__sum { font-size: 16px; color: var(--sub); text-align: right; }
.sd-total__sum b { display: block; font-size: 26px; color: var(--ink); line-height: 1; }
.sd-reg__alt { display: block; text-align: center; margin-top: 14px; font-size: 15px; color: var(--sub); }
.sd-reg__alt a { color: var(--ink); text-decoration: underline; }

/* FAQ */
.sd-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.sd-faq summary { font-family: 'Almoni Bold'; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sd-faq summary::after { content: '+'; font-size: 22px; line-height: 1; }
.sd-faq details[open] summary::after { content: '−'; }
.sd-faq p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--sub); }
.sd-tbd { background: var(--pink); color: var(--ink); border-radius: 6px; padding: 0 6px; font-size: 14px; }

/* sticky CTA (mobile) */
.sd-sticky { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(36,61,68,.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s; }
.sd-sticky.show { transform: none; }
.sd-sticky__info { flex: 1; font-size: 15px; color: var(--sub); line-height: 1.2; text-align: right; }
.sd-sticky__info b { display: block; font-size: 22px; color: var(--ink); }
.sd-sticky .sd-btn { height: 46px; min-width: 0; }

@media (min-width: 900px) {
  .sd { padding-bottom: 0; }
  .sd-sec { padding: 72px 0; }
  .sd-h2 { font-size: 44px; }
  .sd-lead { font-size: 20px; max-width: 720px; }
  .sd-hero.h2-hero { min-height: 82vh; }
  .sd-hero .h2-hero__text { padding-bottom: 64px; }
  .sd-hero__title { font-size: 104px !important; }
  .sd-hero__sub { font-size: 24px; }
  .sd-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sd-stat big { font-size: 56px; }
  .sd-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .sd-list { grid-template-columns: 1fr 1fr; }
  .sd-reg { padding: 28px; }
  .sd-sticky { display: none; }
}

/* B extras */
.sd-cd { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.sd-cd span { min-width: 64px; padding: 8px 6px; border-radius: 12px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 13px; text-align: center; }
.sd-cd b { display: block; font-size: 26px; line-height: 1; }
  background: linear-gradient(to right, #D3D8DA calc(100% - var(--p)), #243D44 calc(100% - var(--p))); }
.sd-save { display: inline-block; margin-top: 14px; }
.sd-seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; max-width: 420px; margin: 0 auto; }
.sd-seats i { aspect-ratio: 1; border-radius: 50%; border: 2px solid #99DCDC; background: transparent; }
.sd-seats i.taken { background: #99DCDC; }
.sd-legend { display: flex; justify-content: center; gap: 18px; font-size: 15px; margin-top: 14px; }
.sd-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #99DCDC; margin-left: 6px; vertical-align: -1px; }
.sd-legend .t::before { background: #99DCDC; }
@media (min-width: 900px) {
  .sd-cd span { min-width: 84px; } .sd-cd b { font-size: 34px; }
}

/* registration = site iOS-light form (register_ios.css): white, hairline fields, teal focus, bottom sheet */
.sd-reg { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 2px 18px rgba(36,61,68,.08); }
.sd-reg__head { flex-direction: row; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.sd-reg__head h3 { font-size: 24px; line-height: 1.1; }
.sd-reg__meta { display: block; margin-top: 2px; font-size: 15px; }
.sd-reg__title { margin: 0 0 6px; font-family: 'Almoni Bold'; font-size: 20px; }
.sd-c { text-align: center; }
.sd-plus { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #C2EAEA; display: flex; align-items: center; justify-content: center; font-family: 'Almoni Bold'; font-size: 18px; line-height: 1; }
.sd-total { border-top: 0; margin-top: 6px; }
.sd-btn--outline { background: #fff; border: 1px solid #243D44; color: #243D44 !important; margin-top: 12px; }
.sd-btn[disabled] { background: #D3D8DA; }
.sd-reg__alt { margin-top: 16px; }
/* sheet: the panel IS the form (no card in a card) */
/* calculator text order */

/* seat counter off (CMS checkbox) */
/* A hero countdown sits before the buttons */
.sd-hero .sd-cd { margin-top: 14px; }
/* iOS segmented control (site rg-seg) */
.sd-reg .sd-btn--block { margin-top: 6px; }
/* surfers = session popup rows */
.sd-surfer { margin: 0 0 14px; }
.sd-surfer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sd-surfer__lbl { font-family: 'Almoni Bold'; font-size: 16px; }
.sd-trash { border: 0; background: none; padding: 4px; cursor: pointer; }
.sd-dd { width: 100%; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid #D3D8DA; border-radius: 12px; background: #fff; font-family: 'Almoni Medium'; font-size: 18px; color: #243D44; cursor: pointer; }
.sd-dd__list { margin-top: 6px; border: 1px solid #D3D8DA; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(36,61,68,.12); }
.sd-dd__list button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 0; border-bottom: 1px solid #ECECEC; background: #fff; font-family: 'Almoni Medium'; font-size: 17px; color: #243D44; cursor: pointer; text-align: right; }
.sd-dd__list button:last-child { border-bottom: 0; }
.sd-dd__it span { flex: 1; }
.sd-dd__it small { font-size: 14px; color: #545F64; }
.sd-dd__it.on { background: #F7F7F7; }
.sd-dd__add { font-family: 'Almoni Bold' !important; background: #F7F7F7 !important; }
.sd-add { margin: 0 0 4px; }
.sd-add[disabled] { opacity: .4; }
.sd-sub { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sd-sub .sd-reg__title { margin: 0; }
.sd-back { border: 0; background: none; font-family: 'Almoni Medium'; font-size: 16px; color: #545F64; cursor: pointer; padding: 0; order: 2; }

/* ---- added for the build */
.sd-eyebrow--mint { color: var(--mint); }
.sd-center { text-align: center; }
.sd-lead--center { margin-inline: auto; }
.sd-narrow { max-width: 560px; }
.sd-ink { color: var(--ink); }
.sd-c { text-align: center; }
.sd-daycard { margin-top: 20px; }
.sd-daycard .h2-card__media { aspect-ratio: 4 / 3; }
.sd-stats--n1, .sd-stats--n3 { grid-template-columns: repeat(3, 1fr); }
.sd-stats--n1 { grid-template-columns: 1fr; }
.sd-legend { display: flex; justify-content: center; gap: 18px; font-size: 15px; margin-top: 14px; }
.sd-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--wave); margin-left: 6px; vertical-align: -1px; }
.sd-legend .t::before { background: var(--wave); }
.sd-seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; max-width: 420px; margin: 0 auto; }
.sd-seats i { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--wave); }
.sd-seats i.taken { background: var(--wave); }
.sd-cd { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.sd-cd span { min-width: 64px; padding: 8px 6px; border-radius: 12px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 13px; text-align: center; }
.sd-cd b { display: block; font-size: 26px; line-height: 1; font-family: 'Almoni Bold'; font-weight: normal; }
.sd-reg__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.sd-reg__title { margin: 0 0 10px; font-family: 'Almoni Bold'; font-size: 20px; }
.sd-surfer { margin: 0 0 14px; }
.sd-surfer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sd-surfer__lbl { font-family: 'Almoni Bold'; font-size: 16px; }
.sd-trash { border: 0; background: none; padding: 4px; cursor: pointer; }
.sd-dd { width: 100%; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: 'Almoni Medium'; font-size: 18px; color: var(--ink); cursor: pointer; }
.sd-dd__list { margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(36,61,68,.12); }
.sd-dd__list button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 0; border-bottom: 1px solid #ECECEC; background: #fff; font-family: 'Almoni Medium'; font-size: 17px; color: var(--ink); cursor: pointer; text-align: right; }
.sd-dd__list button:last-child { border-bottom: 0; }
.sd-dd__it span { flex: 1; }
.sd-dd__it small { font-size: 14px; color: var(--sub); }
.sd-dd__it.on { background: var(--soft); }
.sd-dd__add { font-family: 'Almoni Bold' !important; background: var(--soft) !important; }
.sd-plus { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; font-family: 'Almoni Bold'; font-size: 18px; line-height: 1; }
.sd-add { background: none; border: 0; padding: 6px 0; margin: 0 0 4px; font-family: 'Almoni Bold'; font-size: 17px; color: var(--ink); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.sd-total { margin-top: 6px; border-top: 0; }
.sd-btn[disabled] { background: var(--line); color: #fff !important; cursor: default; }
.sd-error { margin: 10px 0 0; color: var(--ink); background: var(--pink); border-radius: 10px; padding: 8px 12px; font-size: 15px; }
.sd-reg__alt { display: block; text-align: center; margin-top: 16px; font-size: 15px; }
.sd-reg__alt a { color: var(--ink); text-decoration: underline; }
.sd-sub__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sd-sub__bar .sd-reg__title { margin: 0; }
.sd-back { border: 0; background: none; font-family: 'Almoni Medium'; font-size: 16px; color: var(--sub); cursor: pointer; padding: 0; }
/* the session popup's add-a-surfer form, inside the card */
.sd-reg .sd-sub { display: block; }
/* in the session popup it is pinned to the drawer's bottom (absolute); here it follows the fields */
.sd-reg #add_new_surfer .bottom_popup { position: static; width: auto; margin-top: 12px; padding: 0; box-shadow: none; background: none; }
.sd-reg #add_new_surfer { display: block; position: static; opacity: 1; visibility: visible; width: auto; box-shadow: none; padding: 0; }
.sd-reg #add_new_surfer .add_new_surefer > .wrapper { display: none; }
