/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F3EFE8;
  color: #24303E;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #24303E;
  text-decoration: none;
  transition: color 0.2s;
}
ul, li {
  list-style: none;
}
:focus {
  outline: 2px solid #C2A970;
  outline-offset: 2px;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700|Playfair+Display:700,900&display=swap');
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #24303E;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
p, ul, ol, li, blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #24303E;
}
blockquote {
  margin: 0 0 12px 0;
  font-style: italic;
}
strong { font-weight: 700; }

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(194,169,112,0.10);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-section {
  background: #FFFEF8;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 16px rgba(194,169,112,0.10);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36,48,62,0.06);
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(36,48,62,0.17), 0 1.5px 7px rgba(194,169,112,0.08);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.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: #fffbe6;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(194,169,112,0.11);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #24303E;
  position: relative;
}
.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24303E;
}
.testimonial-card footer {
  font-size: 0.96rem;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #396c99;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.text-section {
  margin-bottom: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(194,169,112,0.06);
  border-bottom: 4px solid #fffbe6;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 0;
}
header img {
  height: 48px;
  width: auto;
  transition: transform 0.22s;
}
header img:hover {
  transform: scale(1.08) rotate(-2deg);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  color: #24303E;
  border-radius: 10px;
  transition: background 0.12s, color 0.15s, transform 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: #FFF7D1;
  color: #C2A970;
  transform: rotate(-2deg) scale(1.07);
}
.main-nav .cta {
  background: #C2A970;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(194,169,112,0.18);
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.2s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #24303E;
  color: #FFD446;
  box-shadow: 0 5px 24px rgba(194,169,112,0.37);
  transform: scale(1.09) rotate(1deg);
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  background: #FFF7D1;
  border: none;
  color: #24303E;
  font-size: 2rem;
  padding: 5px 14px;
  border-radius: 14px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(36,48,62,0.07);
  transition: background 0.15s, color 0.12s, transform 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #C2A970;
  color: #fff;
  transform: scale(1.07) rotate(-2deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,48,62,0.91);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.43,.05,.29,1.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  padding: 12px 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-top: 18px;
  margin-right: 20px;
  cursor: pointer;
  z-index: 2020;
  transition: color 0.16s, transform 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD446;
  transform: rotate(5deg) scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 32px 0 0 34px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #FFF7D1;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 6px 12px 0;
  border-radius: 10px;
  font-weight: 500;
  transition: color 0.18s, background 0.18s, transform 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #FFD446;
  background: rgba(194,169,112,0.07);
  transform: rotate(-2deg) scale(1.09);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: #FFF7D1;
  padding: 70px 0 64px 0;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 4px 40px rgba(194,169,112,0.13);
  margin-bottom: 48px;
  overflow: hidden;
  animation: heroFadeIn 1.1s cubic-bezier(.73,-0.08,.41,1.07) 0.1s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(-24px) scale(1.03); }
  to {   opacity: 1; transform: none; }
}
.hero h1 {
  font-size: 2.6rem;
  color: #C2A970;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}
.hero p {
  font-size: 1.24rem;
}

/* --- BUTTONS AND CTAS --- */
.cta {
  display: inline-block;
  cursor: pointer;
  background: #FFD446;
  color: #24303E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  border-radius: 36px;
  padding: 14px 44px;
  margin: 16px 0;
  box-shadow: 0 4px 14px rgba(194,169,112,0.20);
  letter-spacing: 1.2px;
  text-shadow: 0 1px 0 #fffbe6;
  transition: background 0.18s, color 0.13s, box-shadow 0.25s, transform 0.15s;
}
.cta:hover, .cta:focus {
  background: #C2A970;
  color: #fff;
  box-shadow: 0 8px 32px rgba(194,169,112,0.25), 0 0.5px 1.5px rgba(36,48,62,0.05);
  transform: scale(1.07) rotate(-3deg);
}

/* --- LISTS AND ULs --- */
ul {
  margin-bottom: 16px;
  margin-left: 16px;
  padding-left: 18px;
  color: #24303E;
}
ul li {
  margin-bottom: 12px;
  padding-left: 2px;
  font-size: 1.05rem;
  position: relative;
}
ul li::before {
  content: '# ';
  color: #FFD446;
  font-size: 1.1rem;
  font-weight: 700;
  position: absolute;
  left: -18px;
  top: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}

/* --- FOOTER --- */
footer {
  background: #24303E;
  color: #fff;
  padding: 48px 0 38px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -3px 22px rgba(36,48,62,0.17);
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer img {
  height: 44px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin: 21px 0 0 0;
}
.footer-nav a {
  color: #FFD446;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.21s, color 0.13s;
}
.footer-nav a:hover {
  background: #fffbe6;
  color: #24303E;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 22px 0 0 0;
  color: #fff;
  font-size: 1rem;
  align-items: center;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details img {
  height: 22px;
  width: 22px;
}
.social-media {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  align-items: center;
}
.social-media a img {
  height: 32px;
  width: 32px;
  transition: transform 0.18s;
  filter: drop-shadow(0 1px 2px #eee);
}
.social-media a:hover img, .social-media a:focus img {
  transform: scale(1.18) rotate(-7deg);
  filter: drop-shadow(0 2px 8px #FFD446);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffbeb;
  color: #24303E;
  border-top: 3px solid #FFD446;
  box-shadow: 0 -4px 32px rgba(36,48,62,0.13);
  z-index: 4000;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.08rem;
  animation: bannerSlideIn 0.7s cubic-bezier(.36,1.4,.45,.93) both;
}
@keyframes bannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to {   transform: none; opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn, .cookie-banner button {
  background: #FFD446;
  color: #24303E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  margin: 0 4px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(194,169,112,.13);
  transition: background 0.14s, color 0.11s, box-shadow 0.19s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C2A970;
  color: #fff;
  box-shadow: 0 3px 18px rgba(194,169,112,.17);
  transform: scale(1.06) rotate(-1deg);
}
.cookie-settings-btn {
  background: #24303E;
  color: #fff;
  border: 1.7px solid #FFD446;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #FFD446;
  color: #24303E;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,48,62, 0.87);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  animation: modalIn 0.5s cubic-bezier(.56,1.36,.45,.94) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal-content {
  background: #FFF7D1;
  color: #24303E;
  border-radius: 24px;
  padding: 38px 26px 24px 26px;
  min-width: 310px;
  max-width: 94vw;
  box-shadow: 0 9px 52px rgba(194,169,112,.17), 0 2px 12px rgba(36,48,62,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.5rem;
  color: #C2A970;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.cookie-modal-content label {
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-toggle {
  accent-color: #FFD446;
  width: 19px; height: 19px;
}
.cookie-modal-content .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #24303E;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.11s, color 0.13s, transform 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFD446;
  color: #fff;
  transform: scale(1.09) rotate(-3deg);
}

/* --- GENERAL ANIMATIONS --- */
.section, .card, .testimonial-card, .cta-section {
  animation: fadePopIn 0.8s cubic-bezier(0.46,1.08,0.33,.98) both;
}
@keyframes fadePopIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* --- RESPONSIVITY --- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding-left: 11px; padding-right: 11px; }
  .section, .cta-section { padding: 26px 8px; margin-bottom: 36px; }
  .footer-nav { flex-direction: column; gap: 9px; }
  .content-wrapper { gap: 6px; }
  .hero { padding: 37px 0 34px 0; border-radius: 0 0 19px 19px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-item {
    gap: 8px;
  }
}
@media (max-width: 430px) {
  html { font-size: 13.2px; }
  .card { padding: 14px 10px; }
  .cookie-modal-content { min-width: 0; padding: 16px 7px 14px 7px; }
}

/* --- PLAYFUL ELEMENTS & DYNAMIC DETAILS --- */
h1, h2, h3, h4 {
  text-shadow:
    0 2px 0 #FFF7D1,
    0 6px 16px rgba(194,169,112,0.10);
}
.hero h1 {
  text-shadow:
    0 2px 0 #fff,
    0 1px 8px rgba(194,169,112,0.09),
    0 0.5px 1px #FFD446;
}
.card, .section, .testimonial-card, .cta-section {
  border-radius: 20px 34px 26px 18px / 21px 18px 30px 30px;
}
.card::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: #FFD446;
  opacity: 0.085;
  z-index: 1;
  pointer-events: none;
  animation: popInDot 1.6s ease both;
}
@keyframes popInDot {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 0.085; transform: scale(1); }
}

.testimonial-card::before {
  content: '“';
  font-family: 'Playfair Display', serif;
  color: #FFD446;
  font-size: 2.3em;
  position: absolute;
  top: 12px;
  left: 12px;
  opacity: 0.34;
  pointer-events: none;
  z-index: 3;
}

/* --- ACCENT MINI-BADGE --- */
.card strong, .feature-item strong, .text-section strong {
  color: #C2A970;
  background: #FFF7D1;
  border-radius: 10px;
  padding: 1px 6px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px rgba(194,169,112,.09);
}

/* --- UTILITY --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 9px;
  background: #fffbe6;
}
::-webkit-scrollbar-thumb {
  background: #FFD446;
  border-radius: 5px;
}

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