:root {
  --cream: #a9d6a5;
  --cream-dark: #eaf1e6;
  --lavender: #9b7fd2;
  --lavender-light: #c9b8e8;
  --yellow: #f4c542;
  --green: #5e8c61;
  --green-dark: #43664a;
  --ink: #3a332c;
  --ink-soft: #6b5f54;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(90, 70, 50, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}

h1, h2, h3, .logo-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 700;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Fade-in on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(90, 70, 50, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--green-dark);
}

.logo-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.95rem;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  color: var(--lavender);
  border-color: var(--lavender);
}

/* ---------- Hero switcher (preview control, remove before publishing if desired) ---------- */
.hero-switcher {
  position: fixed;
  top: 90px;
  right: 16px;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--lavender-light);
  border-radius: 30px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  box-shadow: var(--shadow);
}

.hero-switcher span { color: var(--ink-soft); margin-right: 2px; }

.variant-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--lavender);
  background: var(--white);
  color: var(--lavender);
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
}

.variant-btn.active,
.variant-btn:hover {
  background: var(--lavender);
  color: var(--white);
}

/* ---------- Hero (shared) ---------- */
.hero { display: none; padding: 56px 0 64px; }
.hero.active { display: block; }

.hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.25;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 560px;
}

.cta-btn {
  display: inline-block;
  background: var(--lavender);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
}

.cta-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

.hero-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-placeholder {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(145deg, #e2e2e2, #cfcfcf 140%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-placeholder svg { width: 34%; opacity: 0.35; }

.photo-placeholder .ph-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-family: Georgia, serif;
  font-size: 0.7rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.75);
  padding: 4px 8px;
  border-radius: 8px;
  text-align: center;
}

/* Hero variant 1: centered text, photo row below */
.hero-1 .hero-inner { text-align: center; }
.hero-1 h1, .hero-1 .subtitle { margin-left: auto; margin-right: auto; }
.hero-1 .subtitle { margin-bottom: 28px; }
.hero-1 .hero-photos { margin-top: 44px; }
.hero-1 h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: var(--lavender);
  margin: 18px auto 0;
}

/* Hero variant 2: photo strip on top, text card overlapping */
.hero-2 { padding-top: 0; }
.hero-2 .hero-photos {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-radius: 0;
}
.hero-2 .hero-photos .photo-placeholder,
.hero-2 .hero-photos .photo-real { border-radius: 0; aspect-ratio: 16/10; box-shadow: none; }
.hero-2 .hero-text-card {
  background: var(--white);
  border-left: 5px solid var(--yellow);
  max-width: 640px;
  margin: -60px auto 0;
  padding: 32px 36px;
  border-radius: 4px 20px 20px 4px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.hero-2 .cta-btn { background: var(--yellow); color: var(--ink); }
.hero-2 .cta-btn:hover { background: var(--green); color: var(--white); }

/* Hero variant 3: split layout */
.hero-3 { padding: 0; }
.hero-3 .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 520px;
}
.hero-3 .hero-text-panel {
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
}
.hero-3 .hero-text-panel h1 { color: var(--white); }
.hero-3 .hero-text-panel .subtitle { color: rgba(255,255,255,0.88); }
.hero-3 .cta-btn { background: var(--white); color: var(--green-dark); }
.hero-3 .cta-btn:hover { background: var(--yellow); color: var(--ink); }
.hero-3 .hero-photos {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  padding: 4px;
}
.hero-3 .hero-photos .photo-placeholder:first-child,
.hero-3 .hero-photos .photo-real:first-child { grid-column: 1 / 3; }
.hero-3 .hero-photos .photo-placeholder,
.hero-3 .hero-photos .photo-real { border-radius: 6px; box-shadow: none; }

/* ---------- Guarantees ---------- */
.guarantees {
  background: var(--cream-dark);
  padding: 56px 0;
}
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.guarantee-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.guarantee-card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.guarantee-card h3 { font-size: 1.1rem; color: var(--green-dark); }
.guarantee-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- About ---------- */
.about { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about h2 { font-size: 2rem; color: var(--green-dark); }
.about p { margin: 0 0 16px; }
.about .highlight {
  background: var(--lavender-light);
  border-left: 4px solid var(--lavender);
  padding: 16px 20px;
  border-radius: 4px 14px 14px 4px;
  font-style: italic;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-photos .photo-placeholder:first-child { aspect-ratio: 3/4; }
.about-photos .photo-placeholder:last-child { aspect-ratio: 3/4; }
.photo-real {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.photo-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photos .photo-real:first-child { aspect-ratio: 3/4; }
.about-photos .photo-real:last-child { aspect-ratio: 3/4; }

/* ---------- Categories ---------- */
.categories { background: var(--cream-dark); padding: 80px 0; }
.categories h2, .categories .section-sub { text-align: center; }
.categories .section-sub { color: var(--ink-soft); margin-bottom: 44px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.category-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.2s;
}
.category-card:hover { transform: translateY(-4px); }
.category-card .photo-placeholder,
.category-card .photo-real { border-radius: 0; aspect-ratio: 4/3; box-shadow: none; }
.category-card .card-body { padding: 20px 22px 26px; text-align: center; }
.category-card h3 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.category-card .go-btn {
  display: inline-block;
  border: 1px solid var(--green);
  color: var(--green-dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
}
.category-card:hover .go-btn { background: var(--green); color: var(--white); }

.view-all-wrap { text-align: center; margin-top: 44px; }
.view-all-wrap .cta-btn { background: var(--green); }
.view-all-wrap .cta-btn:hover { background: var(--lavender); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 80px 0; }
.testimonials h2 { text-align: center; margin-bottom: 44px; color: var(--green-dark); }
.dev-note {
  max-width: 640px;
  margin: 0 auto 36px;
  background: #fff7e6;
  border: 1px dashed var(--yellow);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.testimonial-photo .photo-placeholder,
.testimonial-photo .photo-real { aspect-ratio: 3/4; }
.testimonial-photo .caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 10px;
  font-style: italic;
}
.review-list { display: flex; flex-direction: column; gap: 22px; }
.review {
  background: var(--cream-dark);
  border-radius: 14px;
  padding: 22px 26px;
  border-left: 3px solid var(--lavender);
}
.review p { margin: 0 0 10px; }
.review .rating { color: #e0a800; letter-spacing: 2px; font-size: 1.1rem; }
.review .author { font-weight: bold; color: var(--green-dark); font-style: normal; }

/* ---------- Block 6: Delivery steps ---------- */
.delivery { background: var(--cream-dark); padding: 80px 0; }
.delivery h2 { text-align: center; color: var(--green-dark); margin-bottom: 48px; }
.steps-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 22px;
  padding: 0 0 32px 0;
  position: relative;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--lavender-light);
}
.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.step-body h3 { margin-bottom: 6px; font-size: 1.15rem; color: var(--green-dark); }
.step-body p { margin: 0; color: var(--ink-soft); }

/* ---------- Block 7: FAQ accordion ---------- */
.faq { padding: 80px 0; }
.faq h2 { text-align: center; color: var(--green-dark); margin-bottom: 44px; }
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item {
  border-bottom: 1px solid rgba(90,70,50,0.14);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: Georgia, serif;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 20px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.accordion-trigger:hover { color: var(--lavender); }
.accordion-icon {
  flex: none;
  font-size: 1.3rem;
  color: var(--lavender);
  transition: transform 0.2s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel p { padding: 0 6px 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Block 8: Lead capture form ---------- */
.lead-capture {
  background: var(--green);
  color: var(--white);
  padding: 72px 0;
}
.lead-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.lead-capture h2 { color: var(--white); }
.lead-capture p { color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.lead-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.lead-form input[type="tel"] {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 30px;
  border: none;
  font-family: Georgia, serif;
  font-size: 1rem;
}
.lead-form .cta-btn {
  background: var(--yellow);
  color: var(--ink);
  border: none;
  cursor: pointer;
}
.lead-form .cta-btn:hover { background: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer a { text-decoration: underline; }
.footer-inner p { margin: 6px 0; }
.footer-legal a { text-decoration: underline; color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: var(--yellow); }

/* ---------- Legal modals ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(58, 51, 44, 0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-box h3 { color: var(--green-dark); padding-right: 30px; }
.modal-content p { color: var(--ink-soft); }
.modal-placeholder {
  font-style: italic;
  background: #fff7e6;
  border: 1px dashed var(--yellow);
  padding: 10px 14px;
  border-radius: 8px;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}
.modal-close:hover { color: var(--lavender); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .guarantees-grid, .categories-grid { grid-template-columns: 1fr 1fr; }
  .hero-3 .hero-inner { grid-template-columns: 1fr; }
  .hero-photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .guarantees-grid, .categories-grid { grid-template-columns: 1fr; }
  .hero-photos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-2 .hero-text-card { margin-top: -30px; padding: 22px; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .hero-switcher { top: auto; bottom: 16px; right: 16px; }
}
