/* ============================================================
   L&M Swimming Club — main.css
   Fonts: Lato (100,300,400,700) + Cabin (700)
   Primary: #7FBFE9 | Dark bg: #151515 | White: #fff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,300;1,400&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', Arial, sans-serif; font-size: 16px; color: #fff; background: #000; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Skip link ── */
.skip-link { position: absolute; top: -100px; left: 1rem; background: #7FBFE9; color: #000; padding: .5rem 1rem; border-radius: 4px; font-weight: 700; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ── CSS variables ── */
:root {
  --blue: #7FBFE9;
  --blue-hover: #6aaed8;
  --dark: #151515;
  --darker: #000;
  --light-bg: #f6f6f6;
  --white: #fff;
  --text-dark: #1a1a1a;
  --max-w: 1200px;
  --nav-h: 65px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-name {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.site-nav a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.55rem;
  border-radius: 3px;
  transition: color .2s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
  border-radius: 4px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-hover) !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: #fff;
  font-size: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .nav-cta-mob {
  margin-top: 1rem;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  border-bottom: none;
}

/* ============================================================
   HERO — full-width slider (homepage)
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  padding-top: var(--nav-h);
}

.hero-content h1 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  max-width: 900px;
}

.hero-rule {
  width: 80px;
  height: 2px;
  background: #fff;
  margin: 1.2rem auto;
  opacity: 0.7;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

/* Hero — inner pages (split layout) */
.hero-inner {
  padding-top: var(--nav-h);
  background: var(--dark);
  min-height: 340px;
  display: flex;
  align-items: stretch;
}

.hero-inner-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.hero-inner-text {
  padding: 4rem 3rem 4rem 1.5rem;
}

.hero-inner-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.hero-inner-text h1 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #fff;
}

.hero-inner-img {
  height: 100%;
  min-height: 320px;
}
.hero-inner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero — text-only (dark bg, no image) */
.hero-text-only {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3rem;
  background: var(--dark);
  text-align: center;
}
.hero-text-only h1 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 1rem;
}
.hero-text-only .hero-rule { margin: 1rem auto; }
.hero-text-only p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background .3s;
  padding: 0;
}
.slider-dot.active { background: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, transform .15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); }
.btn--outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--outline-white:hover { background: #fff; color: var(--dark); }
.btn--outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--outline-blue:hover { background: var(--blue); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 5rem 1.5rem;
}
.section--dark { background: var(--darker); color: #fff; }
.section--mid { background: var(--dark); color: #fff; }
.section--light { background: var(--light-bg); color: var(--text-dark); }
.section--white { background: #fff; color: var(--text-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.section-header h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.section-header p {
  font-size: 1rem;
  font-weight: 300;
  margin-top: 0.75rem;
  opacity: 0.85;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

h2.section-h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
h3.section-h3 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
h4.card-title {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

/* ============================================================
   INTRO TEXT SECTION (homepage below hero)
   ============================================================ */
.intro-section {
  background: var(--dark);
  padding: 4rem 1.5rem;
  text-align: center;
}
.intro-section p {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}
.intro-section p:last-of-type { margin-bottom: 2rem; }

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-strip {
  background: #fff;
  color: var(--text-dark);
  padding: 4rem 1.5rem;
}
.about-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-strip h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.about-strip p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0.8rem;
}
.about-strip-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

/* ============================================================
   WHY CHOOSE — circular image cards (homepage)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.why-card { display: flex; flex-direction: column; align-items: center; }
.why-card-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 3px solid rgba(127,191,233,0.3);
}
.why-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-card h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.why-card p { font-size: 0.88rem; font-weight: 300; opacity: 0.85; line-height: 1.6; }

/* ============================================================
   CLASS CARDS (homepage)
   ============================================================ */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.class-card {
  background: var(--dark);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.class-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.class-card-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.class-card h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.class-card p { font-size: 0.85rem; font-weight: 300; opacity: 0.85; flex: 1; margin-bottom: 1rem; line-height: 1.6; }

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-section {
  background: var(--dark);
  padding: 5rem 1.5rem;
  overflow: hidden;
}
.reviews-track-wrapper { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s ease;
}
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.75rem;
  min-width: 340px;
  max-width: 340px;
  flex-shrink: 0;
}
.review-stars {
  color: #f5c518;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.review-text {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1rem;
  font-style: italic;
}
.review-author { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; }
.review-link { font-size: 0.78rem; color: var(--blue); }
.review-link:hover { text-decoration: underline; }

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.reviews-arrow {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.reviews-arrow:hover { background: var(--blue); border-color: var(--blue); }
.reviews-dots { display: flex; gap: 0.4rem; }
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background .3s;
  padding: 0;
}
.reviews-dot.active { background: var(--blue); }

/* ============================================================
   ACCREDITATIONS STRIP
   ============================================================ */
.accreditations {
  background: #fff;
  padding: 2.5rem 1.5rem;
}
.accreditations-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.accreditations img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .2s;
}
.accreditations img:hover { filter: none; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--dark);
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(127,191,233,0.2);
  border-bottom: 1px solid rgba(127,191,233,0.2);
}
.cta-banner h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.cta-banner p { font-size: 1rem; font-weight: 300; opacity: 0.85; margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ============================================================
   CONTACT MINI SECTION
   ============================================================ */
.contact-mini {
  background: var(--darker);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.contact-mini h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.contact-mini .contact-name {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.02em;
}
.contact-mini p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 0.3rem; }
.contact-mini a { color: var(--blue); }
.contact-mini a:hover { text-decoration: underline; }
.contact-mini .contact-phones { margin: 0.5rem 0 1.5rem; line-height: 2; }

/* ============================================================
   TIMETABLE
   ============================================================ */
.timetable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.timetable-day h3 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--blue);
  border-bottom: 1px solid rgba(127,191,233,0.3);
  padding-bottom: 0.4rem;
}
.timetable-day p, .timetable-day li {
  font-size: 0.9rem;
  padding: 0.25rem 0;
  opacity: 0.9;
  line-height: 1.5;
}

/* ============================================================
   VALUE CARDS (about, pools, inner pages)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1.75rem;
}
.value-card h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.value-card p { font-size: 0.9rem; opacity: 0.85; line-height: 1.7; }

/* Light section value cards */
.section--light .value-card,
.section--white .value-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section--light .value-card h4,
.section--white .value-card h4 { color: var(--blue); }
.section--light .value-card p,
.section--white .value-card p { color: #555; }

/* ============================================================
   TWO-COLUMN CONTENT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col--center { align-items: center; }
.two-col img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.section--light .faq-item,
.section--white .faq-item { border-color: rgba(0,0,0,0.1); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  letter-spacing: 0.02em;
  line-height: 1.4;
  font-family: 'Lato', Arial, sans-serif;
}
.section--light .faq-question,
.section--white .faq-question { color: var(--text-dark); }
.faq-question::after {
  content: '›';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.4rem;
  transition: transform .3s;
  color: var(--blue);
}
.faq-item.open .faq-question::after { transform: translateY(-50%) rotate(-90deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.2rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.85;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   POOL INFO SECTIONS
   ============================================================ */
.pool-section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pool-section:last-child { border-bottom: none; }
.pool-section h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  color: #fff;
}
.pool-detail { font-size: 0.92rem; line-height: 1.8; margin-bottom: 0.7rem; opacity: 0.9; }
.pool-detail strong { color: #fff; }
.pool-note {
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0.7;
  margin-top: 1rem;
}
.pool-address {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 1.2rem 0;
  opacity: 0.85;
}

/* ============================================================
   POLICIES (FAQs page)
   ============================================================ */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.policy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1.5rem;
}
.policy-card h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.policy-card p { font-size: 0.85rem; line-height: 1.7; opacity: 0.85; }

.download-list { display: flex; flex-direction: column; gap: 0.75rem; }
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
}
.download-item span { opacity: 0.9; }
.download-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.download-link:hover { text-decoration: underline; }

/* ============================================================
   BOOKING FORMS PAGE
   ============================================================ */
.term-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.term-card h2 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.term-dates { margin-bottom: 1.5rem; }
.term-dates p { font-size: 0.92rem; line-height: 1.9; opacity: 0.9; }
.term-dates strong { color: #fff; display: inline-block; min-width: 110px; }
.form-download {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.form-download span { font-size: 0.92rem; opacity: 0.9; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-detail-group { margin-bottom: 2rem; }
.contact-detail-group h3 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(127,191,233,0.3);
}
.contact-detail-group p, .contact-detail-group a {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.9;
  display: block;
}
.contact-detail-group a { color: var(--blue); }
.contact-detail-group a:hover { text-decoration: underline; }
.contact-img img { width: 100%; height: 280px; object-fit: cover; border-radius: 4px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1877F2;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: background .2s;
}
.social-btn:hover { background: #1565d8; }

/* ============================================================
   WHAT TO EXPECT — two column list (beginners page)
   ============================================================ */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.expect-col h3 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(127,191,233,0.3);
}
.expect-col ul li {
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  opacity: 0.9;
}
.expect-col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
}

/* Section light text overrides */
.section--light .expect-col h3 { color: #1a6fa3; border-color: rgba(26,111,163,0.3); }
.section--light .expect-col ul li::before { color: #1a6fa3; }
.section--light .expect-col ul li { color: #444; }

/* ============================================================
   WHY CHOOSE — feature list (inner pages)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.feature-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.feature-card h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.88rem; line-height: 1.7; opacity: 0.85; }

/* ============================================================
   ADVANCED — what to expect cards
   ============================================================ */
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.advanced-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.advanced-card h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.advanced-card p { font-size: 0.85rem; opacity: 0.85; line-height: 1.6; }

/* ============================================================
   PHOTO GALLERY (pre-school page)
   ============================================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 0.75rem 1.5rem;
  background: rgba(0,0,0,0.3);
  font-size: 0.8rem;
  opacity: 0.7;
}
.breadcrumbs a { color: var(--blue); }
.breadcrumbs .sep { margin: 0 0.4rem; opacity: 0.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #000;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-social {
  margin-bottom: 0.75rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  transition: background .2s;
}
.footer-social a:hover { background: #1877F2; }

.footer-name {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.3rem;
}
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.5;
  margin-top: 0.3rem;
}
.footer-credit {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}
.footer-credit a {
  color: #7FBFE9;
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 300px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  z-index: 9998;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner h4 {
  font-family: 'Cabin', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #fff;
}
.cookie-banner p { font-size: 0.8rem; line-height: 1.6; opacity: 0.8; margin-bottom: 1rem; }
.cookie-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0.6rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', Arial, sans-serif;
  transition: background .2s;
}
.cookie-btn:hover { background: var(--blue-hover); }
.cookie-banner p a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-actions .cookie-btn { width: auto; flex: 1; }
.cookie-btn--reject { background: transparent; border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn--reject:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .site-nav { gap: 0; }
  .site-nav a { font-size: 0.72rem; padding: 0.4rem 0.4rem; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .advanced-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner-grid { grid-template-columns: 1fr; }
  .hero-inner-img { min-height: 220px; order: -1; }
  .hero-inner-text { padding: 2.5rem 1.5rem; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .expect-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 1rem; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .why-card-img { width: 130px; height: 130px; }
  .classes-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .advanced-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { min-width: 280px; max-width: 280px; }
  .policy-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: 200px; }
  .accreditations img { height: 45px; }
  .accreditations-inner { gap: 1.5rem; }
  .timetable-grid { grid-template-columns: 1fr; }
  .download-item { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .form-download { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .hero-slider { height: 85vh; }
}
