/* ---- 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;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --color-primary: #254D32;
  --color-secondary: #D9A066;
  --color-accent: #F3F3F3;
  --color-vibrant-1: #FF5B2E; /* Electric Orange */
  --color-vibrant-2: #24D6B5; /* Neon Teal */
  --color-vibrant-3: #2189FF; /* Electric Blue */
  --color-vibrant-4: #FFCB03; /* Vivid Yellow */
  --black: #191919;
  --white: #FFF;
  --font-display: 'Quicksand', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius-large: 20px;
  --radius-medium: 12px;
  --radius-small: 8px;
  --shadow-main: 0 3px 20px 0 rgba(33,137,255,0.08), 0 1.5px 6px 0 rgba(37,77,50, 0.10);
  --transition-main: 0.18s cubic-bezier(.42,0,.23,1);
}

/* ---- GENERAL LAYOUT & CONTAINERS ---- */
body {
  background: var(--color-accent);
  font-family: var(--font-body);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-main);
  transition: transform 0.2s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 5px 30px 0 rgba(33,137,255,0.17), 0 4px 16px 0 rgba(255,91,46,0.13);
}

.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-main);
  border-left: 6px solid var(--color-vibrant-2);
  transition: box-shadow var(--transition-main), border-color var(--transition-main);
}
.testimonial-card:hover {
  border-left: 6px solid var(--color-vibrant-3);
  box-shadow: 0 6px 32px 0 rgba(24,214,181,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.11;
}
h2 {
  font-size: 2rem;
  color: var(--color-vibrant-1);
}
h3 {
  font-size: 1.38rem;
  color: var(--color-vibrant-3);
}
h4 {
  font-size: 1.13rem;
}
p, li, span, div {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
}
strong {
  font-weight: bold;
}
a {
  color: var(--color-vibrant-3);
  transition: color var(--transition-main);
}
a:hover, a:focus {
  color: var(--color-vibrant-1);
  text-decoration: underline;
}

/* ---- BUTTONS ---- */
.cta-btn, .cookie-btn {
  display: inline-block;
  padding: 12px 34px;
  margin: 18px 0 0 0;
  background: linear-gradient(90deg, var(--color-vibrant-1) 60%, var(--color-vibrant-4) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-large);
  box-shadow: 0 2px 18px 0 rgba(37,77,50, 0.13);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, transform .16s;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: linear-gradient(90deg, var(--color-vibrant-4) 40%, var(--color-vibrant-1) 100%);
  color: var(--black);
  transform: scale(1.04);
  box-shadow: 0 3px 22px 0 rgba(255,91,46,0.20);
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: var(--white);
  box-shadow: 0 1px 12px 0 rgba(37,77,50,0.08);
  position: relative;
  z-index: 51;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  position: relative;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background var(--transition-main), color var(--transition-main);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-vibrant-3);
  color: var(--white);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-vibrant-1);
  background: var(--color-accent);
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin-left: 12px;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 0.32s cubic-bezier(.75,0,.36,1);
  box-shadow: 0 5px 40px 0 rgba(37, 77, 50, 0.13);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-vibrant-1);
  background: var(--color-accent);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-self: flex-end;
  margin: 18px 24px 18px 0;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-vibrant-1);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 30px;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-small);
  padding: 12px 14px;
  transition: background 0.21s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-vibrant-3);
  color: var(--white);
}

/* ---- HERO & SECTION STYLE ---- */
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
main section .content-wrapper {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
main section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0 0 0;
  padding: 0;
  width: 100%;
  align-items: flex-start;
}
main section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  padding: 13px 0 13px 0;
  border-radius: 12px;
}
main section ul li img {
  width: 30px; height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(33,137,255,0.07));
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* ---- FEATURE ITEMS (Strong/Span Price) ---- */
li strong {
  color: var(--color-vibrant-2);
  font-weight: 700;
}
li span {
  color: var(--color-vibrant-1);
  font-weight: 700;
  font-size: 1.08em;
  padding-left: 9px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--color-primary);
  padding: 40px 0 0 0;
  color: var(--white);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 50;
}
footer a {
  color: var(--color-vibrant-4);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 52px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-vibrant-4);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 0 0 5px 0;
  border-radius: 4px;
  transition: background 0.19s, color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-vibrant-1);
  color: var(--white);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px 38px;
  margin: 10px 0 0 0;
  align-items: flex-start;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--white);
}
.footer-contact img {
  width: 22px; height: 22px;
  filter: brightness(0) invert(1);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-links a img {
  width: 28px; height: 28px;
  transition: filter 0.2s;
}
.social-links a:hover img {
  filter: drop-shadow(0 0 8px var(--color-vibrant-4)) brightness(1.2);
}
.footer-credit {
  width: 100%;
  padding: 24px 0 32px 0;
  font-size: 0.97rem;
  text-align: center;
  color: var(--color-secondary);
  font-family: var(--font-body);
}

/* ---- COOKIES BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-vibrant-1);
  color: var(--white);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1300;
  box-shadow: 0 -3px 22px 0 rgba(33,137,255,0.14);
  animation: cookiesIn 0.57s cubic-bezier(.36,0,.34,1);
  gap: 18px;
}
@keyframes cookiesIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: var(--white);
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  margin: 0.7em 0 0 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 0.7em 2.3em;
  font-size: 1rem;
  background: var(--color-vibrant-3);
  border-radius: 20px;
  color: var(--white);
  border: none;
  font-weight: 700;
  margin: 0;
}
.cookie-btn.accept {
  background: var(--color-vibrant-2);
  color: var(--black);
}
.cookie-btn.reject {
  background: var(--color-vibrant-1);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--color-vibrant-4);
  color: var(--black);
  border: 2px solid var(--color-vibrant-3);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.13);
  transform: scale(1.05);
}

/* ---- COOKIES MODAL ---- */
.cookies-modal-overlay {
  background: rgba(25,25,25,0.70);
  position: fixed;
  z-index: 1400;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookiesModalIn 0.25s;
}
@keyframes cookiesModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookies-modal {
  background: var(--white);
  color: var(--black);
  border-radius: 20px;
  max-width: 360px;
  width: 94vw;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 5px 32px 0 rgba(33,137,255,0.26);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  animation: modalPop 0.29s cubic-bezier(.33,1.6,.5,1);
}
@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}
.cookies-modal h2 {
  color: var(--color-vibrant-3);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: var(--color-accent);
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .17s;
}
.cookie-toggle:checked {
  background: var(--color-vibrant-2);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-vibrant-3);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.15s, background 0.15s;
}
.cookie-toggle:checked::before {
  left: 18px;
  background: var(--color-vibrant-1);
}
.cookies-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 6vw;
  }
  .footer-contact {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
  .section, main section {
    padding: 23px 4vw;
    margin-bottom: 34px;
  }
  .content-wrapper {
    max-width: 98vw;
    padding: 0;
  }
  .card-container, .content-grid, .footer-contact {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 6px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.02rem; }
  main section {
    padding: 14px 2.3vw;
    margin-bottom: 18px;
  }
  .cta-btn, .cookie-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* ---- ADDITIONAL UI ENHANCEMENTS ---- */

li {
  transition: background 0.14s;
}
li:hover, li:focus-within {
  background: rgba(33,137,255,0.06);
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-vibrant-2);
  border-radius: 10px;
}

/* ---- FOCUS VISIBLE STATES ---- */
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--color-vibrant-2);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--color-vibrant-4) inset;
}

/* ---- MICRO-INTERACTIONS ---- */
.cta-btn, .cookie-btn {
  will-change: transform, filter;
}

/* ---- MISC ---- */
::selection {
  background: var(--color-vibrant-3);
  color: var(--white);
}

/* ---- ENSURE NON-OVERLAPPING & CONSISTENT SPACING ---- */
section, .section {
  box-sizing: border-box;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.testimonial-card:not(:last-child) {
  margin-bottom: 28px;
}

/* ---- ENSURE CONTRAST AND READABILITY ---- */
.testimonial-card p, .testimonial-card strong, .testimonial-card div {
  color: var(--color-primary);
}

/* ---- Z-INDEX LAYERS FOR UI ---- */
header, footer { z-index: 51; }
.mobile-menu { z-index: 101; }
.cookie-consent-banner { z-index: 1300; }
.cookies-modal-overlay { z-index: 1400; }

/* ---- END OF STYLE.CSS ---- */
