/* ===========================================================
   Sajara Vending — Boceto de propuesta
   Estilos. Paleta oro brillante + tipografía Playfair Display
   (títulos) y Source Sans 3 (texto), autoalojadas (sin Google CDN).
   =========================================================== */

/* ===== Fuentes autoalojadas (privacidad/RGPD: ningún recurso de terceros) ===== */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/playfair-display-400.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-700.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/playfair-display-800.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-400.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/source-sans-3-500.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-600.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/source-sans-3-700.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/source-sans-3-800.woff2) format('woff2'); }

:root {
  /* Paleta oro brillante */
  --teal-900: #271d06; /* marrón-oro muy oscuro — secciones oscuras */
  --teal-700: #c79320; /* oro — acentos, iconos, enlaces */
  --teal-600: #e6b422; /* oro brillante — hover, foco, brillos */
  --teal-50:  #fbf2d8; /* tinte oro muy claro */
  --green:    #f3d27a; /* oro claro — acento sobre fondo oscuro */
  --accent:   #e6b422; /* oro brillante — CTA */
  --accent-d: #c79320; /* oro — hover CTA */
  --gold-grad: linear-gradient(135deg, #f6d979 0%, #e6b422 45%, #c79320 100%); /* oro metálico */
  --ink:      #102a33;
  --muted:    #5a6b70;
  --line:     #e4ebec;
  --bg:       #ffffff;
  --bg-alt:   #fdf6f0;
  --white:    #ffffff;
  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 18px 40px -18px rgba(16, 42, 51, .25);
  --shadow-s: 0 8px 24px -12px rgba(16, 42, 51, .22);
  --maxw:     1180px;
  /* Misma tipografía que sajara.es: Playfair Display (títulos) + Source Sans (texto) */
  --font:     'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  --head:     'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* Títulos como en sajara.es: Playfair Display Regular (400), sin tracking, tono cálido */
h1, h2, h3, h4, h5 { font-family: var(--head); line-height: 1.22; color: #2a2010; font-weight: 400; letter-spacing: 0; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 16px 28px; border-radius: 999px; font-weight: 600; font-family: var(--head);
  font-size: .98rem; cursor: pointer; border: 0; /* sin borde: el degradado llega uniforme hasta el filo */
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold-grad); color: #2a2008; box-shadow: 0 8px 22px -10px rgba(199,147,32,.65); }
.btn--primary:hover { filter: brightness(1.07); }
.btn--accent { background: var(--gold-grad); color: #2a2008; box-shadow: 0 10px 26px -10px rgba(230,180,34,.7); }
.btn--accent:hover { filter: brightness(1.07); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(16,42,51,.18); color: var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--teal-700); color: var(--teal-700); }
.btn--block { width: 100%; }

/* ===== Topbar ===== */
.topbar { background: var(--teal-900); color: #f5dcc6; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 24px; justify-content: center; padding: 9px 24px; flex-wrap: wrap; }
.topbar__phone { margin-left: auto; font-weight: 600; color: #fff; }
.topbar__phone:hover { color: var(--accent); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px -16px rgba(16,42,51,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

/* Logotipo (imagen real de marca) */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: clamp(22px, 4.2vw, 30px); width: auto; display: block; }
/* En el pie (fondo oscuro) el logo va sobre una pastilla clara, porque el PNG tiene fondo blanco */
.logo--light { background: #fff; padding: 7px 13px; border-radius: 10px; }
.logo--light .logo__img { height: 24px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-weight: 500; color: var(--muted); position: relative; }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--teal-700); transition: width .2s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__cta { background: var(--gold-grad); color: #2a2008; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-family: var(--head); }
.nav__cta:hover { filter: brightness(1.07); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(230,180,34,.26), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(199,147,32,.16), transparent 60%),
    var(--bg-alt);
  padding: 72px 0 84px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-block; background: var(--teal-50); color: var(--teal-700);
  padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero__title { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: 0; line-height: 1.18; }
.hero__title span { color: var(--teal-700); }
.hero__text { margin: 22px 0 30px; font-size: 1.12rem; color: var(--muted); max-width: 540px; }
.hero__text strong { color: var(--ink); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--teal-700); font-weight: 600; font-size: .9rem; }

.hero__card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; border: 1px solid var(--line); }
.hero__card-head h3 { font-size: 1.25rem; }
.hero__card-head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

.miniform { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.miniform label, .contact__form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.miniform input, .miniform select,
.contact__form input, .contact__form textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: #fff; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.miniform input:focus, .miniform select:focus,
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(230,180,34,.25);
}
.miniform__note { font-size: .76rem; color: var(--muted); text-align: center; font-weight: 400; }
.miniform__note a { color: var(--teal-700); text-decoration: underline; }
/* Honeypot anti-spam: oculto para humanos, visible para bots */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===== Stats ===== */
.stats { background: var(--teal-900); color: #fff; padding: 48px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 8px; }
.stat__num { font-family: var(--head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.stat__plus { font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: var(--green); }
.stat p { color: #e8cbb0; font-size: .9rem; margin-top: 4px; }

/* ===== Secciones genéricas ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(135deg, var(--teal-900), var(--teal-700)); color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section--dark .section__head p { color: #f3d9c5; }

.eyebrow { display: inline-block; color: var(--teal-700); font-weight: 700; font-family: var(--head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow--light { color: var(--green); }

/* ===== Cards de servicios ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-50); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ===== Máquinas ===== */
.machines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.machine { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line); display: flex; flex-direction: column; }
/* Las dos máquinas se muestran como ficha de producto: enteras y centradas sobre blanco */
.machine__media { height: 320px; position: relative; display: flex; align-items: flex-end; padding: 18px; overflow: hidden; background: #fff; }
.machine__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 12px; z-index: 0; }
/* La modular se muestra completa (mueble entero), como ficha sobre blanco */
.machine__media--modular .machine__photo { object-fit: contain; object-position: center; padding: 12px; }
.machine__tag { background: var(--gold-grad); color: #2a2008; font-weight: 700; font-family: var(--head); font-size: .78rem; padding: 6px 14px; border-radius: 999px; position: relative; z-index: 2; box-shadow: var(--shadow-s); }
.machine__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.machine__body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.machine__body p { color: var(--muted); }

.ticks { list-style: none; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-size: .96rem; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal-700); font-weight: 800; }
.ticks--light li { color: #fff1e6; }
.ticks--light li::before { color: var(--green); }

.link-arrow { margin-top: auto; color: var(--teal-700); font-weight: 700; font-family: var(--head); }
.link-arrow:hover { color: var(--accent-d); }

/* ===== Sectores ===== */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.sector:hover { transform: translateY(-5px); box-shadow: var(--shadow-s); }
.sector span { font-size: 2rem; display: block; margin-bottom: 12px; }
.sector h4 { font-size: 1.12rem; }
.sector p { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ===== Split (saludable) ===== */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split__content h2 { color: #fff; }
.split__content p { color: #f3d9c5; margin: 16px 0 22px; font-size: 1.05rem; }
.split__visual { display: grid; place-items: center; }
.healthy-badge {
  width: 260px; height: 260px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, #f8e08a, #d2a017);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); color: #2a2008;
}
.healthy-badge__num { font-family: var(--head); font-size: 4.4rem; font-weight: 800; line-height: 1; }
.healthy-badge__label { font-weight: 600; margin-top: 6px; }

/* ===== Pasos ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; position: relative; }
.step__num { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.step h4 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ===== Features / Por qué ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 16px; }
.feature__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-s); display: grid; place-items: center; font-size: 1.7rem; margin: 0 auto 16px; }
.feature h4 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ===== Testimonios ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-s); }
.quote blockquote { font-size: 1.04rem; color: var(--ink); position: relative; padding-top: 30px; }
.quote blockquote::before { content: '“'; position: absolute; top: -10px; left: -4px; font-family: var(--head); font-size: 4rem; color: var(--teal-50); line-height: 1; }
.quote figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.quote figcaption strong { font-family: var(--head); }
.quote figcaption span { color: var(--muted); font-size: .86rem; }
.disclaimer { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 28px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 4px 22px; }
.faq__item summary { cursor: pointer; font-family: var(--head); font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--teal-700); font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 18px; }

/* ===== Contacto ===== */
.contact { background: linear-gradient(135deg, var(--teal-900), #5a4416); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__intro h2 { color: #fff; }
.contact__intro p { color: #f3d9c5; margin: 16px 0 26px; font-size: 1.05rem; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.contact__list li span { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.contact__list a:hover { color: var(--green); }

.contact__form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact__form label { color: var(--ink); margin-bottom: 16px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 400 !important; font-size: .85rem !important; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--teal-700); }
.checkbox a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }
.checkbox a:hover { color: var(--accent-d); }
.contact__feedback { background: var(--teal-50); color: var(--teal-700); padding: 14px; border-radius: var(--radius-s); text-align: center; font-weight: 600; margin-top: 14px; }

/* ===== Footer ===== */
.footer { background: var(--teal-900); color: #e8cbb0; padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 16px; font-size: .92rem; max-width: 320px; }
.footer__col h5 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__col a { display: block; padding: 5px 0; font-size: .92rem; transition: color .15s ease; }
.footer__col a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
.footer__draft { color: var(--accent); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { font-size: .82rem; }
.footer__legal a:hover { color: var(--green); }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Tipografía de interfaz =====
   Playfair Display (serif) se reserva para títulos y cifras destacadas.
   Los elementos de UI pequeños usan la sans para máxima legibilidad. */
.btn, .nav__cta, .nav__link, .eyebrow, .machine__tag, .step__num,
.faq__item summary, .footer__col h5, .link-arrow, .quote figcaption strong {
  font-family: var(--font);
}

/* ===== Fotos reales (cafetera, comida, flota) ===== */
.coffee-highlight { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 30px; box-shadow: var(--shadow-s); }
.coffee-highlight__img { display: grid; place-items: center; }
.coffee-highlight__img img { max-height: 260px; width: auto; max-width: 100%; display: block; }
.coffee-highlight__text h3 { font-size: 1.35rem; margin-bottom: 8px; }
.coffee-highlight__text p { color: var(--muted); margin-bottom: 14px; }

.food-collage { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; max-width: 460px; margin: 0 auto; }
.food-collage img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius-s); display: block; box-shadow: var(--shadow-s); }
.food-collage__badge { position: absolute; right: -12px; top: -12px; width: 104px; height: 104px; border-radius: 50%; background: var(--gold-grad); color: #2a2008; font-family: var(--head); font-weight: 800; font-size: 1.7rem; display: grid; place-content: center; text-align: center; line-height: 1; box-shadow: var(--shadow); }
.food-collage__badge small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.fleet-banner { position: relative; margin-top: 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fleet-banner img { width: 100%; height: 360px; object-fit: cover; object-position: center 80%; display: block; }
.fleet-banner figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 26px 18px; color: #fff; font-family: var(--head); font-size: 1.2rem; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }

/* ===== Páginas legales ===== */
.legal-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(173,129,56,.18), transparent 60%),
    var(--bg-alt);
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.legal-hero .eyebrow { margin-bottom: 8px; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; }
.legal-hero__updated { color: var(--muted); margin-top: 12px; font-size: .9rem; }

.legal { padding: 56px 0 84px; }
.legal h2 {
  font-size: 1.3rem; margin: 38px 0 12px; padding-top: 6px;
  display: flex; gap: 10px; align-items: baseline;
}
.legal h2:first-child { margin-top: 0; }
.legal h2 .legal__n { color: var(--teal-700); font-weight: 800; }
.legal p { color: var(--ink); margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal li { position: relative; padding-left: 26px; color: var(--ink); }
.legal li::before { content: '›'; position: absolute; left: 6px; top: -1px; color: var(--teal-700); font-weight: 800; }
.legal li strong, .legal p strong { color: var(--ink); }
.legal a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent-d); }

.legal__data {
  background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--teal-700);
  border-radius: var(--radius-s); padding: 18px 22px; margin: 14px 0 18px;
}
.legal__data p { margin: 4px 0; }

.legal__note {
  margin-top: 40px; padding: 20px 22px; background: var(--teal-50);
  border-radius: var(--radius-s); color: var(--ink); font-size: .92rem;
}
.legal__note strong { display: block; margin-bottom: 4px; font-family: var(--head); }

.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-weight: 700; font-family: var(--head); color: var(--teal-700); }
.legal__back:hover { color: var(--accent-d); }

/* ===== Animaciones reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .machines, .split, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .sectors, .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .split__visual { order: -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 14px; text-align: center; }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .topbar__item { display: none; }
  .topbar__phone { margin: 0 auto; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cards, .quotes, .sectors, .steps, .features, .contact__row { grid-template-columns: 1fr; }
  .footer__inner, .footer__bottom-inner { grid-template-columns: 1fr; text-align: left; }
  .hero__actions .btn { width: 100%; }
}

/* Fotos reales — ajustes en pantallas pequeñas */
@media (max-width: 760px) {
  .coffee-highlight { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .coffee-highlight__img img { max-height: 220px; }
  .fleet-banner img { height: 240px; }
  .fleet-banner figcaption { font-size: 1.05rem; }
}
