/* ============================================================
   PestoFood — Design System
   Palette : greens (health) + warm orange/yellow accents (food)
   Fonts   : Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --green-950: #10281b;
  --green-900: #1b4332;
  --green-700: #2d6a4f;
  --green-500: #52b788;
  --green-300: #95d5b2;
  --green-100: #d8f3dc;
  --green-50:  #eef8f0;
  --cream:     #fbfdf7;
  --sand:      #f5f2e8;
  --orange:    #e76f51;
  --orange-dk: #c94f32;
  --yellow:    #e9c46a;
  --ink:       #203028;
  --ink-soft:  #53655b;
  --white:     #ffffff;
  --line:      #e2ecdf;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-blob: 38% 62% 55% 45% / 45% 40% 60% 55%;

  --shadow-soft: 0 10px 30px rgba(27, 67, 50, .08);
  --shadow-card: 0 18px 45px rgba(27, 67, 50, .12);
  --shadow-pop:  0 30px 80px rgba(16, 40, 27, .25);

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--green-950); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--green-50); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--green-950); color: #d9e8dd; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--yellow); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--yellow); border-radius: 2px; }
.section-title { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.01em; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.section--dark .section-lead { color: #b9cfc0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 12px 26px rgba(45,106,79,.32); }
.btn--primary:hover { background: var(--green-900); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(231,111,81,.35); }
.btn--accent:hover { background: var(--orange-dk); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--green-900); box-shadow: inset 0 0 0 2px var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--yellow); color: var(--green-950); transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--green-700);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,253,247,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(27,67,50,.07); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.main-nav a, .nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  font-weight: 500; font-size: 15.5px; color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .nav-toggle-sub:hover { background: var(--green-100); color: var(--green-900); }
.main-nav a[aria-current="page"] { color: var(--orange); font-weight: 700; }
.nav-toggle-sub svg { width: 14px; height: 14px; transition: transform .25s ease; }
.has-dropdown { position: relative; }
.has-dropdown.is-open .nav-toggle-sub svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: flex; width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 15px; }
.dropdown a small { display: block; color: var(--ink-soft); font-weight: 400; }
.header-cta { flex-shrink: 0; }
.nav-cta { display: none; }
.burger { display: none; position: relative; z-index: 130; width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--green-900); transition: transform .3s ease, opacity .3s ease, top .3s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: clip; padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 420px at 85% 10%, rgba(233,196,106,.20), transparent 65%),
    radial-gradient(700px 520px at 8% 90%, rgba(82,183,136,.18), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-size: 13.5px; font-weight: 600; color: var(--green-900);
  margin-bottom: 22px;
}
.hero-badge i { width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); display: grid; place-items: center; font-style: normal; }
.hero-badge i svg { width: 14px; height: 14px; stroke: var(--green-700); }
.hero-title { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -.02em; }
.hero-title em { font-style: italic; color: var(--green-700); }
.hero-title .hl { position: relative; color: var(--orange); white-space: nowrap; }
.hero-title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
  background: var(--yellow); opacity: .55; z-index: -1; border-radius: 4px;
}
.hero-lead { margin-top: 22px; font-size: 18.5px; color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: 24px; color: var(--green-900); }
.hero-meta span { font-size: 13.5px; color: var(--ink-soft); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -8%; z-index: -1;
  background: linear-gradient(135deg, var(--green-100), var(--sand));
  border-radius: var(--radius-blob);
}
.hero-img-main { border-radius: var(--radius-blob); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/4.6; }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-small {
  position: absolute; left: -52px; bottom: 40px; width: 190px; aspect-ratio: 1;
  border-radius: 24px; overflow: hidden; border: 6px solid var(--cream);
  box-shadow: var(--shadow-card); transform: rotate(-5deg);
}
.hero-img-small img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.float-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-size: 15px; color: var(--green-950); line-height: 1.25; }
.float-card span { font-size: 12.5px; color: var(--ink-soft); }
.float-card--price { top: 26px; right: -18px; animation: floaty 6s ease-in-out infinite; }
.float-card--delivery { bottom: -24px; right: 36px; animation: floaty 7s ease-in-out 1s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--green-900); color: #eaf5ee; padding: 16px 0; overflow: hidden; }
.strip-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.strip-track span { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 17px; font-style: italic; white-space: nowrap; }
.strip-track b { color: var(--yellow); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-m); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 14px; border-radius: 999px; background: rgba(16,40,27,.75);
  color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.service-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.service-card__body h3 { font-size: 21px; }
.service-card__body p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.price-chip { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--orange-dk); }
.price-chip small { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); font-weight: 500; }

/* Dish cards (menu items) */
.dish-card {
  position: relative; background: #fff; border-radius: var(--radius-m);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.dish-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.dish-card__media { aspect-ratio: 4/3; overflow: hidden; }
.dish-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dish-card:hover .dish-card__media img { transform: scale(1.06); }
.dish-card__body { padding: 20px 22px 22px; }
.dish-card__body h3 { font-size: 18.5px; }
.dish-card__body p { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.dish-card__row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.dish-card__kcal { font-size: 12.5px; font-weight: 600; color: var(--green-700); background: var(--green-100); padding: 4px 10px; border-radius: 999px; }
.dish-card__price { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--green-900); }

/* Feature list */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__ico {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--green-100);
}
.feature__ico svg { width: 26px; height: 26px; stroke: var(--green-700); }
.feature--accent .feature__ico { background: #fdeee8; }
.feature--accent .feature__ico svg { stroke: var(--orange); }
.feature--yellow .feature__ico { background: #fbf0d4; }
.feature--yellow .feature__ico svg { stroke: #b98c1d; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { font-size: 15px; color: var(--ink-soft); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step {
  counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 30px 24px 26px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 22px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  background: var(--yellow); color: var(--green-950);
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* Plan / price cards */
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 34px 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.plan-card--featured { border: 2px solid var(--green-500); box-shadow: var(--shadow-card); }
.plan-card__flag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 7px 18px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase;
}
.plan-card h3 { font-size: 22px; }
.plan-card__sub { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.plan-card__price { margin: 18px 0 4px; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--green-900); line-height: 1; }
.plan-card__price span { font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.plan-card__per { font-size: 13px; color: var(--green-700); font-weight: 600; margin-bottom: 20px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.plan-card ul li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-soft); }
.plan-card ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.plan-card .btn { margin-top: auto; }

/* Price table */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.price-table caption { text-align: left; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--green-950); padding: 0 0 14px; }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; font-size: 15px; }
.price-table thead th { background: var(--green-900); color: #fff; font-weight: 600; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; }
.price-table tbody tr:nth-child(even) { background: var(--green-50); }
.price-table tbody tr:hover { background: var(--green-100); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; color: var(--green-900); white-space: nowrap; }
.price-table .note-cell { color: var(--ink-soft); font-size: 13.5px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-m); }
.table-scroll .price-table { min-width: 640px; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--wide-l { grid-template-columns: 1.15fr .85fr; }
.media-frame { position: relative; }
.media-frame > img, .media-frame > .media-frame__img { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--rounded img { border-radius: var(--radius-l); }
.media-frame--blob img { border-radius: var(--radius-blob); }
.media-frame__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--yellow); color: var(--green-950);
  border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow-card);
  font-family: var(--font-display); text-align: center;
}
.media-frame__badge strong { display: block; font-size: 26px; line-height: 1; }
.media-frame__badge span { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 34px; font-size: 16px; color: var(--ink-soft); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery a, .gallery figure { border-radius: var(--radius-m); overflow: hidden; position: relative; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img, .gallery figure:hover img { transform: scale(1.07); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--green-950);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/15px no-repeat;
  transition: transform .3s ease, background .3s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--yellow); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--green-900); color: #eaf5ee; padding: clamp(40px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(233,196,106,.28), transparent 70%); top: -160px; right: -120px; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(82,183,136,.3), transparent 70%); bottom: -140px; left: -80px; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); max-width: 560px; }
.cta-band p { margin-top: 10px; color: #b9cfc0; max-width: 520px; }
.cta-band .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 100px) 0; overflow: clip; background: var(--green-50); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 360px at 88% 0%, rgba(233,196,106,.22), transparent 65%), radial-gradient(500px 400px at 0% 100%, rgba(82,183,136,.18), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; max-width: 720px; }
.page-hero .lead { margin-top: 16px; font-size: 18.5px; color: var(--ink-soft); max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; color: var(--green-300); }
.crumbs a { color: var(--green-700); font-weight: 500; }
.crumbs [aria-current] { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border: 0; }
.info-row .feature__ico { width: 46px; height: 46px; border-radius: 13px; }
.info-row h3 { font-size: 16px; font-family: var(--font-body); font-weight: 700; }
.info-row p, .info-row a { font-size: 15px; color: var(--ink-soft); }
.info-row a:hover { color: var(--green-700); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.map-frame { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--green-950); }
.form-field label .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(82,183,136,.18);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--orange-dk); background: #fff7f4; }
.field-error { display: none; font-size: 13px; color: var(--orange-dk); font-weight: 500; }
.form-field.has-error .field-error { display: block; }
.form-note { font-size: 13px; color: var(--ink-soft); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); grid-column: 1 / -1; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-700); }
.form-consent.has-error { color: var(--orange-dk); }

/* Popup modal */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16,40,27,.55); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal__box {
  position: relative; width: min(480px, 100%); background: #fff;
  border-radius: var(--radius-l); padding: 42px 36px 34px; text-align: center;
  box-shadow: var(--shadow-pop); animation: popIn .3s cubic-bezier(.2,.9,.3,1.2);
}
.modal__ico { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); }
.modal__ico svg { width: 36px; height: 36px; stroke: var(--green-700); }
.modal__ico--warn { background: #fdeee8; }
.modal__ico--warn svg { stroke: var(--orange); }
.modal__box h3 { font-size: 24px; margin-bottom: 10px; }
.modal__box p { font-size: 15px; color: var(--ink-soft); }
.modal__box .btn { margin-top: 24px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.modal__close svg { width: 16px; height: 16px; stroke: var(--ink-soft); }
.modal__close:hover { background: var(--green-100); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 250;
  width: min(430px, calc(100% - 40px));
  background: #fff; border-radius: var(--radius-m);
  box-shadow: var(--shadow-pop); border: 1px solid var(--line);
  padding: 24px; display: none;
}
.cookie-banner.is-visible { display: block; animation: popIn .35s ease; }
.cookie-banner h3 { font-size: 18px; margin-bottom: 8px; }
.cookie-banner p { font-size: 13.5px; color: var(--ink-soft); }
.cookie-banner .cookie-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 18px; font-size: 14px; }
.cookie-settings { display: none; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.cookie-settings.is-open { display: grid; gap: 12px; }
.cookie-cat { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 14px; }
.cookie-cat strong { font-size: 14px; }
.cookie-cat small { display: block; color: var(--ink-soft); font-size: 12.5px; font-weight: 400; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #cfdccf; transition: background .25s ease; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s ease; }
.switch input:checked + i { background: var(--green-500); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { background: var(--green-200, #b7dcc4); opacity: .7; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #b9cfc0; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 48px; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 300px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { color: #b9cfc0; font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; stroke: var(--green-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: #93ac9b; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 26px; margin: 40px 0 14px; }
.legal-body h3 { font-size: 20px; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 15.5px; }
.legal-body ul, .legal-body ol { margin: 12px 0; display: grid; gap: 8px; }
.legal-body .updated { font-size: 13.5px; color: var(--ink-soft); background: var(--green-50); display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.legal-body th { background: var(--green-50); color: var(--green-950); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card--price, .float-card--delivery, .strip-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  /* backdrop-filter on the header makes it a containing block for
     position:fixed children — remove it on mobile so the nav can
     actually cover the viewport */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .burger { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: 120;
    background: var(--cream);
    padding: calc(var(--header-h) + 20px) 28px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease, visibility .35s;
    visibility: hidden;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .nav-toggle-sub { width: 100%; justify-content: space-between; padding: 15px 16px; font-size: 18px; font-family: var(--font-display); }
  .nav-cta { display: block; margin-top: 16px; }
  .nav-cta .btn { width: 100%; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-left: 2px solid var(--green-100); border-radius: 0;
    margin: 0 0 6px 16px; padding: 0 0 0 8px; min-width: 0;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown a { font-family: var(--font-body); font-size: 15.5px; padding: 11px 12px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .hero-img-small { left: -14px; width: 150px; }
  .float-card--price { right: 0; }
  .split, .split--wide-l, .contact-grid { grid-template-columns: 1fr; }
  .split .media-frame { order: -1; }
  .split--keep-order .media-frame { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .g-wide { grid-column: span 2; }
  .hero-actions .btn { flex: 1 1 auto; }
  .float-card { padding: 10px 14px; }
  .float-card strong { font-size: 13.5px; }
  .hero-img-small { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .media-frame__badge { left: 10px; bottom: -16px; padding: 12px 18px; }
  .media-frame__badge strong { font-size: 20px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}
