/* =========================================================
   FarmTech — estilos del sitio
   Paleta tomada del logo: índigo → violeta → magenta
   ========================================================= */
:root {
  --bg: #f6f4fb;
  --bg-2: #eeeaf7;
  --surface: #ffffff;
  --ink: #171a46;
  --ink-soft: #464a72;
  --mute: #5f6386;
  --line: rgba(23, 26, 70, .1);
  --indigo: #2a2f8f;
  --violet: #6c3fc4;
  --magenta: #c13f9e;
  --pink: #e86fb8;
  --grad: linear-gradient(120deg, #2a2f8f 0%, #6c3fc4 52%, #c13f9e 100%);
  --wa: #1fa855;
  --wa-dark: #178a45;
  --ok: #1f9d63;
  --warn: #c27a10;
  --out: #b3364a;
  --glass: rgba(255, 255, 255, .72);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 26, 70, .06), 0 12px 32px -12px rgba(42, 47, 143, .22);
  --shadow-lg: 0 40px 80px -30px rgba(42, 47, 143, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; margin-top: 2.5rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; }
.fine { font-size: .85rem; color: var(--mute); }
.kicker { font: 600 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: .9rem; }

/* ---------- Glass ---------- */
.glass { background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow); }
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass { background: var(--glass); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); }
}

/* ---------- Mesh gradient ---------- */
.mesh { position: absolute; inset: -8% 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.mesh i:nth-child(1) { width: 52vw; height: 52vw; left: -8vw; top: -12vw; background: #8f95ff; animation: drift1 26s ease-in-out infinite; }
.mesh i:nth-child(2) { width: 44vw; height: 44vw; right: -6vw; top: 0; background: #e58ad0; animation: drift2 32s ease-in-out infinite; }
.mesh i:nth-child(3) { width: 38vw; height: 38vw; left: 30vw; top: 18vw; background: #b49cff; animation: drift3 28s ease-in-out infinite; }
.mesh-soft i { opacity: .32; }
@keyframes drift1 { 50% { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-10vw, 8vw) scale(.92); } }
@keyframes drift3 { 50% { transform: translate(-6vw, -6vw) scale(1.15); } }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--bh); padding: 0 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(108, 63, 196, .7); }
.btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(108, 63, 196, .8); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(108, 63, 196, .4); background: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 14px 30px -14px rgba(31, 168, 85, .8); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-light { background: #fff; color: var(--indigo); }
.btn-sm { --bh: 42px; padding: 0 1rem; font-size: .9rem; }
.btn-lg { --bh: 60px; padding: 0 1.8rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav-inner {
  pointer-events: auto; width: min(100% - 24px, 1240px); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem; height: 64px; padding: 0 .6rem 0 1.1rem; border-radius: 999px;
  transition: box-shadow .3s, background-color .3s;
}
.nav.is-scrolled .nav-inner { box-shadow: 0 10px 30px -14px rgba(23, 26, 70, .35); }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand span { font: 800 1.25rem/1 var(--f-display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: .2rem; }
.nav-links a { position: relative; padding: .55rem .75rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink-soft); transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: rgba(108, 63, 196, .09); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(108, 63, 196, .1); position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 19px; } .nav-toggle span:last-child { top: 26px; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet { display: none; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-sheet {
    pointer-events: auto; display: grid; gap: .25rem; width: min(100% - 24px, 520px); margin: 8px auto 0; padding: 1rem;
    background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-sheet a:not(.btn) { padding: .8rem .9rem; border-radius: 12px; text-decoration: none; font-weight: 600; }
  .nav-sheet a:not(.btn):hover { background: var(--bg); }
  .nav-sheet .btn { margin-top: .5rem; }
  .nav.is-open .nav-sheet { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
}
@media (max-width: 520px) { .nav-cta { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--nav-h) + 72px) 0 72px; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 1.6rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(31, 168, 85, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; margin-bottom: 1.4rem; }
.hero-title em { font-size: 1.08em; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual { position: relative; }
.hero-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; transform: rotate(1.5deg); animation: bob 9s ease-in-out infinite; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 50% { transform: rotate(1.5deg) translateY(-10px); } }
.float-chip { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem; border-radius: 18px; font-size: .9rem; line-height: 1.3; }
.float-chip strong { font-family: var(--f-display); }
.float-chip svg { width: 28px; height: 28px; color: var(--violet); flex: none; }
.chip-a { left: -28px; bottom: 34px; flex-direction: column; align-items: flex-start; gap: .15rem; }
.chip-a strong { color: var(--ok); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.chip-b { right: -18px; top: -22px; max-width: 220px; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 48px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 16ch; }
  .chip-a { left: 10px; bottom: -22px; }
  .chip-b { right: 10px; top: -20px; }
}

/* ---------- Brands ---------- */
.brands { padding: 2.5rem 0 1rem; }
.brands-label { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.4rem; }
.brands-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.brand-tile { margin: 0; display: grid; place-items: center; gap: .9rem; padding: 1.6rem 1.2rem 1.3rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-tile img { height: 72px; width: auto; object-fit: contain; }
.brand-tile figcaption { font-size: .85rem; color: var(--mute); }
@media (max-width: 700px) {
  .brands-row { grid-template-columns: 1fr 1fr; }
  .brand-tile:last-child { grid-column: 1 / -1; }
  .brand-tile img { height: 56px; }
}

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tight { padding: 3rem 0 5rem; }
.section-tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 760px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem 4rem; align-items: end; }
.section-head.split p:last-child { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.svc { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc:nth-child(1) { grid-column: span 3; } .svc:nth-child(2) { grid-column: span 3; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-media { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-media.is-cutout img { object-fit: contain; padding: .6rem; mix-blend-mode: multiply; }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-num { font: 600 .8rem/1 var(--f-body); color: var(--violet); letter-spacing: .1em; margin-bottom: .7rem; }
.svc-body h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.svc-body p { color: var(--ink-soft); font-size: .95rem; }
.svc-go { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--violet); }
.svc-go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc:hover .svc-go svg { transform: translateX(4px); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 1; } .svc:nth-child(1) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc:nth-child(1) { grid-column: auto; } }

/* ---------- 24/7 band ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0; background: #1a1d5c; }
.band-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 15% 30%, rgba(108, 63, 196, .85), transparent 70%), radial-gradient(50% 70% at 90% 90%, rgba(193, 63, 158, .7), transparent 70%); }
.band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.band-big { font: 800 clamp(6rem, 15vw, 12rem)/.9 var(--f-display); letter-spacing: -.06em; display: flex; align-items: baseline; }
.band-sep { opacity: .45; margin: 0 .04em; font-weight: 400; }
.band-copy h2 { color: #fff; margin-bottom: 1.2rem; }
.band-copy p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 56ch; }
.band-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; }
.band-list li { display: flex; gap: .55rem; align-items: center; font-weight: 500; }
.band-list svg { width: 20px; height: 20px; color: #9ef0bf; flex: none; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } .band-list { grid-template-columns: 1fr; } }

/* ---------- Feature (tanques) ---------- */
.feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-copy h2 { margin-bottom: 1rem; }
.feature-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1.2rem; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); touch-action: pan-y; }
.gallery-main img[data-slide] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.03); }
.gallery-main img[data-slide].is-on { opacity: 1; transform: none; }
.is-cutout .gallery-main { aspect-ratio: 1; box-shadow: var(--shadow); }
.is-cutout .gallery-main img[data-slide] { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 1.7rem; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .25s var(--ease), background-color .2s; }
.g-nav:hover { transform: scale(1.08); background: #fff; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.gallery-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.gallery-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(23, 26, 70, .2); transition: width .3s var(--ease), background-color .3s; }
.gallery-dots button.is-on { width: 28px; background: var(--violet); }
.thumbs { display: flex; gap: .6rem; margin-top: .9rem; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: 64px; padding: 0; border-radius: 12px; border: 2px solid transparent; overflow: hidden; background: #fff; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumbs button.is-on, .thumbs button:hover { opacity: 1; border-color: var(--violet); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.is-cutout .thumbs img { object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Chips / variants ---------- */
.field-label { font-weight: 600; font-size: .9rem; margin: 1.6rem 0 .7rem; }
.chips, .filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.15rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { border-color: rgba(108, 63, 196, .45); transform: translateY(-1px); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.variant-detail { margin: .9rem 0 0; color: var(--ok); font-weight: 600; min-height: 1.6em; }
.variant-detail:empty { display: none; }

/* ---------- MilkBoss ---------- */
.mb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mb-logo { height: 54px; width: auto; border-radius: 6px; margin-bottom: 1.6rem; }
.mb-copy h2 { margin-bottom: 1.1rem; }
.mb-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .8rem; }
.mb-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.mb-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.mb-list strong { color: var(--ink); }
.mb-media { position: relative; justify-self: center; width: min(100%, 420px); }
.mb-video { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: var(--r-lg); background: #ececec; box-shadow: var(--shadow-lg); }
.mb-stat { position: absolute; left: -32px; bottom: 40px; padding: 1rem 1.2rem; border-radius: 18px; display: grid; font-size: .85rem; color: var(--ink-soft); }
.mb-stat strong { font: 700 1.15rem/1.2 var(--f-display); color: var(--ink); }
@media (max-width: 860px) { .mb-grid { grid-template-columns: 1fr; } .mb-stat { left: 10px; } }

/* ---------- Cold rooms ---------- */
.cold-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 1rem; }
.cold { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.cold img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cold:hover img { transform: scale(1.05); }
.cold-1 { grid-row: span 2; }
.cold-4 { grid-column: span 2; }
@media (max-width: 760px) {
  .cold-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .cold-1 { grid-column: 1 / -1; grid-row: auto; }
  .cold-4 { grid-column: 1 / -1; }
}

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #f4f3f8; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card-media.is-cutout { background: #fff; }
.card-media.is-cutout img { object-fit: contain; padding: 5%; mix-blend-mode: multiply; }
.card:hover .card-media img { transform: scale(1.06); }
.badge { position: absolute; right: 12px; top: 12px; padding: .35rem .7rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 600; }
.badge-alt { background: var(--ink); }
.card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: .45rem; }
.card-title { font-size: 1.12rem; margin-bottom: .45rem; }
.card-text { font-size: .9rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-chips { font-size: .82rem; color: var(--mute); margin-top: -.3rem; }
.card-foot { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price { font: 700 1.2rem/1 var(--f-display); }
.price small { font: 500 .75rem var(--f-body); color: var(--mute); }
.price-quote { font-size: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.state { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state.is-ok { color: var(--ok); } .state.is-order { color: var(--warn); } .state.is-out { color: var(--out); }

/* Placeholder (sin foto) */
.ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .8rem; background: radial-gradient(80% 80% at 30% 20%, #e7e2fb, #f6f4fb 70%); }
.ph-logos { display: flex; gap: 1rem; align-items: center; justify-content: center; padding: 0 1rem; }
.ph-logos img { height: 60px; width: auto; max-width: 160px; object-fit: contain; mix-blend-mode: normal !important; padding: 0 !important; border-radius: 6px; }
.ph span { font-size: .78rem; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }
.gallery-main .ph-logos img { height: 90px; }

/* Rail (carrusel horizontal) */
.rail { overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; padding: 1rem 0 2rem; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 1.1rem; padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); width: max-content; }
.card-rail { width: 270px; flex: none; scroll-snap-align: start; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 1.2rem; }
.contact .lead { margin-bottom: 2rem; }
.contact-list { list-style: none; margin: 0; padding: 1.4rem; border-radius: var(--r-lg); display: grid; gap: .3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem .6rem; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list svg { width: 24px; height: 24px; color: var(--violet); flex: none; margin-top: 2px; }
.contact-list span { display: block; font-size: .78rem; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--violet); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Catalog / Product pages ---------- */
.page-hero, .product { position: relative; isolation: isolate; padding: calc(var(--nav-h) + 56px) 0 2rem; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 1rem; }
.page-hero .lead { margin-bottom: 2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--mute); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--violet); }
.empty, .notice { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r-lg); }
.empty h2, .notice h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .7rem; }
.empty p, .notice p { color: var(--ink-soft); }
.notice { margin-top: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

.product { padding-bottom: 3rem; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
.product-info h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-bottom: 1.2rem; }
.tag { padding: .3rem .7rem; border-radius: 999px; background: var(--bg-2); font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.tag-brand { background: var(--grad); color: #fff; }
.buy { margin: 1.8rem 0; padding: 1.4rem; border-radius: var(--r-md); display: grid; gap: .9rem; }
.buy-price { margin: 0; font: 800 2.2rem/1 var(--f-display); letter-spacing: -.03em; }
.buy-price small { font: 500 .85rem var(--f-body); color: var(--mute); letter-spacing: 0; }
.buy-quote { font-size: 1.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.buy .btn { width: 100%; }
.buy .fine { margin: 0; text-align: center; }
.desc { color: var(--ink-soft); }
.desc ul { padding: 0; list-style: none; display: grid; gap: .6rem; margin: 0 0 1.2rem; }
.desc li { position: relative; padding-left: 1.5rem; }
.desc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.desc strong { color: var(--ink); }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } .product-gallery { position: static; } }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr .8fr; gap: 2rem; }
.footer-brand img { width: 170px; height: auto; }
.footer h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; font-family: var(--f-body); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .94rem; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--violet); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--mute); }
.footer-base p { margin: 0; }
.footer .legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer .legal a { text-decoration: underline; text-underline-offset: 3px; }
/* Páginas legales */
.legal-page { max-width: 760px; }
.legal-page h2 { font-size: 1.35rem; margin: 2.4rem 0 .8rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin: 0 0 1rem; }
.legal-page .updated { font-size: .9rem; color: var(--mute); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -8px rgba(31, 168, 85, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* Solo efectos intrusivos se desactivan con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .mesh i { animation: none; }
  .hero-photo { animation: none; }
}
