/* --- CSS RESET & NORMALIZE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FAF7;
  color: #10405D;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

ul, ol { list-style: none; padding: 0; margin: 0; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }

/* --- VARIABLES --- */
:root {
  --primary: #10405D;
  --secondary: #71C59E;
  --accent: #F7FAF7;
  --danger: #E14F4F;
  --success: #14B97E;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-1: 0 4px 24px 0 rgba(16,64,93,0.06);
  --shadow-2: 0 4px 24px 4px rgba(112,197,158,0.08);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: none;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }
p, li, ul, ol, blockquote, dd { font-size: 1rem; margin-bottom: 14px; }
.subheadline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 16px;
}
strong, b { font-weight: 900; }
blockquote {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  border-left: 5px solid var(--secondary);
  padding-left: 20px;
  background: #e7f8e9;
  border-radius: 8px;
  margin-bottom: 12px;
}

a {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--primary);
  text-decoration: underline;
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.section:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-grid > div:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(112,197,158,0.2);
}
.feature-grid img {
  width: 48px; height: 48px; margin-bottom: 8px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul, .text-section ol {
  margin-bottom: 14px;
  padding-left: 16px;
  font-weight: 600;
}
.text-section li {
  margin-bottom: 6px;
}
.text-section img {
  width: 20px; height: 20px; margin-right: 11px; vertical-align: middle;
}

.quick-tips {
  background: #fdfaf7;
  border-left: 5px solid var(--secondary);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 18px;
}

.benefit-icons ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.benefit-icons li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--primary);
}
.benefit-icons img {
  width: 28px; height: 28px;
}

/* CARD LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(16,64,93,0.13);
  transform: translateY(-5px);
}
.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: 16px;
  box-shadow: var(--shadow-2);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 600px;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #10405D;
  margin: 0;
  font-size: 1.1rem;
}
.testimonial-card p {
  margin-left: 24px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS --- */
.cta-button, .cookie-accept, .cookie-reject, .cookie-settings-btn {
  font-family: var(--font-display);
  font-weight: 900;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 32px;
  padding: 12px 29px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-right: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 4px 18px rgba(112,197,158,0.12);
  transition: background 0.12s, color 0.12s, box-shadow 0.20s, transform 0.15s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 28px rgba(16,64,93,0.17);
  transform: translateY(-2px) scale(1.03);
}
.cookie-accept { background: var(--secondary); color: var(--primary); }
.cookie-accept:hover, .cookie-accept:focus { background: var(--success); color: #fff; }
.cookie-reject { background: #fff; color: var(--danger); border: 2px solid var(--danger); }
.cookie-reject:hover, .cookie-reject:focus { background: var(--danger); color: #fff; }
.cookie-settings-btn { background: var(--primary); color: #fff; }
.cookie-settings-btn:hover, .cookie-settings-btn:focus { background: #14395c; }

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(16,64,93,0.055);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
}
.logo img {
  height: 54px; max-height: 64px; width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.06rem;
}
nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--primary);
  transition: background 0.13s, color 0.13s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-menu-toggle {
  font-size: 2.2rem;
  color: var(--primary);
  background: none;
  border: none;
  display: none;
  margin-left: 18px;
}

@media (max-width: 1020px) {
  nav {
    gap: 14px;
    font-size: 1rem;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #10405D;
  color: #fff;
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.46,0.03,0.52,0.96);
  box-shadow: 0 0 25px rgba(0,0,0,0.12);
  padding: 0 0 0 0;
  
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 1100;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 90px 32px 32px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-weight: bold;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 10px 0;
  width: 100%;
  transition: background 0.13s, color 0.13s;
  text-align: left;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 1000px) {
  nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }
}

@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN --- */
main {
  flex: 1;
  padding-bottom: 40px;
  width: 100%;
  margin: 0 auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:last-child {
  margin-bottom: 0;
}

/* --- TABLES & DL --- */
dl {
  padding: 0;
  margin-left: 0;
}
dt { font-weight: bold; color: var(--secondary); margin-top: 14px; }
dd { margin-bottom: 8px; margin-left: 0; }

/* --- FORMS & SEARCH --- */
input[type="search"] {
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 16px;
  outline: none;
  transition: border 0.17s, box-shadow 0.17s;
}
input[type="search"]:focus {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px #bbeada;
}

/* --- FOOTER --- */
footer {
  background: #10405D;
  color: #fff;
  padding: 32px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #71C59E;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 1.03rem;
  border-radius: 7px;
  padding: 7px 11px;
  transition: background 0.11s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #10405D;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 1rem;
  font-weight: 400;
}
.footer-contact span {
  display: flex; align-items: center; gap: 9px;
  color: #fff;
  margin-right: 14px;
}
.footer-contact img {
  width: 19px; height: 19px;
}
.footer-copy {
  color: #e3ffef;
  font-size: 0.97em;
  opacity: 0.85;
  margin-top: 10px;
  font-family: var(--font-body);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 18px rgba(16,64,93,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 20px 22px 25px 22px;
  z-index: 3000;
  animation: banner-fadeIn 0.6s ease;
}
@keyframes banner-fadeIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-desc {
  flex: 1 1 auto;
  font-size: 1.08rem;
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 700;
  min-width: 160px;
  max-width: 600px;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 18px 25px 18px;
  }
  .cookie-banner-desc { max-width: 100%; }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(16,64,93,0.24);
  z-index: 3100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s ease;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(0,0,0,0.17);
  padding: 38px 32px 29px 32px;
  max-width: 410px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalFadeIn 0.18s cubic-bezier(.34,1.25,.62,1.19);
}
@keyframes modalFadeIn {
  from { transform: scale(0.85); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  margin-bottom: 10px;
  font-size: 1.23rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1.06rem;
}
.cookie-category label {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 19px;
  font-size: 1.6rem;
  color: var(--primary);
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 3px 9px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e8f8f4;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
  .feature-grid {
    gap: 18px;
  }
  .card-container { gap: 16px; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
  .feature-grid > div {
    padding: 22px 12px;
    min-width: 170px;
  }
  .card { padding: 18px 9px; }
  .section {
    margin-bottom: 32px;
    padding: 28px 6px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 19px 3px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 18px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.47rem; }
  h3 { font-size: 1.07rem; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 11px;
    max-width: 95vw;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
@media (max-width: 520px) {
  .logo img { height: 38px; }
  .footer-copy { font-size: 0.85rem; }
  .footer-nav a, .footer-contact span { font-size: 0.98rem; }
  .content-wrapper { gap: 10px; }
  .section { padding: 8px 0px; }
}

/* --- UTILITIES --- */
.mt-2 { margin-top: 12px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-4 { margin-top: 24px !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-button, .cookie-accept, .cookie-reject, .cookie-settings-btn {
  transition: background 0.13s, color 0.13s, box-shadow 0.19s, transform 0.14s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.011);
  box-shadow: 0 10px 38px 0 rgba(16,64,93,0.12);
}
nav a {
  transition: background 0.11s, color 0.13s, transform 0.1s;
}
nav a:hover, nav a:focus { transform: translateY(-2px) scale(1.04); }

/* --- Z-INDEX LAYERING --- */
header { z-index: 900; }
.mobile-menu { z-index: 1005; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3100; }

/* --- ENSURE NO OVERLAP --- */
.card, .feature-grid > div, .testimonial-card, section, .footer-nav a, .footer-contact span, .cookie-banner, .cookie-modal-content {
  margin-bottom: 20px;
}
.card:last-child, .feature-grid > div:last-child, .testimonial-card:last-child, section:last-child, .footer-nav a:last-child, .footer-contact span:last-child {
  margin-bottom: 0;
}

/* --- GEOMETRIC VISUAL ELEMENTS (OPTIONAL DECOR ELEMENTS) --- */
/* Example: colored circle accent for strong callout */
.decor-circle {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 38px; height: 38px;
  background: var(--secondary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 4px 24px 0 rgba(112,197,158,0.19);
  pointer-events: none;
  opacity: 0.13;
}

/* --- END --- */
