/* --- 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,main,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 {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F9F8F4;
  color: #222;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font: inherit;
}
:focus {
  outline: 2px solid #FFD49E;
  outline-offset: 2px;
}

/* ------ BRAND COLORS ------ */
:root {
  --primary: #0C2340;
  --secondary: #31B092;
  --accent: #F9F8F4;
  --warm1: #FFD49E;
  --warm2: #FFF3E0;
  --warm3: #F9E3CF;
  --friendly1: #EF7D5D;
  --shadow: rgba(44,15,5,0.07);
}

/* ------ TYPOGRAPHY ------ */
h1, .h1 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--primary);
}
h3, .h3 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--primary);
}
h4, .h4 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}
p, ul li, ol li {
  font-size: 1rem;
  color: #35312c;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

strong, b {
  font-weight: 700;
  color: var(--primary);
}

/* ------ CONTAINER ------ */
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ------ HEADER & NAVIGATION ------ */
header {
  background: #fff;
  border-bottom: 1px solid #F9E3CF;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
  padding: 0 12px;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--warm2);
  color: var(--secondary);
}

.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  padding: 10px 28px;
  border-radius: 26px;
  box-shadow: 0 2px 8px var(--shadow);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  margin-left: 20px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #FFD49E;
  box-shadow: 0 4px 16px rgba(49,176,146,0.14);
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--warm1);
  border: none;
  border-radius: 12px;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
  transition: background .2s;
  z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--warm2);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-110%);
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 32px var(--shadow);
  transition: transform .36s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 10px 0;
  font-size: 2.2rem;
  background: var(--warm2);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  padding: 40px 18px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  border-radius: 10px;
  padding: 16px 10px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--warm2);
  color: var(--secondary);
}

@media (min-width: 1100px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .desktop-nav {
    display: flex !important;
  }
}
@media (max-width: 1099px) {
  .desktop-nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* ------ HERO SECTION ------ */
.hero {
  background: var(--warm2);
  border-radius: 0 0 38px 38px;
  margin-bottom: 60px;
  padding: 60px 0 44px 0;
  box-shadow: 0 6px 28px var(--shadow);
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  width: 100%;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  line-height: 1.17;
  color: var(--primary);
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 25px 25px;
    padding: 34px 0 27px 0;
    margin-bottom: 38px;
  }
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
}

/* ------ SECTIONS, CARDS, LAYOUTS, FLEXBOX PATTERNS ------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 3px 24px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--warm2);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px var(--shadow);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 260px;
  gap: 14px;
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--shadow);
  color: #201e1c;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #282016;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid, .review-grid, .step-by-step-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .review-grid > div, .step-by-step-cards > div {
  background: var(--warm3);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 26px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  gap: 8px;
  margin-bottom: 16px;
  transition: box-shadow .2s, transform .2s;
}
.feature-grid > div:hover, .review-grid > div:hover, .step-by-step-cards > div:hover {
  box-shadow: 0 7px 18px rgba(49,176,146,0.11);
  transform: translateY(-4px) scale(1.027);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 6px;
    border-radius: 16px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid, .review-grid, .step-by-step-cards {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- TABLES (if any) --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid #F9E3CF;
  font-size: 1rem;
}
th {
  background: var(--warm1);
  color: var(--primary);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}

/* --- BUTTONS & INTERACTIVE --- */
button, .cta-secondary a, .browse-tips a {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  padding: 10px 28px;
  margin: 6px 0;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background .18s, color .18s;
  display: inline-block;
}
button:hover, button:focus, .cta-secondary a:hover, .browse-tips a:hover {
  background: var(--primary);
  color: #FFD49E;
}

.cta-secondary a, .browse-tips a {
  background: var(--friendly1);
  color: #fff;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  padding: 8px 20px;
  margin: 10px 0;
  transition: background .16s, color .16s;
}
.cta-secondary a:hover, .browse-tips a:hover {
  background: var(--primary);
  color: #fff6ee;
}

/* --- LISTS & FAQ --- */
ul, ol {
  margin: 0 0 18px 0;
  padding-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  font-size: 1rem;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--warm1);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
ol li::before {
  display: none;
}

ul.pros-cons-list {
  padding-left: 0.5em;
  list-style: none;
}
ul.pros-cons-list li {
  background: var(--warm2);
  border-radius: 10px;
  margin-bottom: 4px;
  padding: 6px 10px;
  font-size: 0.98rem;
}

.faq-highlight {
  background: var(--warm3);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px var(--shadow);
}

.table-explainer, .methodology-brief {
  background: var(--warm3);
  border-radius: 14px;
  box-shadow: 0 2px 7px var(--shadow);
  padding: 12px 16px;
  margin-bottom: 8px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 10px 0;
  margin-top: 50px;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -5px 24px var(--shadow);
}
footer .container {
  gap: 16px;
}
.footer-menu {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-menu a {
  color: #fffaea;
  font-size: 1rem;
  border-radius: 7px;
  padding: 6px 12px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  transition: background .16s, color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--secondary);
  color: #fff;
}
.footer-contact {
  display: flex;
  gap: 17px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
  color: #fff;
}
.footer-contact img {
  width: 22px;
  height: 22px;
}
.footer-logo {
  margin: 22px 0 12px 0;
}
.footer-copy {
  font-size: 0.93rem;
  margin-top: 6px;
  color: #FFD49E;
}
@media (max-width: 768px) {
  footer {
    padding: 24px 0 8px 0;
    border-radius: 18px 18px 0 0;
  }
  .footer-menu, .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-logo {
    margin: 10px 0 5px 0;
    text-align: left;
  }
}

/* ------ COOKIE CONSENT BANNER ------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1100;
  background: var(--warm1);
  box-shadow: 0 -6px 24px var(--shadow);
  color: var(--primary);
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: banner-slide-up .55s cubic-bezier(.6,.01,.01,1.01) 1;
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0%); }
}
.cookie-banner p {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  padding: 8px 21px;
  cursor: pointer;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background .18s, color .18s;
  box-shadow: 0 2px 8px var(--shadow);
}
.cookie-btn.settings {
  background: var(--warm1);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #E69B67;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: #FFD49E;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--friendly1);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 12px 8px;
    font-size: 0.97rem;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(12,35,64, 0.31);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in .35s ease 1;
}
@keyframes fade-in {
  from{opacity: 0} to{opacity: 1}
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 7px 36px var(--shadow);
  width: 96%;
  max-width: 420px;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-popin .4s cubic-bezier(.56,.01,.36,1.05) 1;
}
@keyframes modal-popin {
  from { transform: scale(0.97) translateY(30px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  border-radius: 6px;
  width: 22px;
  height: 22px;
}
.cookie-category .category-label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.3rem;
  background: var(--warm2);
  color: var(--primary);
  border: none;
  border-radius: 7px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background .21s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}

/* --- UTILITIES & MICRO-INTERACTIONS --- */
.shadow {
  box-shadow: 0 4px 24px var(--shadow);
}
.rounded {
  border-radius: 20px;
}

/* ------- RESPONSIVE ------- */
@media (max-width: 600px) {
  html { font-size: 15px; }
  .card, .feature-grid > div, .review-grid > div, .step-by-step-cards > div { min-width: 0 !important; }
  .footer-contact, .footer-menu, .testimonial-card { flex-direction: column; align-items: flex-start; }
}

/* --- ANIMATIONS --- */
.cta-btn, .cta-secondary a, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .19s, color .18s, box-shadow .15s, transform .16s;
}
.card, .feature-grid > div, .review-grid > div, .step-by-step-cards > div {
  transition: box-shadow .2s, transform .17s;
}
.card:active, .feature-grid > div:active, .review-grid > div:active, .step-by-step-cards > div:active {
  transform: scale(0.99);
}
.mobile-menu, .mobile-menu.open {
  transition: transform .36s cubic-bezier(0.77,0,0.175,1);
}

/* --- Z-INDEX & NO ABSOLUTE FOR CARDS --- */
.testimonial-card, .card, .feature-grid > div, .review-grid > div, .step-by-step-cards > div {
  z-index: 1;
}

/* ------- SCROLLBARS (friendly styling) ------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--warm1);
  border-radius: 8px;
}

/* ------ END ------ */
