/* ======================
   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,
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: inherit;
  font-size: 100%;
  line-height: 1.3;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F8FAFC;
  color: #131b23;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* ================
   VARIABLE COLORS
   ================ */
:root {
  --color-primary: #172A3A;
  --color-secondary: #FFB703;
  --color-accent: #FFFFFF;
  --color-dark: #131b23;
  --color-success: #00d68f;
  --color-error: #ef233c;
  --color-bg: #F8FAFC;
  --color-card: #fff;
  --color-shadow: rgba(23, 42, 58, 0.12);
  --color-link-hover: #ff6100;
  --color-cta-gradient: #FFB703;
  --color-vibrant-1: #23A6D5;
  --color-vibrant-2: #FF3366;
  --color-vibrant-3: #3EC300;
  --color-vibrant-4: #26C6DA;
}

/* ===========================================
   TYPOGRAPHY - vibrant energetic style
============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
}
.section h2 {
  color: var(--color-vibrant-2);
}
p {
  color: var(--color-dark);
  margin-bottom: 14px;
  font-size: 1.125rem;
}
strong {
  color: var(--color-vibrant-3);
  font-weight: 700;
}
ul, ol {
  padding-left: 1.1em;
  margin-bottom: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0.75em;
  font-size: 1rem;
  color: var(--color-primary);
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline;
}

/* ============
   CONTAINER
   ============ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============
   HEADER NAV
   ============ */
header {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 0 0 0 0;
  box-shadow: 0 2px 20px 0 var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 46px;
  margin-right: 15px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
nav a:hover,
nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.cta.primary, .cta.secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 30px;
  padding: 12px 32px;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
  box-shadow: 0 6px 24px 0 rgba(255,183,3,0.12);
  text-align: center;
}
.cta.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-vibrant-2);
  border-color: var(--color-vibrant-2);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary {
  background: var(--color-accent);
  color: var(--color-vibrant-2);
  border: 2px solid var(--color-vibrant-2);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-vibrant-3);
  color: #fff;
  border-color: var(--color-vibrant-3);
  transform: translateY(-2px) scale(1.04);
}

/* HAMBURGER - MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 6px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:active {
  background: var(--color-vibrant-2);
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 1050;
  padding: 0;
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.23s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex !important;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 6px;
  width: 52px;
  height: 48px;
  margin: 18px 22px 0 0;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-vibrant-2);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 14px 10px;
  background: none;
  transition: background 0.15s, color .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* =============
   MAIN SECTIONS
   ============= */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 56px -12px rgba(35,166,213,0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.trust-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6fcff;
  border-radius: 9px;
  padding: 7px 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-vibrant-1);
  box-shadow: 0 2px 8px 0 rgba(35, 166, 213, 0.10);
}
.trust-badges img {
  width: 24px;
  height: 24px;
}

.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;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 32px -10px var(--color-shadow);
  padding: 24px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 16px 48px -8px rgba(255,183,3,0.19), 0 7px 56px -12px rgba(35, 166, 213, 0.14);
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe2;
  border-left: 6px solid var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 3px 18px 0 rgba(255, 183, 3, 0.13);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.08rem;
  margin-bottom: 0;
  flex: 1;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card span {
  color: var(--color-vibrant-1);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
  min-width: 110px;
  white-space: nowrap;
}

/* ================
   MAP PLACEHOLDER
   ================ */
.map-placeholder {
  background: #e1f5fe;
  border: 2px dashed var(--color-vibrant-1);
  border-radius: 14px;
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.map-placeholder img {
  width: 48px;
  height: 48px;
}

/* ===============
   TABLES
   =============== */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  margin-bottom: 22px;
  box-shadow: 0 2px 14px 0 rgba(33,33,33,0.05);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
thead {
  background: var(--color-vibrant-2);
}
th, td {
  text-align: left;
  padding: 15px 16px;
}
th {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}
tbody tr:nth-child(even) {
  background: #fffbe2;
}
tbody tr:nth-child(odd) {
  background: #fff;
}
td {
  color: var(--color-primary);
  font-weight: 500;
}

/* ================
   FOOTER
   ================ */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 50px 0 0 0;
  box-shadow: 0 -3px 20px 0 var(--color-shadow);
  font-size: 1rem;
}
footer p {
color: white;}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 230px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-vibrant-2);
}
.small-print {
  flex-basis: 100%;
  text-align: center;
  margin-top: 22px;
  font-size: 0.94rem;
  color: #e7e7e7;
  opacity: 0.7;
}

/* ===================
   COOKIE CONSENT BANNER
   =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  width: 100vw;
  background: #fffbe2;
  color: var(--color-primary);
  box-shadow: 0 -4px 22px -6px rgba(255,183,3,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 16px 26px;
  animation: cookieBannerSlideIn 0.38s cubic-bezier(.77,0,.16,1);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(44px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1;
  margin-right: 20px;
}
.cookie-banner__btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  margin-left: 0;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-vibrant-2);
  color: #fff;
  border-color: var(--color-vibrant-2);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-vibrant-2);
  border: 2px solid var(--color-vibrant-2);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-vibrant-2);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-vibrant-3);
  color: #fff;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-vibrant-1);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 42, 58, 0.25);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.18s cubic-bezier(.77,0,.16,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe2;
  border-radius: 16px;
  box-shadow: 0 18px 56px -12px rgba(255, 183, 3, 0.18);
  padding: 34px 30px 34px 34px;
  max-width: 420px;
  min-width: 290px;
  color: var(--color-primary);
  animation: modalScaleIn 0.22s cubic-bezier(.77,0,.20,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes modalScaleIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.46rem;
  margin-bottom: 8px;
  color: var(--color-vibrant-3);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  margin-bottom: 7px;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
}
.cookie-category .essential {
  font-style: italic;
  color: var(--color-dark);
  opacity: 0.76;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 10px;
}

/* =============
   RESPONSIVE
   ============= */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
}
@media (max-width: 900px) {
  .footer-brand, .footer-links {
    min-width: 155px !important;
  }
  .container {
    padding: 0 4vw;
  }
  footer .container {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.48rem; }
  section, .section {
    padding: 28px 8px;
    margin-bottom: 35px;
  }
  .container {
    padding: 0 8px;
  }
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  nav { display: none; }
  .cta.primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .trust-badges { gap: 13px; }
  .content-wrapper {
    gap: 19px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 14px; }
  .footer-brand, .footer-links {
    min-width: 100px;
    font-size: 0.92rem;
  }
  .small-print {
    font-size: 0.88rem;
  }
  .map-placeholder {
    padding: 12px 7px;
    font-size: 0.97rem;
  }
  table th, table td { padding: 10px 5px; }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 13px;
  }
  .card {
    max-width: 100%;
    padding: 16px;
  }
}
/* Force mobile menu full screen and safe area on mobile */
@media (max-width: 500px) {
  .mobile-menu {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Ensure minimum spacing between card/sections and between all major content */
.section:not(:last-child), section:not(:last-child) {
  margin-bottom: 60px !important;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .feature-item, .testimonial-card {
  gap: 20px !important;
}

/* Micro-interactions */
.cta, .cookie-btn {
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.18s;
}
.card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:active, .cta:active {
  transform: scale(0.99);
}

/* Hide cookie banner and modal initially */
.cookie-banner[aria-hidden='true'], .cookie-modal-overlay[aria-hidden='true'] {
  display: none !important;
  opacity: 0 !important;
}

/* Accessibility focus styles */
a:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--color-vibrant-2) inset;
}

/* ===============
   PRINT OVERRIDE
   =============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
