/* ==========================================================
   Pavaje Andezit (demo) — „Mineral premium”
   Graphite andesite + warm ochre + moss green
   ========================================================== */

:root {
  /* Palette */
  --ink: #1b1e21;
  --ink-2: #24282c;
  --ink-3: #30353a;
  --stone-50: #f7f5f1;
  --stone-100: #f1eee8;
  --stone-200: #e5e0d7;
  --stone-300: #cfc8bc;
  --muted: #565c62;
  --accent: #c9923f;
  --accent-hover: #d9a453;
  --accent-ink: #84561a;
  --moss: #2f4233;
  --moss-2: #3b5340;
  --danger: #b3261e;

  /* Semantic */
  --bg: var(--stone-100);
  --surface: #ffffff;
  --text: var(--ink);
  --text-muted: var(--muted);
  --on-dark: #ece9e3;
  --on-dark-muted: #b0b4b8;
  --line: rgba(27, 30, 33, .12);
  --line-dark: rgba(236, 233, 227, .14);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 2px rgba(27,30,33,.06), 0 2px 8px rgba(27,30,33,.06);
  --shadow-2: 0 8px 30px rgba(27,30,33,.12);
  --shadow-3: 0 24px 60px rgba(10,12,14,.28);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  --header-h: 76px;
  --container: 1200px;

  /* z-index scale */
  --z-header: 40;
  --z-float: 50;
  --z-modal: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.02em; font-variation-settings: "opsz" 120; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .975rem; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.025rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 6px 20px rgba(201,146,63,.28); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 10px 28px rgba(201,146,63,.36); }
.btn-ghost-light { color: var(--on-dark); border-color: rgba(236,233,227,.45); background: rgba(27,30,33,.25); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(236,233,227,.1); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn-light { background: var(--stone-50); color: var(--moss); }
.btn-light:hover { background: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  font-weight: 700; text-decoration: none; min-height: 44px;
}
.link-arrow .icon { transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrows / leads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--accent); }
.eyebrow .dot { display: none; }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 58ch; margin-top: var(--s-5); }
.lead-light { color: var(--on-dark-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease, height var(--dur) ease;
}
.site-header.is-scrolled { background: rgba(27,30,33,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; font-weight: 500; white-space: nowrap; }
.brand-text em { font-style: italic; color: var(--accent); }

.main-nav { margin-left: auto; display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none;
  color: var(--on-dark); font-size: .925rem; font-weight: 600; opacity: .85;
  transition: opacity var(--dur-fast), background-color var(--dur-fast);
}
.main-nav a:hover { opacity: 1; background: rgba(236,233,227,.08); }
.main-nav a.is-active { opacity: 1; color: var(--accent); }
.header-cta { display: none; min-height: 44px; padding: 10px 18px; font-size: .925rem; }

.nav-toggle {
  margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(236,233,227,.3); background: rgba(27,30,33,.35);
  display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--ink); border-top: 1px solid var(--line-dark);
  padding: var(--s-4) 20px var(--s-6);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  box-shadow: var(--shadow-3);
}
.mobile-nav ul { list-style: none; margin-bottom: var(--s-5); }
.mobile-nav a:not(.btn) {
  display: block; padding: 14px 4px; color: var(--on-dark); text-decoration: none;
  font-family: var(--font-display); font-size: 1.4rem; border-bottom: 1px solid var(--line-dark);
}
.site-header.menu-open { background: var(--ink); }

@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hero-zoom 1.8s var(--ease-out) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,22,25,.72) 0%, rgba(20,22,25,.25) 28%, rgba(20,22,25,.55) 62%, rgba(20,22,25,.94) 100%),
    linear-gradient(90deg, rgba(20,22,25,.7) 0%, rgba(20,22,25,0) 70%);
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero-inner { padding-top: calc(var(--header-h) + var(--s-8)); padding-bottom: var(--s-8); }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em;
  max-width: 15ch; font-variation-settings: "opsz" 144;
}
.hero-accent { display: block; font-style: italic; color: var(--accent); }
.hero-lead { margin-top: var(--s-5); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #d6d3cd; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-points {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-5);
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-dark);
  font-size: .925rem; font-weight: 600; color: #d6d3cd;
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points .icon { color: var(--accent); }
@media (min-width: 900px) { .hero-points { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); padding-right: 72px; } }

.hero-scroll {
  position: absolute; right: 32px; bottom: 40px; width: 28px; height: 46px; border-radius: 20px;
  border: 1.5px solid rgba(236,233,227,.5); display: none;
}
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--on-dark); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) { .hero-scroll { display: block; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-9); position: relative; }
@media (min-width: 1024px) { .section { padding-block: var(--s-10); } }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-stone { background: var(--stone-200); }
.section-green { background: var(--moss); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head-split { max-width: none; display: grid; gap: var(--s-5); align-items: end; }
.section-head-split .lead { margin-top: 0; }
@media (min-width: 900px) { .section-head-split { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); } }

/* subtle stone grain on dark sections */
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 6px 6px;
}
.section-dark > .container { position: relative; }

/* ---------- Why andesite ---------- */
.why-grid { display: grid; gap: var(--s-8); }
@media (min-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: start; } }
.why-figure { margin: var(--s-7) 0 0; }
.why-figure img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-2); }
.why-figure figcaption { margin-top: var(--s-3); font-size: .9rem; color: var(--text-muted); }
.why-list { list-style: none; display: grid; gap: 0; }
.why-item {
  display: grid; grid-template-columns: 52px 1fr; gap: var(--s-4); padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.why-item:first-child { padding-top: 0; }
@media (min-width: 1000px) { .why-list { position: sticky; top: calc(var(--header-h) + 32px); } }
.why-icon {
  width: 52px; height: 52px; padding: 13px; border-radius: 14px;
  background: var(--ink); color: var(--accent);
}
.why-item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.why-item p { color: var(--text-muted); }

/* ---------- Formats ---------- */
.formats { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .formats { grid-template-columns: repeat(4, 1fr); } }
.format-card {
  position: relative; padding: var(--s-6) var(--s-5) var(--s-5);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out);
}
.format-card:hover { border-color: rgba(201,146,63,.55); transform: translateY(-4px); }
.format-card-featured { border-color: rgba(201,146,63,.6); background: linear-gradient(180deg, #2b2a26, var(--ink)); }
.format-badge {
  position: absolute; top: -12px; left: var(--s-5);
  background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.format-size {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1; letter-spacing: -.03em;
  display: flex; align-items: baseline; gap: 2px; color: #fff; font-variation-settings: "opsz" 144;
}
.format-size i { font-style: normal; color: var(--accent); margin-inline: 2px; }
.format-size small { font-family: var(--font-body); font-size: .95rem; color: var(--on-dark-muted); margin-left: 8px; letter-spacing: 0; }
.format-card h3 { font-size: 1.2rem; margin-top: var(--s-2); }
.format-card p { color: var(--on-dark-muted); font-size: .975rem; }
.format-card .format-use {
  margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 600; font-size: .9rem;
}
.format-use .icon { color: var(--accent); width: 18px; height: 18px; }

/* Patterns tabs */
.patterns { margin-top: var(--s-9); }
.patterns-tabs {
  display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none;
  padding: 6px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line-dark);
  width: max-content; max-width: 100%;
}
.patterns-tabs::-webkit-scrollbar { display: none; }
.patterns-tabs button {
  flex: none; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0;
  background: transparent; color: var(--on-dark-muted); font-weight: 700; cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.patterns-tabs button:hover { color: var(--on-dark); }
.patterns-tabs button[aria-selected="true"] { background: var(--accent); color: var(--ink); }
.patterns-panel {
  margin-top: var(--s-5); display: grid; gap: var(--s-6); align-items: center;
  border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .patterns-panel { grid-template-columns: 1.5fr 1fr; gap: var(--s-8); } }
.pattern-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-3); }
.pattern-figure img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur) ease, transform var(--dur-slow) var(--ease-out); }
.pattern-figure img.is-swapping { opacity: 0; transform: scale(1.03); }
.pattern-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; letter-spacing: -.02em; }
.pattern-copy p { color: var(--on-dark-muted); margin: var(--s-4) 0 var(--s-4); font-size: 1.05rem; }

/* ---------- Montaj ---------- */
.montaj-grid { display: grid; gap: var(--s-8); }
@media (min-width: 1000px) { .montaj-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s-9); align-items: start; } }
.montaj-media { position: relative; }
@media (min-width: 1000px) { .montaj-media { position: sticky; top: calc(var(--header-h) + 32px); } }
.montaj-img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.montaj-note {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(27,30,33,.9); backdrop-filter: blur(8px); color: var(--on-dark);
  padding: var(--s-4) var(--s-5); border-radius: var(--radius); border-left: 3px solid var(--accent);
  display: grid; gap: 2px; font-size: .95rem;
}
.montaj-note strong { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.montaj-note span { color: var(--on-dark-muted); }
@media (min-width: 600px) { .montaj-note { left: auto; right: -16px; max-width: 320px; bottom: 32px; } }
.steps { list-style: none; margin-top: var(--s-7); display: grid; gap: var(--s-3); counter-reset: s; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: var(--s-4);
  padding: var(--s-5); border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.step-num {
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--accent-ink);
  font-variation-settings: "opsz" 144;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .calc-grid { grid-template-columns: .85fr 1.15fr; gap: var(--s-9); align-items: start; } }
.calc-notes { list-style: none; margin-top: var(--s-6); display: grid; gap: var(--s-3); color: var(--text-muted); font-size: .95rem; }
.calc-notes li { display: flex; gap: 10px; align-items: flex-start; }
.calc-notes .icon { color: var(--accent-ink); margin-top: 2px; width: 18px; height: 18px; }

.calc-card, .quote-form {
  background: var(--surface); border-radius: var(--radius-lg); padding: var(--s-5);
  box-shadow: var(--shadow-2); display: grid; gap: var(--s-5); border: 1px solid var(--line);
}
@media (min-width: 600px) { .calc-card, .quote-form { padding: var(--s-7); } }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field label { display: block; font-weight: 700; font-size: .925rem; margin-bottom: var(--s-2); padding: 0; }
.unit { font-weight: 500; color: var(--text-muted); }
.req { color: var(--danger); }
.field { display: grid; min-width: 0; }
.field-row { display: grid; gap: var(--s-5); }
.field-row[hidden] { display: none; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

input[type="text"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 1rem;
  border: 1.5px solid var(--stone-300); border-radius: var(--radius); background: var(--stone-50);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1e21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
input:hover, select:hover, textarea:hover { border-color: #b4ac9e; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(201,146,63,.25); }
input[aria-invalid="true"] { border-color: var(--danger); background: #fdf5f4; }
.field-error { color: var(--danger); font-size: .875rem; font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }
::placeholder { color: #8a8f94; }

.segmented { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--stone-100); border-radius: var(--radius); border: 1px solid var(--stone-200); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  flex: 1 1 auto; margin: 0; text-align: center; min-height: 44px; display: grid; place-items: center;
  padding: 8px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .925rem; color: var(--text-muted);
  transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.segmented label:hover { color: var(--text); }
.segmented input:checked + label { background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-1); }
.segmented input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

.calc-result {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: var(--s-5); display: grid; gap: var(--s-5);
  background-image: radial-gradient(circle at 100% 0%, rgba(201,146,63,.22), transparent 55%);
}
@media (min-width: 600px) { .calc-result { grid-template-columns: 1fr 1fr; align-items: center; padding: var(--s-6); } }
.result-main { display: grid; gap: 4px; }
.result-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--accent); }
.result-value { font-family: var(--font-display); font-size: clamp(2.8rem, 2rem + 3vw, 3.8rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.result-value small { font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; color: var(--on-dark-muted); }
.result-sub { font-size: .875rem; color: var(--on-dark-muted); }
.result-list { margin: 0; display: grid; gap: 0; }
.result-list div { display: flex; justify-content: space-between; gap: var(--s-4); padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.result-list div:last-child { border-bottom: 0; }
.result-list dt { color: var(--on-dark-muted); }
.result-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-warn { grid-column: 1 / -1; font-size: .9rem; color: #f3c98a; display: flex; gap: 8px; }
.result-warn[hidden] { display: none; }
.calc-card .btn-lg { padding-inline: 16px; }
.calc-foot, .form-foot { text-align: center; font-size: .875rem; color: var(--text-muted); margin-top: calc(var(--s-3) * -1); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: var(--s-4); } }
.g-item {
  position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; background: var(--stone-300);
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,22,25,.75)); opacity: .85; transition: opacity var(--dur); }
.g-cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; text-align: left;
  color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.3;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; }

/* ---------- Plants ---------- */
.section-green { overflow: hidden; }
.plante-grid { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 1000px) { .plante-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-9); } }
.section-green .eyebrow-light { color: #e3b66e; }
.section-green .lead-light { color: #c9d2c8; }
.plante-list { list-style: none; display: grid; gap: var(--s-3); margin: var(--s-6) 0 var(--s-7); }
.plante-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.plante-list .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--moss-2); color: #e3b66e; }
.plante-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s-3); height: 460px; }
@media (min-width: 768px) { .plante-mosaic { height: 580px; gap: var(--s-4); } }
.plante-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.pm-a { grid-row: span 2; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); align-items: start; } }
.faq-grid .btn { margin-top: var(--s-6); }
.faq-list { display: grid; gap: var(--s-3); }
.faq { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow var(--dur); }
.faq[open] { box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s-5); padding-right: 64px; position: relative;
  font-weight: 700; font-size: 1.05rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--stone-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1e21' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast);
}
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq p { padding: 0 var(--s-5) var(--s-5); color: var(--text-muted); max-width: 65ch; }

/* ---------- Quote ---------- */
.oferta-grid { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .oferta-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s-9); align-items: start; } }
.contact-cards { display: grid; gap: var(--s-3); margin-top: var(--s-7); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.contact-card {
  display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5);
  border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--ink-2);
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.contact-card:hover { border-color: var(--accent); background: var(--ink-3); }
.contact-card .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.contact-card small { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-muted); }
.oferta-area { margin-top: var(--s-5); display: flex; align-items: center; gap: 10px; color: var(--on-dark-muted); }
.oferta-area .icon { color: var(--accent); }
.quote-form { color: var(--text); }
.form-summary {
  padding: var(--s-4); border-radius: var(--radius); background: #fdf0ee; border: 1px solid #f0c4bf; color: #7d1c15; font-size: .95rem;
}
.form-summary ul { margin: 6px 0 0 18px; }
.form-summary a { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--stone-300); background: var(--stone-50); font-weight: 600; cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: #141618; color: var(--on-dark-muted); padding: var(--s-8) 0 calc(var(--s-6) + 72px); }
@media (min-width: 768px) { .site-footer { padding-bottom: var(--s-6); } .footer-bottom { padding-right: 112px; } }
.footer-inner { display: grid; gap: var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { margin-top: var(--s-4); max-width: 40ch; }
.site-footer h3 { color: var(--on-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer ul a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-5); font-size: .875rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating WhatsApp & mobile bar ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 24px; z-index: var(--z-float);
  width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform var(--dur-fast) var(--ease-out);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
@media (min-width: 768px) { .wa-float { display: grid; } }

.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-float);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px;
  background: rgba(27,30,33,.94); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow-3);
  transform: translateY(150%); transition: transform var(--dur) var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.site-header.menu-open ~ .mobile-bar { display: none; }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px;
  text-decoration: none; font-weight: 700; color: var(--on-dark); background: var(--ink-3);
}
.mobile-bar .mobile-bar-accent { background: var(--accent); color: var(--ink); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(12,13,15,.94); color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 64px 8px 24px; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 140px); width: auto; max-width: 100%; border-radius: var(--radius); animation: lb-in var(--dur) var(--ease-out); }
.lightbox figcaption { font-weight: 600; color: var(--on-dark-muted); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lb-close, .lb-nav {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color var(--dur-fast);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.16); }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-nav { margin: 0 8px; }
@media (min-width: 768px) { .lb-nav { margin: 0 24px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}
