/* ================== */
/* PHANTOM GLADE SPORTS - MODERN BOLD CSS */
/* ================== */

/* --- RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F4F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #234473;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #234473;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #58B34A;
  outline-offset: 2px;
}

/* --- VARIABLES (CSS Custom Props w/ fallbacks) --- */
:root {
  --color-primary: #234473;
  --color-secondary: #58B34A;
  --color-accent: #F4F7FA;
  --color-white: #fff;
  --color-text-dark: #182345;
  --color-grey: #e0e5ee;
  --color-shadow: rgba(35,68,115,0.08);
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.13;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.subheadline {
  color: var(--color-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
  font-family: var(--font-body);
}
p, ul, ol {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--color-text-dark);
}
strong {
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}

/* --- CONTAINERS AND SPACING --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 28px;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
}

/* --- FLEXBOX LAYOUTS (MANDATORY) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
  flex: 1 1 300px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO STYLES --- */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 68px 0 56px 0;
  border-radius: 0 0 48px 48px;
  position: relative;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px 0 var(--color-shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 8px;
}
.hero h1, .hero .subheadline {
  color: var(--color-white);
}
.hero .cta {
  margin-top: 16px;
}

/* --- BUTTONS & CTA --- */
.cta, .cta:visited {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-white) !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  padding: 14px 34px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  outline: none;
  text-transform: uppercase;
}
.cta:hover, .cta:focus {
  background: #1A8B33;
  color: #fff!important;
  box-shadow: 0 4px 16px 0 var(--color-shadow);
}
button, .button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* --- FEATURE GRID ITEMS --- */
.feature-grid > div, .service-list > div {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  padding: 32px 24px 24px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 6px 20px 2px var(--color-shadow);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img, .service-list img {
  margin-bottom: 12px;
  width: 38px;
  height: 38px;
}
.feature-grid h3, .service-list h3 {
  margin-bottom: 4px;
  font-size: 1.14rem;
}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 34px 20px 24px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  border-radius: 16px;
  min-width: 250px;
  max-width: 420px;
  color: #232942;
  font-size: 1.08rem;
  font-weight: 500;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.testimonial-card p {
  color: #182345;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 800;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 6px var(--color-shadow);
  transform: translateY(-2px) scale(1.02);
}

/* --- NAVIGATION BAR --- */
header {
  background: var(--color-accent);
  box-shadow: 0 1px 10px 0 var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 101;
}
nav {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 72px;
  padding: 0 0 0 0;
  font-family: var(--font-display);
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-left: 32px;
}
nav ul li a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--color-secondary);
  color: #fff;
}
nav > a img {
  height: 44px;
  width: auto;
  margin-right: 4px;
}
nav .cta {
  margin-left: auto;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 28px 0 14px 0;
  margin-top: 52px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 12px 0 var(--color-shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .content-wrapper {
  gap: 6px;
  align-items: flex-start;
}
footer nav a {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  margin-right: 3px;
  transition: background 0.13s;
}
footer nav a:hover {
  background: var(--color-secondary);
  text-decoration: underline;
}
footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 7px;
}
footer .social-links a img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: filter 0.15s;
}
footer .social-links a:hover img {
  filter: brightness(1) invert(0.2) sepia(1) hue-rotate(60deg) saturate(1.3);
}
footer small {
  color: #c4d1e2;
  display: block;
  margin-top: 5px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--color-primary);
  padding: 8px 14px;
  margin-left: auto;
  cursor: pointer;
  z-index: 150;
  transition: color 0.18s;
}
@media (max-width: 1080px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
  nav ul, nav .cta {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35, 68, 115, 0.97);
  z-index: 1200;
  transform: translateX(100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  transition: transform 0.35s cubic-bezier(.7,.3,.2,1.05);
  overflow-y: auto;
  box-shadow: -4px 0 20px 4px var(--color-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.4rem;
  position: absolute;
  top: 24px;
  right: 28px;
  cursor: pointer;
  padding: 6px 14px;
  transition: color 0.16s;
  z-index: 1210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 90px 36px 32px 36px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  padding: 12px 8px 12px 6px;
  border-radius: 9px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 5px solid var(--color-secondary);
  box-shadow: 0 -2px 18px 2px var(--color-shadow);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 24px 24px 36px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.7,.2,.35,1.1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner__text {
  flex: 1 1 200px;
  color: var(--color-primary);
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner__actions button {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 22px;
  font-size: 1.05rem;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #388D29;
  color: #fff;
}
.cookie-reject {
  background: #e0e5ee;
  color: var(--color-primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-settings-btn {
  background: var(--color-primary);
  color: #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-secondary);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,68,115,0.50);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  min-width: 320px;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 4px 32px 8px var(--color-shadow);
  padding: 34px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: slideUp 0.35s;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  border: none;
  background: none;
  color: var(--color-primary);
  padding: 2px 7px;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-secondary);
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 6px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-save {
  margin-top: 10px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 22px;
  padding: 12px 26px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: var(--color-secondary);
}


/* ---- RESPONSIVE --- */
@media (max-width: 960px) {
  .container {
    max-width: 820px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid {
    gap: 20px;
  }
  .card-container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero {
    padding: 38px 0 28px 0;
    border-radius: 0 0 26px 26px;
    margin-bottom: 36px;
  }
  .section {
    padding: 22px 8px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid, .service-list, .testimonial-slider, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-list > div, .testimonial-card, .card {
    max-width: 100%;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  nav {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .hero {
    border-radius: 0 0 12px 12px;
    padding-top: 24px;
    padding-bottom: 15px;
  }
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .section {
    padding-left: 4px;
    padding-right: 4px;
  }
  footer {
    border-radius: 19px 19px 0 0;
    padding: 16px 0 7px 0;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 7vw;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
}

/* ---- DECORATIVE ELEMENTS (NO ABS POS CARDS) --- */

/* --- GENERIC CLASSES & COMPONENTS --- */
.text-section h3 {
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.14rem;
}
.text-section ul {
  margin-bottom: 10px;
}

hr {
  border: none;
  border-top: 2px solid #e0e5ee;
  margin: 36px 0;
}

/* --- FORMS, LABELS --- */
label {
  font-weight: bold;
  color: var(--color-primary);
  margin-right: 5px;
}
input, textarea {
  font-family: var(--font-body);
  border: 2px solid #c4d1e2;
  border-radius: 10px;
  font-size: 1rem;
  padding: 10px 15px;
  margin-bottom: 15px;
  background: #fff;
  color: var(--color-primary);
  transition: border 0.14s;
  width: 100%;
  max-width: 390px;
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* --- ENHANCED MICRO-INTERACTIONS --- */
a, button, .cta, .cookie-banner__actions button {
  transition: color 0.2s, background 0.2s, box-shadow 0.19s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 36px 6px var(--color-shadow);
  transform: translateY(-2px) scale(1.01);
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ========== INTERACTIVE TRANSITIONS ========== */
.cta, .feature-grid > div, .service-list > div, .testimonial-card, .card {
  will-change: transform, box-shadow;
}

/* =====================
   ENSURE NO GRID/COLUMN PROPERTIES
=======================*/
/* No CSS Grid, columns, or break-inside used! All layouts are flexbox. */
