/* ====== 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #442507;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #C97D60;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f53c3c;
}
ul { list-style: disc inside; }

/* ====== BRAND COLORS (fallback) ====== */
:root {
  --color-primary: #7C4F24;
  --color-secondary: #F2D8B3;
  --color-accent: #C97D60;
  --color-dark: #442507;
  --color-vivid-yellow: #FFD600;
  --color-cream: #FFFAF3;
  --color-magenta: #FF3191;
  --color-orange: #FF7D29;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(255,99,49,0.06);
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-accent);
}
h4, h5, h6 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.7;
  color: #442507;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 20px;
  font-weight: 500;
}

/* ====== SPACING PATTERNS ====== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  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;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(200, 70, 32, 0.10);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-accent);
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(255, 49, 145, 0.18);
  transform: translateY(-2px) scale(1.025);
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(200,125,96,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(255,49,145,0.16);
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(100deg, #F2D8B3 70%, #FFD600 100%);
  border-bottom: 8px solid var(--color-accent);
  border-radius: 0 0 24px 24px;
  min-height: 250px;
  display: flex;
  align-items: center;
  padding: 50px 0 40px 0;
  margin-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-accent);
  font-size: 2.5rem;
  text-shadow: 0 8px 40px rgba(255, 99, 49, 0.11);
}
.hero .btn-primary {
  margin-top: 22px;
}

/* ====== NAVIGATION ====== */
header {
  background: #fff;
  box-shadow: 0 5px 18px 0 rgba(255,125,41,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 101;
}
.logo img {
  height: 56px;
  width: auto;
  vertical-align: middle;
  transition: filter 0.22s;
}
.logo:hover img {
  filter: brightness(1.26) drop-shadow(0 0 16px #FFD60090);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 8px 13px;
  color: var(--color-primary);
  border-radius: 6px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.main-nav .btn-primary {
  margin-left: 6px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: transparent;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  margin-left: 19px;
  padding: 0 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fde7d2;
  border-radius: 6px;
}

header .container {
  padding: 11px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 14px 34px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(255, 125, 41, 0.18);
  transition: background 0.18s, transform 0.14s, box-shadow 0.16s;
  position: relative;
}
.btn-primary:after {
  content: '';
  position: absolute;
  left: 12px;
  top: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: 0 2px 12px 0 rgba(255, 214, 0, 0.09);
  opacity: 0.6;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FF7D29;
  color: white;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 24px rgba(255, 49, 145, 0.18);
}

/* ====== FLEXLAYOUT CARDS & SECTIONS ====== */
.features-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(255,99,49,0.06);
  flex: 1 1 230px;
  min-width: 220px;
  padding: 25px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
}
.features-grid > div img {
  height: 56px;
  width: 56px;
  margin-bottom: 6px;
}
.features-grid > div:hover {
  box-shadow: 0 10px 32px rgba(255,214,0,0.12), 0 5px 28px rgba(41, 35, 34, 0.07);
  transform: translateY(-2px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 220px;
  min-width: 220px;
}

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

.section {
  background: #FFFAF3;
  border-radius: 20px;
}

/* ====== FOOTER ====== */
footer {
  background: #7C4F24;
  color: #fff;
  border-radius: 22px 22px 0 0;
  margin-top: 64px;
  position: relative;
  z-index: 3;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 18px 34px 18px;
}
.logo-footer img {
  height: 54px;
  width: auto;
  filter: brightness(1.15) drop-shadow(0 2px 12px #ffd60080);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #FFD600;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  transition: color 0.17s;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #FF3191;
}
.footer-contact p {
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 400;
  margin: 0;
  line-height: 1.65;
}
.footer-contact img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFFAF3;
  z-index: 300;
  padding: 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.20s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-accent);
  background: transparent;
  border: none;
  padding: 25px 22px 15px 12px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FF3191;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 32px;
  margin-top: 16px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid #f5dec4;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #fff;
  border-top: 5px solid var(--color-accent);
  min-height: 84px;
  box-shadow: 0 -2px 18px 0 rgba(255, 125, 41, 0.09);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  animation: cookieBannerFade 0.5s;
}
@keyframes cookieBannerFade {
  from { transform: translateY(80px); opacity:0; } to { transform: translateY(0); opacity:1; }
}
.cookie-banner-text {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-right: 16px;
  flex: 1;
}
.cookie-banner-buttons {
  display: flex;
  gap: 20px;
}
.cookie-btn {
  padding: 11px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 19px;
  border: none;
  cursor: pointer;
  margin-left: 0;
  background: var(--color-accent);
  color: #fff;
  transition: background 0.15s, color 0.14s, transform 0.14s;
  box-shadow: 0 2px 12px 0 rgba(255, 125, 41, 0.10);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn.settings:hover { background: #FFD600; color: var(--color-accent); }
.cookie-btn.accept:hover { background: #FF3191; color: #fff; }
.cookie-btn.reject {
  background: #FFD600; color: var(--color-dark);
}
.cookie-btn.reject:hover { background: #FF3191; color: #fff; }

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  width: 96%;
  max-width: 430px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 8px 52px 0 rgba(255, 49, 145, 0.19);
  transform: translate(-50%,-50%) scale(1.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.19s;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.30rem;
  text-align: left;
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.01rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin: 0;
}
.cookie-category .desc {
  font-size: 0.93rem;
  color: #7C4F24;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 17px;
  font-size: 1.9rem;
  color: var(--color-accent);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover {
  color: #FF3191;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
  .container { max-width: 910px; }
  .footer-contact { min-width: 220px; max-width: 380px; }
  .footer-nav { min-width: 120px; }
}
@media (max-width: 920px) {
  .features-grid > div, .card {
    min-width: 170px;
    padding: 19px 10px 18px;
  }
  .container { max-width: 96vw; }
  .footer-contact { font-size: 0.97rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .hero {
    padding: 30px 0 28px 0;
    min-height: 170px;
    border-radius: 0 0 14px 14px;
  }
  .footer-nav { flex-direction: row; gap: 18px; flex-wrap: wrap; }
  .container, footer .container {
    flex-direction: column;
    gap: 22px;
    padding: 23px 10px 26px 10px;
    align-items: flex-start;
  }
  .features-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .section {
    padding: 23px 7px;
    margin-bottom: 35px;
    border-radius: 12px;
  }
  .content-wrapper, .text-section {
    gap: 15px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .hero { min-height: 80px; padding: 18px 0; }
  .logo img, .logo-footer img { height: 44px; }
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .footer-contact p { font-size: 0.95rem; }
}
@media (max-width: 475px) {
  .footer-nav, .footer-contact, .logo-footer { align-items: flex-start !important; }
  .cookie-banner { padding: 14px 8px; gap: 10px; }
}
/* Responsive alignment for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* ====== HIGH ENERGY EFFECTS ====== */
.features-grid > div, .card, .testimonial-card {
  border-bottom: 5px solid var(--color-vivid-yellow);
  background: #fff;
  position: relative;
}
.features-grid > div:after, .card:after, .testimonial-card:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 5px;
  border-radius: 5px;
  background: radial-gradient(ellipse closest-side, #FF3191 0%, #FFD600 100%);
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

/* ======= LISTS ======= */
ul, ol {
  margin-left: 22px;
  margin-bottom: 22px;
  font-size: 1rem;
}
li {
  margin-bottom: 10px;
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ====== MISC ====== */
::-webkit-scrollbar {
  width: 9px;
  background: #FFE5BC;
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 5px;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ====== HELPER ====== */
.hide {
  display: none !important;
}

/* ====== Z-INDEX LAYERS ====== */
header { z-index: 101; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 500; }
.cookie-modal { z-index: 9999; }

/* ====== ENSURE FLEXBOX ONLY, NO GRID! ====== */
/* (No CSS Grid or Columns Used) */

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