/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f7fafc;
  color: #264653;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}
a {
  color: #E76F51;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4A261;
  text-decoration: underline;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #264653;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.1rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, li {
  font-size: 16px;
  color: #375772;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
}
strong, b {
  color: #264653;
  font-weight: 700;
}

@media (min-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.35rem; }
}
@media (min-width: 992px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.5rem; }
}

.text-section img, .footer-contact img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  height: 20px;
  width: 20px;
}

/* MAIN LAYOUT */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
}

/* SECTION SPACING (MANDATORY) */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
  /* Subtle box shadow for dreamy look */
  box-shadow: 0 2px 12px 0 rgba(160,177,206,0.06);
}
section.hero, .hero {
  background: #F7ECDE;
  background: linear-gradient(120deg, #ffebee 0%, #FFF 100%);
  position: relative;
  padding: 48px 20px 40px 20px;
  margin-bottom: 44px;
  border-radius: 36px;
  box-shadow: 0 8px 32px 0 rgba(244,162,97,0.08), 0 2px 8px 0 rgba(122,144,187,.07);
}

@media (min-width: 768px) {
  section, .section { padding: 60px 30px; }
  section.hero, .hero { padding: 100px 32px 72px 32px; }
}

/* HEADER + NAV */
header {
  background: #ffe5ec;
  box-shadow: 0 2px 8px 0 rgba(229,133,112,0.06);
  border-bottom: 1px solid #F4A26125;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 80px;
  position: relative;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  color: #264653;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #ffe7d9;
  color: #E76F51;
  text-decoration: none;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E76F51;
  color: #fff;
  border: none;
  padding: 11px 30px;
  border-radius: 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 4px 16px 0 rgba(231,111,81,0.09);
  transition: background 0.18s, box-shadow 0.19s, color 0.16s, transform 0.12s;
  cursor: pointer;
  margin-left: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: #F4A261;
  color: #264653;
  box-shadow: 0 6px 24px 0 rgba(244,162,97,0.12);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  background: #F4A261;
  color: #264653;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.23s;
  margin-left: 9px;
  box-shadow: 0 2px 10px 0 rgba(244,162,97,0.05);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E76F51;
  color: #fff;
  outline: none;
}
@media (min-width: 992px) {
  nav.main-nav {
    display: flex;
    gap: 36px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8f7;
  z-index: 1002;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.32,.79,.55,1.01);
  box-shadow: 0 2px 44px 0 rgba(231,111,81,0.23);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 34px 24px 0 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 23px;
  font-size: 2rem;
  background: none;
  color: #264653;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 4px 9px;
  transition: background 0.17s, color 0.17s;
  z-index: 2001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ffd7b5;
  color: #E76F51;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  color: #264653;
  padding: 12px 0;
  border-radius: 8px;
  min-width: 160px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  display: block;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffe7d9;
  color: #E76F51;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO */
.hero h1 {
  font-size: 2.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #E76F51;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.13rem;
  color: #375772;
  margin-bottom: 24px;
  font-family: 'Open Sans', sans-serif;
}
.hero .cta-button {
  margin-top: 8px;
}
@media (min-width: 700px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}
@media (min-width: 900px) {
  .hero {
    background: linear-gradient(120deg, #ffe5ec 0%, #f7fafc 80%);
    box-shadow: 0 12px 48px 0 rgba(244,162,97,0.13), 0 2px 8px 0 rgba(230,190,175,.07);
  }
}

/* FEATURES & CARDS */
.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 28px 0 0 0;
}
.feature-grid li, .feature-item, .card {
  background: #fff9f6;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(160,177,206,0.08);
  padding: 24px 18px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.13s;
  position: relative;
}
.feature-grid li:hover, .card:hover, .feature-item:hover {
  box-shadow: 0 4px 24px 0 rgba(231,111,81,0.12);
  transform: translateY(-5px) scale(1.026);
}
.feature-grid li img {
  height: 44px;
  width: 44px;
  margin-bottom: 4px;
}
.feature-grid li h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  color: #E76F51;
  margin-bottom: 7px;
  font-weight: 700;
}
.feature-grid li p {
  color: #375772;
  margin: 0;
  font-size: 15px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #feeeec;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(231,111,81,0.09);
  transition: box-shadow 0.14s, background 0.19s;
  border-left: 6px solid #E76F51;
  max-width: 540px;
}
.testimonial-card p {
  color: #264653;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card span {
  color: #676767;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(231,111,81,0.14);
  background: #fff4e8;
}

/* CTA-section */
section .cta-button {
  margin-top: 18px;
}

/* CONTENT LEADING SECTIONS/ULs */
ul, ol {
  margin-bottom: 16px;
  margin-left: 28px;
  font-size: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
  color: #375772;
}
ul li strong, ol li strong {
  color: #E76F51;
}

/* .text-image-section (if used) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

/* CARDS: General (for possible future product cards, reviews, etc) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff9f6;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(231,111,81,0.08);
  padding: 24px 18px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.11s;
}
.card:hover {
  box-shadow: 0 4px 26px 0 rgba(244,162,97,0.11);
  transform: scale(1.027);
}

/* FOOTER */
footer {
  background: #ffe5ec;
  border-top: 1px solid #F4A26133;
  padding: 40px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #E76F51;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.14s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F4A26122;
  color: #264653;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.footer-contact img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-contact .text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}
.footer-contact p {
  margin-bottom: 5px;
  color: #375772;
  font-size: 15px;
}
.footer-contact strong { color: #264653; }
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: opacity 0.18s, transform 0.17s;
  vertical-align: middle;
}
.footer-social a:hover img { opacity: 1; transform: scale(1.08) rotate(-2deg); }

@media (min-width: 900px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 62px;
  }
  .footer-contact { align-items: flex-end; text-align: right; }
  .footer-contact .text-section { align-items: flex-end; }
}

/* FORMATTING: spacing and gaps (mandatory rules) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Responsive adjustments */
@media (max-width: 991px) {
  .content-grid, .feature-grid, .footer-nav, .card-container { gap: 16px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  section, .section { padding: 30px 8px; margin-bottom: 40px; }
  .feature-grid, .content-grid, .footer-nav, .card-container { gap: 12px; }
  .content-wrapper { padding: 0 !important; }
}

/* BUTTONS, FORMS, INTERACTIONS */
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  border: none;
}
button:disabled, .cta-button:disabled {
  background: #ead7d1;
  color: #a98c8c;
  opacity: 0.7;
  cursor: not-allowed;
}

input, textarea, select {
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid #f4a261cc;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fffafa;
  color: #264653;
  margin-bottom: 13px;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus, input:hover, textarea:hover, select:hover {
  border-color: #E76F51;
  outline: none;
}
label {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 5px;
  color: #E76F51;
  font-size: 1.05rem;
}

/* COOKIE CONSENT BANNER (MANDATORY FEATURE) */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  padding: 20px 12px;
  background: #fff7f4;
  box-shadow: 0 -2px 24px 0 rgba(231,111,81,0.14);
  border-top: 4px solid #F4A261;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s cubic-bezier(.5,.19,.49,.81), opacity 0.19s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #375772;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-consent-banner button {
  border-radius: 18px;
  padding: 8px 20px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 0 4px;
  transition: background 0.16s, color 0.15s, box-shadow 0.17s;
}
.cookie-accept-btn {
  background: #E76F51;
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(231,111,81,0.10), 0 1.5px 8px 0 rgba(244,162,97,0.04);
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus { background: #F4A261; color: #264653; }
.cookie-reject-btn {
  background: #fff;
  color: #E76F51;
  border: 1.5px solid #E76F51;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus { background: #ffe5ec; color: #A63927; }
.cookie-settings-btn {
  background: #eeeaf6;
  color: #264653;
  border: 1.5px solid #cea3e9;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus { background: #f3d1ff; color: #7d629c; }

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,70,83,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffaf9;
  border-radius: 16px;
  max-width: 400px;
  width: 96vw;
  box-shadow: 0 6px 32px 0 rgba(148, 140, 188, 0.12);
  padding: 34px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h2 { color: #E76F51; font-size: 1.38rem; margin-bottom: 6px; }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 10px 0;
  font-size: 1.08rem;
  color: #264653;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px; height: 20px;
  background: #ffede5;
  border-radius: 20px; border: 1px solid #F4A261;
  position: relative;
  transition: background 0.15s, border 0.15s;
}
.cookie-modal .cookie-toggle:checked {
  background: #E76F51;
  border-color: #E76F51;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px 0 rgba(244,162,97,0.09);
  position: absolute;
  left: 1px;
  top: 1px;
  transition: transform 0.19s;
}
.cookie-modal .cookie-toggle:checked::before { transform: translateX(18px); }
.cookie-category-label {
  color: #375772;
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cookie-modal-close-btn {
  background: #fff;
  color: #E76F51;
  border: 1.5px solid #E76F51;
  border-radius: 16px;
  padding: 8px 19px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.17s;
}
.cookie-modal-close-btn:hover, .cookie-modal-close-btn:focus { background: #fff4e8; color: #A63927; }

/* Soft Pastel Colors - Custom Palettes */
:root {
  --color-background: #f7fafc;
  --color-primary: #264653;
  --color-secondary: #E76F51;
  --color-accent: #F4A261;
  --color-pastel-pink: #ffe5ec;
  --color-pastel-peach: #fff7f4;
  --color-pastel-yellow: #fffbe7;
  --color-pastel-mint: #e4f7ef;
  --color-pastel-purple: #eeeaf6;
}

/* DREAMY/PASTEL EFFECTS */
body, .hero, section, .card, .feature-grid li, .testimonial-card {
  background-blend-mode: lighten;
}

/* MICRO-ANIMATIONS */
.cta-button, .cookie-consent-banner button, .mobile-menu-toggle, .mobile-menu-close, .footer-social a img {
  transition: background 0.22s, color 0.18s, transform 0.16s, box-shadow 0.19s;
}
.cta-button:active, .cookie-consent-banner button:active,
.mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}
@media (hover: hover) {
  .cta-button:hover, .cookie-consent-banner button:hover {
    filter: saturate(1.11) brightness(1.07);
  }
}

/* UTILITIES */
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-row { display: flex; flex-direction: row !important; }
.flex-col { display: flex; flex-direction: column !important; }

/* Hide visually, but remain for screen readers */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

/* Scrollbar Pastel Styling */
::-webkit-scrollbar {
  width: 8px;
  background: #fff5eb;
}
::-webkit-scrollbar-thumb {
  background: #FFDEC4;
  border-radius: 6px;
}

/* Responsive headings on thank-you and contact forms */
@media (max-width: 540px) {
  .hero h1, h1 { font-size: 1.37rem !important; }
  .hero p, p { font-size: 1rem !important; }
}

/* Accessibility (force contrast on testimonials) */
.testimonial-card p, .testimonial-card span {
  color: #1f313b !important;
}

/* Z-INDEX MANAGEMENT */
.mobile-menu { z-index: 1100; }
header { z-index: 100; }
.cookie-consent-banner { z-index: 1500; }
.cookie-modal-overlay { z-index: 1600; }

/* Prevent overlap */
.card-container > *, .content-grid > *, .feature-grid > *, .footer-nav > *, .footer-contact > * {
  margin-bottom: 0; /* They use 'gap' instead: no accidental overlapping */
}

/* END CSS */
