/* ═══════════════════════════════════════════════════
   DRAV — Muebles a medida
   Paleta cálida · Premium · Hogar
   ═══════════════════════════════════════════════════ */

:root {
  --bg:       #f5f0ea;
  --bg-2:     #ede6dc;
  --bg-3:     #e2d9ce;
  --text:     #1a1714;
  --sub:      #7a6f65;
  --line:     #d8cdbf;
  --accent:   #b5614a;
  --accent-2: #8a3f2e;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── tipografía utilitaria ── */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sub);
  font-weight: 400;
}
.title-xl, .title-l, .title-m {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--text);
}
.title-xl { font-size: clamp(56px, 9vw, 128px); }
.title-l  { font-size: clamp(40px, 5.5vw, 72px); line-height: 1; }
.title-m  { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }
.italic   { font-style: italic; color: var(--accent-2); }

/* ── botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: var(--bg);
}
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(245, 240, 234, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 240, 234, 0.95);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-logo .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sub);
  position: relative;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  border-radius: 2px;
  transition: background .3s var(--ease);
}
.nav-cta:hover { background: var(--accent-2); }

.nav-burger {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 0; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: var(--section);
  overflow: hidden;
}
.hero-bg-block {
  position: absolute;
  top: 0; right: 0;
  width: 46%;
  height: 100%;
  background: var(--bg-2);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--accent);
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  margin-bottom: 28px;
}
.hero-title .lead-italic {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 400;
}
.hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--sub);
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-meta-item .n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-meta-item .l {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sub);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(26, 23, 20, 0.35);
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.hero-visual-frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(26, 23, 20, 0.12);
  pointer-events: none;
  z-index: 2;
}
.hero-visual-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 3;
  background: var(--bg);
  padding: 14px 20px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px -10px rgba(26, 23, 20, 0.25);
}
.hero-visual-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.hero-visual-tag .text {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   MARQUEE / VALORES
   ═══════════════════════════════════════════════════ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 64px;
  padding: 22px 0;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-item::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   MANIFIESTO
   ═══════════════════════════════════════════════════ */
.manifesto {
  padding: var(--section) 0;
  position: relative;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.manifesto .eyebrow {
  margin-bottom: 24px;
  display: block;
}
.manifesto-text p {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 24px;
}
.manifesto-text p:last-child { margin-bottom: 0; }
.manifesto-text strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
}

/* ═══════════════════════════════════════════════════
   DIFERENCIALES
   ═══════════════════════════════════════════════════ */
.difs {
  background: var(--bg-2);
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}
.difs-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.difs-head h2 { max-width: 700px; }
.difs-head p {
  font-size: 14px;
  color: var(--sub);
  max-width: 320px;
  line-height: 1.7;
}
.difs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dif {
  background: var(--bg-2);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .35s var(--ease);
}
.dif:hover { background: var(--bg); }
.dif-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 6px;
}
.dif-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}
.dif-desc {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   CATÁLOGO
   ═══════════════════════════════════════════════════ */
.catalog {
  padding: var(--section) 0;
  background: var(--bg);
}
.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.catalog-head .eyebrow { margin-bottom: 16px; display: block; }
.catalog-head h2 { max-width: 760px; }
.catalog-head a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color .25s var(--ease);
}
.catalog-head a:hover { color: var(--accent-2); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.product {
  display: flex;
  flex-direction: column;
  background: transparent;
  cursor: pointer;
}
.product-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 22px;
}
.product-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.product:hover .product-cover img { transform: scale(1.04); }
.product-cover-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--sub);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.product-cover-placeholder svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.product-cover-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg);
  color: var(--text);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  z-index: 1;
}
.product-cover-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate(8px, -8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
  z-index: 1;
}
.product-cover-arrow svg { width: 14px; stroke: var(--text); }
.product:hover .product-cover-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: var(--accent);
}
.product:hover .product-cover-arrow svg { stroke: var(--bg); }

.product-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 8px;
}
.product-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   PROCESO
   ═══════════════════════════════════════════════════ */
.proceso {
  background: var(--bg-2);
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}
.proceso-head {
  max-width: 720px;
  margin-bottom: 72px;
}
.proceso-head .eyebrow { display: block; margin-bottom: 20px; }
.proceso-head p {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.8;
  margin-top: 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding-right: 24px;
}
.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 24px;
  font-style: italic;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.step:hover .step-dot { background: var(--accent); color: var(--bg); }
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.1;
}
.step-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   ESPACIOS / GALLERY
   ═══════════════════════════════════════════════════ */
.spaces {
  padding: var(--section) 0;
}
.spaces-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.spaces-head .eyebrow { display: block; margin-bottom: 16px; }
.spaces-head h2 { max-width: 640px; }
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.space {
  position: relative;
  background: var(--bg-3);
  overflow: hidden;
  border-radius: 2px;
}
.space img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.space:hover img { transform: scale(1.05); }
.space-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--sub);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.space-1 { grid-column: span 4; grid-row: span 2; }
.space-2 { grid-column: span 2; grid-row: span 1; }
.space-3 { grid-column: span 2; grid-row: span 1; }
.space-4 { grid-column: span 3; grid-row: span 1; }
.space-5 { grid-column: span 3; grid-row: span 1; }

/* ═══════════════════════════════════════════════════
   TESTIMONIOS
   ═══════════════════════════════════════════════════ */
.testi {
  background: var(--bg-2);
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}
.testi-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.25;
  color: var(--text);
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
  position: relative;
}
.testi-quote::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}
.testi-author {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sub);
}
.testi-author strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════ */
.contact {
  padding: var(--section) 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-left .eyebrow { display: block; margin-bottom: 20px; }
.contact-left h2 { margin-bottom: 24px; }
.contact-left p {
  font-size: 16px;
  color: var(--sub);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 36px;
}
.contact-info {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--accent);
}
.contact-info-icon svg { width: 16px; }
.contact-info-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 4px;
}
.contact-info-val {
  font-size: 15px;
  color: var(--text);
}

.contact-card {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 2px;
  border: 1px solid var(--line);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.7;
  margin-bottom: 28px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sub);
}
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 14px;
  transition: border-color .25s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-actions small {
  font-size: 11px;
  color: var(--sub);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--text);
  color: var(--bg);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-logo .dot { color: var(--accent); }
.footer-tag {
  font-size: 13px;
  color: rgba(245, 240, 234, 0.55);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.5);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col a, .footer-col li {
  display: block;
  font-size: 13px;
  color: rgba(245, 240, 234, 0.85);
  line-height: 2;
  list-style: none;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(245, 240, 234, 0.12);
  padding-top: 24px;
  font-size: 11px;
  color: rgba(245, 240, 234, 0.45);
  letter-spacing: 0.05em;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 234, 0.18);
  display: grid;
  place-items: center;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.footer-social a:hover { border-color: var(--accent); background: var(--accent); }
.footer-social svg { width: 14px; }

/* ═══════════════════════════════════════════════════
   FAB WHATSAPP
   ═══════════════════════════════════════════════════ */
.fab-wa {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px -10px rgba(181, 97, 74, 0.6);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.fab-wa:hover { background: var(--accent-2); transform: translateY(-2px) scale(1.04); }
.fab-wa svg { width: 26px; }

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .difs-grid    { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 28px;
  }
  .nav.is-open .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-links a:last-child { border-bottom: 0; }

  .hero { padding-top: 130px; }
  .hero-bg-block { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 32px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .difs-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps::before { display: none; }
  .spaces-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .space-1 { grid-column: 1 / -1; grid-row: span 2; }
  .space-2, .space-3, .space-4, .space-5 { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; text-align: center; }
}
