/* =============================================================================
   CSS RESET & BASE STYLES (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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F5F3EE;
  color: #3D2C28;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
input, select, textarea {
  font: inherit;
}

/* =============================================================================
   COLORS, FONTS, VARIABLES
============================================================================= */
:root {
  --color-primary: #3D2C28;
  --color-secondary: #E3B873;
  --color-accent: #F5F3EE;
  --color-vibrant-pink: #FF2996;
  --color-vibrant-blue: #1ae1e7;
  --color-vibrant-yellow: #ffe53b;
  --color-cta: #FF2996;
  --color-white: #fff;
  --color-black: #1a1a1a;
  --color-shadow: rgba(61, 44, 40, 0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Webfonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* =============================================================================
   LAYOUT CONTAINERS & FLEXBOX SYSTEM
============================================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 32px;
  box-shadow: 0 2px 16px var(--color-shadow);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.16s, box-shadow 0.16s;
}
.card:hover {
  transform: translateY(-2px) scale(1.0125);
  box-shadow: 0 8px 32px rgba(61,44,40,0.15);
}

.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 {
  background: var(--color-white);
  color: #261F19;
  border-left: 6px solid var(--color-vibrant-pink);
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(61,44,40,0.13);
  border-left: 6px solid var(--color-vibrant-blue);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Flex gap fallback for older browsers */
@supports not (gap: 1px) {
  .card-container > * { margin-right: 24px; }
  .content-wrapper > * { margin-bottom: 24px; }
  .content-grid > * { margin-right: 20px; }
}

/* Prevent content overlap, always provide spacing */
.card, .testimonial-card, .content-wrapper > * {
  margin-bottom: 20px;
}

/* =============================================================================
   HEADER & NAVIGATION
============================================================================= */
header {
  background: var(--color-accent);
  box-shadow: 0 4px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.025em;
  font-size: 17px;
  border-bottom: 2px solid transparent;
  padding: 4px 2px;
  transition: color 0.2s, border-color 0.18s;
}
header nav a:hover,
header nav a[aria-current='page'] {
  color: var(--color-vibrant-pink);
  border-bottom: 2px solid var(--color-secondary);
}

header img {
  width: 134px;
  height: auto;
  margin-right: 18px;
}

/* CTA Button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-vibrant-pink);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 18px;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,41,150,0.13);
  transform: translateZ(0);
  transition: background 0.16s, transform 0.14s, box-shadow 0.14s;
  margin-left: 20px;
  margin-right: 5px;
  letter-spacing: 0.04em;
}
.cta.primary {
  background: var(--color-vibrant-yellow);
  color: var(--color-primary);
}
.cta:hover,
.cta:focus {
  background: var(--color-vibrant-blue);
  color: var(--color-primary);
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(26,225,231,0.13);
  outline: none;
}

/* =============================================================================
   MOBILE NAVIGATION
============================================================================= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-vibrant-pink);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  border: none;
  z-index: 106;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-accent);
  z-index: 120;
  flex-direction: column;
  padding: 32px 18px 18px 18px;
  box-shadow: 0 4px 32px rgba(61,44,40,0.15);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.64,.04,.35,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--color-vibrant-blue);
  color: var(--color-primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,225,231,.08);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-vibrant-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 54px;
}
.mobile-nav a {
  font-size: 21px;
  padding: 16px 0 8px 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.15s, border-color 0.18s;
}
.mobile-nav a:hover { color: var(--color-vibrant-pink); border-bottom: 2px solid var(--color-vibrant-blue); }
.mobile-nav a[aria-current=page] {
  color: var(--color-vibrant-pink);
  border-bottom: 2px solid var(--color-secondary);
}

/* =============================================================================
   TYPOGRAPHY (Vibrant/Energetic)
============================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.6rem;
  background: linear-gradient(90deg, var(--color-vibrant-pink) 30%, var(--color-vibrant-blue) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(255,41,150,.08);
}
h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin: 18px 0 10px 0;
  font-weight: 800;
  background: none;
}
h3 {
  color: var(--color-vibrant-pink);
  font-size: 1.15rem;
  margin: 10px 0 5px 0;
}
h4 {
  font-size: 1.12rem;
  color: var(--color-primary);
}
p, ul, li, span, label, input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.7;
}

.testimonial-card p {
  font-size: 1.08rem;
  color: #26211a;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-vibrant-blue);
  font-weight: bold;
  font-size: 0.97rem;
  font-family: var(--font-display);
}

ul, ol {
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.15em;
  list-style-type: disc;
}
ul li img {
  margin-right: 8px;
  vertical-align: middle;
}

/* =============================================================================
   FOOTER
============================================================================= */
footer {
  background: var(--color-primary);
  padding: 36px 0 18px 0;
  color: var(--color-accent);
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.footer-links, .footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.footer-legal a {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: underline;
  margin-right: 8px;
}
.footer-links a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.09rem;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.13s;
}
.footer-links a:hover {
  color: var(--color-vibrant-pink);
  opacity: 1;
}
.footer-address {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-size: 0.99rem;
}
.footer-address img {
  width: 32px;
  margin-right: 6px;
}

/* =============================================================================
   BUTTONS & INTERACTIVE ELEMENTS
============================================================================= */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  border: none;
  transition: background 0.16s, color 0.17s, box-shadow 0.18s;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 20px 20px 20px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 28px #3D2C2840;
  font-size: 1rem;
  gap: 15px;
  animation: slideUp 0.5s cubic-bezier(.65,.04,.35,1) 1;
}
@keyframes slideUp { 0% {transform: translateY(120%);} 100% {transform: translateY(0);} }
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn {
  background: var(--color-vibrant-pink);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.02rem;
  padding: 10px 26px;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(255,41,150,0.09);
  margin-right: 8px;
  transition: background 0.18s, color 0.17s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: var(--color-vibrant-yellow);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #fff5f8;
  color: var(--color-vibrant-pink);
  border: 1px solid var(--color-vibrant-pink);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-vibrant-blue);
  color: var(--color-primary);
  box-shadow: 0 6px 20px 1px rgba(26,225,231,0.11);
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 5050;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(61,44,40,0.62);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s;
}
.cookie-modal.active {
  display: flex;
}

.cookie-modal__content {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 22px;
  padding: 38px 24px 24px 24px;
  box-shadow: 0 12px 48px rgba(61,44,40,0.18);
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popIn 0.28s cubic-bezier(.53,1.42,.02,1);
}
@keyframes popIn {
  0% {transform: scale(0.93);} 100% {transform: scale(1);}
}
.cookie-modal__close {
  align-self: flex-end;
  background: var(--color-vibrant-pink);
  color: var(--color-white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
}
.cookie-modal__categories {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  font-family: var(--font-body);
}
.cookie-toggle input[type='checkbox'] {
  accent-color: var(--color-vibrant-pink);
  width: 20px;
  height: 20px;
}
.cookie-toggle.essential {
  opacity: 0.7;
  font-style: italic;
}

/* =============================================================================
   RESPONSIVE DESIGN - Mobile First
============================================================================= */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
}
@media (max-width: 880px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 62px;
    gap: 10px;
    padding: 6px 2vw;
  }
  .footer-links, .footer-legal {
    gap: 10px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
    max-width: 97vw;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 18px;
  }
  h1 {
    font-size: 2.06rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.45rem;
  }
}
@media (max-width: 670px) {
  .testimonial-card, .card {
    padding: 14px 7px;
    border-radius: 16px;
    font-size: 0.97rem;
  }
  .footer-links, .footer-legal {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 2vw;
    max-width: 99vw;
  }
  .section {
    padding: 11px 2vw;
    margin-bottom: 22px;
    border-radius: 10px;
  }
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .cta, .cta.primary {
    font-size: 1rem;
    padding: 10px 14px;
    margin-left: 8px;
    border-radius: 22px;
  }
  .mobile-menu__content {
    min-width: 90vw;
    padding: 18px 7px 8px 7px;
  }
  .cookie-modal__content {
    padding: 22px 7px 7px 7px;
    min-width: 85vw;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* =============================================================================
   ADDITIONAL VIBRANT ENERGETIC EFFECTS
============================================================================= */
.card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 30px 0 rgba(255,41,150,0.17), 0 2px 12px var(--color-shadow);
  transform: scale(1.019);
}
.card::after, .testimonial-card::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-vibrant-pink) 40%, var(--color-secondary) 70%, var(--color-vibrant-blue) 100%);
  border-radius: 0 0 12px 12px;
  pointer-events: none;
  opacity: 0.18;
}

.cta:active {
  transform: scale(0.98);
  background: var(--color-vibrant-pink);
  color: var(--color-white);
}

a, .cta, button {
  outline: none;
  transition: color 0.16s, background 0.13s, border-color 0.11s, box-shadow 0.16s, transform 0.13s;
}
a:focus, .cta:focus, .mobile-menu-toggle:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2px var(--color-vibrant-pink);
  outline: none;
}

/* =============================================================================
   GENERAL UTILITY CLASSES
============================================================================= */
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.gap-24 { gap: 24px; }
.rounded { border-radius: 18px; }
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }

/* Hide visually, keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =============================================================================
   OVERRIDES FOR BRAND 
============================================================================= */
h1, h2 {
  text-transform: none;
}
.section {
  background: #fff;
}

/* =============================================================================
   SPECIAL: ENSURE NO OVERLAPPING & LAYOUT CORRECTNESS
============================================================================= */
.card:not(:last-child), .testimonial-card:not(:last-child), .content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* =============================================================================
   END OF FILE
============================================================================= */
