/* 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;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #232323;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  margin: 0;
  border-radius: 0;
}

/* ROOT COLORS -- VIBRANT_ENERGETIC */
:root {
  --color-primary: #264653;
  --color-secondary: #F4A261;
  --color-accent: #E9C46A;
  --color-light: #fff;
  --color-dark: #232323;
  --color-electric-1: #1DE9B6;
  --color-electric-2: #F50057;
  --color-electric-3: #40C4FF;
  --color-border: #ECECEC;
  --color-card-bg: #fff;
  --color-shadow: rgba(38,70,83,0.08);
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Roboto Slab', 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Roboto Slab', 'Montserrat', Arial, sans-serif;
  font-size: 1.625rem;
  line-height: 1.22;
  font-weight: 700;
  color: var(--color-electric-1);
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: 'Roboto Slab', 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-electric-3);
  margin-bottom: 10px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, ol, li {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}
.subheadline {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 26px;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .21s cubic-bezier(.16,1,.32,1);
  font-weight: 600;
}
a:hover {
  color: var(--color-electric-2);
  text-decoration: underline;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 6px;
}

/* === SPACING & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.address-snippet {
  font-weight: 600;
  color: var(--color-electric-2);
  margin-bottom: 8px;
}

/* === HEADER / NAV === */
header {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 16px var(--color-shadow);
  z-index: 1001;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  padding: 7px 3px;
  border-radius: 4px;
  transition: background .24s, color .24s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: none;
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Roboto Slab', 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  border: none;
  padding: 13px 28px;
  border-radius: 36px;
  cursor: pointer;
  box-shadow: 0 3px 8px var(--color-shadow);
  transition: background .20s, color .20s, transform .10s;
  margin-left: 20px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.04);
  position: relative;
  z-index: 1;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-electric-1);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  outline: none;
}
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1rem;
  padding: 11px 22px;
  border-radius: 28px;
  font-weight: 700;
  box-shadow: 0 3px 8px var(--color-shadow);
  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, transform .11s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-electric-3);
  color: #fff;
  transform: translateY(-1px) scale(1.025) rotate(1deg);
  outline: none;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 999px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  z-index: 1020;
  transition: background 0.24s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-electric-1);
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-primary);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.44,0,.56,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-accent);
  font-size: 2.5rem;
  margin: 24px 32px 0 0;
  border: none;
  cursor: pointer;
  z-index: 2020;
  transition: color .20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 56px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Roboto Slab', 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 0;
  border-radius: 6px;
  transition: background .23s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  outline: none;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, var(--color-electric-1) 60%, var(--color-accent) 100%) no-repeat;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 11px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 6px 32px rgba(38,70,83,0.20);
  font-size: 2.7rem;
  margin-top: 8px;
}
.hero .subheadline {
  color: var(--color-dark);
  background: var(--color-accent);
  padding: 5px 16px 6px 16px;
  border-radius: 24px;
  font-weight: bold;
}
.hero .btn-primary {
  margin-top: 16px;
  background: var(--color-electric-2);
  color: #fff;
}
.hero .btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* === CARD & FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 18px var(--color-shadow);
  padding: 26px 18px 22px 18px;
  flex: 1 1 340px;
  transition: box-shadow .17s, transform .12s;
  border: 2.5px solid var(--color-accent);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(244,162,97,0.15), 0 1.5px 8px var(--color-electric-3);
  transform: translateY(-4px) scale(1.017);
}
.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;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 1.5px 6px var(--color-shadow);
  margin-bottom: 20px;
  max-width: 540px;
  border-left: 5px solid var(--color-electric-2);
  font-size: 1.09rem;
  transition: box-shadow .14s;
}
.testimonial-card strong {
  color: var(--color-electric-2);
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(233,196,106,0.16), 0 3px 18px var(--color-electric-2);
}

/* === FEATURE LISTS & FLEXBOX ITEMS === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* === FOOTER === */
footer {
  background: #f7f7f9;
  border-top: 2.5px solid var(--color-secondary);
  margin-top: 60px;
  padding: 38px 0 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-nav, .legal-links {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a, .legal-links a {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color .18s, text-decoration .18s;
}
.footer-nav a:hover, .legal-links a:hover {
  color: var(--color-electric-2);
  text-decoration: underline;
}
.social-media {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.social-media img {
  width: 36px;
  height: 36px;
}
.copyright {
  font-size: 0.98rem;
  color: var(--color-dark);
  opacity: 0.63;
  margin-bottom: 10px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-secondary);
  color: var(--color-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  box-shadow: 0 -6px 28px rgba(244,162,97,0.18);
  z-index: 3000;
  font-size: 1rem;
  animation: cookieSlideUp .5s cubic-bezier(.16,1,.32,1);
  gap: 30px;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .btn-cookie {
  background: var(--color-electric-1);
  color: var(--color-primary);
  border: none;
  padding: 11px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 24px;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .16s;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-left: 0;
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: var(--color-electric-2);
  color: #fff;
}
.cookie-banner .btn-cookie-settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .btn-cookie-settings:hover {
  background: var(--color-electric-3);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 4000;
  background: rgba(38,70,83,0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 10px 40px var(--color-shadow);
  max-width: 480px;
  width: 88vw;
  padding: 36px 34px 28px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalPop .3s cubic-bezier(.16,1,.32,1);
}
@keyframes cookieModalPop {
  from { transform: translateY(60px) scale(0.95); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; } 
}
.cookie-modal-content h3 {
  color: var(--color-electric-2);
  font-family: 'Roboto Slab', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 6px;
  margin-top: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.cookie-toggle {
  margin-left: auto;
  font-size: 1.13rem;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px; height: 22px;
  margin-inline-end: 6px;
}
.cookie-modal .btn-cookie-modal {
  background: var(--color-electric-1);
  color: var(--color-primary);
  border: none;
  padding: 11px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 24px;
  cursor: pointer;
  transition: background .15s, color .18s;
  box-shadow: 0 1.5px 8px var(--color-shadow);
  margin-right: 10px;
}
.cookie-modal .btn-cookie-modal:hover {
  background: var(--color-electric-2);
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-electric-3);
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-electric-2);
}

/* === FORM ELEMENTS (for possible future contact forms) === */
input[type=text], input[type=email], textarea {
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border .13s;
  background: #fff;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border: 2.5px solid var(--color-secondary);
  outline: none;
}
label {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}

/* === MISC LAYOUT CLASSES === */
.section:not(.hero) {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px var(--color-shadow);
}

/* ==== RESPONSIVE === */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    gap: 10px;
    min-height: 58px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 8px;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 8px;
    padding: 11px 20px;
  }
}
@media (max-width: 768px) {
  h1, .h1 {font-size: 1.52rem;}
  h2, .h2 {font-size: 1.19rem;}
  .container {padding: 0 10px;}
  .section {padding: 28px 8px;}
  .content-wrapper {gap:11px;}
  .card-container {gap: 12px;}
  .footer-nav, .legal-links {gap: 11px;}
  .btn-primary, .btn-secondary {font-size: 0.98rem; padding: 10px 14px;}
  /* Nav menu transforms */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .card {
    padding: 18px 8px 14px 8px;
  }
  .testimonial-card {padding: 16px 9px;}
}
@media (max-width: 560px) {
  .container {padding: 0 4px;}
  .card-container {gap: 7px;}
  .cookie-banner {flex-direction: column; gap:12px;padding:15px 7px 20px 7px;align-items: flex-start;}
  .cookie-banner .btn-cookie, .cookie-banner .btn-cookie-settings {font-size: .97rem; }
}

/* === ACCESSIBILITY & INTERACTION === */
:focus-visible {
  outline: 2.5px solid var(--color-electric-3);
  outline-offset: 2px;
}

/* === MICRO-INTERACTIONS === */
.btn-primary, .btn-secondary, .btn-cookie, .btn-cookie-settings, .btn-cookie-modal {
  transition: background .20s, color .2s, box-shadow .13s, transform .08s;
}
.card, .testimonial-card {
  transition: box-shadow .16s, transform .11s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 22px var(--color-electric-2), 0 2px 12px var(--color-shadow);
  transform: translateY(-3px) scale(1.012);
}

/* === UTILITY CLASSES === */
.mt-30 { margin-top: 30px !important; }
.mt-50 { margin-top: 50px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pb-20 { padding-bottom: 20px !important; }

/* === ENSURE GAP BETWEEN CARDS/SECTIONS === */
section + section, .section + .section {
  margin-top: 24px;
}
main section {
  margin-bottom: 60px;
}

/* === PREVENT OVERLAPPING, ENSURE PROPER SPACING === */
.card, .testimonial-card, .content-wrapper, .section, .footer-nav, .legal-links {
  margin-bottom: 20px;
}
section:last-child, .section:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* ===== END ===== */

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto+Slab:wght@700;900&display=swap');
