/* ============================== */
/* 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, menu, 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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FFF8F4;
  color: #2B2B2B;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s cubic-bezier(.36,1.14,.65,1);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  outline: none;
}

/* ============================== */
/* BRAND VARIABLES & FONTS        */
/* ============================== */
:root {
  --primary: #932C1A;
  --primary-contrast: #FFFFFF;
  --secondary: #F6F3EE;
  --secondary-alt: #FFF8F4;
  --accent: #2B5F5F;
  --accent-contrast: #fff;
  --highlight: #FFD349;
  --bright-green: #61C998;
  --bright-pink: #FF5FA2;
  --shadow: rgba(30, 30, 30, 0.08);
  --radius: 18px;
  --radius-card: 22px;
  --space1: 8px;
  --space2: 16px;
  --space3: 24px;
  --space4: 40px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
}
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');

body {
  font-family: var(--font-body);
  background: var(--secondary-alt);
  color: #2B2B2B;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--space2);
}
h1 { font-size: 2.5rem; margin-bottom: var(--space3); }
h2 { font-size: 2rem; margin-bottom: var(--space2); }
h3 { font-size: 1.5rem; margin-bottom: var(--space2); }
h4, h5, h6 { font-size: 1.16rem; }

p, ul, li, a, span, div {
  font-family: var(--font-body);
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: var(--accent);
}


/* ============================== */
/* LAYOUT / SPACING PATTERNS      */
/* ============================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space2);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 22px var(--shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-card);
  background: var(--secondary);
  box-shadow: 0 4px 16px var(--shadow);
  padding: var(--space3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  background: var(--highlight);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
  color: #222;
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
}
li {
  position: relative;
  padding-left: 30px;
  min-height: 22px;
  font-size: 1.04rem;
}
li::before {
  content: '\2022';
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.22em;
  top: -1px;
}

@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .section {
    padding: 32px 6px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .content-wrapper,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  ul, .card ul {
    gap: 11px;
  }
}

/* ============================== */
/* FUN ANIMATED ACCENTS           */
/* ============================== */
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.04;
  animation: pulseCircle 3.2s infinite linear alternate;
}
@keyframes pulseCircle {
  0%   { transform: scale(1)   translateY(0); }
  50%  { transform: scale(1.2) translateY(-13px); }
  100% { transform: scale(1)   translateY(0); }
}

h1::after, h2::after, h3::after {
  content: '';
  display: inline-block;
  background: var(--bright-pink);
  height: 6px;
  width: 35px;
  border-radius: 8px;
  margin-left: 14px;
  vertical-align: middle;
  animation: bounceAccent 2s infinite alternate;
}
@keyframes bounceAccent {
  0% { transform: scaleY(1) translateY(0); }
  40% { transform: scaleY(1.14) translateY(-3px); }
  70% { transform: scaleY(1) translateY(0); }
  100% { transform: scaleY(1) translateY(3px); }
}

/* ============================== */
/* MAIN NAVIGATION                */
/* ============================== */
header {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 2px 12px var(--shadow);
  z-index: 20;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 0 var(--space3);
  position: relative;
}
.main-nav a {
  color: var(--primary-contrast);
  font-weight: 600;
  font-size: 1.04rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s cubic-bezier(.38,1.12,.56,.99), color 0.18s;
  display: flex;
  align-items: center;
}
.main-nav a.cta-primary {
  background: var(--highlight);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.09rem;
  box-shadow: 0 2px 10px var(--shadow);
  margin-left: 12px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: box-shadow 0.2s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: var(--bright-pink);
  color: #fff;
  box-shadow: 0 4px 14px var(--shadow);
}
.main-nav a:hover:where(:not(.cta-primary)),
.main-nav a:focus:where(:not(.cta-primary)) {
  background: rgba(255,255,255,.16);
  color: var(--highlight);
}
.main-nav img {
  height: 48px;
  margin-right: 20px;
  border-radius: 8px;
  background: #fff7;
  transition: transform 0.15s;
}
.main-nav img:hover {
  transform: scale(1.05) rotate(-2deg);
}

@media (max-width: 920px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 10px;
  }
  .main-nav img {
    height: 38px;
    margin-right: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    font-size: 0.97rem;
    height: auto;
    padding: 2px 4px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}

/* ============================== */
/* MOBILE BURGER MENU             */
/* ============================== */
.mobile-menu-toggle {
  position: absolute;
  right: 14px;
  top: 15px;
  z-index: 60;
  width: 46px;
  height: 46px;
  background: var(--highlight);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 2px 10px var(--shadow);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--bright-pink);
  color: #fff;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--primary-contrast);
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.27,1,.68,1);
  z-index: 130;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  width: 42px;
  height: 42px;
  background: var(--highlight);
  color: var(--primary);
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 14px 16px 8px 0;
  transition: background 0.18s;
  align-self: flex-end;
  z-index: 140;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--bright-pink);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 32px 20px 32px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--primary-contrast);
  padding: 12px 18px;
  font-size: 1.18rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.09);
  margin: 0 0 5px 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s cubic-bezier(.24,1.18,.45,.97), color 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--bright-pink);
  color: #fff;
}

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

/* ============================== */
/* MAIN BUTTONS & CTA             */
/* ============================== */
.cta-primary {
  display: inline-flex;
  background: linear-gradient(94deg, var(--highlight), var(--bright-pink) 100%);
  color: var(--primary);
  font-weight: 900;
  font-size: 1.12rem;
  padding: 16px 32px;
  border-radius: 999px;
  text-shadow: 0 1px 2px #fff8;
  box-shadow: 0 3px 14px var(--shadow);
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.19s, transform 0.15s, color 0.14s;
  outline: none;
  margin: 14px 0 0 0;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cta-primary:focus, .cta-primary:hover {
  background: linear-gradient(93deg, var(--bright-pink), var(--highlight) 100%);
  color: #fff;
  transform: scale(1.04) rotate(-1deg);
}

/* subtle floating micro-animation */
.cta-primary {
  animation: floatBtn 2.7s infinite alternate cubic-bezier(.31,1.19,.65,.99);
}
@keyframes floatBtn {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-3px) scale(1.01); }
  80% { transform: translateY(3px) scale(1.03); }
  100% { transform: translateY(0) scale(1);
  }
}


/* ============================== */
/* TESTIMONIAL CARDS              */
/* ============================== */
.testimonial-card {
  background: var(--highlight);
  color: #231B1A;
  font-size: 1.15rem;
  border-left: 4px solid var(--bright-pink);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  font-weight: 500;
  min-width: 0;
  position: relative;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--accent);
  margin-left: 14px;
  font-weight: 700;
  font-family: var(--font-display);
}
.testimonial-card p {
  margin-bottom: 0;
}

/* ============================== */
/* FOOTER STYLES                  */
/* ============================== */
footer {
  background: var(--primary);
  color: var(--primary-contrast);
  border-top: 8px solid var(--highlight);
  padding: 50px 0 26px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--primary-contrast);
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 6px 14px;
  margin-bottom: 4px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--bright-pink);
  color: #fff;
}
.footer-legal {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-size: 0.96rem;
  opacity: 0.82;
}
.footer-legal a { color: var(--highlight); }
.footer-social {
  display: flex;
  gap: 19px;
  justify-content: center;
  align-items: center;
  margin: 12px 0 0 0;
}
.footer-social img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 1px 5px var(--shadow);
  background: #fff3;
  padding: 3px;
  transition: transform 0.18s;
}
.footer-social img:hover {
  transform: scale(1.09) rotate(5deg);
  background: #fff9;
}
@media (max-width: 650px) {
  footer {
    padding: 32px 0 8px 0;
  }
  .footer-nav, .footer-legal, .footer-social {
    gap: 7px;
    font-size: 0.92rem;
  }
  .footer-nav a { padding: 4px 8px; font-size: 0.97rem; }
  .footer-social img { width: 26px; height: 26px; }
}

/* ============================== */
/* COOKIE CONSENT BANNER & MODAL  */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--highlight);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -1px 12px var(--shadow);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  padding: 24px 16px 18px 16px;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.28s cubic-bezier(.31,.79,.68,.98), transform 0.25s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner p {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
}
.cookie-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 28px;
  transition: background 0.16s, color .13s;
  box-shadow: 0 2px 12px var(--shadow);
  margin: 0;
}
.cookie-btn.settings {
  background: var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--bright-pink);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #432e2288;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, 65%) scale(.98);
  background: #fff;
  border-radius: 22px;
  z-index: 10001;
  min-width: 90vw;
  max-width: 380px;
  box-shadow: 0 12px 42px var(--shadow);
  padding: 32px 20px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .22s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.cookie-modal ul {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}
.cookie-modal li {
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 38px;
  height: 22px;
  margin-left: 8px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  border-radius: 14px;
  transition: background .18s;
}
.cookie-switch input:checked + .slider {
  background: var(--bright-green);
}
.cookie-switch .slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-switch input:checked + .slider::before {
  transform: translateX(15px);
}
.cookie-modal .cookie-save-btn {
  width: 100%;
  border-radius: 999px;
  background: var(--primary);
  color: var(--highlight);
  font-size: 1.06rem;
  font-weight: bold;
  padding: 13px 0;
  margin-top: 12px;
  border: none;
  transition: background 0.15s;
}
.cookie-modal .cookie-save-btn:focus, .cookie-modal .cookie-save-btn:hover {
  background: var(--bright-pink);
  color: #fff;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  background: none;
  color: var(--accent);
  font-size: 1.4rem;
  border: none;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--bright-pink);
}

/* ============================== */
/* TYPOGRAPHY, FORMS, ETC.        */
/* ============================== */
.text-section {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 7px var(--shadow);
  padding: 30px 20px;
}

/* Links */
a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: var(--bright-pink);
}

/* General Button Outlines */
button:focus, .cta-primary:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Tables (rare) */
table {
  border-collapse: collapse;
  width: 100%;
  margin: var(--space2) 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px var(--shadow);
}
th, td {
  padding: var(--space1) var(--space2);
}
th {
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: bold;
}
tr:nth-child(even) { background: var(--secondary); }

/* ============================== */
/* RESPONSIVE FINE-TUNING         */
/* ============================== */
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.08rem; }
  .section {
    padding: 15px 1.5vw;
    margin-bottom: 22px;
  }
  .card {
    padding: var(--space2);
  }
  .content-grid, .card-container,
  .text-image-section, .content-wrapper {
    gap: 7px;
  }
}

/* ============================== */
/* PLAYFUL EXTRAS                 */
/* ============================== */
.cta-primary::after {
  content: '\27A1';
  margin-left: 11px;
  font-size: 1.15em;
  vertical-align: middle;
  color: var(--primary);
  transition: color .22s, transform .18s;
  display: inline-block;
  animation: wiggleArrow 1.2s infinite alternate cubic-bezier(.32,1,.55,1.14);
}
@keyframes wiggleArrow {
  0% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(6px) rotate(5deg); }
  100% { transform: translateX(0) rotate(-2deg); }
}

.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px var(--shadow);
  transform: translateY(-3px) scale(1.02);
  transition: box-shadow .19s, transform .18s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: #eee;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb {
  background: var(--highlight);
  border-radius: 11px;
}

::selection {
  background: var(--bright-pink);
  color: #fff;
}

/* ============================== */
/* ENSURE NO OVERLAPPING!         */
/* ============================== */
section, .section, .container, .card, .testimonial-card {
  min-width: 0;
  word-break: break-word;
}

/* ============================== */
/* INTERACTIONS - MICRO EFFECTS   */
/* ============================== */
.card, .testimonial-card, .cta-primary, .mobile-menu, .mobile-menu-toggle, .footer-social img, .cookie-btn, .cookie-save-btn {
  transition: box-shadow .17s, background .15s, color .14s, transform .16s;
}

/* END OF CSS */
