/* --- CSS RESET & NORMALIZE --- */
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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
main, section, article, aside, footer, header, nav, figure, figcaption {
  display: block;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #191d17;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- VARIABLES/FALLBACKS --- */
:root {
  --color-primary: #395B31;
  --color-secondary: #E9F6E1;
  --color-accent: #AD844E;
  --color-bg: #fff;
  --color-text: #191d17;
  --color-light: #f9fbf7;
  --color-dark: #1b2716;
  --color-error: #b01624;
  --shadow-1: 0 2px 8px rgba(57,91,49,0.07), 0 1.5px 4px rgba(173,132,78,0.08);
  --shadow-strong: 0 4px 24px rgba(57,91,49,0.12);
  --radius-card: 16px;
  --radius-btn: 24px;
  --space-8: 8px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --font-display: 'Quicksand', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}


/* -------- TYPOGRAPHY -------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -1px;
  color: var(--color-primary);
  margin-bottom: var(--space-20);
  line-height: 1.12;
  /* BOLD MODERN */
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--space-16);
  color: var(--color-dark);
  line-height: 1.15;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: var(--space-8);
}
p, ul, ol {
  margin-bottom: var(--space-16);
  color: var(--color-text);
}
ul,ol {
  padding-left: var(--space-24);
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s;
}
a:hover,a:focus {
  color: var(--color-accent);
}

/* Typography scale: 14, 16, 18, 24, 32, 48 px */
.body-large { font-size: 18px; }
.body-medium { font-size: 16px; }
.body-small { font-size: 14px; }

/* --- Spacing Utility --- */
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mt-32 { margin-top: 32px; }

/* -------- CONTAINERS & LAYOUT -------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.feature-grid, .features, .flower-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature {
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 24px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.16s;
  border: 2px solid transparent;
}
.feature:hover, .feature:focus {
  box-shadow: var(--shadow-strong);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.025);
}

.flower-categories ul, .category-list ul, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.flower-categories li, .category-list li, .service-list li {
  background: var(--color-light);
  border-radius: var(--radius-card);
  padding: 14px 20px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 28px 24px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow .18s, transform .15s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  color: var(--color-dark);
  margin-bottom: 20px;
  flex: 1 1 350px;
  max-width: 500px;
  border-left: 6px solid var(--color-accent);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--color-dark);
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-left: 0.6rem;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION BAR --- */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: none;
  padding-top: 14px;
  padding-bottom: 14px;
  z-index: 20;
  border-bottom: 2px solid var(--color-secondary);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.16s,color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary);
  box-shadow: var(--shadow-1);
  border: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, transform 0.13s;
  cursor: pointer;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta.secondary {
  background: var(--color-accent);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg,var(--color-secondary) 75%,#fff 100%);
  padding: 40px 0 30px 0;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 240px;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
}
.hero p {
  font-size: 1.28rem;
  color: var(--color-dark);
  margin-bottom: 26px;
  max-width: 540px;
}
.hero .cta {
  font-size: 1.05rem;
  min-width: 200px;
}

/* --- FORMS & INPUTS --- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid var(--color-secondary);
  padding: 10px 16px;
  background: #fff;
  color: var(--color-dark);
  margin-bottom: 16px;
  outline: none;
  transition: border 0.16s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-accent);
}
.newsletter-form {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 240px;
}
.newsletter-form button {
  min-width: 140px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-btn);
  transition: background 0.16s, box-shadow 0.15s, transform 0.13s;
  cursor: pointer;
}
.newsletter-form button:hover, .newsletter-form button:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.025);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form button {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  padding: 12px 0;
  font-size: 1.08rem;
  transition: background 0.16s, box-shadow 0.14s, transform 0.12s;
  cursor: pointer;
}
.contact-form button:hover, .contact-form button:focus {
  background: var(--color-accent);
  box-shadow: var(--shadow-strong);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}
textarea {
  min-height: 120px;
  resize: vertical;
}

.category-search {
  width: 100%;
  max-width: 500px;
}

/* --- LISTS --- */
ul, ol {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: var(--space-20);
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.5em;
  list-style-position: inside;
}
ul li img, ol li img {
  display: inline-block;
  width: 1.8em;
  height: 1.8em;
  margin-right: 7px;
}

.service-list li img {
  width: 1.35em; height: 1.35em; vertical-align: middle;
}

/* --- LEGAL & MODAL SECTIONS --- */
.legal {
  background: var(--color-light);
  border-radius: var(--radius-card);
  margin: 32px 0 60px 0;
  padding: 32px 20px;
  box-shadow: var(--shadow-1);
}

/* --- FOOTER --- */
footer {
  margin-top: 60px;
  padding-top: 34px;
  padding-bottom: 30px;
  background: var(--color-primary);
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 26px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: #fff!important;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 16px;
  align-items: center;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #fff;
}
.contact-info img {
  width: 1.4em;
  height: 1.4em;
}
.footer-meta {
  font-size: 1rem;
  color: #bbdeb8;
  letter-spacing: 1px;
  margin-top: 12px;
}

/* --- BUTTONS --- */
button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  transition: background 0.16s, box-shadow 0.14s, transform 0.12s;
  cursor: pointer;
  margin-bottom: 0;
  outline: none;
}
button.secondary {
  background: var(--color-accent);
  color: #fff;
}
button:hover, button:focus {
  background: var(--color-accent);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-1);
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 210;
  transition: background 0.2s, color 0.12s, box-shadow 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  background: #fff;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(57,91,49,0.17);
  transform: translateX(-100vw);
  display: flex; /* For transition, remains flex */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.83,0,0.36,1.01), opacity 0.18s, visibility 0.18s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 24px 28px 10px 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 26px;
  padding-top: 16px;
  gap: 14px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 0;
  line-height: 1.2;
  border-radius: var(--radius-btn);
  margin-right: 16px;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .nav-container {
    gap: 12px;
    padding: 0 14px;
  }
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero {
    padding: 28px 0 14px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 20px 4px;
    margin-bottom: 36px;
  }
  .feature-grid, .features, .flower-categories {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    max-width: 100%;
  }
  .footer-nav {
    gap: 8px;
    margin-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-info {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  .hero h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.18rem; }
  .feature, .card {
    padding: 16px 10px;
    min-width: 100px;
  }
  .testimonial-card { padding: 10px; font-size: 1rem; }
  .about-preview .container { padding: 0 !important; }
}

/* --- TEXT-IMAGE SECTIONS RESPONSIVE --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta, button, .feature, .card, .testimonial-card {
  will-change: transform, box-shadow;
}
.section, .feature, .card, .testimonial-card, .newsletter, .content-wrapper {
  transition: box-shadow 0.18s, background 0.18s, transform 0.2s;
}

/* --- CALLOUTS & HIGHLIGHTS --- */
.callout {
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  margin-bottom: 40px;
  padding: 32px 20px;
  box-shadow: var(--shadow-1);
  border-left: 8px solid var(--color-accent);
}
.callout h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 18px;
}
.callout .cta {
  margin-top: 18px;
}

/* --- HOURS --- */
.hours ul {
  margin-top: 10px;
  font-size: 1.08rem;
}
.hours ul li { font-weight: 600; }
.hours strong { color: var(--color-accent); }

/* --- THANK YOU --- */
.thank-you {
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 32px 16px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

/* --- ACCESSIBILITY: FOCUS --- */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  z-index: 10;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -4px 28px rgba(57,91,49,0.13);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  justify-content: center;
  animation: cookieSlideIn 0.46s cubic-bezier(.7,.01,.32,1.1);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  font-size: 1.08rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 0;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner-btns button {
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, color 0.1s;
}
.cookie-banner-btns button.secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}
.cookie-banner-btns button:hover, .cookie-banner-btns button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner-btns button.secondary:hover, .cookie-banner-btns button.secondary:focus {
  background: var(--color-accent);
  color: #fff;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(27,39,22,0.42);
  z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--color-dark);
  border-radius: var(--radius-card);
  padding: 32px 26px 24px 26px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 10px 50px rgba(57,91,49,0.14);
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  animation: cookieModalPop .45s cubic-bezier(.7,.3,.22,1.02);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.85) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap:12px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-size:1.09rem;
  font-weight: 600;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 24px; height: 24px;
  accent-color: var(--color-accent);
}
.cookie-modal .cookie-category.essential label { color: var(--color-primary); }
.cookie-modal .cookie-category.essential input {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex; gap: 16px; margin-top: 18px;
}
.cookie-modal .close-btn {
  position: absolute; right: 14px; top: 14px;
  background: transparent;
  color: var(--color-accent);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  background: var(--color-secondary);
}

/* --- Hide Cookie Banner on print --- */
@media print {
  .cookie-banner, .cookie-modal-backdrop {
    display: none !important;
  }
}

/* --- Misc --- */
::-webkit-input-placeholder { color: #838f7e !important; }
::-moz-placeholder { color: #838f7e !important; }
:-ms-input-placeholder { color: #838f7e !important; }
::placeholder { color: #838f7e !important; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* --- Prevent overlapping on flex wraps --- */
.feature,.card,.testimonial-card, .service-list li,.flower-categories li,.category-list li {
  margin-right:0;
  min-width: 0;
}

/* --- END STYLES --- */