/*========================================
  1. CSS RESET & BASIC STYLES
========================================*/
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; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FFF;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: inline-block;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

/*========================================
  2. VIBRANT ENERGETIC BRAND VARIABLES
========================================*/
:root {
  --primary: #1A3A56;
  --secondary: #FFC857;
  --accent: #FFFFFF;
  --electric-1: #EF476F;
  --electric-2: #06D6A0;
  --electric-3: #118AB2;
  --electric-4: #FFD166;
  --electric-5: #3A86FF;
  --gray-bg: #F7F8FC;
  --gray-card: #F2F6FB;
  --shadow: 0 3px 24px 0 rgba(30,51,80,0.07), 0 1.5px 3px 0 rgba(239,71,111,0.07);
  --radius: 18px;
  --shadow-card: 0 2px 12px 0 rgba(31,59,120,0.09);
}

/*========================================
  3. TYPOGRAPHY
========================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.1;
}
h1 {
  font-size: 2.8rem;
  letter-spacing: -1px;
  color: var(--electric-1);
  margin-top: 10px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  color: var(--electric-2);
  margin-bottom: 10px;
}
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 6px; }
p, li, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: var(--electric-5); }

/* Visual Hierarchy */
.text-section h1, .text-section h2 {
  letter-spacing: -1.3px;
}
.text-section h3 {  font-size: 1.25rem;  }

/*========================================
  4. CONTAINER STRUCTURE & FLEX LAYOUTS
========================================*/
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper, .content-grid, .card-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-grid {
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--gray-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(239,71,111,0.13);
  transform: translateY(-3px) scale(1.02);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List & Value Grids (flex only) */
.value-grid, .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.value-grid .icon-text-pair, .category-grid > div {
  flex: 1 1 210px;
  min-width: 210px;
  background: var(--gray-card);
  border-radius: var(--radius);
  padding: 22px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-grid > div h3 {
  color: var(--electric-2);
  margin-bottom: 6px;
}

/*========================================
  5. NAV BAR & HEADER
========================================*/
header {
  background: var(--primary);
  box-shadow: 0 2px 14px rgba(16,30,50,0.05), 0 1px 2px rgba(255,200,87,0.06);
  position: relative;
  z-index: 70;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

header nav > a > img {
  height: 38px;
  min-width: 115px;
}
header nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav ul li a {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.13s, color 0.17s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}

.cta-primary {
  background: linear-gradient(90deg, var(--electric-1), var(--electric-5));
  color: #fff;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.11rem;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 16px 0 rgba(6,214,160,0.13);
  margin-left: 22px;
  transition: background 0.22s, transform 0.16s, box-shadow 0.18s;
  border: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--electric-4) 0%, var(--electric-2) 100%);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(255,200,87, 0.24);
  cursor: pointer;
}

/*========================================
  6. HERO SECTION & FEATURE LISTS
========================================*/
.hero {
  background: var(--electric-5);
  background: linear-gradient(93deg, var(--electric-1) 7%, var(--electric-2) 97%);
  color: #fff;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  padding-top: 64px;
  padding-bottom: 52px;
  margin-bottom: 40px;
}
.hero .text-section h1, .hero .text-section h2 {
  color: #fff;
}
.hero .text-section p {
  color: #fff;
  font-weight: 400;
  opacity: 0.91;
}
.hero .cta-primary {
  margin-top: 28px;
}

.features {
  background: var(--gray-bg);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features h2 {
  margin-bottom: 20px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 0;
  margin-top: 16px;
}
.features ul li {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 16px 18px 14px;
  flex: 1 1 216px;
  min-width: 196px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  margin-bottom: 0;
  transition: box-shadow 0.18s, background 0.18s;
}
.features ul li img {
  width: 28px;
  height: 28px;
}
.features ul li:hover {
  background: var(--electric-2);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(6,214,160,0.19);
}
.features ul li:hover img {
  filter: grayscale(1) brightness(2.2);
}

/*========================================
  7. TESTIMONIALS
========================================*/
.testimonials {
  background: var(--electric-4);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px 28px 20px;
}
.testimonials h2 {
  margin-bottom: 22px;
  color: var(--electric-3);
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 380px;
  color: #264350;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
  position: relative;
}
.testimonial-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.03rem;
  color: #16181D;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--electric-1);
  font-size: 0.97rem;
}
.testimonial-card strong {
  color: var(--electric-5);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(239,71,111,0.16);
  transform: translateY(-2px) scale(1.02);
}

/*========================================
  8. CARDS & PREVIEWS
========================================*/
.card-list,
.recipe-list ul, .tips ul, .faq ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.recipe-list ul li,
.tips ul li,
.faq ul li {
  background: var(--gray-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 15px 18px;
  margin-bottom: 0;
  font-size: 1.07rem;
  font-family: 'Open Sans', sans-serif;
  color: #233456;
  transition: box-shadow 0.14s, transform 0.13s, background 0.14s;
}
.recipe-list ul li:hover {
  background: var(--electric-2);
  color: #fff;
  box-shadow: 0 10px 42px 0 rgba(6,214,160,0.20);
  transform: scale(1.02);
}
.recipe-list ul h3 {
  margin-bottom: 8px;
  color: var(--electric-2);
}

/* About, Value, History sections */
.about-preview, .about, .values, .history, .newsletter, .confirmation, .contact, .faq, .legal {
  background: var(--gray-bg);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about-preview h2, .about h2, .values h2, .newsletter h2, .faq h2, .legal h1 {
  color: var(--electric-1);
  margin-bottom: 18px;
}
.about-preview ul, .about ul, .newsletter ul, .contact ul {
  margin-top: 10px;
  margin-bottom: 16px;
  padding: 0 0 0 10px;
}
.about-preview ul li, .about ul li, .newsletter ul li, .contact ul li {
  margin-bottom: 7px;
  font-size: 1.02rem;
  padding-left: 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirmation {
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  text-align: center;
  margin: 56px 0;
  padding: 48px 18px 48px 18px;
}
.confirmation h1 {
  color: var(--electric-1);
}

/*========================================
  9. ADDRESS & FOOTER
========================================*/
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  box-shadow: 0 -8px 32px 0 rgba(16,30,50,0.07);
  font-size: 15px;
}
footer nav ul {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 0 0 12px 0;
}
footer nav ul li a {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .4px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.22s, color 0.22s;
}
footer nav ul li a:hover { 
  background: var(--electric-1);
  color: #fff;
}
footer address {
margin-top: 16px;
    color: #f8f8f8;
    font-style: normal;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    align-items: flex-start;
    gap: 6px;
    justify-content: center;
}
footer address img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  position: relative;
  top: 3px;
}

/*========================================
  10. MOBILE BURGER MENU
========================================*/
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  margin: 0 20px 0 0;
  display: none;
  transition: background 0.18s;
  z-index: 98;
}
.mobile-menu-toggle:hover {
  background: var(--electric-1);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--electric-1);
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  border: none;
  margin: 18px 18px 0 0;
  cursor: pointer;
  padding: 9px 18px;
  position: relative;
  z-index: 1020;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-close:hover { background: var(--electric-5); color: #FFF; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 30px 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  color: var(--primary);
  border-radius: 6px;
  padding: 12px 0 12px 2px;
  width: 100%;
  display: block;
  font-weight: 600;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--electric-2);
  color: #fff;
}

/*========================================
  11. COOKIE CONSENT BANNER
========================================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 30px 0 rgba(239,71,111,0.14), 0 -6px 10px 0 rgba(26,58,86,0.05);
  z-index: 9999;
  width: 100%;
  padding: 15px 24px 15px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
  transition: opacity 0.34s, transform 0.34s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner p {
  flex: 2 1 340px;
  font-size: 1.01rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 1.01rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .18s, color .13s;
  margin: 0;
}
.cookie-accept {
  background: var(--electric-2);
  color: #fff;
}
.cookie-accept:hover { background: var(--electric-1); color: #fff; }
.cookie-reject {
  background: var(--electric-1);
  color: #fff;
}
.cookie-reject:hover { background: var(--electric-2); color: #fff; }
.cookie-settings {
  background: var(--electric-5);
  color: #fff;
}
.cookie-settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,58,86,0.35);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.20s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  padding: 38px 28px 26px 28px;
  min-width: 300px;
  max-width: 98vw;
  min-height: 220px;
  box-shadow: 0 8px 32px 0 rgba(31,59,120,0.13);
  position: relative;
  color: var(--primary);
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: cookiePop 0.43s cubic-bezier(.72,0,.24,1);
}
@keyframes cookiePop {
  from { opacity: 0; transform: scale(0.8) translateY(60px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 { color: var(--electric-1); margin-bottom: 6px; font-size: 1.32rem; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-family: 'Open Sans',sans-serif;
  font-size: 1rem;
}
.cookie-toggle {
  margin-left: 0;
  margin-right: 0;
  width: 33px;
  height: 18px;
  background: var(--electric-4);
  border-radius: 16px;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 16px;
  height: 16px;
  background: var(--electric-2);
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1px;
  transition: left 0.18s, background 0.14s;
}
.cookie-toggle input:checked + span {
  left: 15px;
  background: var(--electric-1);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  color: var(--electric-3);
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover { color: var(--electric-1); }

/*========================================
12. RESPONSIVE DESIGN: MOBILE-TO-DESKTOP
========================================*/
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
  }
  .features ul, .testimonials .content-wrapper {
    flex-direction: column;
  }
  .value-grid, .category-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .section, .about-preview, .about, .features, .testimonials, .newsletter, .confirmation, .contact, .faq, .legal, .history {
    padding: 25px 5px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 28px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  header nav ul, header nav .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem;}
  h2 { font-size: 1.25rem;}
  .container { padding: 0 4px; }
  .cookie-banner { padding: 12px 7px; }
  .footer, footer nav ul { gap: 10px; }
  .about-preview, .about, .features, .testimonials, .newsletter, .confirmation, .contact, .faq, .legal, .history {
    padding: 16px 2px;
  }
  .value-grid .icon-text-pair, .category-grid > div, .features ul li {
    padding: 13px 7px;
    min-width: 128px;
  }
}
@media (max-width: 500px) {
  footer nav ul {
    flex-direction: column;
    gap: 6px;
  }
  .testimonial-card {
    min-width: 120px;
    font-size: 1em;
    padding: 13px 10px;
  }
  .mobile-menu {
    padding: 0;
  }
}
/* Text-image flex section direction */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/*========================================
13. MICRO-INTERACTIONS & TRANSITIONS
========================================*/
a, button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-close {
  transition: background 0.20s, color 0.15s, box-shadow 0.2s, transform .13s;
}
a:active {
  transform: scale(0.96);
  color: var(--electric-2);
}

/* Card bounce effect */
.card:focus, .card:active {
  outline: 2.5px solid var(--electric-5);
  outline-offset: 0px;
  box-shadow: 0 0 0 4px var(--electric-2), var(--shadow-card);
}

/*========================================
14. MISCELLANEOUS UTILITIES & STYLE DETAILS
========================================*/
::-webkit-scrollbar { width: 9px; background: #f6f6f6; }
::-webkit-scrollbar-thumb { background: var(--electric-1); border-radius: 6px; }
::selection { background: var(--electric-3); color: #fff; }

/* Icon-text-pair styling */
.icon-text-pair { display: flex; align-items: center; gap: 13px; }
.icon-text-pair img { width: 36px; height: 36px; }

/* Visually hidden for a11y */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
