/* =====================================================
   il forno distribuciones — Sistema visual
   Paleta luminosa · tipografía editorial · sellos
===================================================== */

:root {
  /* Colores */
  --bg: #FBF7EE;          /* papel horneado */
  --cream: #F0E5CC;       /* masa */
  --cream-soft: #F7EFDC;
  --ink: #1A1814;
  --carbon: #2A2520;
  --green: #0E7C3A;
  --green-dark: #0A5A2A;
  --red: #C8281C;
  --red-dark: #9A1F15;
  --muted: #7A6F60;
  --muted-soft: #A89E8E;
  --hairline: rgba(26,24,20,0.12);
  --hairline-strong: rgba(26,24,20,0.22);

  /* Tipografía */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaciado y radios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Easings */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================================================
   TOPBAR
===================================================== */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  padding: 10px 0;
  letter-spacing: 0.04em;
}
.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; opacity: 0.85; }
.topbar-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:0.4 } }

/* =====================================================
   HEADER (sticky con blur)
===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  padding: 4px 0;
  box-shadow: 0 4px 24px -8px rgba(26,24,20,0.08);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; transition: height 0.3s ease; }
.header.scrolled .brand img { height: 38px; }

.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
}

.header-actions { display: flex; gap: 20px; align-items: center; }

.lang-switcher { display: flex; gap: 4px; align-items: center; font-size: 13px; }
.lang-switcher button {
  background: none; border: none; padding: 6px 8px;
  color: var(--muted); letter-spacing: 0.06em;
  transition: color .2s ease;
}
.lang-switcher button.active { color: var(--green); font-weight: 600; }
.lang-switcher .sep { color: var(--hairline-strong); font-size: 10px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.mobile-toggle span::before, .mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--ink);
}
.mobile-toggle span::before { top: -8px; }
.mobile-toggle span::after { top: 8px; }

/* =====================================================
   BOTONES
===================================================== */
.btn-primary, .btn-ghost, .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: transform .3s var(--ease-out), background .3s ease, color .3s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 28px;
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); }
.btn-primary svg { width: 16px; height: 16px; transition: transform .3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 15px 26px;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

.btn-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  font-size: 13px;
}
.btn-cta:hover { background: var(--red); transform: translateY(-2px); }
.btn-cta svg { width: 14px; height: 14px; transition: transform .3s ease; }
.btn-cta:hover svg { transform: translateX(3px); }

/* =====================================================
   SECCIONES base
===================================================== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-tight { padding: 60px 0; }
.section-cream { background: var(--cream-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow .bar { width: 32px; height: 1px; background: var(--red); }
.eyebrow.green .bar { background: var(--green); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
h3 { font-size: clamp(24px, 3vw, 36px); }
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--red);
}
.italic { font-style: italic; color: var(--green); font-weight: 500; }

.section-header {
  margin-bottom: 60px;
  text-align: left;
  max-width: 780px;
}
.section-header .sub {
  font-size: 18px;
  color: var(--carbon);
  margin-top: 16px;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(14,124,58,0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(200,40,28,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.hero-title .row { display: block; overflow: hidden; padding-bottom: 6px; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--green);
}
.hero-title .script {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--red);
  font-size: 0.78em;
  margin-right: 0.12em;
  display: inline-block;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--carbon);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 16px; align-items: center; margin-bottom: 56px; flex-wrap: wrap; }

.hero-meta { display: flex; gap: 48px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.hero-meta-item .lbl {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual { position: relative; height: 620px; }
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../img/lifestyle/hero.jpg');
  background-size: cover;
  background-position: 70% center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(26,24,20,0.35);
}
.hero-tag {
  position: absolute;
  top: 50%;
  left: -50px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* =====================================================
   SELLOS (elemento signature)
===================================================== */
.stamp {
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 10;
  width: 140px;
  height: 140px;
}
.stamp-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  background: var(--bg);
}
.stamp-circle::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  opacity: 0.5;
}
.stamp-text {
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  padding: 12px;
}
.stamp-text .big {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 2px;
}
.stamp-text .sm {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}
.stamp-red { color: var(--red); }
.stamp-green { color: var(--green); }

.hero .stamp-red { top: -28px; right: -28px; transform: rotate(-12deg); }
.hero .stamp-green { bottom: 32px; left: -42px; transform: rotate(8deg); }

/* =====================================================
   MARQUEE
===================================================== */
.marquee-wrap {
  padding: 28px 0;
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: scroll 35s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--carbon);
}
.marquee span { display: inline-flex; align-items: center; gap: 60px; padding-right: 60px; }
.marquee .sep { color: var(--red); font-style: normal; font-weight: 700; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   CATEGORÍAS (carrusel home + grid catálogo)
===================================================== */
.cat-carousel-wrap { position: relative; }
.cat-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 32px 24px;
  margin: 0 -32px;
  scrollbar-width: none;
}
.cat-carousel::-webkit-scrollbar { display: none; }

.cat-item {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 280px);
  scroll-snap-align: start;
  cursor: pointer;
  display: block;
}
.cat-item-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  background: var(--ink);
}
.cat-item-img-inner {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--ease-out);
}
.cat-item:hover .cat-item-img-inner { transform: scale(1.08); }
.cat-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,24,20,0.05) 0%, transparent 35%, rgba(26,24,20,0.55) 100%);
  z-index: 1;
}
.cat-item-stamp {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  width: 60px;
  height: 60px;
}
.cat-item-stamp .stamp-circle { background: var(--bg); }
.cat-item-stamp .stamp-text { padding: 4px; }
.cat-item-stamp .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: block;
  line-height: 1;
}
.cat-item-stamp .lbl {
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}
.cat-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color .25s ease;
}
.cat-item:hover .cat-item-name { color: var(--green); }

.cat-controls { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.cat-controls button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--bg);
  display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s;
}
.cat-controls button:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.cat-controls svg { width: 18px; height: 18px; }

/* Grid catálogo */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.cat-grid .cat-item { width: auto; }

/* =====================================================
   PRODUCT CARDS
===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -20px rgba(26,24,20,0.15);
  border-color: var(--hairline-strong);
}
.product-img {
  aspect-ratio: 4/5;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
  transition: transform .6s var(--ease-out);
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--muted-soft);
  font-weight: 700;
  background: var(--cream-soft);
}
.product-offer-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--ink);
}
.product-cat {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
  padding-top: 12px;
}
.product-divider {
  height: 1px;
  background: var(--hairline);
  margin: 16px 0 12px;
}
.product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s ease;
}
.product-card:hover .product-action { color: var(--green); }
.product-action svg { width: 14px; height: 14px; transition: transform .3s ease; }
.product-card:hover .product-action svg { transform: translateX(4px); }

/* =====================================================
   BANNER EDITORIAL (con foto)
===================================================== */
.editorial-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.editorial-banner-img {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
}
.editorial-banner-img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform .8s var(--ease-out);
}
.editorial-banner-img:hover .editorial-banner-img-inner { transform: scale(1.04); }
.editorial-banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,24,20,0.05) 0%, rgba(26,24,20,0.45) 100%);
  z-index: 1;
}
.editorial-banner-img-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bg);
  font-size: 16px;
  z-index: 2;
}
.editorial-banner-img-caption::before {
  content: '— ';
  color: var(--red);
}
.editorial-banner-text h2 { margin-bottom: 24px; }
.editorial-banner-text p { font-size: 17px; color: var(--carbon); margin-bottom: 16px; }
.editorial-banner-text .link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  transition: color .3s, border-color .3s;
}
.editorial-banner-text .link:hover { color: var(--green); border-color: var(--green); }

/* =====================================================
   CITA (pull-quote con foto de fondo)
===================================================== */
.quote-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  color: var(--bg);
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,24,20,0.78);
}
.quote-section .container-narrow { position: relative; z-index: 1; text-align: center; }
.quote-section .script {
  font-size: 32px;
  color: #6FB787;
  margin-bottom: 24px;
  display: block;
}
.quote-section h3 {
  font-style: italic;
  font-weight: 400;
  color: var(--bg);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 32px;
}
.quote-section h3 em {
  font-style: italic;
  color: #E8A598;
  font-weight: 500;
}
.quote-section .attribution {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 247, 238, 0.6);
}

/* =====================================================
   OFERTAS HEADER
===================================================== */
.ofertas-header {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ofertas-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(200,40,28,0.18), transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(14,124,58,0.16), transparent 45%);
}
.ofertas-header .container-narrow { position: relative; z-index: 1; }
.ofertas-header .eyebrow { color: rgba(251,247,238,0.7); }
.ofertas-header .eyebrow .bar { background: var(--red); }
.ofertas-header h1 {
  font-size: clamp(48px, 6vw, 88px);
  color: var(--bg);
  margin-bottom: 16px;
}
.ofertas-header h1 .script { color: #6FB787; }
.ofertas-header p { font-size: 18px; color: rgba(251,247,238,0.8); max-width: 600px; margin: 0 auto; }

/* =====================================================
   BUSCADOR (catálogo)
===================================================== */
.search-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 280px;
  position: relative;
}
.search-input input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .3s;
}
.search-input input:focus { outline: none; border-color: var(--green); }
.search-input svg {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
}
.search-filter select {
  padding: 14px 40px 14px 20px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231A1814' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
}
.search-filter select:focus { outline: none; border-color: var(--green); }
.search-count {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =====================================================
   CONTACT / FORM
===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-right: 20px; }
.contact-info h2 { margin-bottom: 24px; }
.contact-block { margin-bottom: 32px; }
.contact-block .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-block .value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.contact-block a { color: inherit; transition: color .25s; }
.contact-block a:hover { color: var(--green); }

.contact-form {
  background: var(--cream-soft);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(251,247,238,0.12);
  margin-bottom: 32px;
}
.footer-brand img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer-brand p {
  color: rgba(251,247,238,0.65);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 320px;
}
.footer-brand .tagline {
  font-family: var(--font-script);
  font-size: 28px;
  color: #6FB787;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,247,238,0.5);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(251,247,238,0.85);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color .25s;
}
.footer-col a:hover { color: #6FB787; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(251,247,238,0.5);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: inherit; transition: color .25s; }
.footer-bottom a:hover { color: #6FB787; }

/* =====================================================
   ANIMACIONES base (sin GSAP también funcionan)
===================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-on-scroll.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 480px; }
  .editorial-banner { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero .stamp-red { right: 8px; top: 8px; width: 110px; height: 110px; }
  .hero .stamp-green { left: 8px; bottom: 8px; width: 110px; height: 110px; }
  .hero-tag { display: none; }
}
@media (max-width: 720px) {
  .topbar { font-size: 11px; }
  .topbar-inner { flex-wrap: wrap; gap: 12px; padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .brand img { height: 36px; }
  .hero { padding: 40px 0; }
  .hero-inner { padding: 0 20px; }
  .container, .container-narrow { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .hero-meta-item .num { font-size: 28px; }
  .hero-visual { height: 380px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
