/* ---------------------------------------------------
   CSS RESET + NORMALIZE
--------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAFA;
  color: #1A2238;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #214072;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-left: 24px;
}
button, input, select, textarea {
  font-size: 16px;
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ---------------------------------------------------
   CSS VARIABLES (FALLBACKS)
--------------------------------------------------- */
:root {
  --primary: #214072;
  --secondary: #338356;
  --accent: #FAFAFA;
  --dark: #172033;
  --error: #D63031;

  --shadow1: 0 2px 8px rgba(33,64,114,0.06);
  --shadow2: 0 4px 18px rgba(33,64,114,0.12);
  --radius: 18px;
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #214072;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  color: #1A2238;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: #338356;
}
.cta-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #338356;
  text-decoration: underline;
  border-bottom: 2px solid #338356;
  padding-bottom: 2px;
  transition: all 0.2s;
}
.cta-link:hover,
.cta-link:focus {
  color: #214072;
  border-bottom-color: #214072;
}

/* ---------------------------------------------------
   CONTAINER & LAYOUT
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
}
.content-wrapper:last-child {
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---------------------------------------------------
   HEADER & NAVIGATION (DESKTOP)
--------------------------------------------------- */
header {
  background: #214072;
  color: #fafafa;
  padding: 0;
  border-bottom: 4px solid #338356;
  box-shadow: var(--shadow1);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 32px;
}
.logo img {
  height: 48px;
  max-width: 170px;
  margin-right: 12px;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: #FAFAFA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.2s;
}
header nav a.active,
header nav a:hover,
header nav a:focus {
  background: #338356;
  color: #fff;
}
.cta-button {
  background: #338356;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 2px 14px rgba(51,131,86,0.16);
  display: inline-block;
  margin-left: 20px;
  border: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s, transform 0.09s;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: #214072;
  color: #fff;
  box-shadow: 0 6px 24px rgba(51,131,86,0.20),0 1.5px 4px #33835644;
  transform: translateY(-2px) scale(1.025);
}

/* ---------------------------------------------------
   MOBILE NAVIGATION
--------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 120;
  width: 44px;
  height: 44px;
  background: #338356;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(51,131,86,0.18);
  transition: background 0.18s, box-shadow 0.14s;
  cursor: pointer;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #214072;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.7,0,0.3,1);
  background: #214072;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  overscroll-behavior: contain;
  box-shadow: var(--shadow2);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: var(--shadow2);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 18px 22px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #338356;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 36px 30px 0 32px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 14px 8px;
  width: 100%;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 4px;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #338356;
  color: #fff;
}
@media (max-width: 1024px) {
  header nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    padding: 28px 12px 0 18px;
  }
}

/* ---------------------------------------------------
   MAIN PAGES - HERO, FEATURES, CARDS, TEXT/IMAGE
--------------------------------------------------- */
.text-section {
  background: linear-gradient(140deg, #FAFAFA 70%, #33835610 100%);
  box-shadow: none;
  text-align: left;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-top: 24px;
  margin-bottom: 8px;
}
.features-grid > div {
  flex: 1 1 220px;
  background: #F5F7FA;
  border-radius: var(--radius);
  padding: 28px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow1);
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.16s;
  position: relative;
}
.features-grid > div:hover {
  box-shadow: 0 10px 28px 0 rgba(33,64,114,0.08);
  transform: translateY(-2px) scale(1.025);
}
.features-grid img {
  width: 44px; height: 44px; margin-bottom: 14px;
}
.features-grid h3 {
  font-size: 1.25rem; margin-bottom: 12px; color: #214072;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px 24px 26px;
  min-width: 240px;
  box-shadow: var(--shadow1);
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: var(--shadow2);
  transform: translateY(-2px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .features-grid, .content-grid, .card-container, .footer-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

/* ---------------------------------------------------
   FAQ, TESTIMONIALS
--------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 10px;
}
.faq-list h3 {
  color: #214072;
  margin-bottom: 3px;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.faq-list p {
  margin-bottom: 0;
  color: #333;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px 22px 24px;
  border-radius: var(--radius);
  background: #F5F7FA;
  min-width: 220px;
  color: #1a2238;
  box-shadow: 0 1px 16px 0 rgba(33,64,114,0.09);
  margin-bottom: 20px;
  position: relative;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #1a1a1a;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #338356;
  margin-top: 0;
  font-weight: 700;
}

/* ---------------------------------------------------
   SPECIAL SECTIONS (CALL-TO-ACTION, UPDATES, TIMETABLE)
--------------------------------------------------- */
.cta-section, .confirmation-section {
  background: linear-gradient(90deg, #21407210 0%, #33835610 100%);
  box-shadow: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius);
  gap: 14px;
}
.update-notice {
  background: #FFFBEE;
  border-left: 6px solid #338356;
  padding: 18px 32px 18px 24px;
  margin-bottom: 12px;
  border-radius: 12px;
}
.timetable {
  background: #FAFAFA;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: 0 0 12px 0 rgba(33,64,114,0.04);
  margin-bottom: 18px;
}
.download-link {
  display: inline-block;
  background: #214072;
  color: #fff;
  padding: 10px 20px;
  border-radius: 18px;
  font-weight: 800;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 10px;
  transition: background 0.18s, color 0.18s;
}
.download-link:hover, .download-link:focus {
  background: #338356;
  color: #fff;
}

/* ---------------------------------------------------
   TABLE & PRICING TABLES
--------------------------------------------------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 1.08rem;
  box-shadow: var(--shadow1);
  border-radius: var(--radius);
  overflow: hidden;
}
.pricing-table thead tr {
  background: #214072;
  color: #fff;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid #eaeaec;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #F5F7FA;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.membership-benefits {
  background: #F3F9F4;
  padding: 24px 20px;
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.membership-benefits ul {
  margin-left: 22px;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: #214072;
  color: #FAFAFA;
  padding: 0 0 0 0;
  font-size: 1rem;
  border-top: 4px solid #338356;
  box-shadow: 0 -2px 24px 0 rgba(33,64,114,0.05);
  margin-top: 64px;
}
footer p {
  color: white;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 20px 18px 20px;
}
.footer-grid > div, .footer-grid nav {
  min-width: 200px;
  flex: 1;
  margin-bottom: 22px;
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer a {
  color: #FAFAFA;
  font-weight: 600;
  border-bottom: 1.5px solid #33835633;
  transition: color 0.18s, border 0.18s;
}
footer a:hover, footer a:focus {
  color: #338356;
  border-bottom: 2px solid #338356;
}
.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-icons img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #33835623;
  padding: 5px;
  box-shadow: 0 2px 8px 0 rgba(51,131,86,0.09);
  transition: background 0.17s;
}
.social-icons img:hover, .social-icons img:focus {
  background: #33835690;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN
--------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid, .features-grid, .content-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.38rem; }
  .container {
    padding: 0 8px;
  }
  .footer-grid {
    gap: 10px;
    padding: 30px 8px 14px 8px;
  }
  .features-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container, .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .content-wrapper {
    padding: 28px 5px;
  }
  .section {
    padding: 28px 5px;
  }
  .features-grid > div, .card {
    min-width: 0;
    padding: 20px 10px 14px 10px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
}
@media (max-width: 480px) {
  .container {
    padding: 0 2px;
  }
  h1 { font-size: 1.14rem; }
  h2 { font-size: 1rem; }
  .features-grid, .card-container, .content-grid, .testimonial-list { gap: 8px; }
}

/* ---------------------------------------------------
   SPACING CLASSES (MANDATORY)
--------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card { margin-bottom: 20px; position: relative; }
.content-grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
}
.text-image-section {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #214072;
  color: #fafafa;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  z-index: 2000;
  padding: 26px 8px 16px 8px;
  box-shadow: 0 -2px 24px 0 rgba(33,64,114,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.28s, opacity 0.28s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #fafafa;
  font-size: 1rem;
}
.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-buttons button {
  min-width: 130px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 20px;
  border: none;
  margin: 0;
  margin-top: 0 !important;
  background: #338356;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(51,131,86,0.12);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  cursor: pointer;
}
.cookie-buttons button.cookie-settings {
  background: #FAFAFA; color: #338356; border: 2px solid #338356; font-weight: 700;
}
.cookie-buttons button.cookie-reject {
  background: #fff; color: #D63031; border: 2px solid #D63031;
}
.cookie-buttons button:hover,
.cookie-buttons button:focus {
  background: #214072;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(33,64,114,0.13);
}
.cookie-buttons .cookie-settings:hover,
.cookie-buttons .cookie-settings:focus {
  background: #338356; color: #fff;
}
.cookie-buttons .cookie-reject:hover,
.cookie-buttons .cookie-reject:focus {
  background: #D63031; color: #fff; border: 2px solid #D63031;
}

/* ---------------- COOKIE PREFERENCES MODAL ------------------ */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,64,114,0.87);
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.29s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #214072;
  padding: 32px 28px 24px 28px;
  border-radius: var(--radius);
  max-width: 400px;
  min-width: 220px;
  width: 90%;
  box-shadow: 0 6px 28px rgba(33,64,114,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #338356;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #338356;
  color: #fff;
  font-size: 1.24rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 10;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  background: #214072;
}

/* ---------------------------------------------------
   BUTTONS (GENERAL)
--------------------------------------------------- */
button, .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 28px;
  background: #214072;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.15s;
}
button.secondary, .button.secondary {
  background: #338356;
  color: #fff;
}
button:disabled {
  opacity: .6;
  pointer-events: none;
}
button:hover, button:focus {
  background: #338356;
  color: #fff;
}
/* ---------------------------------------------------
   FORM ELEMENTS
--------------------------------------------------- */
input[type="text"],input[type="email"],input[type="tel"],input[type="password"],textarea,select {
  background: #f5f7fa;
  border: 1.8px solid #33835666;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 1.08rem;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid #214072;
  outline: none;
}
label {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 7px;
  color: #214072;
}

/* ---------------------------------------------------
   MISC: LISTS, ICONS, MARKS
--------------------------------------------------- */
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 5px;
}
section ul li {
  list-style: disc;
}
.clubs-info ul li::marker {
  color: #338356;
  font-size: 1.2em;
}
section ul li strong {
  color: #214072;
}
section ul {
  margin-bottom: 12px;
}

/* Icons in lists */
li img {
  width: 20px;
  margin-right: 10px;
  vertical-align: sub;
}

/* ---------------------------------------------------
   ANIMATION & MICRO-INTERACTIONS
--------------------------------------------------- */
a, button, .cta-link, .cta-button, .card, .features-grid > div, .cookie-banner, .cookie-buttons button, .social-icons img {
  transition: all 0.19s cubic-bezier(0.59,0.18,0.56,1.01);
}

/* ---------------------------------------------------
   VISUAL DECORATION & GEOMETRIC ELEMENTS
--------------------------------------------------- */
.features-grid > div, .card, .testimonial-card, .pricing-table, .membership-benefits {
  border-radius: var(--radius);
  border-bottom: 5px solid #33835633;
}
.cta-section {
  border-left: 14px solid #33835660;
}
.confirmation-section {
  border-left: 14px solid #21407250;
}

/* ---------------------------------------------------
   ACCESSIBILITY & HIGH CONTRAST (TESTIMONIALS etc.)
--------------------------------------------------- */
.testimonial-card, .testimonial-card p {
  color: #1a2238 !important;
  background: #fafdfe;
}
.testimonial-card span {
  color: #338356 !important;
}

/* ---------------------------------------------------
   SPECIAL: HIGHLIGHT (ABOUT, INDEX)
--------------------------------------------------- */
strong, .highlight {
  background: #33835618;
  color: #338356;
  border-radius: 4px;
  padding: 0 3.5px;
}

/* ---------------------------------------------------
   UTILITIES & OVERRIDES
--------------------------------------------------- */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.text-left   { text-align: left !important; }
.text-right  { text-align: right !important; }
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-1 { margin-top: 4px; }
.mb-1 { margin-bottom: 4px; }

/* ---------------------------------------------------
   PRINT (optional)
--------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
  .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
