/* === CSS RESET & NORMALIZE (Mobile First)  === */
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, main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F4F1EC;
  color: #19354D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #19354D;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
:focus {
  outline: 2px solid #D9B86A;
  outline-offset: 2px;
}

/* ======= BRAND STYLES VARS (with fallbacks) ======== */
:root {
  --color-primary: #19354D;
  --color-secondary: #D9B86A;
  --color-accent: #F4F1EC;
  --color-electric-1: #1FE5E2;
  --color-electric-2: #F5515F;
  --color-electric-3: #FFD600;
  --color-dark: #141C24;
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius: 18px;
  --card-shadow: 0 2px 12px 0 rgba(25,53,77,0.07),0 8px 24px 0 rgba(213, 184, 106,0.04);
  --input-height: 48px;
}

/* =========================LAYOUT CONTAINERS======================== */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(25,85,127,.12);
  transform: translateY(-3px) 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(25,53,77,0.07),0 4px 10px 0 rgba(30,229,226,0.08);
  margin-bottom: 24px;
  width: 100%;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================TYPOGRAPHY============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--color-electric-1), var(--color-electric-2) 60%, var(--color-secondary) 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.22;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, li, address, span {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
}
b, strong {
  font-weight: 700;
}
ul {
  padding-left: 0;
  margin-left: 0;
}
ul > li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 1.04rem;
}
ul > li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-electric-1) 50%, var(--color-electric-2) 100%);
  box-shadow: 0 0 4px 0 var(--color-electric-2);
}
.text-section {
  max-width: 730px;
}

/* ====================== NAVIGATION ============================= */
header {
  background: #fff;
  box-shadow: 0 1px 10px -2px rgba(25,53,77,0.09);
  z-index: 20;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav ul li a {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  transition: color .2s;
  padding: 8px 6px;
  border-radius: 6px;
  color: var(--color-primary);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--color-electric-2);
  background: rgba(240,232,170,0.11);
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-electric-1), var(--color-electric-2));
  color: #fff;
  font-size: 1.13rem;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: .04em;
  border: none;
  border-radius: 32px;
  padding: 13px 32px;
  margin-left: 12px;
  box-shadow: 0 2px 18px 0 rgba(241, 81, 95, 0.13);
  transition: background .18s, transform .15s, box-shadow .16s;
  text-shadow: 0 1px 2px rgba(25,53,77,0.10);
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--color-electric-2) 14%, var(--color-electric-1) 100%);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 5px 24px 0 rgba(25,229,226,0.14);
  color: #fff;
}

/* === Hamburger Menu button === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-electric-2);
  color: #fff;
  font-size: 2.1rem;
  padding: 7px 15px 9px 15px;
  border-radius: 50%;
  border: none;
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 22;
  box-shadow: 0 0 10px 0 rgba(241,81,95,0.09);
  transition: background 0.15s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-electric-1);
  color: #fff200;
}

/* ============================= MOBILE MENU ============================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 86vw;
  max-width: 390px;
  height: 100vh;
  background: #fff;
  box-shadow: 8px 0 36px 0 rgba(191, 191, 228, 0.15), 2px 0 12px 0 rgba(30,229,226,0.10);
  padding: 36px 0 24px 0;
  z-index: 999;
  transform: translateX(-105%);
  transition: transform 0.30s cubic-bezier(.61,1,.88,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-electric-2);
  font-size: 2.2rem;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 9999;
  padding: 7px 12px;
  border-radius: 50%;
  border: none;
  transition: color .20s, background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-electric-1);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 30px 20px 40px;
  gap: 14px;
}
.mobile-nav a {
  color: var(--color-dark);
  font-size: 1.23rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 0 13px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: linear-gradient(90deg, var(--color-electric-1) 50%, var(--color-electric-2));
  color: #fff;
}

/* Overlay for page when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* ===== Hero imagery and call-to-action (index, etc) ===== */
.hero {
  min-height: 420px;
  background: linear-gradient(103deg, var(--color-accent) 74%, var(--color-electric-1) 120%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 0;
}

/* ================= FEATURES, CARDS, CTA SECTIONS ================ */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features .feature-item {
  min-width: 230px;
  flex: 1 1 230px;
  background: #fff;
  padding: 18px 16px 20px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(25,53,77,0.08);
}

/* =============== TESTIMONIAL CARDS ================ */
.testimonial-card {
  border: 2px solid var(--color-electric-2);
  background: #fff;
  box-shadow: 0 8px 20px -2px rgba(25,53,77,0.07), 0 6px 24px -7px rgba(255,214,0,0.10);
  color: #21243a;
  font-size: 1.07rem;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-weight: 500;
  color: #21243a;
  margin-bottom: 10px;
  text-align: center;
}
.testimonial-card span {
  color: var(--color-primary);
  font-size: 0.98rem;
  margin-top: 4px;
  font-weight: 700;
}

/* =============== FOOTER =================== */
footer {
  background: #19354D;
  color: #fff;
  padding: 44px 0 28px 0;
  box-shadow: 0 -2px 30px 0 rgba(30,229,226,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-menu a {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color .2s;
}
.footer-menu a:hover {
  color: var(--color-electric-1);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1rem;
  text-align: center;
}
.footer-contact address {
  color: #fff;
  font-style: normal;
}
.footer-contact a {
  color: #fff;
}
.footer-contact a:hover {
  color: var(--color-secondary);
}
.footer-contact img {
  max-width: 36px;
  height: auto;
  display: inline-block;
}


/* =========== FORMS & INPUTS (if present in other pages) ========== */
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-electric-1);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color .2s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-electric-2);
  box-shadow: 0 3px 14px 0 rgba(30,229,226,.07);
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(25,229,226,.15), 0 1px 8px 0 rgba(241,81,95,0.11);
  z-index: 10000;
  padding: 22px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 425px;
  animation: slideUp 0.5s ease 0s;
}
@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong {
  font-size: 1.05rem;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  border: none;
  border-radius: 30px;
  padding: 11px 22px;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, box-shadow 0.18s;
  background: var(--color-electric-1);
  color: #fff;
  box-shadow: 0 1px 7px 0 rgba(25,229,226,.13);
}
.cookie-btn.accept {
  background: linear-gradient(90deg, var(--color-electric-1), var(--color-electric-2) 80%);
}
.cookie-btn.reject {
  background: var(--color-electric-2);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.16);
  box-shadow: 0 3px 16px 0 rgba(250,81,95,.10);
  transform: translateY(-2px) scale(1.04);
}

/* ===== Cookie preferences modal ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,53,77,0.34);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s;
}
@keyframes fadeIn {
  from {opacity:0;} to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 7px 48px 0 rgba(25,229,226,0.19),0 2px 8px 0 rgba(241,81,95,0.14);
  padding: 32px 28px 24px 28px;
  width: 96vw;
  max-width: 420px;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideModal .28s cubic-bezier(.54,.2,.71,1.22);
}
@keyframes slideModal {
  from {transform: scale(0.92) translateY(42px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #f1ece5;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.06rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 22px;
  background: #e4eaf8;
  position: relative;
  transition: background .18s;
  margin-left: 12px;
  flex-shrink: 0;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-electric-1);
  transition: left 0.19s, background 0.2s;
}
.cookie-toggle input:checked + span {
  left: 21px;
  background: var(--color-electric-2);
}
.category-required {
  font-size: .93rem;
  color: var(--color-electric-2);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

/* ========== RESPONSIVE DESIGN =============== */
@media (max-width: 1200px) {
  .container {max-width: 96vw;}
}
@media (max-width: 900px){
  .content-wrapper, .card-content, .card, .footer-menu {
    gap: 16px;
  }
  .main-nav ul {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.28rem;}
  .main-nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    padding: 16px 0;
  }
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    margin-left: 4px;
    padding: 11px 18px;
    font-size: 1.01rem;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 8px;
  }
  .testimonial-card {
    padding: 14px 8px;
    min-width: unset;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  h1 {font-size: 1.3rem;}
  h2 {font-size: 1.08rem;}
  .content-wrapper,
  .card-content {
    gap: 8px;
  }
  .container {
    padding: 0 3vw;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact {
    gap: 8px;
  }
  .section, section {
    margin-bottom: 22px;
    padding: 12px 0 24px 0;
  }
}
@media (max-width: 600px){
  .content-grid, .features, .card-container, .card-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 10px;
  }
}

/* === ENHANCED VISUAL HIERARCHY AND ENERGETIC ACCENTS === */
.section:nth-child(even) {
  background: linear-gradient(91deg, #fff 65%, #ebf6f6 100%);
}
.section:nth-child(odd) {
  background: #f6fbfe;
}
.content-wrapper > h2 {
  border-left: 6px solid var(--color-electric-2);
  padding-left: 12px;
  background: linear-gradient(90deg, #fff, #ffeeba 95%);
  border-radius: 8px 0 0 8px;
  margin-bottom: 5px;
}
.card, .testimonial-card, .features .feature-item {
  border: 2px solid #fff8f4;
  box-shadow: 0 2px 10px 0 rgba(30,229,226,0.10);
}
.card:hover {
  border-color: var(--color-electric-2);
}

/* ==== UTILITIES */
.text-center {
  text-align: center;
}

.display-none {display: none;}

/****** Accessibility high contrast for testimonials (CRITICAL) ******/
.testimonial-card {
  background: #fff;
  color: #1B243B;
  box-shadow: 0 2px 16px 0 rgba(30,229,226,0.09);
}
.testimonial-card p,
.testimonial-card span {color: #1B243B;}

/********** SPACING RULES **********/
main > section {margin-bottom: 60px; padding: 40px 20px;}
.content-wrapper > * + * {margin-top: 16px;}
.card-container > .card, .content-grid > * {margin-bottom: 20px;}
.card-container, .features, .card-grid, .content-grid {gap: 20px;}
.testimonial-card + .testimonial-card {margin-top: 20px;}

/********** Z-INDEX ENFORCEMENT **********/
header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, .cookie-modal {z-index: 2000;}
.mobile-menu.open {z-index: 9999;}


/* ============= MICRO-INTERACTIONS & TRANSITIONS ============= */
.cta-btn, .cookie-btn, .mobile-nav a, .main-nav ul li a {
  transition: background .15s, color .15s, transform .13s;
}
.card, .features .feature-item, .testimonial-card {
  transition: box-shadow .23s, border-color .18s, transform .17s;
}
.card:hover, .features .feature-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px 0 rgba(241,81,95,0.13);
}


/******* HEADINGS animated underline ******/
h2:after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,var(--color-electric-2),var(--color-electric-1));
  margin-top: 10px;
  transition: width 0.16s;
}
h2:hover:after {
  width: 90px;
}

/********** Accessibility contrast fix on lists inside testimonials ***********/
.testimonial-card ul, .testimonial-card li {color: #21243a;}

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