:root {
  --olive-leaf: #606c38ff;
  --black-forest: #283618ff;
  --cornsilk: #fefae0ff;
  --sunlit-clay: #dda15eff;
  --copperwood: #bc6c25ff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 54, 24, 0.14);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Fraunces", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--black-forest);
  background: var(--cornsilk);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: "Lovers Quarrel", serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--black-forest);
}
h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
h2 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
h3 { font-size: 2.1rem; }
p { margin: 0 0 1.1em; }

a { color: var(--copperwood); text-underline-offset: 3px; }
a:hover { color: var(--black-forest); }

:focus-visible { outline: 3px solid var(--sunlit-clay); outline-offset: 3px; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: #f6efc9; }
.section--dark { background: var(--black-forest); color: var(--cornsilk); }
.section--dark h2, .section--dark h3 { color: var(--cornsilk); }
.section--dark a { color: var(--sunlit-clay); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copperwood);
  margin-bottom: 0.6rem;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--black-forest); color: var(--cornsilk); padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 2px solid var(--copperwood);
  background: var(--copperwood);
  color: var(--cornsilk);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn:hover { background: var(--black-forest); border-color: var(--black-forest); color: var(--cornsilk); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cornsilk); border-color: var(--cornsilk); }
.btn--ghost:hover { background: var(--cornsilk); color: var(--black-forest); border-color: var(--cornsilk); }
.btn--outline { background: transparent; color: var(--black-forest); border-color: var(--olive-leaf); }
.btn--outline:hover { background: var(--olive-leaf); border-color: var(--olive-leaf); }
.btn--sm { padding: 0.55rem 1.3rem; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(254, 250, 224, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(96, 108, 56, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { font-family: "Lovers Quarrel", serif; font-size: 2.6rem; line-height: 1; color: var(--black-forest); text-decoration: none; }
.brand span { color: var(--copperwood); }
.nav-list { display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a {
  display: block; padding: 0.45rem 0.85rem; border-radius: 999px;
  color: var(--black-forest); text-decoration: none; font-size: 0.98rem; font-weight: 500;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--olive-leaf); color: var(--cornsilk); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--olive-leaf); border-radius: 10px;
  width: 46px; height: 46px; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 10px; width: 22px; height: 2px; background: var(--black-forest); content: ""; transition: transform 0.25s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: min(86vh, 720px);
  display: flex; align-items: center; color: var(--cornsilk); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40, 54, 24, 0.82) 0%, rgba(40, 54, 24, 0.45) 55%, rgba(40, 54, 24, 0.15) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 4rem 0; max-width: 640px; }
.hero h1 { color: var(--cornsilk); margin-bottom: 0.2em; }
.hero p { font-size: 1.2rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

.page-hero {
  position: relative; display: flex; align-items: center; min-height: 340px; color: var(--cornsilk); overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(40, 54, 24, 0.62); }
.page-hero .hero__img { z-index: 0; }
.page-hero__content { position: relative; z-index: 1; padding: 3rem 0; }
.page-hero h1 { color: var(--cornsilk); font-size: clamp(3.2rem, 7vw, 5.2rem); margin-bottom: 0.15em; }
.page-hero p { max-width: 600px; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: 0.88rem; margin-bottom: 0.8rem; opacity: 0.9; }
.breadcrumb a { color: var(--sunlit-clay); }

/* Grids and cards */
.grid { display: grid; gap: 1.8rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fffdf0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.2em; }
.card__body p { flex: 1; }

.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--sunlit-clay); }
.text-link:hover { border-color: var(--copperwood); }
.text-link::after { content: " \2192"; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split img.tall { aspect-ratio: 4 / 5; }

.link-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.feature { padding: 1.2rem; }
.feature__num { font-family: "Lovers Quarrel", serif; font-size: 3.6rem; color: var(--sunlit-clay); line-height: 1; }
.feature h3 { font-size: 1.9rem; }

/* Products */
.product-list { display: flex; flex-direction: column; gap: 2rem; }
.product {
  display: flex; align-items: stretch; background: #fffdf0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.product:nth-child(even) { flex-direction: row-reverse; }
.product__img { flex: 0 0 42%; min-height: 320px; object-fit: cover; width: 42%; }
.product__body { flex: 1; padding: clamp(1.5rem, 4vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; }
.product__tag { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-leaf); font-weight: 600; }
.product__price { font-size: 1.5rem; font-weight: 600; color: var(--copperwood); margin-bottom: 1rem; }
.product__body h2 { font-size: 3rem; margin-bottom: 0.2em; }

/* Carousel */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--black-forest); }
.carousel__track { display: flex; transition: transform 0.6s ease; }
.carousel__slide { position: relative; flex: 0 0 100%; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.carousel__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__slide::after { content: ""; position: absolute; inset: 0; background: rgba(40, 54, 24, 0.66); }
.carousel__overlay { position: relative; z-index: 1; max-width: 720px; padding: 2.5rem 4.5rem; text-align: center; color: var(--cornsilk); }
.carousel__overlay blockquote { margin: 0 0 1rem; font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-style: italic; line-height: 1.5; }
.carousel__overlay cite { font-style: normal; font-weight: 600; color: var(--sunlit-clay); }
.carousel__stars { color: var(--sunlit-clay); letter-spacing: 0.2em; margin-bottom: 0.8rem; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--cornsilk);
  background: rgba(40, 54, 24, 0.5); color: var(--cornsilk); font-size: 1.3rem; cursor: pointer;
}
.carousel__btn:hover { background: var(--copperwood); }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 0.6rem; z-index: 2; }
.carousel__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cornsilk); background: transparent; padding: 0; cursor: pointer; }
.carousel__dot[aria-current="true"] { background: var(--sunlit-clay); border-color: var(--sunlit-clay); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Steps / lists */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.2rem;
  font-family: "Lovers Quarrel", serif; font-size: 2.6rem; color: var(--copperwood); width: 3rem; text-align: center;
}
.steps strong { display: block; }

.price-table { width: 100%; border-collapse: collapse; background: #fffdf0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid rgba(96, 108, 56, 0.2); }
.price-table th { background: var(--olive-leaf); color: var(--cornsilk); font-weight: 600; }
.table-wrap { overflow-x: auto; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: 0.5rem; }
.checklist li::before { content: "\2740"; position: absolute; left: 0; color: var(--copperwood); }

/* Forms */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.info-box { background: var(--black-forest); color: var(--cornsilk); padding: 2.2rem; border-radius: var(--radius); }
.info-box h2, .info-box h3 { color: var(--cornsilk); }
.info-box a { color: var(--sunlit-clay); }
.info-box dl { margin: 0; }
.info-box dt { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sunlit-clay); margin-top: 1.1rem; }
.info-box dd { margin: 0; }
.form { background: #fffdf0; padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.2rem; }
.form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.8rem 1rem; font: inherit; color: var(--black-forest);
  background: var(--cornsilk); border: 2px solid rgba(96, 108, 56, 0.45); border-radius: 10px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--copperwood); }
.form .is-invalid { border-color: #a63a20; }
.field-error { color: #a63a20; font-size: 0.88rem; min-height: 1.2em; margin-top: 0.25rem; }
.form-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.form-check input { width: auto; margin-top: 0.4rem; }
.form-check label { font-weight: 400; margin: 0; }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Legal */
.legal { max-width: 820px; margin-inline: auto; }
.legal .breadcrumb a { color: var(--copperwood); }
.legal h2 { font-size: 2.6rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.3rem; }

/* Footer */
.site-footer { background: var(--black-forest); color: var(--cornsilk); padding: 4rem 0 1.5rem; }
.site-footer a { color: var(--cornsilk); text-decoration: none; }
.site-footer a:hover { color: var(--sunlit-clay); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h3 { font-size: 2rem; color: var(--sunlit-clay); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-brand { font-family: "Lovers Quarrel", serif; font-size: 3rem; line-height: 1; margin-bottom: 0.6rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(254, 250, 224, 0.2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.9rem; opacity: 0.85;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* Toast */
.toast-region { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 400; display: flex; flex-direction: column; gap: 0.7rem; max-width: calc(100vw - 2.4rem); }
.toast {
  background: var(--black-forest); color: var(--cornsilk); padding: 1rem 1.3rem; border-radius: 12px;
  border-left: 6px solid var(--sunlit-clay); box-shadow: var(--shadow); min-width: 260px; max-width: 380px;
  animation: toast-in 0.35s ease;
}
.toast--error { border-left-color: #d9553a; }
.toast--success { border-left-color: var(--olive-leaf); background: #33441f; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(40, 54, 24, 0.7); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 1.2rem;
}
.modal-backdrop.is-open { display: flex; }
.modal { background: var(--cornsilk); max-width: 520px; width: 100%; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.modal h2 { font-size: 2.6rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.3rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 250;
  max-width: 760px; margin-inline: auto; background: var(--black-forest); color: var(--cornsilk);
  padding: 1.3rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow);
  display: none; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner a { color: var(--sunlit-clay); }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 1000px) {
  .grid--4, .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cornsilk); border-bottom: 1px solid rgba(96, 108, 56, 0.25); display: none; padding: 0.8rem 1.25rem 1.2rem; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { padding: 0.7rem 1rem; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .product, .product:nth-child(even) { flex-direction: column; }
  .product__img { width: 100%; flex-basis: auto; min-height: 260px; max-height: 340px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--3, .grid--2, .grid--4, .features, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .carousel__slide { min-height: 520px; }
  .carousel__overlay { padding: 2rem 1.3rem 3.5rem; }
  .carousel__btn { top: auto; bottom: 8px; transform: none; width: 40px; height: 40px; }
  .hero::after { background: rgba(40, 54, 24, 0.62); }
  .form, .info-box { padding: 1.5rem; }
  .toast-region { left: 1.2rem; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
