/* === 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #36251B;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #36251B;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
a:focus {
  outline: 2px dashed #F2D7B6;
  outline-offset: 2px;
}

/* === ROOT COLORS & FONT VARS (with fallback) === */
:root {
  --primary: #36251B;
  --secondary: #7E675A;
  --accent: #F2D7B6;
  --brand-orange: #FFA83B;
  --brand-turquoise: #24E1E1;
  --brand-rose: #FF79A3;
  --brand-yellow: #FFEC45;
  --shadow-card: 0 4px 20px 0 rgba(50, 38, 23, 0.10);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', Arial, sans-serif;
}

/* === TYPOGRAPHY / HEADINGS === */
h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 1px 2px 0 #FFEC45, 0 4px 12px rgba(39, 35, 20, 0.09);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-rose);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 0 #FFD7A8;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brand-orange);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
p, ul, ol {
  font-family: var(--font-body);
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.7em;
  position: relative;
}
ul li::before {
  content: '•';
  color: var(--brand-turquoise);
  font-size: 1.1em;
  margin-right: 8px;
  font-weight: bold;
}
ol li::before {
  content: counter(item)'. ';
  color: var(--brand-orange);
  margin-right: 4px;
  font-weight: bold;
}

/* playful, fun font for special highlights */
.subheadline {
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  font-size: 1.3rem;
  color: var(--brand-orange);
  background: var(--accent);
  padding: 6px 18px 6px 10px;
  display: inline-block;
  border-radius: 18px 0 18px 0;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 rgba(255, 168, 59, 0.04);
}

/* === BUTTONS === */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  border: 2px solid transparent;
  font-size: 1.15rem;
  min-width: 180px;
  text-align: center;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(255, 120, 163, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.24s, transform 0.18s;
  margin-bottom: 10px;
  margin-right: 12px;
}
.primary-btn {
  background: var(--brand-rose);
  color: #fff;
  border-color: var(--brand-rose);
}
.primary-btn:hover, .primary-btn:focus {
  background: var(--brand-orange);
  color: var(--primary);
  box-shadow: 0 3px 20px 0 rgba(255, 168, 59, 0.16);
  transform: scale(1.06);
}
.secondary-btn {
  background: var(--brand-yellow);
  color: var(--primary);
  border-color: var(--brand-yellow);
}
.secondary-btn:hover, .secondary-btn:focus {
  background: var(--brand-turquoise);
  color: var(--primary);
  border-color: var(--brand-turquoise);
  box-shadow: 0 4px 24px 0 rgba(36, 225, 225, 0.07);
  transform: scale(1.03) rotate(-2deg);
}

/* === HEADER & NAVIGATION === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--accent);
  padding: 16px 5vw 16px 5vw;
  position: sticky;
  top: 0;
  z-index: 98;
  box-shadow: 0 8px 24px 0 rgba(36, 225, 225, 0.07);
}
.logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 3px 12px #FFD7A8);
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 14px;
  background: none;
  transition: background 0.16s, color 0.16s, transform 0.11s;
  font-weight: 700;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-turquoise);
  color: var(--primary);
  transform: scale(1.07);
}
.mobile-menu-toggle {
  background: var(--brand-rose);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  box-shadow: 0 1px 8px 0 rgba(255, 120, 163, 0.13);
  transition: background 0.15s, color 0.14s, transform 0.11s;
  z-index: 106;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-orange);
  color: var(--primary);
  transform: rotate(9deg) scale(1.1);
}

/* == MOBILE MENU (burger) == */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 0 100vw rgba(61, 49, 36, 0.19);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 28px 18px 32px;
  transform: translateX(-105vw);
  transition: transform 0.39s cubic-bezier(.64,1.68,.54,1.18);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-rose);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.8rem;
  width: 43px;
  height: 43px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.11s, transform 0.17s;
  z-index: 207;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-orange);
  color: var(--primary);
  transform: scale(1.1) rotate(8deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  border-radius: 14px;
  padding: 12px 0 12px 6px;
  background: none;
  transition: background 0.18s, color 0.18s, transform 0.10s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-turquoise);
  color: var(--primary);
  transform: scale(1.04) translateX(4px);
}

/* HIDE navigation on mobile, show burger */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === MAIN LAYOUTS & CONTAINER === */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* === SPACING & SECTION LAYOUTS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 28px 0 rgba(255, 168, 59, 0.05);
  position: relative;
  overflow: visible;
}
section:nth-of-type(odd) {
  background: var(--accent);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 24px;
  width: 100%;
}

.feature-item, .card {
  background: #fff;
  padding: 30px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.23s, transform 0.19s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(255, 120, 163, 0.17);
  transform: scale(1.02) rotate(-1deg);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.text-image-section > * {
  flex: 1 1 230px;
}

/* text only */
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-family: var(--font-body);
  margin-bottom: 20px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-left: 7px solid var(--brand-turquoise);
  border-radius: 17px 19px 21px 15px/18px 22px 14px 20px;
  box-shadow: 0 2px 20px 0 rgba(36, 225, 225, 0.10);
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card p {
  flex: 1 1 220px;
  font-size: 1.07rem;
  color: var(--primary);
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  background: #F9F9F9;
  border-radius: 11px;
  padding: 10px 18px 10px 14px;
}
.testimonial-card div:last-child {
  font-size: 1.4rem;
  color: var(--brand-orange);
  letter-spacing: 2px;
  margin-left: 5px;
  font-family: var(--font-display);
}
.testimonial-card div:nth-child(2) {
  font-size: 0.96rem;
  color: var(--secondary);
  font-style: italic;
  margin-left: 4px;
  font-family: var(--font-body);
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(255, 120, 163, 0.15);
  transform: scale(1.02) skewX(-1deg);
}

/* === FEATURE ITEM (SIGNATURE ETC) === */
.feature-item img, .feature-grid img {
  width: 52px;
  height: 52px;
  background: var(--brand-yellow);
  border-radius: 10px;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-item h3, .feature-grid h3 {
  font-size: 1.18rem;
  color: var(--brand-orange);
}
.feature-item p, .feature-grid p {
  font-size: 1rem;
  color: var(--secondary);
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 12px 18px 12px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 28px 0 rgba(36,225,225,0.07);
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--brand-rose);
  border-radius: 9px;
  padding: 6px 14px;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  font-weight: bold;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-yellow);
  color: var(--primary);
  transform: scale(1.12);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.97rem;
  margin-top: 12px;
}
.footer-meta img {
  width: 56px;
  height: 56px;
  margin-bottom: 7px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) scale(1);
  width: 98vw;
  max-width: 520px;
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 4px 36px 0 rgba(255,120,163,0.07);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 26px 18px 22px;
  gap: 18px;
  animation: banner-fade-in 0.7s cubic-bezier(.65,1.4,.65,1.01);
  font-family: var(--font-body);
  font-size: 1rem;
}
@keyframes banner-fade-in {
  from { opacity: 0; transform: translateX(-50%) scale(0.98) translateY(18px); }
  to { opacity: 1; transform: translateX(-50%) scale(1) translateY(0); }
}
.cookie-banner h4 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  margin-bottom: 6px;
  color: var(--brand-rose);
}
.cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 3px;
}
.cookie-btn {
  font-family: var(--font-display);
  color: #fff;
  background: var(--brand-rose);
  border: none;
  font-size: 1rem;
  border-radius: 16px;
  padding: 8px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}
.cookie-btn.accept {
  background: var(--brand-rose);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-orange);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--brand-turquoise);
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--brand-yellow);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-rose);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -54%) scale(1);
  background: #fff;
  width: 95vw;
  max-width: 420px;
  border-radius: 24px;
  z-index: 290;
  box-shadow: 0 8px 34px 0 rgba(255,168,59,0.09);
  display: flex;
  flex-direction: column;
  padding: 25px 30px 22px 30px;
  animation: modal-in 0.48s cubic-bezier(.61,1.25,.4,1.01);
}
@keyframes modal-in {
  from { opacity: 0; transform: translate(-50%, -54%) scale(0.91); }
  to { opacity: 1; transform: translate(-50%, -54%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--brand-rose);
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  padding: 6px 0px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--brand-turquoise);
  width: 19px;
  height: 19px;
  border-radius: 5px;
}
.cookie-category .cookie-essential {
  font-weight: 700;
  color: var(--secondary);
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 13px;
  background: var(--brand-rose);
  color: #fff;
  font-size: 1.5rem;
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.13s, transform 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-orange);
  color: #fff;
  transform: scale(1.10) rotate(5deg);
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* Hide modals/banners by default for JS control */
.cookie-banner[hidden], .cookie-modal[hidden] {
  display: none !important;
}

/* === RESPONSIVE DESIGN (mobile first; fluid) === */
@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .content-grid {
    gap: 16px;
  }
  section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 9px 14px 13px;
    font-size: 1rem;
  }
  .footer-meta {
    font-size: 0.91rem;
  }
}
@media (max-width: 650px) {
  header {
    flex-direction: row;
    padding: 14px 2vw 14px 2vw;
  }
  .container {
    padding: 0 5px;
  }
  .footer-meta img {
    width: 40px;
    height: 40px;
  }
  .cookie-banner {
    padding: 15px 10px 10px 12px;
    font-size: .98rem;
  }
  .cookie-modal {
    padding: 14px 8px 13px 10px;
    font-size: 1rem;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .btn {
    padding: 10px 8px;
    font-size: 1rem;
    min-width: 120px;
  }
  .logo img {
    height: 34px;
  }
  footer {
    padding: 19px 4px 10px 4px;
    border-radius: 15px 15px 0 0;
  }
}

/* === MICRO-ANIMATION EFFECTS === */
section {
  animation: float-in 1.05s cubic-bezier(.68, 1.07, .61, 1.01) both;
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(70px) scale(0.98) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
.feature-item, .card, .testimonial-card {
  animation: card-in 0.9s cubic-bezier(.62,1.06,.6,1) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(22px) scale(0.96) skew(-2deg); }
  to { opacity: 1; transform: translateY(0) scale(1) skew(0deg); }
}

/* === FUN COLOR SWASH ON CTA BUTTONS === */
.primary-btn {
  box-shadow: 0 2px 14px 0 rgba(255,120,163,0.16), 0 0 0 0 var(--brand-yellow);
  position: relative;
  overflow: hidden;
}
.primary-btn::after {
  content: '';
  display: block;
  position: absolute;
  top: -60%;
  left: -120%;
  width: 160%;
  height: 220%;
  pointer-events: none;
  background: rgba(255, 236, 69, 0.3);
  transform: rotate(12deg);
  transition: left 0.35s cubic-bezier(.61,.39,.38,1.22);
  z-index: 0;
}
.primary-btn:hover::after {
  left: 0;
  background: rgba(255, 236, 69, 0.41);
}

/* === VISUAL DECORATIVE ACCENTS (Dynamic, Playful) === */
section::before, section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  opacity: 0.10;
  pointer-events: none;
}
section::before {
  left: -36px;
  top: 20px;
  width: 74px;
  height: 74px;
  border-radius: 36px;
  background: var(--brand-turquoise);
  filter: blur(11px);
}
section::after {
  right: -23px;
  bottom: 13px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--brand-orange);
  filter: blur(7px);
}

/* Hide accents on XS screens */
@media (max-width: 650px){
  section::before, section::after {
    display: none;
  }
}

/* === UTILITIES === */
.visually-hidden { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); padding:0 !important; border:0 !important; height:1px !important; width:1px !important; overflow:hidden !important; }

/* Accent for numbers/price */
.price, .point-fort, .star {
  color: var(--brand-orange);
  font-weight: bold;
  font-family: var(--font-display);
}

/* === FOCUS VISIBLE (Accessibility) === */
:focus-visible {
  outline: 2px dashed var(--brand-turquoise) !important;
  outline-offset: 2px !important;
}

/****      END CSS      ****/
