/* ========================
   CSS RESET & NORMALIZE
======================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #283148;
  background-color: #FCFAF6;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========================
   FONT IMPORTS
======================== */
@import url('https://fonts.googleapis.com/css?family=Lora:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #283148;
  --secondary: #E05429;
  --accent: #F6F4EC;

  --pastel-pink: #FADCD9;
  --pastel-yellow: #FFF6D6;
  --pastel-green: #DBF5E9;
  --pastel-blue: #E6EFF9;
  --pastel-purple: #ECDBFA;
  --pastel-coral: #FFF0ED;

  --font-display: 'Lora', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ========================
   GLOBAL STYLES
======================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #283148;
  font-weight: 700;
  text-align: center;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
p, ul, ol {
  font-family: var(--font-body);
  color: #393E53;
  font-size: 1.07rem;
  margin-bottom: 12px;
}
strong {
  color: var(--secondary);
  font-weight: 500;
}
ul {
  margin-left: 20px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 7px;
  font-family: var(--font-body);
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,a:focus {
  color: #be3f19;
  text-decoration: underline;
}

/* Soft pastel backgrounds for main sections */
.hero {
  background: var(--pastel-blue);
  border-radius: 0 0 60px 60px;
  box-shadow: 0 6px 30px 0 rgb(232 214 255 / 20%);
  margin-bottom: 32px;
  padding: 56px 0 40px 0;
}
.features {
  background: var(--pastel-pink);
  border-radius: 38px;
  box-shadow: 0 4px 20px 0 rgb(250 220 217 / 14%);
}
.testimonials {
  background: var(--pastel-yellow);
  border-radius: 24px;
  box-shadow: 0 2px 20px 0 rgb(255 239 210 / 13%);
}
.cta {
  background: var(--pastel-green);
  border-radius: 38px;
  box-shadow: 0 5px 24px 0 rgb(219 245 233 / 16%);
}
.legal-section {
  background: var(--pastel-coral);
  border-radius: 36px;
  margin-bottom: 56px;
  box-shadow: 0 4px 20px 0 rgb(255 235 233 / 12%);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 22px 8px;
  }
  .hero {
    padding: 34px 0 26px 0;
    border-radius: 0 0 32px 32px;
  }
}

/* ========================
   HEADER & NAVIGATION
======================== */
header {
  background: linear-gradient(90deg, var(--pastel-blue) 60%, var(--pastel-purple) 100%);
  box-shadow: 0 3px 14px 0 rgb(216 215 255 / 12%);
  border-bottom: 2px solid #e8e8e8;
  position: sticky;
  top: 0; z-index: 80;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 72px;
}
header img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  padding: 7px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.06em;
  color: #495062;
  background: transparent;
  transition: background .16s, color .16s;
}
header nav a:hover,header nav a:focus {
  background: var(--pastel-coral);
  color: var(--secondary);
  font-weight: 500;
}
header .btn.primary {
  margin-left: 16px;
  background: var(--secondary);
  color: #fff;
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .18s;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  background: var(--pastel-pink);
}

@media (max-width: 980px) {
  header nav,
  header .btn.primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

/* ================================
   MOBILE MENU + ANIMATION
================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-pink) 60%, var(--pastel-yellow) 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .4s cubic-bezier(.68, -.55, .27, 1.55);
  box-shadow: 6px 0 28px 0 rgb(250 220 217 / 21%);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 26px 0 0;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--pastel-pink);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
  gap: 18px;
  padding-left: 30px;
}
.mobile-nav a {
  font-size: 1.3em;
  font-family: var(--font-body);
  color: var(--primary);
  background: transparent;
  padding: 9px 5px;
  border-radius: 10px;
  margin-bottom: 6px;
  min-width: 180px;
  transition: background .14s, color .14s;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-green);
  color: var(--secondary);
}

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

/* ========================
   BUTTON STYLES
======================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.15em;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 18px;
  background: var(--pastel-blue);
  color: var(--secondary);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px 0 rgb(230 239 249 / 16%);
  outline: none;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 7px 0;
  transition: background .18s, color .18s, box-shadow .16s, transform .15s;
}
.btn.primary {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 34px 0 rgb(224 84 41 / 12%);
}
.btn:hover, .btn:focus {
  color: var(--primary);
  background: var(--pastel-yellow);
  box-shadow: 0 8px 28px 0 rgb(34 38 90 / 13%);
  transform: translateY(-3px) scale(1.03);
}
.btn.primary:hover, .btn.primary:focus {
  background: #be3f19;
  color: #fff;
}

/* ========================
   FLEXBOX PATTERN LAYOUTS
======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: var(--pastel-blue);
  padding: 24px 18px 18px 18px;
  border-radius: 22px;
  box-shadow: 0 3px 16px 0 rgb(233 221 255 / 13%);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}
.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 24px;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgb(229 182 86 / 12%);
  font-size: 1.07rem;
  color: #23273b;
  min-width: 0;
  word-break: break-word;
}
.testimonial-card p {
  color: #23273b;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.11rem;
}
.testimonial-card span {
  color: #5f5f5f;
  font-size: .98rem;
  font-family: var(--font-body);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgb(246 244 236 / 11%);
  padding: 24px 22px 22px 22px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item h3 {
  text-align: left;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.18em;
}
.feature-item p {
  color: #393E53;
  font-size: 1.06em;
  margin-bottom: 0;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}
.region-item {
  background: var(--pastel-purple);
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgb(236 219 250 / 16%);
  min-width: 220px;
  max-width: 340px;
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
}
.region-item h3 {
  color: var(--secondary);
  text-align: left;
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.region-item p {
  font-size: 1.03em;
  color: #393E53;
}

@media (max-width: 900px) {
  .feature-grid, .card-container, .region-list, .content-grid {
    gap: 16px;
    justify-content: flex-start;
  }
  .feature-item, .region-item, .card {
    min-width: 170px;
    flex: 1 1 220px;
    max-width: 92vw;
  }
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .region-list, .content-grid {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .feature-item, .region-item, .card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================
   CONTACT DETAILS FOOTER
======================== */
footer {
  background: var(--accent);
  border-top: 2px solid #eae9ea;
  margin-top: 36px;
  padding: 35px 0 24px 0;
  font-size: 1.05rem;
  color: var(--primary);
  box-shadow: 0 -2px 28px 0 rgb(246 244 236 / 13%);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 4px;
}
footer nav a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.04em;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background .13s, color .13s;
}
footer nav a:hover,footer nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}
.contact-details span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  color: #534e6b;
  font-size: .98em;
}
.contact-details img {
  width: 22px;
  height: 22px;
}
footer small {
  display: block;
  margin-top: 4px;
  color: #BBBAB9;
  font-size: .95em;
}
@media (max-width: 600px) {
  footer nav {
    flex-direction: column;
    gap: 13px;
    align-items: center;
  }
  .contact-details {
    gap: 10px;
    flex-direction: column;
  }
}

/* ========================
   CONTACT 
======================== */
.contact-section, .address-section, .thank-you-section {
  background: var(--pastel-green);
  border-radius: 24px;
  margin-bottom: 34px;
  box-shadow: 0 4px 22px 0 rgb(219 245 233 / 12%);
}
.contact-section .btn.primary, .thank-you-section .btn.primary {
  margin-top: 18px;
}
.success-message {
  color: var(--secondary);
  background: var(--pastel-coral);
  border-radius: 10px;
  padding: 10px 15px 9px 15px;
  box-shadow: 0 1px 9px 0 rgb(255 197 166 / 13%);
  font-size: 1.02em;
  display: inline-block;
}
.address-section ul {
  list-style: none;
  margin-left: 0;
}
.address-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06em;
  color: #393E53;
  margin-bottom: 15px;
}
.address-section img {
  width: 24px;
  height: 24px;
}

/* ========================
   GENERAL CARDS & LISTS
======================== */
.card {
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgb(222 236 251 / 12%);
  padding: 18px 16px 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========================
   FILTERS/INFO AS PASTEL
======================== */
.filters {
  background: var(--pastel-purple);
  border-radius: 22px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px 0 rgb(236 219 250 / 9%);
}
.filters ul {
  list-style: disc inside;
}
.filters li {
  font-size: 1.06em;
  color: var(--primary);
  margin-bottom: 7px;
}

/* ========================
   THANK-YOU CARDS
======================== */
.thank-you-section ul {
  margin: 16px 0 16px 24px;
}
.thank-you-section li {
  color: #45517e;
  margin-bottom: 6px;
}

/* ========================
   ABOUT PAGE
======================== */
.about {
  background: var(--pastel-coral);
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgb(255 240 237 / 13%);
  margin-bottom: 35px;
}
.about h1 {
  margin-bottom: 12px;
}

/* ========================
   LEGAL PAGES
======================== */
.legal-section {
  padding: 44px 25px;
}
.legal-section h1, .legal-section h2 {
  text-align: left;
}
.legal-section ul {
  list-style: disc inside;
}
.legal-section li {
  margin-bottom: 7px;
  color: var(--primary);
}

@media (max-width: 540px) {
  .legal-section, .about, .thank-you-section, .contact-section, .address-section {
    padding: 13px 7px 11px 7px;
    border-radius: 10px;
  }
}

/* ========================
   MICRO-INTERACTIONS
======================== */
.btn, .feature-item, .card, .region-item, .testimonial-card, .contact-details span, .mobile-menu-close, .mobile-menu-toggle {
  transition: box-shadow .16s, background .14s, color .16s, transform .14s;
}
.card:hover, .feature-item:hover, .region-item:hover {
  box-shadow: 0 10px 36px 0 rgb(190 170 241 / 15%);
  background: var(--pastel-yellow);
  transform: translateY(-5px) scale(1.03);
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
.cookie-banner {
  position: fixed;
  left: 24px; 
  right: 24px;
  bottom: 24px;
  z-index: 4000;
  background: #fff8ef;
  border: 2px solid var(--pastel-yellow);
  border-radius: 20px;
  box-shadow: 0 6px 38px 0 rgb(255 197 166 / 29%);
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  max-width: 530px;
  font-size: 1rem;
  opacity: 1;
  transition: opacity .25s, transform .31s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner p {
  color: #393E53;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: var(--font-body);
  font-size: 1.06rem;
  border: none;
  border-radius: 40px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .15s, color .13s, box-shadow .15s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 22px 0 rgb(224 84 41 / 7%);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #be3f19;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pastel-pink);
}
.cookie-btn.settings {
  background: var(--pastel-blue);
  color: var(--primary);
  border: 1.5px solid #bdbdbd;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 5px;
    right: 5px;
    padding: 13px 7px 12px 7px;
    max-width: 98vw;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
  }
}

/* Cookie modal */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4050;
  background: rgba(40,49,72,0.07);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: auto;
  animation: fadeinCookieModal .28s;
}
#cookie-modal.open {
  display: flex;
}
@keyframes fadeinCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff8ef;
  border: 2px solid var(--pastel-yellow);
  border-radius: 26px;
  box-shadow: 0 10px 44px 0 rgb(255 197 166 / 19%);
  padding: 34px 32px 18px 32px;
  max-width: 500px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-content h2 {
  font-size: 1.4em;
  margin-bottom: 6px;
  text-align: left;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  background: var(--pastel-green);
  border-radius: 12px;
  box-shadow: 0 1px 7px 0 rgb(219 245 233 / 13%);
  padding: 14px 15px 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1.08em;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
  margin-left: 2px;
  margin-right: 3px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 11px 7px 10px 7px;
    border-radius: 12px;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 6px;
  }
}

/* ========================
   ANIMATIONS
======================== */
.btn, .feature-item, .card, .region-item, .testimonial-card, .cookie-banner, .mobile-menu, .mobile-nav a {
  will-change: transform, box-shadow, background, opacity;
}

/* ==============
   MISC
================ */
::-webkit-scrollbar {
  width: 9px;
  background: #fcfaf6;
}
::-webkit-scrollbar-thumb {
  background: #ece4ff;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: #deddfd;
}

@media (max-width:450px){
 h1 { font-size:1.35rem; }
 h2 { font-size:1.15rem; }
}
