/* ==================================================
   CSS RESET & NORMALIZATION
   ================================================== */
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 {
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F9F6F2;
  color: #25303B;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: #B7976B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e89236;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}
*:focus-visible {
  outline: 2px solid #B7976B;
  outline-offset: 2px;
}

/* ==================================================
   VARIABLES (fallbacks for compatibility)
   ================================================== */
:root {
  --primary: #25303B;
  --secondary: #F9F6F2;
  --accent: #B7976B;
  --accent-secondary: #e89236;
  --brand-pink: #F37590;
  --brand-blue: #49B8E9;
  --brand-yellow: #FFE167;
  --box-shadow: 0 4px 18px 0 rgba(39, 54, 86, 0.07);
  --radius-lg: 18px;
  --radius: 10px;
  --radius-sm: 7px;
}

/* ==================================================
   TYPOGRAPHY - Playful/Dynamic style
   ================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:wght@400&family=Lato:wght@400;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.125;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--accent);
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #25303B;
}
strong {
  font-weight: 700;
}

body, p, ul, li {
  font-size: 1rem;
}

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

/* ==================================================
   CONTAINER LAYOUTS (FLEX ONLY)
   ================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Card & Section Patterns Required by Spec */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
  background: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.21s cubic-bezier(.6,.35,.2,.95), box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(244, 117, 143, 0.18);
  transform: translateY(-4px) scale(1.025) rotate(-2deg);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-left: 8px solid var(--brand-pink);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px 0 rgba(243, 117, 144, 0.12);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(243, 117, 144, 0.22);
  border-color: var(--brand-blue);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 20px 18px;
  min-width: 232px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.19s;
}
.feature-item:hover {
  box-shadow: 0 6px 28px 0 rgba(73, 184, 233, 0.15);
  transform: translateY(-2px) scale(1.02) rotate(1deg);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* Section Spacing/Alignment Consistency */
.section, .features, .highlights, .cta, .team, .trend-report, .tips, .faq, .outfit-selector, .howto, .about, .services, .benefits, .contact, .geolocalized_info, .success-message, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Responsive: Stack columns/mobile first */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==================================================
   HEADER & NAVIGATION - Mobile menu animation
   ================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(37, 48, 59, 0.09);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 120;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 36px;
}
.main-nav a {
  padding: 10px 10px;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #25303B;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--brand-yellow);
  color: #B7976B;
}
.btn-primary {
  background: linear-gradient(90deg,#F37590 85%, #FFE167 110%);
  color: #25303B;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 30px;
  padding: 12px 30px 12px 30px;
  letter-spacing: 0.03em;
  margin-left: 28px;
  box-shadow: 0 2px 9px 0 rgba(243,117,144,0.13);
  border: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.19s;
  position: relative;
  z-index: 3;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#49B8E9 85%, #FFE167 110%);
  color: #25303B;
  box-shadow: 0 6px 24px 0 rgba(37,48,59,0.11);
  transform: translateY(-1px) scale(1.04) rotate(-2deg);
}

/* Hamburger Button visible only on mobile */
.mobile-menu-toggle {
  background: var(--brand-yellow);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--primary);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s, transform 0.13s;
  margin-left: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F37590;
  color: #fff;
  transform: rotate(6deg) scale(1.08);
  box-shadow: 0 4px 12px 0 rgba(243,117,144,0.13);
}

@media (max-width: 950px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  z-index: 180;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(249,246,242, 0.98);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.22s cubic-bezier(.64,.09,.36,1), transform 0.26s cubic-bezier(.82,.13,.33,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #B7976B;
  font-size: 2.2rem;
  border-radius: 50%;
  align-self: flex-end;
  margin: 28px 24px 4px 0;
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 8px 0 rgba(183,151,107,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover {
  background: #F37590;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 28px 40px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #25303B;
  padding: 13px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0 0 9px 9px;
  transition: background 0.15s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover {
  background: #FFE167;
  color: #B7976B;
  border-bottom: 2px solid #F37590;
}

@media (max-width: 500px) {
  .mobile-nav {
    padding: 28px 16px;
  }
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
  background: linear-gradient(120deg, #FFE167 51%, #F37590 98%);
  border-radius: 0 0 60px 60px;
  box-shadow: 0 12px 32px 0 rgba(243,117,144,0.09);
  min-height: 310px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  animation: heroFadeIn 1.2s cubic-bezier(.7,.2,.2,1);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(-24px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero h1 {
  font-size: 2.9rem;
  color: #25303B;
  line-height: 1.1;
}
.hero h1 span {
  color: #F37590;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  letter-spacing: 0.02em;
  position: relative;
}
@media (max-width: 768px) {
  .hero {
    min-height: 220px;
    border-radius: 0 0 36px 36px;
    padding: 44px 8px 32px 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* ==================================================
   FEATURES & CARDS (Fun, Playful, Shadow)
   ================================================== */
.features {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px 0 rgba(183,151,107,0.07);
}
.feature-item img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0px 2px 2px #FFB3CC44);
}
.feature-item h3 {
  color: #F37590;
  font-size: 1.12rem;
}

/* Highlights/Tip Lists (Styled Bullets) */
.highlights ul,
.trend-report ul,
.tips ul,
.howto ul,
.success-message ul,
.services .service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-left: 8px;
}
.highlights li, .trend-report li, .tips li, .howto li, .success-message li, .services .service-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1.05rem;
  color: #363e49;
}
.highlights li::before, .trend-report li::before, .tips li::before, .howto li::before, .services .service-list li::before {
  content: "\2728";
  position: absolute;
  left: 0;
  color: #F37590;
  font-size: 1.15rem;
  top: 4px;
}

/* ==================================================
   TESTIMONIALS - Playful Cards
   ================================================== */
.testimonials {
  background: linear-gradient(94deg, #FFE167 81%, #49B8E9 119%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 36px 0 rgba(73,184,233,0.10);
}
.testimonial-card {
  background: #fff;
  color: #252525;
  border-left: 7px solid #F37590;
}
.testimonial-card blockquote {
  color: #25303B;
  line-height: 1.65;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #B7976B;
  font-weight: 700;
}

/* ==================================================
   CTA SECTIONS - Energetic, Animated
   ================================================== */
.cta {
  background: linear-gradient(86deg, #49B8E9 72%, #F37590 130%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 28px 0 #B7976B22;
  animation: popIn 1.5s cubic-bezier(.51,.6,.21,1.1);
}
@keyframes popIn {
  0% { opacity: 0; transform:scale(0.92) translateY(-10px); }
  85% { opacity:1; transform:scale(1.06) translateY(6px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cta h2 {
  color: #fff;
  text-shadow: 0 2px 8px #B7976B22;
}
.cta .btn-primary {
  margin-left: 0;
  margin-top: 8px;
}

/* ==================================================
   ABOUT & TEAM SECTION
   ================================================== */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}
.team-bios > div {
  flex: 1 1 250px;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(73,184,233,0.10);
  transition: transform 0.17s;
}
.team-bios > div:hover {
  transform: scale(1.025) rotate(-1deg);
}
@media (max-width: 768px) {
  .team-bios {
    flex-direction: column;
    gap: 22px;
  }
}

/* ==================================================
   LIST & ACCORDION FAKE (Consigli Moda/FAQ)
   ================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: 0 2px 10px 0 #F3759011;
  cursor: pointer;
  transition: box-shadow 0.12s, background 0.12s;
}
.faq-accordion > div:hover {
  background: #FFE16722;
  box-shadow: 0 4px 16px 0 #49B8E922;
}
.faq-accordion h3 {
  font-size: 1.07rem;
  margin-bottom: 2px;
}

/* Style quick advice blocks */
.advice-blocks {
  display: flex;
  gap: 24px;
  margin-top: 18px;
}
.advice-blocks > div {
  background: #FFE167;
  border-radius: var(--radius);
  padding: 14px 22px;
  color: #25303B;
  font-weight: 700;
  box-shadow: 0 2px 13px 0 #F3759030;
}

/* ==================================================
   LEGAL & STATIC PAGES
   ================================================== */
.legal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 #B7976B15;
}
.legal h1, .legal h2 {
  color: #B7976B;
}

/* ==================================================
   CONTACT PAGE
   ================================================== */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.07rem;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.address-map {
  background: #fffbe8;
  border-radius: var(--radius-sm);
  padding: 13px 21px;
  color: #25303B;
  font-size: 1rem;
  margin: 14px 0 0 0;
}
.geo-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.geo-tags span {
  background: #FFE167;
  color: #25303B;
  font-size: 0.97rem;
  padding: 4px 14px;
  border-radius: 17px;
}

/* ==================================================
   SUCCESS MESSAGE PAGE
   ================================================== */
.success-message {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 0 #FFE16733;
  text-align: center;
}
.next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* ==================================================
   FOOTER
   ================================================== */
footer {
  background: #25303B;
  color: #fff;
  padding: 50px 0 30px 0;
  min-height: 185px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  margin-top: 8px;
}
.footer-nav a {
  color: #FFE167;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #F37590;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 28px;
  color: #fff;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-contact img {
  width: 23px;
  height: 23px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-brand {
  font-size: 0.92rem;
  letter-spacing: 0.017em;
  color: #FFE167;
  margin-top: 8px;
}
@media (max-width: 800px) {
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav {
    justify-content: center;
    gap: 14px;
  }
  footer .container {
    gap: 12px;
  }
}

/* ==================================================
   COOKIE CONSENT BANNER (fixed bottom)
   ================================================== */
.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  background: #fff;
  color: #25303B;
  border-radius: 17px;
  box-shadow: 0 0 38px 0 #B7976B23;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 22px 34px;
  font-size: 1rem;
  animation: cookiePop 0.7s cubic-bezier(.7,.62,.15,1.29);
  max-width: 95vw;
}
@keyframes cookiePop {
  0% { opacity:0; transform:translateY(40px) scale(0.96); }
  100% { opacity:1; transform:translateY(0) scale(1); }
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
  margin-left: 16px;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 21px;
  font-size: 0.97rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: var(--brand-yellow);
  color: #25303B;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.09s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F37590;
  color: #fff;
  transform: translateY(-1px) scale(1.05);
}
.cookie-btn.cookie-settings {
  background: #49B8E9;
  color: #fff;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #25303B;
  color: #FFE167;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 13px;
    gap: 16px;
    bottom: 9px;
  }
  .cookie-banner-buttons {
    margin-left: 0;
    gap: 6px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 251;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,48,59,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(.7,.24,.36,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px;
  border-radius: 23px;
  max-width: 400px;
  width: 96vw;
  box-shadow: 0 2px 48px 0 #25303B33;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.41s cubic-bezier(.72,.12,.27,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.89) translateY(32px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #B7976B;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #25303B;
  cursor: pointer;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
  margin-right: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.8rem;
  background: #fff;
  color: #B7976B;
  border-radius: 50%;
  width: 42px; height: 42px;
  box-shadow: 0 2px 8px 0 #B7976B12;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.11s, color 0.13s;
  border: none;
}
.cookie-modal-close:hover { background: #FFE167; color: #25303B; }

/* Toggle Switches for cookies */
.cookie-toggle {
  position: relative;
  width: 46px;
  height: 26px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  width: 46px; height: 26px;
  background: #E1E6EA;
  border-radius: 14px;
  transition: background 0.13s;
}
.cookie-toggle input:checked + .toggle-slider {
  background: #49B8E9;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 #25303B20;
  transition: left 0.14s;
}
.cookie-toggle input:checked + .toggle-slider:before {
  left: 24px;
  background: #25303B;
}

/* Ensure mandatory cookie disabled state */
.cookie-toggle input[disabled] + .toggle-slider {
  background: #FFE167;
  cursor: not-allowed;
}
.cookie-toggle input[disabled] + .toggle-slider:before {
  background: #B7976B;
}

/* ==================================================
   UTILITY/SMALL ELEMENTS
   ================================================== */
::-webkit-input-placeholder { color: #a1a1a1; }
::-moz-placeholder { color: #a1a1a1; }
:-ms-input-placeholder { color: #a1a1a1; }
::placeholder { color: #a1a1a1; }

small, .small {
  font-size: 0.85em;
  color: #8995A2;
}

/* Spacing between content above footers (consistent min 20px) */
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* Preventing overlap, add extra spacing */
section > *, .content-wrapper > *, .container > * {
  margin-bottom: 20px;
}
section > *:last-child, .content-wrapper > *:last-child, .container > *:last-child {
  margin-bottom: 0;
}

/* Adequate whitespace for breathing room */
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.01rem; }
  body { font-size: 15px; }
  .cta, .section { padding: 22px 6px; }
  .feature-item, .testimonial-card, .card { padding: 18px 10px; }
}

/* playful micro-interactions: tilt/shadow on hover */
li:hover, .feature-item:hover, .testimonial-card:hover, .card:hover {
  transform: rotate(-0.6deg) scale(1.01);
  box-shadow: 0 4px 12px 0 #F3759022;
}

/* ============================================
   SCROLLBAR for playful polish
   ============================================*/
html::-webkit-scrollbar { width: 12px; background: #FFE167; }
html::-webkit-scrollbar-thumb { background: #F37590; border-radius: 7px; }
html::-webkit-scrollbar-track { background: #FFF7D1; }

/* =============================
   FUN FONTS FOR HEADERS
   ============================= */
.hero h1, .features h2, .cta h2, .trend-report h2, .highlights h2, .success-message h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.032em;
  color: #25303B;
  text-shadow: 0 2px 12px #FFE16744;
}

/* =============
   BRIGHT ICON HOVER
   ============= */
.feature-item img, .contact-info img, .footer-contact img {
  transition: transform 0.18s, filter 0.18s;
}
.feature-item:hover img, .contact-info li:hover img {
  transform: scale(1.15) rotate(-9deg);
  filter: drop-shadow(0 7px 7px #FFE16788);
}

/* =============
   CARD MICRO-ANIMATION
   ============= */
@media (hover: hover) {
  .card:hover, .feature-item:hover, .testimonial-card:hover {
    animation: tiltPlayful 0.22s 1 forwards;
  }
}
@keyframes tiltPlayful {
  0% { transform: scale(1) rotate(-0.5deg); }
  40% { transform: scale(1.026) rotate(2.3deg); }
  100% { transform: scale(1.012) rotate(-1.1deg); }
}

/* =============
   LAYOUT SAFETY: Ensure no overlap! (Spacing)
   ============= */
.card, .feature-item, .testimonial-card, .faq-accordion > div, .advice-blocks > div {
  margin-bottom: 20px;
}

/* =============
   Responsive font scale
   ============= */
@media (min-width: 1620px) {
  body { font-size: 18px; }
  h1 { font-size: 3.2rem; }
}

/* ==============
   Print fallback
   ==============*/
@media print {
  header, .main-nav, .mobile-menu, .cta, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
}
