/* ----------------------------------------
   CSS Reset & Normalize
---------------------------------------- */
html, body, div, span, ap, 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,
u, i, center,
dl, dt, dd, menu, 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 {scroll-behavior: smooth;}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {display: block;}
body {
  line-height: 1.6;
  background: #F8F9F9;
  color: #1B2934;
  min-height: 100vh;
  font-family: 'Roboto', serif;
  font-size: 16px;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
a { text-decoration: none; color: inherit; }
ul, ol {list-style: none;}
img {display: block; max-width: 100%; height: auto;}
:focus {outline: 2px solid #21405C; outline-offset: 2px;}

/* ----------------------------------------
   Elegant Classic Variables
---------------------------------------- */
:root {
  --primary: #21405C;
  --primary-80: #33577a;
  --secondary: #6FAAB7;
  --accent: #F8F9F9;
  --muted-1: #E9EAEA;
  --muted-2: #BFC6C9;
  --text-main: #1B2934;
  --text-dark: #1B2934;
  --text-light: #FFFFFF;
  --heading-font: 'Montserrat', serif;
  --body-font: 'Roboto', serif;
  --radius: 8px;
  --shadow-1: 0 2px 8px 0 rgba(33, 64, 92, .07);
  --shadow-2: 0 1.5px 10px 0 rgba(33, 64, 92, .12);
  --section-gap: 60px;
  --container-padding: 20px;
  --input-bg: #fff;
  --input-border: #BFC6C9;
  --focus: #21405C;
}

/* ----------------------------------------
   Typography (Elegant Classic)
---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem; margin-bottom:10px;
}
p, ul, ol, li, address {
  font-family: var(--body-font);
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { font-weight: 600; }
.subheadline {
  margin-bottom: 18px;
  color: var(--secondary);
  font-size: 1.15rem;
  font-family: var(--heading-font);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
}

/* ----------------------------------------
   Primary Layout Containers
---------------------------------------- */
.container {
  width: 100%;
  max-width: 1024px;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Section spacing pattern (MANDATORY) */
.section,
.hero, .about, .features, .services, .newsletter, .contact-details, .cta, .testimonials, .thank-you-hero, .footer-legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

@media (min-width: 768px) {
  .section,
  .hero, .about, .features, .services, .newsletter, .contact-details, .cta, .testimonials, .thank-you-hero, .footer-legal {
    padding: 48px 40px 48px 40px;
    margin-bottom: var(--section-gap);
  }
}

/* ----------------------------------------
   Header/Navbar
---------------------------------------- */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 80px;
  padding: 0 var(--container-padding);
  background: var(--accent);
  border-bottom: 1px solid var(--muted-1);
  box-shadow: 0 2px 8px rgba(33,64,92,0.02);
  position: relative;
  z-index: 30;
}
header > a img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: none;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow-2);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  padding: 6px 12px;
  cursor: pointer;
  margin-left: auto;
  z-index: 102;
  border-radius: 24px;
  transition: background 0.15s, color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--muted-1);
}

/* Show desktop nav, hide mobile btn above 1024px */
@media (min-width: 1024px) {
  header {
    height: 96px;
    padding-left: 46px; padding-right: 46px;
  }
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin-left: 32px;
  }
  .main-nav a {
    font-family: var(--heading-font);
    font-size: 1rem;
    color: var(--primary);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.17s, color 0.18s;
    letter-spacing: 0.01em;
  }
  .main-nav a:hover, .main-nav a:focus {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
  }
  .btn-primary {margin-left: 40px;}
  .mobile-menu-toggle {display: none;}
}

/* ----------------------------------------
   Mobile Menu Overlay (with Animation)
---------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 64, 92, 0.95);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.63,.03,.44,1.01);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 36px 20px 16px 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1102;
  border-radius: 48px;
  padding: 6px 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(111,170,183,0.15); /* faded secondary */
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
  padding: 12px 36px;
  margin-top: 10vh;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  padding: 5px 0 5px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.18s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Hide mobile menu overlay on large screens */
@media (min-width: 1024px) {
  .mobile-menu {display:none;}
}

/* ----------------------------------------
   Hero Section
---------------------------------------- */
.hero {
  background: var(--accent);
  box-shadow: var(--shadow-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero .container {height: 100%;}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 8px;
}

.thank-you-hero {
  background: var(--accent);
  border-radius: var(--radius);
  text-align: center;
  align-items: center!important;
  justify-content: center;
}
.thank-you-hero h1 { color: var(--primary); }

@media (min-width: 768px) {
  .hero, .thank-you-hero {
    min-height: 380px;
    padding-top: 70px; padding-bottom: 70px;
  }
  .thank-you-hero .content-wrapper {align-items:center;}
}

/* ----------------------------------------
   Features, Grids & Cards
---------------------------------------- */
.feature-grid, .season-grid, .occasion-blocks, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 16px;
}
.feature-item, .service-item, .occasion-blocks > div, .season-grid > div {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 24px 20px 20px 20px;
  min-width: 210px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px; /* CRITICAL SPACING */
  border: 1px solid var(--muted-1);
  transition: box-shadow 0.22s, transform 0.15s;
}
.feature-item:hover,
.service-item:hover,
.occasion-blocks > div:hover,
.season-grid > div:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px) scale(1.012);
}
.feature-item img {
  width: 41px;
  height: 41px;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature-item h3,
.service-item h3,
.occasion-blocks > div h3,
.season-grid > div h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.16rem;
  font-family: var(--heading-font);
  font-weight: 600;
}
.service-price {
  font-size: .98rem;
  font-family: var(--body-font);
  color: var(--secondary);
  margin-left: 7px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .feature-grid, .season-grid, .occasion-blocks, .service-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* Microtrends and extra lists */
.microtrends-list, .style-tips {
  margin-top: 32px;
  background: var(--muted-1);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.style-tips h4, .microtrends-list h4 {font-size:1rem;color:var(--primary);margin-bottom:8px;}
.style-tips ul, .microtrends-list ul {margin:0 0 0 12px;padding:0;}
.style-tips li, .microtrends-list li {  margin-bottom:8px;  }


/* ----------------------------------------
   Testimonials
---------------------------------------- */
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  padding: 20px 28px 18px 20px;
  border: 1px solid var(--muted-2);
  color: var(--text-dark);
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--primary);
  font-family: var(--body-font);
  line-height: 1.5;
  margin-bottom: 4px;
}
.testimonial-info {
  font-size: 0.95rem;
  color: var(--secondary);
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-2);
}

@media (min-width: 640px) {
  .testimonials .testimonial-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .testimonial-info {margin-left:16px;}
}

/* ----------------------------------------
   Newsletter, CTA Cards
---------------------------------------- */
.newsletter, .cta {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.newsletter h2,
.cta h2 {
  color: var(--accent);
}
.newsletter p, .newsletter ul, .cta p, .cta ul {
  color: var(--accent);
}
.newsletter ul {
  margin:18px 0 24px 20px;
  padding: 0;
}
.newsletter li {
  list-style-type: disc;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .newsletter, .cta {
    padding-left:64px; padding-right:64px;
  }
}

/* ----------------------------------------
   Footer (Flexible)
---------------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 48px 0 26px 0;
  font-size: .97rem;
  box-shadow: 0 -2px 14px rgba(33,64,92,0.06);
  width:100vw;
}
footer .container {max-width: 1140px;}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 22px;
  width: 100%;
  align-items: flex-start;
}
.footer-main-menu,
.footer-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-main-menu a, .footer-footer-menu a {
  color: var(--accent);
  font-family: var(--body-font);
  font-size: 1.03rem;
  letter-spacing: .01em;
  transition: color 0.19s;
}
.footer-main-menu a:hover, .footer-footer-menu a:hover {
  color: var(--secondary);
}
.footer-brand-contact {
  margin-top: 8px;
}
.footer-brand-contact img {
  width:40px;height:40px;display:inline-block;margin-bottom:4px;
}
.footer-brand-contact address,
.footer-brand-contact a {
  color:var(--accent);
  font-size:.98rem;
}
.footer-social-media {
  display:flex;
  flex-direction:row;
  gap:18px;
  margin-top:12px;
}
.footer-social-media a img {
  width:22px;height:22px;filter:brightness(98%) contrast(160%);
  transition: filter 0.2s;
}
.footer-social-media a:hover img {
  filter:brightness(90%) contrast(210%) sepia(.3) hue-rotate(170deg);
}

@media (min-width: 768px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 44px;
  }
  .footer-navigation {
    flex: 2 1 340px;
    gap: 80px;
    align-items: flex-start;
  }
  .footer-brand-contact {
    max-width: 310px;
    margin-top:0;
  }
}

/* ----------------------------------------
   Misc Lists & Address
---------------------------------------- */
ul, ol {
  margin-left: 18px;
  margin-bottom: 14px;
}
li {margin-bottom: 7px;}
address {
  font-style: normal;
  line-height: 1.6;
}

/* ----------------------------------------
   Contact Details Section
---------------------------------------- */
.contact-details .contact-block {
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--muted-1);
  box-shadow: var(--shadow-1);
  margin-bottom:20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details .contact-block strong {
  color: var(--primary);
  font-weight: 600;
}
.contact-details .contact-instructions ul {
  margin-left:18px;
}
.contact-details .contact-instructions li {
  margin-bottom:7px;
}

/* ----------------------------------------
   Legal Section Standardization
---------------------------------------- */
.footer-legal .text-section h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.footer-legal .text-section ul {
  margin-left: 18px;
  margin-bottom: 15px;
}
.footer-legal .text-section li {
  font-size: 1rem;
  margin-bottom: 7px;
}

/* ----------------------------------------
   Cookie Consent Banner & Modal
---------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 1500;
  background: #fff;
  color: var(--primary);
  border-top: 1.5px solid var(--muted-1);
  box-shadow: 0 -2px 18px rgba(33,64,92,0.10);
  padding: 18px 20px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
}
.cookie-banner p {
  flex: 1 1 340px;
  font-size: 0.98rem;
  margin-right: 12px;
}
.cookie-btn {
  font-family: var(--heading-font);
  margin-left: 7px;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--muted-2);
  color: var(--primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--primary-80);
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap:12px;
    padding: 17px 7px 18px 7px;
    font-size:0.94rem;
  }
  .cookie-banner p {margin:0 0 7px 0;}
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 64, 92, 0.50);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px 0 rgba(33,64,92,0.16);
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2001;
  animation: fadeInScale 0.42s cubic-bezier(.51,.09,.44,.88);
}
@keyframes fadeInScale {
  0% {   opacity:0; transform: scale(0.95); }
  100% { opacity:1; transform: scale(1); }
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.32rem;
  margin-bottom:10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal-category label {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--primary);
}
.cookie-switch {
  position: relative; width: 41px; height: 22px;
}
.cookie-switch input {
  opacity: 0; width: 41px; height: 22px; position: absolute; left: 0; top: 0;
  z-index: 2; cursor: pointer;
}
.cookie-switch span {
  display: block; width: 41px; height: 22px; border-radius: 22px;
  background: var(--muted-2);
  transition: background 0.22s;
}
.cookie-switch input:checked + span {
  background: var(--secondary);
}
.cookie-switch span:after {
  display: block;
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(33,64,92,.09);
  transition: left 0.25s, background 0.18s;
}
.cookie-switch input:checked + span:after {
  left: 22px;
  background: var(--primary);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 22px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {min-width:115px;}
.cookie-modal-actions .cookie-btn.settings {
  background: var(--muted-2);
  color: var(--primary);
  border: 1px solid var(--primary-80);
}
.cookie-modal-close-btn {
  position: absolute;
  top: 13px; right: 17px;
  background: none; border: none;
  color: var(--primary);
  font-size: 1.35rem;
  cursor: pointer;
}

@media (max-width: 500px) {
  .cookie-modal-content { padding: 19px 8vw 16px 8vw; min-width: 0; }
}

/* ----------------------------------------
   Spacing & Flex Layout Utility Classes
---------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 22px 20px;
  min-width: 230px; max-width: 400px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2.5px);
}
.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;
}

@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ----------------------------------------
   Animations & Microinteractions
---------------------------------------- */
a, button, .btn-primary, .cookie-btn {
  transition: color .16s, background .18s, border .17s, box-shadow .17s;
}
.card, .feature-item, .testimonial-card, .service-item {
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .service-item:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px) scale(1.016);
}
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--primary);
}

/* ----------------------------------------
   Responsive & Small Screen Adjustments
---------------------------------------- */
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 {font-size:2rem;}
  h2 {font-size:1.45rem;}
}
@media (max-width: 420px) {
  html { font-size: 13.5px; }
}

/* Remove last margin-bottom on flex lists */
.card-container > *, .feature-grid > *, .season-grid > *, .service-list > *, .occasion-blocks > *, .testimonial-card:last-child, .footer-main-menu > *:last-child, .footer-footer-menu > *:last-child {
  margin-bottom:0;
}

/* ----------------------------------------
   Miscellaneous Tweaks
---------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--muted-1);
}
::-webkit-scrollbar-thumb {
  background: var(--muted-2);
  border-radius:8px;
}
::-webkit-scrollbar-thumb:hover {background:var(--secondary);}

/* Utility classes */
.text-center {text-align:center;}
.hide {display:none !important;}
.sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);}

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