/* --- CSS RESET & BASE --- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF9F3;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B2D2F;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #25599A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #16A08B;
  text-decoration: underline;
}
ul {
  list-style: none;
}
strong {
  font-weight: 700;
}


/* --- BRAND VARIABLES (FALLBACKS) --- */
:root {
  --color-primary: #25599A;
  --color-secondary: #16A08B;
  --color-accent: #FFF9F3;
  --color-bg: #FFF9F3;
  --color-card-bg: #fff;
  --color-border: #F2ECE7;
  --color-shadow: rgba(37, 89, 154, 0.06);
  --color-shadow-strong: rgba(37, 89, 154, 0.13);
  --color-grey: #778899;
  --color-testimonial-bg: #FFFAF6;
  --color-testimonial-border: #FFE3C4;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.25;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}

.text-section p {
  margin-bottom: 16px;
}
.text-section ul,
.text-section ol {
  margin-bottom: 20px;
  padding-left: 1em;
  color: #4F606D;
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 10px;
}

/* Typography hierarchy */
.hero h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #404040;
  margin-bottom: 28px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-m);
  box-shadow: 0 8px 32px 0 var(--color-shadow);
  margin-bottom: 20px;
  padding: 28px;
  position: relative;
  min-width: 250px;
  max-width: 100%;
  flex: 1 1 250px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius-s);
  box-shadow: 0 4px 20px var(--color-shadow);
  border: 1px solid var(--color-border);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-testimonial-bg);
  border: 1px solid var(--color-testimonial-border);
  border-radius: var(--radius-m);
  box-shadow: 0 2px 16px var(--color-shadow);
  max-width: 520px;
  margin-bottom: 20px;
  margin-top: 8px;
}
.testimonial-card p {
  color: #2B2D2F;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-align: center;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-primary);
  font-weight: 600;
}


/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  padding: 18px 0 18px 0;
  box-shadow: 0 2px 20px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 102;
}
header a img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--color-primary);
  letter-spacing: 0.2px;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

.cta-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-m);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: bold;
  box-shadow: 0 4px 18px var(--color-shadow);
  margin-left: 8px;
  transition: background 0.25s, box-shadow 0.22s, transform 0.19s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px var(--color-shadow-strong);
  color: #fff;
}


/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  padding: 9px 14px;
  border-radius: var(--radius-m);
  cursor: pointer;
  margin-left: auto;
  display: none;
  transition: background 0.21s, color 0.19s;
  z-index: 104;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.7, 0.1, 0.3, 1);
  box-shadow: 0 0 40px 0 var(--color-shadow-strong);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 0 0 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 120;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: var(--radius-m);
  transition: background 0.17s, color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 54px;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 12px 8px 12px 0;
  border-radius: var(--radius-s);
  color: var(--color-primary);
  transition: color 0.16s, background 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1020px) {
  .container { max-width: 100%; }
  .main-nav { gap: 16px; }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    gap: 2px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding: 12px 0 12px 0;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(42deg,#FFF9F3 70%,#FFE3C4 100%);
  padding: 60px 0 50px 0;
  margin-bottom: 52px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero {
    padding: 35px 0 28px 0;
    margin-bottom: 30px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    gap: 13px;
  }
}


/* --- FEATURED LISTS / OFFER SECTIONS --- */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  margin-bottom: 20px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 13px var(--color-shadow);
  padding: 11px 15px;
  color: #47617B;
  font-weight: 500;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.content-wrapper ul li img {
  width: 32px;
  height: 32px;
}

.content-wrapper ul li span {
  color: #47617B;
}


/* --- FOOTER --- */
footer {
  width: 100%;
  background: #fff;
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -2px 16px var(--color-shadow);
  position: relative;
  z-index: 1;
  margin-top: 50px;
  padding: 18px 0 14px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

footer a img {
  height: 40px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: var(--radius-s);
  transition: background 0.21s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.footer-contact {
  color: #778899;
  font-size: 0.99rem;
  line-height: 1.7em;
  text-align: right;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contact { text-align: left; }
  .footer-nav { gap: 12px; }
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(100px);
  min-width: 310px;
  max-width: 94vw;
  width: 460px;
  background: #fff7ef;
  color: #5c4631;
  border-radius: var(--radius-l);
  box-shadow: 0 6px 24px 0 #ffc9a9cc;
  border: 1px solid #ffe3c4;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 30px 18px 30px;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.6,0.4,0.15,1), opacity 0.34s;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn,
.cookie-settings-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-m);
  padding: 10px 24px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.26s, color 0.19s, transform 0.21s;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.cookie-btn.reject {
  background: #eee6e0;
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-settings-btn:hover,
.cookie-btn:focus, .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44, 37, 26, 0.32);
  z-index: 3200;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: 0 8px 50px #c59268b2;
  min-width: 300px;
  max-width: 96vw;
  width: 410px;
  padding: 30px 28px;
  z-index: 3300;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.36s cubic-bezier(0.7,0.2,0.2,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  color: var(--color-primary);
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
}
.cookie-category label {
  font-family: var(--font-body);
  color: #444235;
  font-size: 1.01rem;
}
.cookie-category.essential label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-modal button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-m);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  box-shadow: 0 2px 14px var(--color-shadow);
  transition: background 0.22s, color 0.19s, transform 0.20s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}
.cookie-modal .close-modal {
  background: #ffe3c4;
  color: var(--color-primary);
  padding-left: 18px;
  padding-right: 18px;
}

/* --- CARDS (if ever used) --- */
.card {
  transition: box-shadow 0.24s, transform 0.19s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 10px 32px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* --- BUTTONS (general) --- */
button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  outline: none;
}
button:focus-visible,
.cta-btn:focus-visible,
.cookie-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--color-secondary);
}

/* --- FORMS --- */
input, textarea, select {
  font-family: var(--font-body);
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  font-size: 1rem;
  margin-bottom: 16px;
  color: #23201c;
  transition: border-color 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  outline: none;
  box-shadow: 0 0 2px 2px var(--color-secondary);
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1000px) {
  .container { padding-left: 13px; padding-right: 13px; }
  .testimonial-card { max-width: 400px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  .hero h1 { font-size: 1.6rem; }
  .testimonial-card { max-width: 100%; }
  .footer-nav { flex-direction: column; gap: 7px; }
  .section { margin-bottom: 36px; padding: 28px 10px; }
  .cookie-banner { width: 99vw; min-width: 0; padding: 18px 6vw 12px 6vw; }
  .cookie-modal { width: 94vw; padding: 18px 9vw; }
}
@media (max-width: 540px) {
  .container { padding: 0 7px; }
  .hero { padding: 20px 0 10px 0; }
  .footer-contact { font-size: 0.88rem; }
  .testimonial-card { padding: 12px; }
  .card { padding: 14px 10px; }
  .cta-btn { font-size: 1rem; padding: 10px 12px; }
  .section { padding: 10px 3vw; }
}

/* --- VISUAL MICRO-INTERACTIONS --- */
.cta-btn, .cookie-btn, .cookie-settings-btn, .cookie-modal button {
  transition: background 0.21s, box-shadow 0.17s, color 0.16s, transform 0.18s;
}
.cta-btn:active, .cookie-btn:active, .cookie-settings-btn:active, .cookie-modal button:active {
  transform: scale(0.99);
}

/* --- SPECIAL COMPONENTS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 10px;
  background: #ffeede;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #ffe3c4;
  border-radius: 8px;
}

/* --- SHADOWS / DEPTH --- */
.shadow-s { box-shadow: 0 2px 12px var(--color-shadow); }
.shadow-m { box-shadow: 0 8px 32px var(--color-shadow); }
.shadow-l { box-shadow: 0 12px 50px var(--color-shadow-strong); }

/* Enforce no CSS Grid or Columns usage */
/* NO display:grid, grid-*, column-count, columns, column-width, column-gap, break-inside */

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--color-secondary) !important;
  outline-offset: 2px;
}

/* --- UTILITIES FOR FLEXBOX LAYOUTS (strict) --- */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.gap-20 {
  gap: 20px;
}

/* --- ENSURE NO OVERLAP --- */
section, .section, .card, .testimonial-card {
  margin-top: 0;
  margin-bottom: 20px;
}

/* --- PRINT STYLES (minimal) --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
}
