/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFFDF8;
  color: #2D3E50;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
a {
  color: #2D3E50;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFD96B;
  outline-offset: 2px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: #2D3E50;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

ul, ol {
  padding-left: 18px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
}
strong {
  color: #2D3E50;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 18px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFDF8;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(44, 62, 80, 0.06);
}

/* HEADER & NAVIGATION */
header {
  background: #FFFDF8;
  box-shadow: 0 2px 10px 0 rgba(44, 62, 80, 0.04);
  position: sticky;
  top: 0;
  z-index: 3000;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}
header nav > a img {
  height: 38px;
  transition: transform 0.2s;
}
header nav > a img:hover {
  transform: scale(1.08) rotate(-2deg);
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #FFD96B;
  color: #2D3E50;
}
header .cta-button {
  margin-left: 18px;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  background: #FFD96B;
  color: #2D3E50;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 11px;
  box-shadow: 0 3px 14px 0 rgba(44,62,80,0.09);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.19s;
  border: none;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: #7C9189;
  color: #FFF;
  box-shadow: 0 5px 22px 0 rgba(44, 62, 80, 0.16);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 3200;
  background: #FFD96B;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  color: #2D3E50;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(44,62,80,0.09);
  transition: background .17s, color .17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #2D3E50;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 250, 230, 0.95);
  z-index: 3100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 50px;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.34,.01,.48,1.23);
  box-shadow: 0 2px 28px 0 rgba(44,62,80,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: #FFD96B;
  color: #2D3E50;
  font-size: 2.1rem;
  border: none;
  border-radius: 9px;
  width: 42px;
  height: 42px;
  box-shadow: 0 2px 14px 0 rgba(44,62,80,0.09);
  cursor: pointer;
  z-index: 3120;
  transition: background .17s, color .17s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
  padding: 40px 36px 18px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #2D3E50;
  padding: 16px 12px;
  width: 100%;
  border-radius: 8px;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD96B;
  color: #2D3E50;
}

/* Hide desktop nav/shows mobile button on small screens */
@media (max-width: 1020px) {
  header nav ul,
  header .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: #FFE8B2;
  margin-bottom: 60px;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(44,62,80,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 0 46px 0;
  min-height: 280px;
  position: relative;
}
.hero .container {
  flex: 1 1 0%;
}
.hero .content-wrapper {
  max-width: 680px;
  margin: 0 auto;
  align-items: flex-start;
}
.hero h1 {
  color: #2D3E50;
  font-size: 2.5rem;
  letter-spacing: -0.4px;
}
.hero p {
  font-size: 1.21rem;
  margin-bottom: 24px;
}

/* SECTIONS GENERAL LAYOUT */
.features, .about, .services, .contact, .testimonials, .cta, .legal {
  margin-bottom: 60px;
  padding: 40px 0px;
}
.features .container, .about .container, .services .container, .contact .container, .testimonials .container, .cta .container, .legal .container {
  padding: 0 18px;
}
.features .content-wrapper, .about .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CARD & FLEXBOX PRESETS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 3px 20px 0 rgba(44,62,80,0.06);
  position: relative;
  transition: box-shadow 0.14s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,62,80,0.14);
  transform: translateY(-3px);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFFDF8;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(44, 62, 80, 0.07);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 530px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px 0 rgba(44,62,80,0.16);
  transform: translateY(-2px);
}
.testimonial-card p {
  color: #2D3E50;
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #7C9189;
  font-size: .97rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* SERVICE ICONS & PRICES */
.services ul li, .features ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFDF8;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 7px 0 rgba(44,62,80,0.06);
  margin-bottom: 16px;
  font-size: 1.09rem;
}
.services ul li img, .features ol li img {
  width: 34px;
  height: 34px;
  background: #FFD96B;
  border-radius: 50%;
  padding: 6px;
}
.services ul li span {
  color: #7C9189;
  font-size: .95rem;
  background: #FFF8EC;
  padding: 2px 9px;
  border-radius: 7px;
  margin-left: auto;
  font-weight: 700;
}

.features ul li, .about ul li {
  background: #FFFDF8;
  border-radius: 11px;
  margin-bottom: 12px;
  padding: 12px 16px;
  font-size: 1.03rem;
  box-shadow: 0 1px 4px 0 rgba(44,62,80,0.06);
}

.features ol {
  list-style-type: decimal;
  padding-left: 24px;
}
.features ol li {
  margin-bottom: 12px;
}

/* CTA SECTION */
.cta {
  background: #FFD96B;
  border-radius: 16px;
  box-shadow: 0 5px 24px 0 rgba(44,62,80,0.10);
  margin-bottom: 35px;
}
.cta h2, .cta h1 {
  color: #2D3E50;
}
.cta p {
  color: #2D3E50;
}

/* LEGAL/INFO SECTIONS */
.legal .content-wrapper {
  flex-direction: column;
  gap: 16px;
  background: #FFF;
  border-radius: 12px;
  padding: 26px 20px 18px 20px;
  box-shadow: 0 2px 13px 0 rgba(44,62,80,0.04);
}
.legal h1 {
  font-size: 2rem;
  color: #2D3E50;
}
.legal h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.legal ul li {
  background: #FFFDF8;
  border-radius: 9px;
  padding: 10px 14px;
}

/* FOOTER */
footer {
  background: #2D3E50;
  color: #FFF;
  padding: 50px 0 32px 0;
  margin-top: 60px;
  border-radius: 28px 28px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FFD96B;
}
.footer-contact p {
  font-size: .98rem;
  margin-bottom: 6px;
}
.footer-contact a {
  color: #FFD96B;
  font-weight: 600;
  text-decoration: underline;
  transition: color .13s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #FFF;
}

/* Responsive Design */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .footer-logo {
    width: 100%;
    margin-bottom: 18px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section {
    padding: 32px 6px 32px 6px;
    margin-bottom: 37px;
  }
  .hero {
    padding: 36px 0 25px 0;
    min-height: 170px;
  }
  .content-wrapper, .features .content-wrapper, .about .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper {
    gap: 18px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .features, .about, .services, .contact, .testimonials, .cta, .legal {
    padding: 28px 0;
    margin-bottom: 24px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px;
  }
  footer {
    padding: 32px 0 19px 0;
  }
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 8px;
    margin-bottom: 12px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
}

/* Animations & Micro-interactions */
a, .cta-button, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: color .18s, background .18s, box-shadow .18s, transform .13s;
}
section, .card, .testimonial-card, .content-wrapper {
  transition: box-shadow .21s, transform .14s;
}

.cta-button:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active {
  transform: scale(0.98);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2D3E50;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  z-index: 5000;
  box-shadow: 0 -2px 22px 0 rgba(44,62,80,0.13);
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: slideUpBanner 0.5s cubic-bezier(.33,1.45,.55, 1.01) both;
}
@keyframes slideUpBanner {
  from { transform: translateY(80%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1;
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 22px;
  background: #FFD96B;
  color: #2D3E50;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 1px 9px 0 rgba(44,62,80,0.08);
  transition: background .13s, color .13s, transform .12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #7C9189;
  color: #FFF;
}
.cookie-btn.settings {
  background: #FFFDF8;
  color: #2D3E50;
  border: 1px solid #FFD96B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD96B;
  color: #2D3E50;
}

/* Cookie Modal */
.cookie-modal.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(44,62,80,0.32);
  z-index: 5200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.27s .0s both;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-box {
  background: #FFFDF8;
  color: #2D3E50;
  padding: 44px 32px 30px 32px;
  border-radius: 22px;
  min-width: 310px;
  max-width: 96vw;
  box-shadow: 0 6px 32px 0 rgba(44,62,80,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideInModal 0.34s cubic-bezier(.66,1.37,.55, 1.01) both;
}
@keyframes slideInModal {
  from { transform: translateY(33px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 14px;
  background: #FFD96B;
  border: none;
  color: #2D3E50;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(44,62,80,0.1);
  transition: background .15s, color .13s;
}
.cookie-modal-close:hover {
  background: #7C9189;
  color: #FFF;
}
.cookie-modal-box h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #2D3E50;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #FFD96B;
  border-radius: 22px;
  transition: background .19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #7C9189;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: #FFF;
  border-radius: 50%;
  transition: transform .20s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-category.essential label {
  color: #777;
  font-style: italic;
}
.cookie-category.essential .cookie-switch {
  filter: grayscale(1) brightness(0.93);
  pointer-events: none;
  opacity: 0.55;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-end;
}

@media (max-width: 620px) {
  .cookie-modal-box {
    padding: 28px 8px 24px 10px;
    min-width: unset;
  }
}

/* Accents and Theming */
::-webkit-scrollbar { width: 9px; background: #FFD96B; }
::-webkit-scrollbar-thumb { background: #7C9189; border-radius: 7px; }

::selection {
  background: #FFD96B;
  color: #2D3E50;
}

/* Accessibility focus states */
a:focus-visible, button:focus-visible, .cta-button:focus-visible {
  outline: 2px solid #FFD96B;
  outline-offset: 1px;
}
