/* ==== 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F4F7FB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #20325A;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #319899; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F69B3A; text-decoration: underline; }
:focus { outline: 2px solid #319899; outline-offset: 2px; }
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol { list-style: none; }

/* ==== BRAND & COLOR CUSTOM PROPERTIES ==== */
:root {
  --wf-primary: #20325A;
  --wf-secondary: #319899;
  --wf-accent: #F4F7FB;
  --wf-warm1: #F69B3A;
  --wf-warm2: #FFD69F;
  --wf-neutral: #FFFFFF;
  --wf-shadow: 0 4px 16px 0 rgba(246, 155, 58, 0.06), 0 1.5px 6px rgba(50,50,50,0.07);
  --wf-radius: 18px;
  --wf-font-display: 'Montserrat', Arial, sans-serif;
  --wf-font-body: 'Roboto', Arial, sans-serif;
}

/* ==== TYPOGRAPHY ==== */
h1 {
  font-family: var(--wf-font-display);
  font-weight: 700;
  font-size: 2.6rem;
  margin-bottom: 24px;
  color: var(--wf-primary);
  letter-spacing: -1px;
}
h2 {
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--wf-secondary);
}
h3 {
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--wf-warm1);
}
h4, h5, h6 {
  font-family: var(--wf-font-body);
  font-weight: 500;
  color: var(--wf-primary);
}
p, li, a, span {
  font-family: var(--wf-font-body);
  font-size: 1.07rem;
  color: var(--wf-primary);
  line-height: 1.7;
}
strong {
  color: var(--wf-warm1);
  font-weight: 700;
}

/* ==== GENERAL LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--wf-neutral);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==== LISTS, TEXT & FEATURE BLOCKS ==== */
ul, ol {
  margin-left: 0;
}
ul li, ol li {
  margin-bottom: 18px;
  font-size: 1.07rem;
  line-height: 1.65;
  padding-left: 0.8em;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 18px;
  padding: 0;
}

/* ==== BUTTONS AND CTA ==== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 32px;
  border-radius: var(--wf-radius);
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  background: var(--wf-warm1);
  color: var(--wf-neutral);
  box-shadow: 0 2px 12px rgba(246, 155, 58, 0.13);
  border: none;
  margin-top: 12px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.cta.primary {
  background: var(--wf-secondary);
  color: var(--wf-neutral);
}
.cta:hover, .cta:focus{
  background: var(--wf-warm1);
  color: var(--wf-primary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 18px rgba(246, 155, 58, 0.22);
}

/* ==== HEADER, NAVIGATION ==== */
header {
  width: 100%;
  background: var(--wf-neutral);
  box-shadow: 0 2px 6px 0 rgba(32,50,90,0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  min-height: 72px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 46px;
  border-radius: 14px;
  background: var(--wf-warm2);
  padding: 4px 8px;
  box-shadow: 0 2px 8px 0 rgba(246, 155, 58, 0.10);
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: var(--wf-font-display);
  font-weight: 500;
  font-size: 1.13rem;
  color: var(--wf-secondary);
  border-radius: 10px;
  padding: 7px 14px;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--wf-warm2);
  color: var(--wf-primary);
}
.mobile-menu-toggle {
  display: none;
  margin-left: 18px;
  background: var(--wf-secondary);
  color: var(--wf-neutral);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 2rem;
  line-height: 1;
  z-index: 103;
  box-shadow: 0 1.5px 7px 0 rgba(50,50,50,0.06);
  transition: background 0.17s, color 0.17s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--wf-warm1);
  color: var(--wf-primary);
  transform: scale(1.09);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,50,90,0.90);
  backdrop-filter: blur(3px);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 24px 12px 0;
  background: var(--wf-warm2);
  color: var(--wf-primary);
  border-radius: 50%;
  font-size: 2.5rem;
  line-height: 1;
  padding: 6px 14px;
  transition: background 0.12s, color 0.16s, transform 0.11s;
  box-shadow: 0 1px 8px 0 rgba(255,214,159,0.18);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--wf-warm1);
  color: var(--wf-neutral);
  transform: scale(1.07);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10vh;
}
.mobile-nav a {
  font-family: var(--wf-font-display);
  font-size: 1.25rem;
  background: var(--wf-neutral);
  color: var(--wf-secondary);
  border-radius: 12px;
  padding: 18px 42px;
  margin: 0;
  box-shadow: 0 2px 8px 0 rgba(50,50,50,0.08);
  width: 84vw;
  text-align: center;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--wf-warm2);
  color: var(--wf-primary);
}

@media (max-width: 1040px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header nav { gap: 16px; }
}
@media (max-width: 799px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== MAIN SECTION, CARDS & GRIDS ==== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--wf-neutral);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 22px 0 rgba(246,155,58,0.17);
  transform: translateY(-3px) scale(1.022);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container { flex-direction: column; align-items: stretch; }
  .card { min-width: 0; width: 100%; }
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 18px 0;
  background: var(--wf-warm2);
  border-radius: var(--wf-radius);
  box-shadow: 0 2px 16px 0 rgba(246,155,58,0.11);
  font-size: 1.09rem;
  color: #372405;
  border-left: 7px solid var(--wf-warm1);
  transition: box-shadow 0.12s;
}
.testimonial-card p {
  color: #372405;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--wf-primary);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 7px 30px rgba(246,155,58,0.19);
}

/* ==== FOOTER ==== */
footer {
  background: var(--wf-primary);
  color: var(--wf-neutral);
  border-top-left-radius: var(--wf-radius);
  border-top-right-radius: var(--wf-radius);
  margin-top: 64px;
  padding: 38px 0 20px 0;
  box-shadow: 0 -4px 16px 0 rgba(32,50,90,0.12);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
  margin-left: 16px;
}
footer nav a {
  color: var(--wf-neutral);
  font-size: 1.04rem;
  padding: 2px 6px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--wf-warm1);
  color: var(--wf-neutral);
}
footer .text-section {
  color: var(--wf-warm2);
  font-family: var(--wf-font-body);
  font-size: 0.98rem;
  margin-top: 5px;
}
footer > .container > span {
  color: var(--wf-warm2);
  font-size: 0.98rem;
  margin-top: 22px;
  display: block;
}
footer img {
  height: 54px;
  border-radius: 14px;
  background: var(--wf-warm2);
  padding: 5px 10px;
  box-shadow: 0 2px 10px 0 rgba(246, 155, 58, 0.09);
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: center; gap: 22px; }
  footer nav { margin-left: 0; flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--wf-neutral);
  color: var(--wf-primary);
  box-shadow: 0 -2px 14px 0 rgba(50,50,50,0.12);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 24px 10vw 22px 10vw;
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  animation: cookieFadeIn 0.44s cubic-bezier(.83,0,.13,1);
}
@keyframes cookieFadeIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  font-size: 1.05rem;
  color: var(--wf-primary);
  font-family: var(--wf-font-body);
  margin-right: 18px;
  flex: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--wf-font-display);
  font-size: 1.02rem;
  padding: 10px 26px;
  margin: 0;
  border-radius: 12px;
  border: none;
  background: var(--wf-warm2);
  color: var(--wf-primary);
  transition: background 0.13s, color 0.13s, transform 0.11s;
}
.cookie-btn.accept {
  background: var(--wf-secondary);
  color: var(--wf-neutral);
  font-weight: 600;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--wf-warm1);
  color: var(--wf-neutral);
}
.cookie-btn.reject {
  background: var(--wf-warm1);
  color: var(--wf-neutral);
  font-weight: 500;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--wf-secondary);
  color: var(--wf-neutral);
}
.cookie-btn.settings {
  background: var(--wf-accent);
  color: var(--wf-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--wf-warm2);
  color: var(--wf-primary);
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 22px 8vw 14px 8vw; gap: 14px; }
}

/* ==== COOKIE CATEGORY MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 130;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,50,90,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.28s cubic-bezier(.85,0,.2,1);
}
@keyframes fadeInModal { 0% { opacity: 0; } 100% { opacity: 1; } }
.cookie-modal {
  background: var(--wf-neutral);
  border-radius: 26px;
  box-shadow: 0 6px 28px 0 rgba(246,155,58,0.15);
  width: 95vw;
  max-width: 420px;
  padding: 40px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  animation: slideUpModal 0.39s cubic-bezier(.83,0,.13,1);
}
@keyframes slideUpModal { 0% { transform: translateY(60px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--wf-primary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  background: var(--wf-warm2);
  padding: 13px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.cookie-category .toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-category label {
  font-size: 1.06rem;
  color: var(--wf-primary);
  font-family: var(--wf-font-body);
}
/* Toggle switch (for analytics/marketing) */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px; height: 25px;
}
.cookie-switch input { display: none; }
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #ddd;
  border-radius: 25px;
  transition: background 0.19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--wf-secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 19px; height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s, background 0.11s;
  box-shadow: 0 1px 4px 0 rgba(50,50,50,0.10);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(17px);
  background: var(--wf-warm1);
}
/* Always enabled toggle (greyed out) */
.cookie-category.essential .cookie-slider, .cookie-category.essential label { opacity: 0.6; pointer-events: none; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px; margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn { min-width: 110px; }

/* ==== RESPONSIVE STYLES ==== */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section {
    padding: 24px 5vw;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 7px;
    max-width: 100vw;
  }
  .footer .container {
    padding: 0 7px;
  }
  footer {
    padding-left: 0; padding-right: 0;
  }
}

/* ==== ADDITIONAL SMALL ELEMENTS ==== */
::-webkit-scrollbar { width: 9px; background: var(--wf-accent); }
::-webkit-scrollbar-thumb { background: var(--wf-warm2); border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: var(--wf-warm1); }

/* ==== MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .cta, .cookie-btn {
  will-change: transform, box-shadow, background, color;
}

/* ==== ACCESSIBILITY EXTRAS ==== */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); /* IE6, IE7 */
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ====== END OF STYLE.CSS ====== */
