/* ==== 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-size: 16px;
  background: #fff;
  color: #232946;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
}
button {
  background: none;
  cursor: pointer;
}

/* ==== BRAND VARIABLES ==== */
:root {
  --color-primary: #232946;
  --color-secondary: #eeb435;
  --color-accent: #f4faff;
  --color-bg: #fff;
  --color-text: #232946;
  --color-muted: #f9f6f2;
  --color-border: #ececec;
  --color-button-hover: #ffc549;
  --color-shadow: rgba(238, 180, 53, 0.13);
  --border-radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}



/* ==== BASIC TYPOGRAPHY & LAYOUT ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.1;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

p, li, span, .tags {
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: var(--color-secondary);
}
em, i {
  font-style: italic;
}

/* ==== CONTAINER & WRAPPERS ==== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ==== SECTION & SPACING ==== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--border-radius);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  section, .section {
    padding: 28px 10px;
  }
}


/* ==== MAIN HERO ==== */
.hero {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 6px 20px 0 var(--color-shadow);
  text-align: left;
  margin-bottom: 60px;
  min-height: 250px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-primary);
  max-width: 630px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    text-align: left;
    padding: 24px 0;
  }
  .hero .content-wrapper {
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


/* ==== BUTTONS / CTA ==== */
.cta,
button.cta,
a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 72px;
  border: none;
  outline: none;
  transition: background 0.22s, transform 0.14s, box-shadow 0.22s;
  box-shadow: 0 3px 18px 0 rgba(238,180,53,0.13);
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta:hover, .cta:focus {
  background: var(--color-button-hover);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 32px 0 rgba(238,180,53,0.21);
  text-decoration: none;
}


/* ==== NAVIGATION BAR ==== */
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  z-index: 40;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 16px;
  height: 72px;
  min-height: 72px;
  justify-content: space-between;
  gap: 16px;
}
header a img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-left: 16px;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 36px;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  position: relative;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 3px 8px 0 rgba(238,180,53,0.15);
}
.main-nav .cta {
  margin-left: 12px;
}

/* M O B I L E  B U R G E R  M E N U */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 80px;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff4de;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  box-shadow: 0 4px 32px 0 var(--color-shadow);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  padding: 28px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-bottom: 32px;
  margin-top: 6px;
  border-radius: 80px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe6ac;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  padding: 16px 10px;
  color: var(--color-primary);
  border-radius: 36px;
  transition: background 0.13s, color 0.13s;
  margin: 0 0 0 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

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


/* ==== FEATURES GRID ==== */
.features-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 16px;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  border-radius: var(--border-radius);
  padding: 28px 24px 22px 24px;
  width: calc(33% - 16px);
  min-width: 240px;
  flex: 1 1 312px;
  transition: box-shadow 0.2s, transform 0.14s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 7px;
}
.feature-item h3 {
  margin-bottom: 6px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.11rem;
}
.feature-item p {
  color: var(--color-primary);
  opacity: 0.93;
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 8px 36px 0 var(--color-shadow);
  transform: translateY(-3px) scale(1.035);
}

@media (max-width: 1024px) {
  .feature-item {
    width: calc(50% - 12px);
    min-width: 210px;
  }
}
@media (max-width:768px) {
  .features-grid, .blog-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
  }
}

/* ==== CARDS, TESTIMONIALS & BLOG SECTIONS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  box-shadow: 0 3px 14px 0 var(--color-shadow);
  border-radius: var(--border-radius);
  padding: 32px 28px 22px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 10px 34px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.017);
}

.testimonials {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 22px;
  background: #fffefb;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 17px 0 var(--color-shadow);
  margin-bottom: 20px;
  max-width: 400px;
  min-width: 230px;
  flex: 1 1 280px;
  color: #232946;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card p {
  color: #232946;
  font-size: 1.05rem;
}
.testimonial-card span {
  color: #be8a1b;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.93;
}
.testimonial-card em,
.testimonial-card i {
  font-size: 0.96rem;
  color: #404060;
  opacity: 0.81;
}
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 34px 0 var(--color-shadow);
}

@media (max-width:900px) {
  .testimonials {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ==== TEXT/IMAGE FLEX SECTIONS ==== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* General content-grid */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ==== BLOG CARDS ==== */
.blog-list .text-section {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  padding: 22px 20px 18px 22px;
  min-width: 210px;
  min-height: 120px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.11s;
}
.blog-list .text-section:hover {
  transform: scale(1.025) translateY(-2px);
  box-shadow: 0 8px 34px 0 var(--color-shadow);
}
.tags {
  display: inline-block;
  color: #ad7100;
  background: #fff8e1;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 500;
  margin-top: 3px;
  padding: 2px 12px;
}

/* ==== TEXT SECTIONS ==== */
.text-section {
  margin-bottom: 10px;
}
.text-section ul, .content-wrapper ul {
  list-style: disc inside;
  margin-left: 18px;
  margin-bottom: 14px;
  color: var(--color-primary);
  opacity: 0.93;
}
.text-section li, .content-wrapper li {
  margin-bottom: 8px;
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-accent);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -2px 18px 0 var(--color-shadow);
  padding: 38px 0 24px 0;
  margin-top: 32px;
}
footer .container {
  flex-direction: row;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 48px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 0;
  border-radius: 18px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  vertical-align: -4px;
}
.footer-contact p {
  margin-bottom: 0;
  color: var(--color-primary);
  opacity: 0.90;
}
.footer-contact h3 {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 32px 0 16px 0;
  }
  .footer-logo img {
    height: 40px;
  }
}


/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232946;
  color: #f4faff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  font-family: var(--font-body);
  z-index: 3000;
  padding: 20px 32px;
  box-shadow: 0 -8px 28px 0 rgba(35,41,70,0.14);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  margin-bottom: 0;
  color: #f4faff;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 20px;
  font-size: 1rem;
  border-radius: 42px;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  box-shadow: 0 2px 8px 0 rgba(238,180,53,0.13);
  margin-left: 4px;
  transition: background 0.14s, box-shadow 0.14s, color 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffc549;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: #fff8e3;
  color: var(--color-primary);
}
.cookie-btn.settings:hover {
  background: #ffe6ac;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 13px;
  }
  .cookie-banner__actions {
    gap: 9px;
    flex-direction: row;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  z-index: 3100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,41,70,0.69);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #fffefb;
  color: #232946;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 44px 0 rgba(35,41,70,0.15);
  padding: 36px 28px 22px 28px;
  max-width: 420px;
  width: 90vw;
  max-height: 87vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  position: relative;
  animation: appearModal 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes appearModal {
  from { transform: translateY(40px) scale(0.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.cookie-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  color: #232946;
  font-size: 2rem;
  border: none;
  border-radius: 80px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #ffe6ac;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 700;
  color: #232946;
  margin-bottom: 4px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f9f6eb;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  transform: scale(1.25);
  margin-right: 3px;
}
.cookie-category.essential label {
  opacity: 0.60;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal__actions .cta {
  margin-bottom: 0;
  margin-top: 0;
}

/* ==== MICRO-ANIMATIONS ==== */
a, .cta, button, .feature-item, .testimonial-card, .cookie-btn, .text-section, .card {
  transition: box-shadow 0.19s, background 0.19s, color 0.19s, transform 0.11s;
}

/* ==== SCROLLBAR (light, unobtrusive) ==== */
::-webkit-scrollbar {
  width: 8px;
  background: #f4e6cd;
}
::-webkit-scrollbar-thumb {
  background: #eeb435;
  border-radius: 12px;
}

/* ==== ACCESSIBILITY: FOCUS STATES ==== */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1.5px;
  box-shadow: 0 1px 6px 0 var(--color-secondary);
}

/* ==== RESPONSIVE FONT SCALE ==== */
@media (max-width:550px) {
  h1 { font-size: 1.11rem !important; }
  h2 { font-size: 1rem !important; }
  h3 { font-size: 0.96rem !important; }
  p, li, .tags, .cta, .cookie-banner__text { font-size: 0.99rem; }
}

/* ==== UTILS ==== */
.hide-desktop {
  display: none !important;
}
@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }
  .hide-desktop {
    display: block !important;
  }
}

/* ==== FORMS, INPUTS (for future expansion) ==== */
input, textarea, select {
  font-family: var(--font-body);
  background: #fafbff;
  border: 1.7px solid #e8dfcc;
  border-radius: 13px;
  padding: 12px 15px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-primary);
  box-shadow: 0 1.5px 9px 0 rgba(238,180,53,0.06);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--color-secondary);
  box-shadow: 0 2px 14px 0 var(--color-shadow);
}

/* ==== SYSTEM MESSAGES (success, error, info) ==== */
.status-success {
  background: #fefbe4;
  border-radius: 12px;
  margin: 0 0 22px 0;
  color: #26560d;
  padding: 12px 18px;
  font-family: var(--font-body);
  border-left: 4px solid var(--color-secondary);
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
}

/* ==== CUSTOM FLEXBOX CLASSES (MANDATORY) ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }


/* ==== END ==== */