/* ============================================
   ISTEAD RISE BOWLS CLUB — style.css
   ============================================ */

/* 1. CSS Custom Properties */
:root {
  --navy:         #1B3A52;
  --sky:          #6BB8E0;
  --sky-dark:     #4A9AC4;
  --sky-light:    #EBF6FC;
  --white:        #FFFFFF;
  --text:         #1A2830;
  --text-muted:   #4A6072;
  --green-accent: #3A7050;
  --green-light:  #E6F2EA;
  --border:       #CBE3F0;
  --win:          #2E7D32;
  --loss:         #C62828;
  --draw:         #BF6900;
  --shadow:       0 2px 12px rgba(27, 58, 82, 0.12);
  --shadow-lg:    0 6px 32px rgba(27, 58, 82, 0.18);
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.22s ease;
  --container:    1100px;
}

/* 2. Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Typography */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.1rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sky-dark); text-decoration: underline; }
a:hover { color: var(--navy); }

img { display: block; max-width: 100%; height: auto; }

ul, ol { padding-left: 1.4em; }

/* 4. Layout Utilities */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section       { padding: 4.5rem 0; }
.club-crest + .section { padding-top: 1.5rem; }
.section-sm    { padding: 2.5rem 0; }
.bg-light      { background: var(--sky-light); }
.bg-navy       { background: var(--navy); }
.text-center   { text-align: center; }

.section-label {
  display: inline-block;
  background: var(--sky-light);
  color: var(--sky-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25em 0.9em;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 2rem;
  min-height: 48px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  line-height: 1.3;
  white-space: nowrap;
}

.btn-sky {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--sky);
}
.btn-sky:hover {
  background: var(--sky-dark);
  border-color: var(--sky-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(74, 154, 196, 0.4);
}

.btn-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--sky-dark);
  border-color: var(--sky-dark);
  color: var(--white);
}

/* 6. Badges */
.badge {
  display: inline-block;
  padding: 0.2em 0.85em;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.badge-win  { background: var(--win); }
.badge-loss { background: var(--loss); }
.badge-draw { background: var(--draw); }

/* ============================================
   7. NAVIGATION
   ============================================ */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.nav-club-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  align-items: center;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(107,184,224,0.18);
  color: var(--sky-dark);
}

.nav-links a.active {
  background: var(--sky);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  color: var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nav-toggle:hover {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--sky);
}

/* ============================================
   8. HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 540px;
  background-image: url('Photos/Istead-Rise-Bowls-Club-25-768x239.jpg');
  background-size: cover;
  background-position: center 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 40, 64, 0.55) 0%,
    rgba(18, 40, 64, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 2.5rem 1.5rem;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3em 1em;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.1rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.93;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slim hero – inner pages */
.hero-slim {
  min-height: 260px;
}

.hero-slim .hero-content h1 {
  font-size: 2.4rem;
}

.club-crest {
  text-align: center;
  padding-top: 1rem;
}

.crest-logo {
  height: 260px;
  width: auto;
  display: inline-block;
  margin-bottom: 0;
}

/* ============================================
   9. INFO STRIP
   ============================================ */
.info-strip {
  background: var(--sky-light);
  padding: 1.6rem 0;
  border-bottom: 3px solid var(--sky);
}

.info-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.info-tile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.25rem 0;
}

.info-tile-icon {
  font-size: 1.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.info-tile strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.info-tile span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ============================================
   10. SEASON CARDS
   ============================================ */
.season-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.season-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
}

.season-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.season-card:hover .season-card-bg {
  transform: scale(1.05);
}

.season-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 40, 64, 0.90) 0%,
    rgba(18, 40, 64, 0.35) 55%,
    transparent 100%
  );
  z-index: 1;
}

.season-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem 2rem;
  color: var(--white);
  width: 100%;
}

.season-card-tag {
  display: inline-block;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3em 1em;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.season-card-content h3 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.season-card-content p {
  font-size: 0.93rem;
  margin-bottom: 1.1rem;
  opacity: 0.88;
  line-height: 1.55;
}

.season-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: gap var(--transition), color var(--transition);
}

.season-card-link::after { content: '→'; }

.season-card-link:hover {
  color: var(--white);
  gap: 0.6rem;
}

/* ============================================
   11. QUICK LINKS
   ============================================ */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.quick-link-card .ql-thumb {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.quick-link-card .ql-label {
  display: block;
  padding: 12px 1rem;
  min-height: 44px;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}

.quick-link-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.quick-link-card:hover .ql-label {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   12. ABOUT — ALTERNATING LAYOUT
   ============================================ */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.alt-row:last-child { margin-bottom: 0; }
.alt-row.reverse { direction: rtl; }
.alt-row.reverse > * { direction: ltr; }

.alt-row img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.alt-row-text .section-label { margin-bottom: 0.5rem; }

.alt-row-text p {
  color: var(--text-muted);
  font-size: 1rem;
}

.about-photo-full {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}
/* ============================================
   13. CALLOUT BOXES
   ============================================ */
.callout {
  background: var(--sky-light);
  border-left: 5px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.callout h3 { color: var(--sky-dark); margin-bottom: 0.35rem; }

.callout.green {
  background: var(--green-light);
  border-color: var(--green-accent);
}

.callout.green h3 { color: var(--green-accent); }

/* Whitstable box */
.whitstable-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  color: var(--white);
  margin: 3rem 0;
}

.whitstable-box .wb-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.whitstable-box h3 {
  color: var(--sky);
  margin-bottom: 0.4rem;
}

.whitstable-box p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 0;
}

/* ============================================
   14. FIXTURES — TABS + TABLES
   ============================================ */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.85rem 2rem;
  min-height: 48px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn:hover { color: var(--navy); }

.tab-btn[aria-selected="true"] {
  color: var(--navy);
  border-bottom-color: var(--sky);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.fixtures-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.fixtures-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.fixtures-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 540px;
}

.fixtures-table th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.fixtures-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.fixtures-table th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }

.fixtures-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 0.97rem;
}

.fixtures-table tr:last-child td { border-bottom: none; }

.fixtures-table tbody tr:nth-child(even) { background: var(--sky-light); }

.fixtures-table tbody tr:hover { background: #d0e9f5; }

.venue-home { color: var(--green-accent); font-weight: 700; }
.venue-away { color: var(--text-muted); }

.type-badge {
  display: inline-block;
  padding: 0.15em 0.65em;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--sky-light);
  color: var(--sky-dark);
}

.type-badge.league { background: #e0e8f0; color: var(--navy); }
.type-badge.social { background: var(--green-light); color: var(--green-accent); }
.type-badge.tbd { background: var(--border); color: var(--text-muted); }

/* ============================================
   15. GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.gallery-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  background: var(--navy);
}

.gallery-figure img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.gallery-figure:hover img { transform: scale(1.07); }
.gallery-figure:focus { outline: 3px solid var(--sky); outline-offset: 2px; }

.gallery-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27,58,82,0.85);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  line-height: 1.4;
}

.gallery-figure:hover figcaption,
.gallery-figure:focus figcaption { transform: translateY(0); }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.93);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#lightbox.open { display: flex; }

#lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}

#lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin-top: 0.9rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  min-height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,0.28); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  min-height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.24); }

/* ============================================
   16. JOIN — STEPS
   ============================================ */
.steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid var(--border);
  border-left: 5px solid var(--sky);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.step-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.step-text p  { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 0; }

.need-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.need-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
}

.need-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--green-light);
  color: var(--green-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* ============================================
   17. CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-detail-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.cdi-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.2;
  color: var(--sky-dark);
}

.cdi-text strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.cdi-text p,
.cdi-text a {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.cdi-text a { color: var(--sky-dark); }
.cdi-text a:hover { color: var(--navy); }

.contact-form-wrap {
  background: var(--sky-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-form-wrap h2 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.38rem;
  color: var(--navy);
  font-size: 0.97rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231B3A52' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(107, 184, 224, 0.28);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

#thank-you {
  display: none;
  background: var(--green-light);
  border: 2px solid var(--green-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

#thank-you h2 {
  color: var(--green-accent);
  margin-bottom: 0.6rem;
}

#thank-you p { color: var(--text-muted); margin-bottom: 0; }

/* ============================================
   18. FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 0;
  border-top: 4px solid var(--sky);
}

.footer-crest {
  text-align: center;
}

.footer-logo {
  height: 110px;
  width: auto;
  display: inline-block;
  margin-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--sky);
  margin-bottom: 0.9rem;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

.footer-col ul { list-style: none; padding: 0; }

.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--sky); }

.footer-col .footer-email {
  color: var(--sky);
  font-weight: 600;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================
   19. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 960px) {
  .quick-links-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  html { font-size: 17px; }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  .hero { min-height: 390px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-slim { min-height: 210px; }
  .hero-slim .hero-content h1 { font-size: 1.75rem; }
  .crest-logo { height: 170px; }
  .footer-logo { height: 50px; }

  /* Mobile nav drawer */
  .nav-inner { height: 58px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1rem;
    gap: 0.2rem;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
  }

  .nav-toggle { display: flex; }

  .info-strip-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  .season-grid { grid-template-columns: 1fr; }

  .alt-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .alt-row.reverse { direction: ltr; }

  .whitstable-box { flex-direction: column; text-align: center; gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .section { padding: 3rem 0; }
}

@media (max-width: 520px) {
  html { font-size: 16px; }

  .hero-content h1 { font-size: 1.75rem; }
  .nav-club-name { display: none; }

  .info-strip-inner { grid-template-columns: 1fr 1fr; }

  .quick-links-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .gallery-figure img { height: 140px; }

  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }

  .step-item { flex-direction: column; gap: 0.85rem; }

  .contact-form-wrap { padding: 1.25rem; }

  .tab-btn { padding: 0.75rem 1.1rem; font-size: 0.9rem; }
}
