/*
Theme Name:        SOMA MEAT V.01
Theme URI:         https://somameat.com
Author:            SOMA MEAT CO
Author URI:        https://somameat.com
Description:       Template oficial de SOMA MEAT CO. Industria cárnica certificada TIF 422. Diseñado para WordPress + Elementor. Brand Book v3.0.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:           Privado — Uso exclusivo SOMA MEAT CO
Tags:              elementor, business, b2b, food-industry
Text Domain:       soma-meat
*/

/* ═══════════════════════════════════════════════════════════════
   SOMA MEAT CO — CSS Global del Sitio
   Brand Book v3.0 · Todas las páginas
   ═══════════════════════════════════════════════════════════════ */

:root {
  --sambuca:    #3C2415;
  --sambuca-75: rgba(60,36,21,.75);
  --sambuca-08: rgba(60,36,21,.08);
  --sambuca-04: rgba(60,36,21,.04);
  --red:        #AC1F25;
  --red-h:      #C42830;
  --red-08:     rgba(172,31,37,.08);
  --red-15:     rgba(172,31,37,.15);
  --red-brd:    rgba(172,31,37,.22);
  --silver:     #A7A9AC;
  --silver-30:  rgba(167,169,172,.30);
  --silver-12:  rgba(167,169,172,.12);
  --bg-1: #FFFFFF;
  --bg-2: #F9F7F4;
  --bg-3: #F3EDE5;
  --t1: #2A1A0D;
  --t2: #5A3820;
  --t3: #8C7B6E;
  --t4: #A7A9AC;
  --max:   1380px;
  --pad:   52px;
  --nav-h: 82px;
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-1);
  color: var(--t2);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  color: var(--sambuca);
  letter-spacing: -.02em;
}

/* ── Skip link ── */
.skip {
  position: absolute; top: -100%; left: 0; z-index: 9999;
  background: var(--red); color: #fff;
  padding: 12px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
}
.skip:focus { top: 0; }

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.tag::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--red); flex-shrink: 0;
}
.divider { width: 48px; height: 3px; background: var(--red); margin: 18px 0 22px; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; border-radius: 0; padding: 15px 36px; cursor: pointer;
  transition: all .2s ease;
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-red  { background: var(--red); color: #fff; }
.btn-red:hover  { background: var(--red-h); transform: translateY(-1px); box-shadow: 0 8px 28px var(--red-15); }
.btn-sam  { background: var(--sambuca); color: #fff; }
.btn-sam:hover  { background: #4A2C18; transform: translateY(-1px); }
.btn-out  { background: transparent; color: var(--sambuca); border: 2px solid var(--sambuca); }
.btn-out:hover  { background: var(--sambuca); color: #fff; transform: translateY(-1px); }
.btn-wht  { background: #fff; color: var(--red); border: 2px solid rgba(255,255,255,.9); }
.btn-wht:hover  { background: transparent; color: #fff; border-color: #fff; transform: translateY(-1px); }
.ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); transition: gap .2s;
}
.ghost:hover { gap: 14px; }
.ghost svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.rv.on { opacity: 1; transform: none; }
.d1 { transition-delay: .10s; } .d2 { transition-delay: .20s; }
.d3 { transition-delay: .30s; } .d4 { transition-delay: .40s; }

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
#nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--silver-12);
  box-shadow: 0 2px 16px rgba(60,36,21,.05);
  transition: box-shadow .3s;
}
#nav.raised { box-shadow: 0 4px 24px rgba(60,36,21,.10); }

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 58px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--t2); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.ham { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.ham span { display: block; width: 24px; height: 1.5px; background: var(--t2); transition: all .3s; }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

#mob {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--silver-12);
  padding: 16px 20px 24px; z-index: 999; flex-direction: column;
}
#mob.open { display: flex; }
#mob a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--t2); padding: 14px 0; border-bottom: 1px solid var(--silver-12); transition: color .2s;
}
#mob a:last-of-type { border-bottom: none; }
#mob a:hover, #mob a.active { color: var(--red); }
#mob .btn-red { margin-top: 20px; width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   PAGE HERO INTERNO
   ═══════════════════════════════════════════════ */
.page-hero {
  background: var(--bg-2);
  padding: calc(var(--nav-h) + 56px) 0 72px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--sambuca);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .12;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--t3); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero-breadcrumb a { color: var(--red); transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--sambuca); }
.page-hero-breadcrumb span { color: var(--silver-30); }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 72px); color: var(--sambuca); margin-bottom: 16px; }
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero-sub {
  font-family: 'Lora', serif; font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--t2); max-width: 600px; margin-bottom: 36px;
}
.page-hero-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red-brd); background: var(--red-08); padding: 5px 14px;
}

/* ═══════════════════════════════════════════════
   SECCIONES BASE
   ═══════════════════════════════════════════════ */
.section    { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-lg { padding: 120px 0; }
.bg-white  { background: var(--bg-1); }
.bg-warm   { background: var(--bg-2); }
.bg-cream  { background: var(--bg-3); border-top: 1px solid var(--silver-12); border-bottom: 1px solid var(--silver-12); }
.bg-sam    { background: var(--sambuca); }

.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 20px; }
.sec-h2 { font-size: clamp(26px, 4vw, 46px); color: var(--sambuca); }
.sec-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: gap .2s;
}
.sec-link svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; transition: transform .2s; }
.sec-link:hover { gap: 14px; }
.sec-link:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════
   GRIDS Y CARDS
   ═══════════════════════════════════════════════ */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--silver-12); border: 1px solid var(--silver-12); }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.card {
  background: #fff; padding: 40px 36px;
  border-top: 3px solid transparent;
  transition: all .25s ease;
}
.card:hover { border-top-color: var(--red); box-shadow: 0 8px 32px rgba(60,36,21,.08); transform: translateY(-2px); }
.card-dark { background: var(--sambuca); border-top-color: var(--red); }
.card-dark:hover { background: #4A2C18; transform: translateY(-2px); }
.card-n { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--red); margin-bottom: 16px; opacity: .6; }
.card-dark .card-n { color: rgba(172,31,37,.7); opacity: 1; }
.card-ico { width: 36px; height: 36px; margin-bottom: 18px; }
.card-ico svg { width: 36px; height: 36px; stroke: var(--red); fill: none; stroke-width: 1.25; }
.card-dark .card-ico svg { stroke: rgba(255,255,255,.55); }
.card h3 { font-size: 20px; font-weight: 800; color: var(--sambuca); margin-bottom: 10px; text-transform: uppercase; letter-spacing: -.01em; }
.card-dark h3 { color: #fff; }
.card p { font-family: 'Lora', serif; font-size: 14px; color: var(--t3); line-height: 1.75; margin-bottom: 22px; }
.card-dark p { color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════ */
#trust { background: var(--sambuca); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); max-width: var(--max); margin: 0 auto; }
.trust-item { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 14px; transition: background .2s; }
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,.06); }
.trust-ico { width: 40px; height: 40px; flex-shrink: 0; background: rgba(172,31,37,.25); border: 1px solid rgba(172,31,37,.4); display: flex; align-items: center; justify-content: center; }
.trust-ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.5; }
.trust-name { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; color: #fff; margin-bottom: 3px; }
.trust-desc { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.4; }

/* ═══════════════════════════════════════════════
   CTA FINAL B2B
   ═══════════════════════════════════════════════ */
.cta-block { background: var(--sambuca); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-45deg, transparent 0, transparent 40px, rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px); }
.cta-block .tag { color: rgba(255,255,255,.35); }
.cta-block .tag::before { background: rgba(255,255,255,.2); }
.cta-h2 { font-size: clamp(28px, 5vw, 58px); color: #fff; max-width: 760px; margin: 0 auto 14px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.025em; position: relative; }
.cta-claim { font-family: 'Lora', serif; font-size: 17px; font-style: italic; color: rgba(255,255,255,.52); max-width: 520px; margin: 0 auto 40px; position: relative; line-height: 1.55; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; position: relative; }
.cta-contacts { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; position: relative; }
.cta-ci { display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: .8px; color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.cta-ci:hover { color: rgba(255,255,255,.72); }
.cta-ci svg { width: 15px; height: 15px; stroke: rgba(172,31,37,.6); fill: none; stroke-width: 1.5; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer { background: var(--bg-2); border-top: 3px solid var(--sambuca); padding-top: 72px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.ft-logo-img { height: 52px; width: auto; margin-bottom: 14px; display: block; }
.ft-tagline { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--t3); margin-bottom: 20px; }
.ft-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-cert { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); border: 1px solid var(--red-brd); background: var(--red-08); padding: 4px 10px; }
.ft-col-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--sambuca); margin-bottom: 16px; }
.ft-links li { margin-bottom: 10px; }
.ft-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: .3px; color: var(--t3); transition: color .2s; }
.ft-links a:hover { color: var(--red); }
.ft-ci { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ft-ci svg { width: 14px; height: 14px; stroke: var(--red); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 2px; }
.ft-ci-t { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--t3); line-height: 1.5; }
.ft-ci-t a { color: var(--t3); transition: color .2s; }
.ft-ci-t a:hover { color: var(--red); }
.ft-bottom { border-top: 1px solid var(--silver-12); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ft-copy { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: .5px; color: var(--t3); }
.ft-brand-claim { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--t4); }
.ft-brand-claim em { color: var(--red); font-style: normal; }
.ft-legal { display: flex; gap: 24px; }
.ft-legal a { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--t3); transition: color .2s; }
.ft-legal a:hover { color: var(--red); }

/* ═══════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════ */
#wa { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 998; box-shadow: 0 4px 20px rgba(37,211,102,.35); transition: transform .2s, box-shadow .2s; }
#wa:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
#wa svg { width: 28px; height: 28px; fill: #fff; }

/* ═══════════════════════════════════════════════
   COMPONENTES ADICIONALES
   ═══════════════════════════════════════════════ */
.feat-list { display: flex; flex-direction: column; gap: 16px; }
.feat-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; background: #fff; border: 1px solid var(--silver-12); border-left: 3px solid var(--red); transition: box-shadow .2s; }
.feat-item:hover { box-shadow: 0 4px 20px rgba(60,36,21,.07); }
.feat-ico { width: 40px; height: 40px; flex-shrink: 0; background: var(--red-08); border: 1px solid var(--red-brd); display: flex; align-items: center; justify-content: center; }
.feat-ico svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.feat-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--sambuca); margin-bottom: 4px; }
.feat-desc { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--t3); line-height: 1.5; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--silver-12); border: 1px solid var(--silver-12); }
.step { background: #fff; padding: 36px 28px; transition: background .2s; }
.step:hover { background: var(--bg-2); }
.step-n { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 48px; color: var(--red-08); line-height: 1; margin-bottom: 12px; }
.step h4 { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--sambuca); margin-bottom: 10px; }
.step p { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--t3); line-height: 1.6; }

.stats-bar { display: flex; gap: 0; border: 1px solid var(--silver-12); }
.stat-item { flex: 1; padding: 36px 28px; text-align: center; border-right: 1px solid var(--silver-12); background: #fff; transition: background .2s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-2); }
.stat-n { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(36px, 4vw, 56px); color: var(--red); line-height: 1; margin-bottom: 8px; }
.stat-l { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--t3); }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--sambuca); color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; padding: 16px 20px; text-align: left; }
.compare-table th:first-child { background: #4A2C18; }
.compare-table td { padding: 14px 20px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; color: var(--t2); border-bottom: 1px solid var(--silver-12); }
.compare-table tr:hover td { background: var(--red-08); }
.compare-table td:first-child { font-weight: 700; color: var(--sambuca); }
.check-y { color: var(--red); font-weight: 800; }
.check-n { color: var(--t4); }

/* Tabs de sectores */
.stabs-row { display: flex; border-bottom: 2px solid var(--silver-12); overflow-x: auto; scrollbar-width: none; }
.stabs-row::-webkit-scrollbar { display: none; }
.stab { flex: 1; min-width: 110px; padding: 14px 20px; background: transparent; border: none; color: var(--t3); font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all .2s; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.stab:hover { color: var(--sambuca); background: var(--bg-2); }
.stab.on { color: var(--red); border-bottom-color: var(--red); font-weight: 700; }
.spanel { display: none; grid-template-columns: 1fr 1fr; border: 1px solid var(--silver-12); border-top: none; min-height: 420px; }
.spanel.on { display: grid; }
.sp-txt { background: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.sp-img { position: relative; overflow: hidden; background: var(--bg-3); }
.sp-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .55s; }
.sp-img:hover img { transform: scale(1.04); }
.sp-ov { position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,.1) 0%, transparent 40%); }
.sp-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.sp-feat { display: flex; align-items: flex-start; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--t2); }
.sp-feat::before { content: '—'; color: var(--red); flex-shrink: 0; }

/* FAQ acordeón */
.faq-item { border: 1px solid var(--silver-12); margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; padding: 18px 24px; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px; color: var(--sambuca); text-align: left; text-transform: uppercase; letter-spacing: -.01em; transition: background .2s; }
.faq-q:hover { background: var(--bg-2); }
.faq-q svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q { background: var(--red); color: #fff; }
.faq-item.open .faq-q svg { stroke: #fff; transform: rotate(180deg); }
.faq-a { display: none; padding: 20px 24px; background: var(--bg-2); font-family: 'Lora', serif; font-size: 15px; color: var(--t2); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* Formularios */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }
.form-group label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sambuca); }
.form-group input, .form-group select, .form-group textarea { font-family: 'Lora', serif; font-size: 15px; color: var(--t1); background: #fff; border: 1px solid var(--silver-12); border-bottom: 2px solid var(--silver-30); padding: 14px 18px; outline: none; transition: border-color .2s, box-shadow .2s; border-radius: 0; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23AC1F25' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-color: #fff; padding-right: 40px; cursor: pointer; }

/* ═══════════════════════════════════════════════
   HERO HOMEPAGE (split layout)
   ═══════════════════════════════════════════════ */
#hero { position: relative; min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--bg-2); }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 72px var(--pad) 72px var(--pad); max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); background: var(--red-08); border: 1px solid var(--red-brd); padding: 7px 18px; width: fit-content; margin-bottom: 28px; }
.dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.25} }
.hero-h1 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: clamp(40px, 5.5vw, 72px); line-height: .96; letter-spacing: -.03em; color: var(--sambuca); text-transform: uppercase; }
.hero-h1 mark { background: none; color: var(--red); }
.hero-h2 { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: clamp(17px, 2vw, 22px); color: var(--t2); letter-spacing: -.01em; text-transform: none; line-height: 1.35; margin-bottom: 36px; max-width: 480px; }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.pill { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--t2); border: 1px solid var(--silver-30); background: #fff; padding: 6px 14px; box-shadow: 0 1px 4px rgba(60,36,21,.05); }
.pill-mark { color: var(--red); margin-right: 3px; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-right { position: relative; overflow: hidden; background: var(--bg-3); }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(249,247,244,.30) 0%, transparent 25%); }
.hero-tif { position: absolute; bottom: 36px; left: -14px; background: var(--red); padding: 14px 22px; box-shadow: 0 6px 24px rgba(172,31,37,.3); z-index: 2; }
.hero-tif small { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.hero-tif strong { display: block; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 32px; color: #fff; line-height: 1; }
.hero-tif span { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet ≤1080px
   ═══════════════════════════════════════════════ */
@media (max-width: 1080px) {
  :root { --pad: 32px; }
  .nav-links, .nav-cta-d { display: none; }
  .ham { display: flex; }
  .nav-inner { padding: 0 var(--pad); }
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { max-width: 100%; padding: 72px var(--pad); }
  .hero-right { min-height: 56vw; display: block; }
  .hero-tif { left: 20px; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ft-grid > div:first-child { grid-column: span 2; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .trust-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); }
  .trust-item:nth-child(4) { border-right: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .spanel { grid-template-columns: 1fr; }
  .sp-txt { padding: 40px 32px; }
  .sp-img { min-height: 260px; }
  .sp-img img { position: relative; height: 260px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile ≤640px
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --pad: 20px; --nav-h: 70px; }
  .nav-logo img { height: 46px; }
  .section, .section-sm, .section-lg { padding: 64px 0; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .cta-contacts { flex-direction: column; gap: 14px; align-items: center; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
  .ft-grid > div:first-child { grid-column: auto; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ft-brand-claim { display: none; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--silver-12); }
  .page-hero { padding: calc(var(--nav-h) + 32px) 0 52px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stab { min-width: 90px; font-size: 11px; padding: 12px 10px; }
  .sp-txt { padding: 28px 20px; }
  .sp-img { min-height: 200px; }
  .sp-img img { height: 200px; }
  #wa { bottom: 20px; right: 16px; width: 50px; height: 50px; }
  #wa svg { width: 24px; height: 24px; }
}
