/* ==========================================================  
   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;
}
body {
  line-height: 1.5;
  background: #F5F3EC;
  color: #253146;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
input, textarea, select, button {
  font: inherit;
  outline: none;
}

/* ==========================================================  
   VARIABLES (Fallbacks included)
========================================================== */
:root {
  --primary: #253146;
  --secondary: #BEAA88;
  --accent: #F5F3EC;
  --electric1: #00C1FF;
  --electric2: #FF2680;
  --electric3: #FFDC00;
  --electric4: #20E070;
  --heading: #253146;
  --text: #232323;
  --background: #F5F3EC;
}

/* ==========================================================  
   TYPOGRAPHY (Vibrant/Energetic + Brand)
========================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body, p, li, ul, dl, dd, dt {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.7rem;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,193,255,0.07);
}
@media (min-width: 992px) {
  h1, .hero h1 {
    font-size: 3.8rem;
  }
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--electric2);
  letter-spacing: -1px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
a{
  transition: color .18s cubic-bezier(.6,.2,.55,1);
}
a:hover, a:focus {
  color: var(--electric1);
}
strong, b {
  font-weight: bold;
}
.cta, .button, button.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  padding: 0.95em 2.1em;
  border-radius: 2em;
  background: linear-gradient(90deg, var(--electric2), var(--electric1));
  background-size: 200% auto;
  color: #fff;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 4px 18px -4px #00c1ff38;
  transition: background-position .29s cubic-bezier(.7,1.12,.21,1), box-shadow .18s, transform .15s;
}
.cta:hover, .button:hover, button.cta:hover {
  background-position: right center;
  box-shadow: 0 6px 32px -4px #FF268016;
  transform: translateY(-2px) scale(1.04);
}

/* ==========================================================  
   LAYOUT: CONTAINER & SECTIONS
========================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 992px) {
  .section {
    padding: 60px 0;
    margin-bottom: 76px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  background: none;
}

/* ==========================================================  
   HEADER & NAVIGATION (Vibrant Energetic)
========================================================== */
header {
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(0,193,255,0.10);
  z-index: 50;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 74px;
}
header img {
  height: 48px;
  max-width: 168px;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  transition: background .14s, color .17s;
  position: relative;
}
nav a.cta {
  background: linear-gradient(90deg, var(--electric1), var(--electric2));
  color: #fff;
  box-shadow: 0 2px 10px #00c1ff22;
  border-radius: 20px;
  margin-left: 10px;
}
nav a:not(.cta):hover {
  background: var(--electric1);
  color: #fff;
}
nav a.cta:hover {
  background: linear-gradient(90deg, var(--electric2), var(--electric1));
}

/* ==========================================================  
   MOBILE MENU BURGER & OVERLAY
========================================================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--electric1);
  box-shadow: 0 4px 16px #00c1ff22;
  border: none;
  margin-left: 12px;
  transition: background .2s, color .2s, box-shadow .2s;
  z-index: 102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--electric2);
  color: #fff;
  box-shadow: 0 6px 22px #FF268022;
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #253146ed;
  box-shadow: 0 2px 60px #00c1ff30;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.86, 0, .07, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform .44s cubic-bezier(.25, .75, .45, 1.25);
}
.mobile-menu-close {
  margin-top: 22px;
  margin-left: auto;
  margin-right: 30px;
  font-size: 2.3rem;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 1200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--electric2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 44px;
  padding: 0 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  padding: 12px 0;
  border-radius: 10px;
  transition: background .19s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--electric1);
  color: var(--electric2);
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  nav {
    display: flex;
  }
}
@media (max-width: 991px) {
  nav {
    display: none;
  }
}

/* ==========================================================  
   HERO SECTION
========================================================== */
.hero {
  background: linear-gradient(96deg, var(--electric1), var(--electric2) 78%, var(--accent) 120%);
  color: #fff;
  position: relative;
  padding: 64px 0 54px 0;
  box-shadow: 0 8px 40px -10px #00c1ff25;
}
.hero .container {
  position: relative;
}
.hero .content-wrapper {
  gap: 20px;
  background: transparent;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 16px #00c1ff36;
}
.hero p {
  font-size: 1.25rem;
  color: #faffff;
  max-width: 620px;
}
.hero .cta {
  margin-top: 18px;
  box-shadow: 0 0 0 #fff;
}

/* ==========================================================  
   FLEX LAYOUTS & CARDS/FEATURES
========================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 22px -6px #25314613;
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .19s, transform .21s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 44px -12px #FF268046, 0 2px 18px #00c1ff19;
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px -8px #00c1ff14;
  padding: 32px 26px;
  flex: 1 1 248px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 0 auto;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid {
    gap: 12px;
  }
}

/* Feature item (vertical stack and gap) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==========================================================  
   TESTIMONIALS
========================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px -8px #25314613;
  margin-bottom: 24px;
  border-left: 6px solid var(--electric1);
  max-width: 730px;
  transition: box-shadow .17s, border-color .17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 34px -10px #FF268040, 0 2px 12px #20E07012;
  border-left: 6px solid var(--electric2);
}
.testimonial-card p {
  color: #232323;
  font-size: 1.19rem;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #253146;
  font-weight: 700;
  font-size: 1rem;
  margin-top: -6px;
}
.testimonial-meta span:last-child {
  color: var(--electric2);
  font-size: 1.08em;
}

/* ==========================================================  
   FOOTER
========================================================== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 50px 0 18px 0;
  box-shadow: 0 -2px 16px 0 #25314616;
}
footer .container {
  flex-direction: column;
  padding-bottom: 0;
}
.footer-brand {
  margin-bottom: 22px;
}
.footer-brand img {
  width: 112px;
  height: auto;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
}
.text-section {
  max-width: 300px;
  font-size: 0.99rem;
}
.text-section h3 {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.text-section p img {
  height: 20px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #e5eaff;
  font-size: 1rem;
  transition: color 0.17s linear;
  border-radius: 6px;
  padding: 4px 8px;
}
.footer-links a:hover {
  color: var(--electric1);
  background: #fff2;
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer-social a img {
  filter: brightness(1.3) drop-shadow(0 2px 4px #20E07030);
  height: 30px;
  width: 30px;
  opacity: .84;
  transition: opacity .17s;
}
.footer-social a:hover img {
  opacity: 1;
}
@media (max-width: 992px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  
}
footer p {
  color: white;
}
/* ==========================================================  
   UTILS & BASE ELEMENTS
========================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 992px) {
  section {
    padding: 66px 0 60px 0;
    margin-bottom: 80px;
  }
}
ul, dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--electric2);
  margin-top: 14px;
}
dd {
  margin-left: 0;
}
li {
  padding-left: 0.6em;
  position: relative;
}
ul li:before {
  content: '';
  background: linear-gradient(90deg, var(--electric1), var(--electric2));
  border-radius: 100%;
  display: inline-block;
  margin-right: 8px;
  width: 7px;
  height: 7px;
  vertical-align: middle;
}
h2 + ul, h2 + dl {
  margin-top: -14px;
}

/* ============================================================  
   FORM, INPUTS, BUTTONS (if forms present)
============================================================= */
input, textarea, select {
  border: 1.5px solid var(--secondary);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #fff;
  transition: border .15s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--electric1);
}
.button, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, var(--electric2) 55%, var(--electric1) 100%);
  color: #fff;
  padding: 0.8em 2.1em;
  border-radius: 2em;
  border: none;
  box-shadow: 0 2px 14px #FFDC0020;
  cursor: pointer;
  transition: background .23s, box-shadow .11s, transform .14s;
}
.button:hover, button:hover, input[type="submit"]:hover {
  background: linear-gradient(90deg, var(--electric1), var(--electric2));
  color: #fff;
  box-shadow: 0 4px 30px #20E07030;
  transform: translateY(-2px) scale(1.04);
}

/* ==========================================================  
   COOKIE CONSENT BANNER
========================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--electric1);
  box-shadow: 0 -4px 40px 0 #00c1ff22;
  padding: 28px 20px 24px 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: popin-banner 0.5s cubic-bezier(.19,1,.22,1) 1;
}
@keyframes popin-banner {
  0% { transform: translateY(140%); opacity: 0; }
  90% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner-text {
  font-size: 1.12rem;
  color: var(--primary);
  max-width: 650px;
  text-align: center;
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-btn {
  padding: 0.7em 1.6em;
  border-radius: 3em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  color: #fff;
  transition: background .18s, color .13s, box-shadow .13s;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, var(--electric1), var(--electric2));
  box-shadow: 0 2px 10px #00c1ff11;
}
.cookie-btn.accept:hover {
  background: linear-gradient(90deg, var(--electric2), var(--electric1));
  box-shadow: 0 4px 18px #FF268022;
}
.cookie-btn.reject {
  background: var(--electric2);
}
.cookie-btn.reject:hover {
  background: var(--electric1);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: #253146;
}
.cookie-btn.settings:hover {
  background: var(--electric4);
  color: #fff;
}

/* COOKIE MODAL DIALOG */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,49,70,0.62);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .33s ease 1;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 7px 42px #20E07036;
  padding: 34px 30px 28px 30px;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  animation: bounceIn .56s cubic-bezier(.17,.67,.39,1.3) 1;
}
@keyframes bounceIn {
  0% { transform: scale(.72); opacity: 0.5; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 28px;
  top: 28px;
  background: none;
  font-size: 2rem;
  color: var(--electric2);
  border: none;
  border-radius: 100%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s;
}
.cookie-modal-close:hover {
  background: var(--electric1);
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--electric2);
  margin: 0 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 26px;
  background: #e3e9f5;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .12s;
  border: 1px solid #E3EAF2;
}
.cookie-toggle:checked {
  background: linear-gradient(90deg, var(--electric2), var(--electric1));
  border: 1px solid var(--electric1);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px #25314614;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: left .16s;
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-category-label {
  flex: 1 1 auto;
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-category-desc {
  font-size: 0.95rem;
  color: #5A6770;
}
.cookie-modal-actions {
  margin-top: 19px;
  display: flex;
  gap: 12px;
}

/* ==========================================================  
   RESPONSIVE: FLEX & TYPO
========================================================== */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .section {
    padding: 18px 4px;
    margin-bottom: 24px;
  }
  .card, .feature-grid > div {
    padding: 18px 10px;
    min-width: 0;
    flex: 1 1 100%;
  }
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
}
/* Utility classes */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.pt-1 { padding-top: 8px !important; }
.pt-2 { padding-top: 16px !important; }
.gap-2 { gap: 16px !important; }
.gap-3 { gap: 24px !important; }

/* ==========================================================  
   ANIMATIONS/MICROINTERACTIONS
========================================================== */
.cta, .button, button.cta { will-change: transform, box-shadow, background; }
.feature-grid > div, .card, .testimonial-card {
  will-change: transform, box-shadow;
  transition: box-shadow .21s cubic-bezier(.35, .81, .37, 1.25),
              transform .21s cubic-bezier(.35, .81, .37, 1.28);
}

/* ==========================================================  
   PRINT
========================================================== */
@media print {
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  footer {
    page-break-before: always;
  }
}