/* =====================================================================
   CSS RESET & NORMALIZATION
===================================================================== */
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;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  line-height: 1.55;
  font-size: 16px;
  background: #fff;
  color: #2B3D3E;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #2B3D3E;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: 0;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #2B3D3E;
}
a {
  color: #F1A824;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.8,0,.2,1);
  font-weight: 500;
}
a:hover, a:focus {
  color: #D97E00;
  text-decoration: underline;
}
strong, b { font-weight: 700; }
ul,ol {
  margin: 14px 0 18px 20px;
  color: #2B3D3E;
  font-size: 1rem;
}
li { margin-bottom: 6px; }

/* =====================================================================
   BRAND VARIABLES
===================================================================== */
:root {
  --color-primary: #2B3D3E;
  --color-secondary: #F1A824;
  --color-accent: #F8F5F1;
  --color-bg: #fff;
  --color-highlight: #ff5d3d;
  --color-energetic1: #38e8da;
  --color-energetic2: #f13c73;
  --color-energetic3: #4070ff;
  --color-cta: #F1A824;
  --color-shadow: rgba(43,61,62,0.10);
  --radius-lg: 28px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-lg: 0 12px 40px rgba(43,61,62,0.16);
  --shadow: 0 4px 16px var(--color-shadow);
  --font-display: 'Merriweather', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =====================================================================
   GENERAL CONTAINER & SECTION STYLES
===================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
}

/* Vibrant/Energetic animation and accent background splashes */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  top: -30px; left: -40px; z-index: 0;
  width: 160px; height: 110px;
  background: var(--color-energetic1);
  opacity: 0.22;
  border-radius: 80px 50px 90px 40px;
}
.section::after {
  content: "";
  position: absolute;
  bottom: -34px; right: -48px; z-index: 0;
  width: 120px; height: 90px;
  background: var(--color-energetic2);
  border-radius: 60px 34px 90px 80px;
  opacity: 0.13;
}
.section > .container, .section .content-wrapper, .section * {
  position: relative;
  z-index: 1;
}

/* =====================================================================
   HEADER & NAVIGATION
===================================================================== */
header {
  background: var(--color-bg);
  border-bottom: 3px solid var(--color-secondary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 199;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

.cta-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  padding: 10px 26px;
  box-shadow: 0 3px 16px rgba(241,168,36,0.18);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, transform 0.11s cubic-bezier(.4,1.2,.2,.9);
  margin-left: 20px;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover,.cta-primary:focus   {
  background: var(--color-energetic2);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 7px 20px rgba(241,60,115,0.16);
}

/* =====================================================================
   MOBILE NAVIGATION (Burger Menu)
===================================================================== */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 8px 12px 9px 12px;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(241,168,36,0.18);
  display: none;
  z-index: 1002;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-energetic2);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(43,61,62, 0.98);
  color: #fff;
  z-index: 2010;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105vw);
  transition: transform 0.46s cubic-bezier(.84,-0.18,.38,1.14);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: var(--shadow-lg);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.15rem;
  padding: 20px 20px 10px 22px;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  z-index: 1005;
  transition: color 0.23s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus{
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding: 26px 35px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: left;
  transition: background 0.13s, color 0.13s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: none;
}

/* Hamburger navigation show/hide rules */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile menu closes above nav on small screens */
@media (max-width: 1050px) {
  header .container {
    gap: 12px;
  }
}

/* =====================================================================
   FOOTER
===================================================================== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 20px 0;
  border-top: 8px solid var(--color-secondary);
  box-shadow: 0 -2px 18px rgba(43,61,62,0.05);
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer img {
  width: 44px;
  height: auto;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  opacity: 0.96;
  transition: color 0.15s, opacity 0.17s, background 0.25s;
  border-radius: 7px;
  padding: 4px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  opacity: 1; 
}
footer small {
  margin-top: 10px;
  font-size: 0.98rem;
  opacity: 0.72;
  text-align: center;
}

/* =====================================================================
   HERO BANNERS
===================================================================== */
.hero {
  background: linear-gradient(110deg, var(--color-energetic1) 0%, var(--color-accent) 70%);
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 32px rgba(38,85,107,0.17);
  margin-top: 18px;
  margin-bottom: 44px;
  overflow: hidden;
  animation: heroGlow 2.7s cubic-bezier(.75,0,.25,1) 1;
}
@keyframes heroGlow {
  0% { box-shadow: 0 0 0 transparent; }
  60% { box-shadow: 0 7px 34px 0 rgba(38,85,107,0.17); }
  100% { box-shadow: 0 7px 32px rgba(38,85,107,0.17); }
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 250px;
  padding-top: 32px;
  padding-bottom: 35px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--color-primary);
  text-shadow: 1px 1px 8px rgba(255,242,190,0.08);
  font-family: var(--font-display);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero p {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 22px;
}
.hero .cta-primary {
  margin-top: 10px;
}

/* =====================================================================
   CONTENT WRAPPER & FLEX PATTERNS
===================================================================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow 0.19s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 40px rgba(241,60,115,0.13);
  transform: 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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(38,85,107,0.07);
  font-size: 1.14rem;
  color: #272c27;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 680px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card p {
  color: #2B3D3E;
  margin-right: 18px;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 28px rgba(56,232,218,0.10);
  background: var(--color-accent);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.feature-item:hover {
  box-shadow: 0 7px 26px rgba(38,85,107,0.08);
  transform: translateY(-3px) scale(1.018);
}

/* =====================================================================
   FEATURES & SERVICES List STYLES
===================================================================== */
.features,
.services {
  margin-bottom: 60px;
}
.features .content-wrapper ul,
.services .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.features .content-wrapper li,
.services .content-wrapper li {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.13s;
  margin-bottom: 20px;
}
.features .content-wrapper li:hover,
.services .content-wrapper li:hover {
  box-shadow: 0 7px 28px rgba(56,232,218,0.13);
  background: var(--color-accent);
  transform: scale(1.012);
}
.features .content-wrapper li img,
.services .content-wrapper li img {
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
}

/* =====================================================================
   ABOUT, CONTACT, LEGAL LAYOUTS
===================================================================== */
.about, .contact, .legal, .thank_you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about .content-wrapper ul,
.contact .content-wrapper ul,
.legal .content-wrapper ul {
  list-style: none;
  padding-left: 0;
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.about .content-wrapper li,
.contact .content-wrapper li,
.legal .content-wrapper li {
  line-height: 1.5;
  margin-bottom: 5px;
}
.contact .content-wrapper li img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  vertical-align: middle;
}

/* =====================================================================
   BUTTONS & INTERACTIVE
===================================================================== */
button,
input[type="button"],
input[type="submit"] {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  padding: 9px 23px;
  box-shadow: 0 2px 9px rgba(38,85,107,0.11);
  background: var(--color-secondary);
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.14s, color 0.11s, transform 0.12s;
}
button:hover,button:focus {
  background: var(--color-energetic2);
  color: #fff;
  outline: none;
  transform: scale(1.065);
}

/* =====================================================================
   COOKIE CONSENT BANNER & MODAL
===================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: #fff;
  z-index: 2050;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 23px 24px 21px 24px;
  box-shadow: 0 -7px 34px rgba(43,61,62,0.33);
  font-size: 1rem;
  animation: cookieSlideIn 0.8s cubic-bezier(.7,.1,.2,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  margin: 0 0 7px 0;
  color: #fff;
  flex: 1 1 190px;
}
.cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  min-width: 110px;
  font-size: 1rem;
  margin: 0 2px;
}
.cookie-btn-accept { background: var(--color-secondary); color: var(--color-primary); }
.cookie-btn-accept:hover, .cookie-btn-accept:focus { background: var(--color-energetic1); color: #1e1e1e; }
.cookie-btn-reject { background: #fff; color: var(--color-primary); }
.cookie-btn-reject:hover, .cookie-btn-reject:focus { background: var(--color-energetic2); color: #fff; }
.cookie-btn-settings { background: var(--color-accent); color: var(--color-primary); }
.cookie-btn-settings:hover, .cookie-btn-settings:focus { background: var(--color-secondary); color: #fff; }

/* Cookie Categories Modal */
.cookie-modal {
  position: fixed;
  z-index: 2060;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(43,61,62,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s cubic-bezier(.54,1.3,.26,.97);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 58px rgba(56,232,218,0.15);
  min-width: 330px;
  max-width: 96vw;
  padding: 34px 25px 20px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookieModalUp 0.5s cubic-bezier(.6,1.2,.21,.8);
}
@keyframes cookieModalUp {
  from { transform: translateY(50px) scale(0.95); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-pref-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-pref-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-right: 5px;
}
.cookie-pref-toggle {
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: #dee0e1;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
  border: none;
}
.cookie-pref-toggle[data-checked="true"] {
  background: var(--color-energetic1);
}
.cookie-pref-toggle:before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 2px;
  box-shadow: 0 2px 7px rgba(43,61,62,0.09);
  transition: left 0.17s cubic-bezier(.7,0,.2,1);
}
.cookie-pref-toggle[data-checked="true"]:before {
  left: 20px;
  background: var(--color-energetic3);
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus { color: var(--color-energetic2); }

/* =====================================================================
   RESPONSIVE & FLEXBOX LAYOUTS
===================================================================== */
@media (max-width: 989px) {
  .hero .container { padding-top: 20px; padding-bottom: 24px; }
  .section, .about, .contact, .legal, .thank_you {
    padding: 22px 7px;
  }
  .features .content-wrapper ul, .services .content-wrapper ul {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero .container, .section .container, .content-wrapper, .about .container, .contact .container {
    flex-direction: column;
    gap: 14px;
  }
  .features .content-wrapper ul,
  .services .content-wrapper ul {
    flex-direction: column;
    gap: 13px;
  }
  .features .content-wrapper li,
  .services .content-wrapper li {
    min-width: 150px;
    padding: 18px 10px 16px 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 17px 10px 17px 12px;
    max-width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 540px) {
  .hero .container {
    min-height: unset;
    padding-top: 7px;
    padding-bottom: 18px;
  }
  h1 { font-size: 1.175rem; }
  h2 { font-size: 1.1rem; }
  .section, .about, .contact, .legal, .thank_you {
    padding: 12px 1.5vw 22px 1.5vw;
  }
}

/* =====================================================================
   SCROLLBAR & SELECTION
===================================================================== */
::selection {
  background: var(--color-secondary);
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-energetic1);
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #f2f2f2;
}

/* =====================================================================
   MICRO-INTERACTIONS & VIBRANT EFFECTS
===================================================================== */
h1, h2, h3, h4, h5, h6 {
  transition: color 0.2s;
}
h1:hover, h2:hover, h3:hover {
  color: var(--color-secondary);
}
.cta-primary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 3px rgba(241,168,36,0.13);
}
.features .content-wrapper li:active,
.services .content-wrapper li:active,
.card:active,
.feature-item:active {
  transform: scale(.98);
  box-shadow: 0 3px 12px rgba(56,232,218,0.11);
}

@media (hover: none) and (pointer: coarse) {
  .cta-primary:hover,
  .feature-item:hover,
  .card:hover {
    filter: none;
    box-shadow: var(--shadow);
    background: inherit;
    transform: none;
  }
}

/* =====================================================================
   ENSURE NO OVERLAPPING, ALL SPACING/BREATHING ROOM
===================================================================== */
main > section, .about, .contact, .legal, .thank_you {
  margin-bottom: 60px;
}
.card, .card-container > *, .feature-item, .content-wrapper > *, .testimonial-card {
  margin-bottom: 20px;
}

/* =====================================================================
   DESIGN HIERARCHY & ENERGY
===================================================================== */
h1, h2, h3 {
  word-break: break-word;
  background: linear-gradient(90deg, var(--color-secondary) 48%, var(--color-energetic2) 72%, var(--color-energetic1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}
h1::selection, h2::selection, h3::selection {
  background: var(--color-energetic2);
  color: #fff;
}

/* =====================================================================
   THANK YOU PAGE SPECIFIC
===================================================================== */
.thank_you .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.thank_you h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
  text-align: center;
}

/* =====================================================================
   MISC UTILITIES
===================================================================== */
.sr-only {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  white-space: nowrap!important;
  border: 0!important;
}

/* =====================================================================
   PRINT
===================================================================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .container, main, section, .content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }
}
