/* ============================================================
   SECTIONS.CSS — All page section styles
   Barnet Premier Swim
   ============================================================ */

/* ══════════════════════════════════
   ABOUT US
══════════════════════════════════ */
.about-us { background: var(--white); width: 100%; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ah-item {
  background: var(--ice);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
}

.ah-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.ah-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════
   TIMETABLE — single slot variant
══════════════════════════════════ */
.times-grid--single {
  grid-template-columns: 1fr;
  max-width: 320px;
}

.tc--featured {
  border-color: var(--sky) !important;
  background: var(--ice) !important;
  box-shadow: var(--sh-sm);
}

.tc--featured .tci {
  background: var(--sky);
  color: var(--white);
}

.tc--featured .tc-t {
  font-size: 1.15rem;
  color: var(--navy);
}

/* ══════════════════════════════════
   WHY US — warm off-white, last section before footer
══════════════════════════════════ */
.why { background: var(--sand); width: 100%; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.why-card {
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}
.why-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
  border-color: var(--border);
}

.wi {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
}

.why-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.why-card p { font-size: 0.96rem; color: var(--text); line-height: 1.72; }
.why-body   { flex: 1; }


/* ══════════════════════════════════
   PRICING
══════════════════════════════════ */
.pricing {
  background: var(--navy);
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing .lbl          { color: var(--pool); }
.pricing .lbl::before  { background: var(--pool); }
.pricing .sec-h        { color: var(--white); }
.pricing .sec-s        { color: rgba(255, 255, 255, 0.65); }

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Vertical card layout so people count has space to breathe */
.pc {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.pc:hover {
  border-color: rgba(10, 175, 224, 0.4);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}
.pc.featured {
  border-color: rgba(212, 153, 42, 0.7);
  background: rgba(212, 153, 42, 0.08);
}

/* Badge */
.pb {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: #1a0800;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

/* Icon */
.pi {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(10, 175, 224, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pool);
  margin-bottom: 20px;
}
.pc.featured .pi { background: rgba(212, 153, 42, 0.16); color: var(--gold-l); }

/* Type label */
.p-lbl {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

/* Lesson name */
.p-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

/* People count — prominent pill */
.p-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.p-who-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.p-who-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

/* Price */
.p-amt-wrap {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.p-amt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.p-amt sup { font-size: 1.3rem; vertical-align: super; font-weight: 500; }
.p-per     { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); }


/* ══════════════════════════════════
   HOW IT WORKS — ice blue, soft contrast after dark pricing
══════════════════════════════════ */
.how      { background: var(--ice); width: 100%; }
.how-wrap { display: grid; grid-template-columns: 1fr; gap: 0; }

.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }

.sn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ice);
  border: 2px solid var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sky);
  flex-shrink: 0;
}

.step-b h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.step-b p  { font-size: 0.96rem; color: var(--text); line-height: 1.72; }


/* ══════════════════════════════════
   TIMETABLE — white, clean after ice blue
══════════════════════════════════ */
.timetable { background: var(--white); width: 100%; }

.times-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tc {
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--r-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tc:hover {
  border-color: var(--sky);
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}

.tci {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
}

.tc-t { font-weight: 700; font-size: 0.97rem; color: var(--navy); }
.tc-d { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.t-note {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ice);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
}
.t-note svg { flex-shrink: 0; color: var(--sky); margin-top: 2px; }


/* ══════════════════════════════════
   FAQ — warm sand, bridges white timetable to dark register
══════════════════════════════════ */
.faq      { background: var(--sand); width: 100%; }
.faq-list { max-width: 760px; margin: 0 auto; }

.fi { border-bottom: 1px solid var(--border); }

.fq {
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  line-height: 1.45;
}

.fqi {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}
.fi.open .fqi { background: var(--sky); border-color: var(--sky); color: white; transform: rotate(45deg); }

.fa {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.78;
}
.fi.open .fa { max-height: 300px; padding-bottom: 22px; }


/* ══════════════════════════════════
   REGISTER / FORM
══════════════════════════════════ */
.register {
  background: var(--navy);
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10, 175, 224, 0.09) 0%, transparent 65%);
  width: 100%;
}
.register .lbl         { color: var(--pool); }
.register .lbl::before { background: var(--pool); }
.register .sec-h       { color: var(--white); }
.register .sec-s       { color: rgba(255, 255, 255, 0.65); }

.form-shell {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  max-width: 660px;
  margin: 0 auto;
}

.frow { display: grid; grid-template-columns: 1fr; gap: 16px; }
.fg   { display: flex; flex-direction: column; gap: 7px; }

.fg label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.iw { position: relative; display: flex; align-items: center; }
.ii {
  position: absolute;
  left: 14px;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 14px 14px 14px 44px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.fg textarea              { padding-left: 14px; min-height: 96px; resize: vertical; }
.fg input::placeholder,
.fg textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.fg select                { cursor: pointer; }
.fg select option         { background: #0E2744; color: white; }
.fg input:focus,
.fg select:focus,
.fg textarea:focus        { border-color: var(--pool); background: rgba(10, 175, 224, 0.08); }

.sa { position: absolute; right: 13px; color: rgba(255, 255, 255, 0.3); pointer-events: none; }

.fsub { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.btn-sub {
  width: 100%;
  background: var(--pool);
  color: var(--navy);
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 16px rgba(10, 175, 224, 0.28);
}
.btn-sub:hover  { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 175, 224, 0.4); }
.btn-sub:active { transform: scale(0.97); }

.f-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

.fdiv { margin: 26px 0; display: flex; align-items: center; gap: 14px; }
.fdiv::before,
.fdiv::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.fdiv span   { font-size: 0.78rem; color: rgba(255, 255, 255, 0.38); white-space: nowrap; }

.wa-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--green-bg);
  border: 1.5px solid var(--green-bd);
  border-radius: 50px;
  padding: 15px 24px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.wa-full:hover  { background: rgba(37, 211, 102, 0.16); transform: translateY(-2px); }
.wa-full:active { transform: scale(0.97); }

.success-box {
  display: none;
  background: rgba(10, 175, 224, 0.1);
  border: 1.5px solid rgba(10, 175, 224, 0.3);
  border-radius: var(--r-md);
  padding: 20px 22px;
  color: var(--pool);
  font-size: 0.97rem;
  text-align: center;
  margin-top: 20px;
  line-height: 1.65;
}


/* ══════════════════════════════════
   LOCATION — white, clean contrast after dark register
══════════════════════════════════ */
.location { background: var(--white); width: 100%; }
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.ld {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.ld:last-child { margin-bottom: 0; }

.ldi {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ice);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
}

.ld strong { display: block; font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ld span   { font-size: 0.94rem; color: var(--text); line-height: 1.55; }

.map-box {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  height: 280px;
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 48px 24px 36px;
  width: 100%;
}

.ft {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 26px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.ftag {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  font-weight: 300;
}

.fl   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fl a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); transition: color 0.2s; }
.fl a:hover { color: var(--pool); }

.fbot   { display: flex; flex-direction: column; gap: 7px; }
.fbot p { font-size: 0.78rem; color: rgba(255, 255, 255, 0.28); line-height: 1.6; }