/* Ferre Materiales A&G — hoja de estilos del sitio
   Paleta del logo A&G: amarillo #F8CF0E, gris carbón #2B2C30 / #424246, blanco. TEQFLOW conserva su azul. */
:root {
  --ink: #2b2c30;
  --ink-800: #35363b;
  --ink-700: #424246;
  --muted: #5f5f5f;
  --line: #e7e7e4;
  --soft: #f5f5f2;
  --white: #ffffff;
  --energy: #f8cf0e;
  --energy-dark: #8f7100;
  --energy-soft: #fff7d1;
  --fx: #f8cf0e;
  --teq: #0a96c2;
  --teq-dark: #07729a;
  --radius: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* Identidad FXP: negro #131313 + verde #7ED957 (aplica solo dentro de .fxp-zone) */
.fxp-zone { --ink: #131313; --ink-800: #1c1c1c; --energy: #7ed957; --energy-dark: #3f8a1f; --energy-soft: #eaf8e3; }
.fxp-zone .btn-energy:hover { background: #95e572; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--energy); outline-offset: 2px; }
::selection { background: var(--energy); color: var(--ink); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 16px; border-radius: 999px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; }
.h1 { font-size: clamp(40px, 7vw, 76px); }
.h2 { font-size: clamp(34px, 5vw, 52px); }
.h3 { font-size: clamp(24px, 3vw, 30px); }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.muted { color: var(--muted); }
.on-dark .muted, .dark .muted { color: rgba(255,255,255,.68); }
.green { color: var(--energy); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; font-family: inherit; }
.btn-energy { background: var(--energy); color: var(--ink); }
.btn-energy:hover { background: #ffdc3a; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ececec; }
.btn-teq { background: var(--teq); color: #fff; }
.btn-teq:hover { background: var(--teq-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: rgba(17,17,17,.25); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(43,44,48,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.logo { flex: 0 0 auto; }
.logo img { height: 54px; width: auto; max-width: none; flex: 0 0 auto; }
@media (max-width: 640px) { .header-row { height: 72px; } .logo img { height: 46px; } }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-main a { text-decoration: none; color: rgba(255,255,255,.72); padding: 8px 0; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 44px; padding: 0 20px; display: none; }
.menu-toggle { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle:hover { background: rgba(255,255,255,.1); }
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu { position: fixed; inset: 72px 0 0 0; background: var(--ink); overflow-y: auto; padding: 24px 0 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu li a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--display); font-size: 24px; font-weight: 600; text-decoration: none; }
.mobile-menu .btn { width: 100%; margin-top: 28px; }
@media (min-width: 640px) { .header-actions .btn { display: inline-flex; } }
@media (min-width: 1024px) { .nav-main { display: block; } .menu-toggle { display: none; } }

/* Secciones */
.section { padding: 96px 0; }
.dark { background: var(--ink); color: #fff; }
.soft { background: var(--soft); }
.stack > * + * { margin-top: 20px; }
.section-head { max-width: 760px; }
.section-head > * + * { margin-top: 16px; }
.section-top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
@media (min-width: 640px) { .section-top { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.glow { position: absolute; border-radius: 999px; filter: blur(120px); pointer-events: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-copy > * + * { margin-top: 28px; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 420px; }
.hero-collage figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-collage figure:first-child { grid-row: span 2; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .hero-collage { height: 520px; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; padding-top: 112px; padding-bottom: 112px; } }

.page-hero { padding: 88px 0; }
.page-hero > .container > * + * { margin-top: 22px; }
.page-hero p.lead { max-width: 680px; }

/* Cifras */
.stats { border-bottom: 1px solid var(--line); }
.stats dl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 40px 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; }
@media (min-width: 1024px) { .stats dl { grid-template-columns: repeat(4, 1fr); } }

/* Grillas */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .lg-2 { grid-template-columns: repeat(2, 1fr); } }
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }

/* Tarjetas de marca */
.brand-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.brand-card.is-fxp { background: var(--ink); color: #fff; border-color: var(--ink); }
.brand-band { height: 96px; display: flex; align-items: center; padding: 0 32px; }
.brand-band img { height: 44px; width: auto; }
.band-fx { background: var(--fx); }
.band-teq { background: var(--teq); }
.brand-card.is-teq { background: linear-gradient(180deg, #0a96c2, #07729a); color: #fff; border-color: #0a96c2; }
.is-teq .eyebrow.accent-teq { color: #d3f0fb; }
.is-teq .chips li { background: rgba(255,255,255,.16); color: #fff; }
.logo-pill { display: inline-flex; background: #fff; border-radius: 12px; padding: 8px 14px; }
.band-fxp { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.brand-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.brand-card:hover .media img { transform: scale(1.03); }
.brand-body { display: flex; flex-direction: column; gap: 16px; padding: 32px; flex: 1; }
.brand-body .btn { margin-top: auto; align-self: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--soft); font-size: 14px; }
.is-fxp .chips li { background: rgba(255,255,255,.1); }
.accent-fx { color: var(--ink); }
.accent-teq { color: var(--teq); }
.others { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding: 28px 32px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.others ul { display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--display); font-weight: 600; font-size: 20px; color: #7a7a7a; }
@media (min-width: 640px) { .others { flex-direction: row; align-items: center; gap: 32px; } }

/* FXP */
.fxp-logo { height: 64px; width: auto; }
@media (min-width: 640px) { .fxp-logo { height: 80px; } }
.fxp-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 3; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.fxp-photo img { width: 100%; height: 100%; object-fit: cover; }
.fxp-features { display: grid; gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.1); }
.fxp-features li { background: var(--ink); padding: 28px; }
.fxp-features strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; }
.fxp-features span { display: block; margin-top: 8px; color: rgba(255,255,255,.62); }
@media (min-width: 640px) { .fxp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fxp-features { grid-template-columns: repeat(3, 1fr); } }

/* Productos */
.product { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.product .media { aspect-ratio: 4 / 3; background: #fff; }
.product .media img { width: 100%; height: 100%; object-fit: cover; }


.product-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.product-body h3 { font-size: 18px; line-height: 1.3; }
.product-body .link-arrow { margin-top: auto; padding-top: 12px; font-size: 14px; }
.line-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius); background: var(--soft); }
.line-card h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.line-card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 14px; }
.bar { width: 40px; height: 6px; border-radius: 999px; background: var(--energy); }

/* Proyectos */
.gallery { display: grid; gap: 20px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.project { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-800); aspect-ratio: 4 / 3; margin: 0; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.project:hover img { transform: scale(1.04); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.05) 55%, transparent); }
.project figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; }
.project figcaption strong { display: block; margin-top: 6px; font-size: 18px; line-height: 1.3; }

/* Cobertura */
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 16px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; }
.pills li.dashed { background: transparent; border: 1px dashed #a8a8a8; color: var(--muted); }
.checks { display: grid; gap: 12px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--energy-dark); }

/* CTA */
.cta { background: var(--energy); color: var(--ink); }
.cta .container { display: flex; flex-direction: column; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .cta .container { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Catálogos */
.catalog { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.catalog .cover { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 24px; font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -0.03em; line-height: 1; }
.catalog .cover { align-items: center; justify-content: center; padding: 28px; }
.catalog .cover img { width: 100%; max-width: 220px; max-height: 70%; height: auto; object-fit: contain; }
.cover-fx { background: #ffc400; }
.cover-teq { background: linear-gradient(135deg, var(--teq), var(--teq-dark)); }
.catalog .cover-teq img { background: #fff; border-radius: 14px; padding: 10px 14px; max-width: 170px; box-sizing: content-box; }
.cover-fxp { background: #131313; }
.cover-fxp img { max-width: 160px; }
.cover-ferre { background: #fff; border-bottom: 1px solid var(--line); }
.catalog-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.catalog-body .btn { margin-top: auto; align-self: flex-start; }

/* Marca (páginas) */
.brand-hero-fx { background: var(--fx); color: var(--ink); }
.brand-hero-teq { background: var(--teq); color: #fff; }
.brand-hero .split { padding-top: 80px; padding-bottom: 80px; }
.brand-hero .stack > * + * { margin-top: 26px; }
.brand-hero .logo-box img { height: 56px; width: auto; }
.brand-hero-teq .logo-box { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 20px; }
.brand-hero .photo { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .brand-hero .photo { aspect-ratio: 4 / 3; } }

/* Formularios */
.panel { border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
@media (min-width: 640px) { .panel { padding: 40px; } }
.form { display: grid; gap: 20px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field { display: block; width: 100%; border: 1px solid #d4d4d4; border-radius: 12px; background: #fff; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(248,207,14,.55); }
textarea.field { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; } }
.two-col { display: grid; gap: 56px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1.4fr; } .two-col.even { grid-template-columns: 1fr 1fr; } }

/* Contacto */
.contact-cards { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-cards a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); text-decoration: none; overflow-wrap: anywhere; }
.contact-cards a:hover { background: rgba(255,255,255,.1); }
.contact-cards svg { width: 24px; height: 24px; color: var(--energy); }
.contact-cards small { color: rgba(255,255,255,.6); font-size: 14px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: 14px; }
.footer-grid { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; } }
.footer-grid h2 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-grid li + li, .footer-grid address p + p { margin-top: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid address { font-style: normal; }
.footer-logo { height: 60px; width: auto; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; padding-bottom: 24px; font-size: 12px; color: rgba(255,255,255,.5); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 999px; background: #1fa855; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* App Cliente A&G */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 170px; padding: 10px 22px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.28); line-height: 1.15; }
.store-btn small { font-size: 11px; opacity: .75; }
.store-btn strong { font-family: var(--display); font-size: 20px; font-weight: 600; }
.store-btn:hover { border-color: var(--energy); }
.app-phones { display: flex; justify-content: center; align-items: flex-end; gap: 20px; }
.app-phones img { width: 46%; max-width: 260px; height: auto; border-radius: 28px; box-shadow: 0 0 0 8px #111, 0 30px 60px rgba(0,0,0,.45); }
.app-phones img + img { margin-bottom: 48px; }
.qr-row { display: flex; flex-wrap: wrap; gap: 20px; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.qr img { width: 160px; height: 160px; }
.steps { list-style: none; display: grid; gap: 16px; padding: 0; margin: 0; }
.steps li { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps h3 { font-family: var(--display); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.step-n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--energy); color: var(--ink); font-family: var(--display); font-weight: 700; }
.brand-hero-teq { background: linear-gradient(135deg, #0a96c2, #07729a); }
.brand-hero-teq .photo { aspect-ratio: 3 / 2; box-shadow: 0 30px 60px rgba(0,35,55,.35); }
.app-video { display: flex; justify-content: center; }
.app-video video { width: 100%; max-width: 340px; height: auto; aspect-ratio: 9 / 16; border-radius: 24px; background: #000; box-shadow: 0 0 0 6px #111, 0 30px 60px rgba(0,0,0,.45); }
.logo-pill img { height: 36px; }
.others ul { align-items: center; gap: 16px 36px; }
.others .logo-item img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.others .logo-item img[alt="Chint"] { height: 40px; }
.others .logo-item img[alt="CAIVET"] { height: 64px; }
.others ul { gap: 16px 28px; }
.others .logo-item img { height: 26px; max-width: 120px; }
.others .logo-item img[alt="Chint"] { height: 34px; }
.others .logo-item img[alt="CAIVET"] { height: 52px; }
@media (min-width: 640px) { .others { flex-direction: column; align-items: stretch; gap: 18px; } }
.others ul { justify-content: space-between; gap: 18px 24px; }
@media (max-width: 899px) { .others ul { justify-content: flex-start; } }
.others-head h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.others-head p { margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--energy-dark); }
.ind-grid { display: grid; gap: 16px; margin: 6px 0 10px; }
@media (min-width: 760px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
.ind-cat { padding: 22px 24px; border-radius: 16px; background: var(--soft, #f5f5f3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.ind-cat h4 { font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding-left: 12px; border-left: 4px solid var(--energy); }
.ind-cat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px 20px; }
@media (min-width: 480px) { .ind-cat ul { grid-template-columns: repeat(2, 1fr); } }
.ind-cat li { position: relative; padding-left: 16px; font-size: 15px; color: var(--ink-700, #424246); }
.ind-cat li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--energy); }
.ind-cat .link-arrow { margin-top: auto; }
.ind-brands-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #6b6b6b); margin-top: 6px; }
.ind-cat h4, .ind-cat ul, .ind-cat li { margin: 0; }
.ind-cat { gap: 16px; }
@media (max-width: 639px) { .others-head h3 { font-size: 19px; } .ind-cat h4 { font-size: 16px; } }
.ind-cat ul { align-items: start; }
@media (min-width: 760px) {
  .ind-cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ind-cat:last-child:nth-child(odd) ul { grid-template-columns: repeat(3, 1fr); }
}
.nav-main ul { text-transform: uppercase; font-size: 14px; letter-spacing: .04em; gap: 26px; }
.footer-grid h2 { text-transform: uppercase; letter-spacing: .08em; }
.mobile-nav a, .nav-mobile a { text-transform: uppercase; }
.staff-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.45); text-decoration: none; font-size: 12px; }
.staff-link:hover { color: #fff; }

/* Páginas por línea */
.crumbs { font-size: 13px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.h3-like { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.h4-like { font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding-left: 12px; border-left: 4px solid var(--energy); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--energy-dark); border-bottom: 2px solid var(--energy-dark); transform: rotate(-45deg); }
.line-card h3 a { color: inherit; text-decoration: none; }
.line-card h3 a:hover { text-decoration: underline; }
.line-links { margin-top: auto; display: flex; align-items: center; gap: 20px; padding-top: 8px; font-size: 14px; }
.line-links .link-arrow { margin-top: 0; padding-top: 0; }
.link-quiet { color: var(--muted, #6b6b6b); font-weight: 600; text-decoration: none; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; }
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--energy-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-700, #424246); }
.chips-links a { text-decoration: none; color: inherit; }
.chips-links li:hover { background: var(--energy-soft); }
.ind-logos { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.ind-logos img { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.ind-logos img[alt="CAIVET"] { height: 60px; }
.ind-logos img[alt="Chint"] { height: 42px; }
.nav-main a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1239px) { .nav-main { display: none; } .menu-toggle { display: inline-flex; } }
.mobile-menu li a { text-transform: uppercase; }
.map { position: relative; min-height: 460px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
.map-btn { position: absolute; left: 16px; bottom: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
/* Oculta la tarjeta superior de Google Maps */
.map iframe { height: 100%; min-height: 460px; margin-top: 0; }
/* Banner sorteo */
.promo { background: linear-gradient(90deg, #f8cf0e, #ffdc3a); color: #2b2c30; }
.promo-inner { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.promo-tag { flex: none; background: #2b2c30; color: #f8cf0e; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.promo-text { flex: 1 1 420px; margin: 0; font-size: 16px; line-height: 1.5; }
.promo-btn { flex: none; }
.app-access { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; color: rgba(255,255,255,.8); font-size: 15px; max-width: 520px; }
.app-access a { color: #f8cf0e; }
.calc-hint { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.72); max-width: 640px; }
.site-header .btn { white-space: nowrap; }
.nav-main ul { gap: 22px; letter-spacing: .03em; font-size: 13.5px; }
@media (min-width: 1024px) and (max-width: 1439px) { .nav-main { display: none; } .menu-toggle { display: inline-flex; } }
.cover-fxt { background: #ffc400; }
.models-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.models { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.models th { text-align: left; background: var(--ink); color: #fff; padding: 12px 16px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.models td { padding: 12px 16px; border-top: 1px solid var(--line); }
.models tr:nth-child(even) td { background: var(--soft); }
.models code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: var(--energy-soft); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.ind-logos img[alt="Cablesca"] { height: 46px; width: auto; }
.ind-logos img[alt="Cabel"] { height: 44px; width: auto; }
.ind-logos img[alt="3M"] { height: 36px; width: auto; }
.ind-logos img[alt="Aralven"] { height: 32px; width: auto; }
.logo-pill img { width: auto; max-width: 100%; height: 36px; object-fit: contain; }
.logo-pill img[alt="CAIVET"] { height: 52px; }
.logo-pill img[alt="Chint"] { height: 40px; }

.social { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
.footer-grid .social a { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .15s, color .15s, border-color .15s; }
.footer-grid .social a:hover { background: #ffc400; border-color: #ffc400; color: #2b2c30; }

.pf-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.pf-search { width: 100%; max-width: 520px; padding: 14px 18px; font: inherit; font-size: 16px; border: 1px solid #d0d0d4; border-radius: 12px; background: #fff; color: #2b2c30; }
.pf-search:focus { outline: 2px solid #ffc400; border-color: #ffc400; }
.pf-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-btn { font: inherit; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 1px solid #d0d0d4; background: #fff; color: #2b2c30; cursor: pointer; }
.pf-btn.is-on { background: #2b2c30; border-color: #2b2c30; color: #fff; }
.pf-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pf-card a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid #e3e3e6; border-radius: 14px; background: #fff; color: #2b2c30; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pf-card a:hover { border-color: #ffc400; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.pf-card strong { font-size: 17px; }
.pf-card span { font-size: 14px; color: #6a6b70; line-height: 1.45; }
.pf-card[hidden] { display: none; }
.pf-empty { margin-top: 20px; }

.ind-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--energy-soft); color: var(--energy-dark); }
.ind-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ind-head h4, .ind-head h2 { margin: 0; padding-left: 0 !important; border-left: 0 !important; }

.is-teq .media img { object-position: left center; }
.hero-collage .fig-teq img { object-position: 72% center; }
.brand-hero-teq .photo img { object-fit: cover; }

.rv-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.rv-score strong { font-family: var(--display); font-size: 32px; font-weight: 600; }
.rv-score span:last-child { color: var(--muted); font-size: 15px; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
.rv-card { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rv-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); flex: 1; }
.rv-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.rv-card figcaption span { color: var(--muted); font-size: 13px; }

.is-fxp .media img { object-position: 8% center; }
.fxp-photo img { object-position: 15% center; }

.ind-tiles { display: grid; gap: 12px; margin: 6px 0 10px; }
@media (min-width: 640px) { .ind-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ind-tiles { grid-template-columns: repeat(3, 1fr); } }
.ind-tile { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.ind-tile:hover { border-color: var(--energy); }
.ind-tile strong { display: block; font-size: 16px; }
.ind-tile small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.paths { display: grid; gap: 20px; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path-card { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.path-card h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin: 0; }
.path-card .checks { flex: 1; grid-template-columns: 1fr; align-content: start; }
.path-card .btn-row { align-items: center; }
.path-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.path-dark .checks svg { color: var(--energy); }

/* Franja de cifras en amarillo */
.stats { background: var(--energy); border-bottom: 0; color: var(--ink); }
.stats dl { align-items: stretch; }
.stats div { justify-content: flex-end; }
.stats dt { color: rgba(43,44,48,.78); }

/* Tarjetas FXP más claras */
.fxp-features { gap: 16px; background: none; border-radius: 0; overflow: visible; }
.fxp-features li { background: linear-gradient(160deg, #242a22, #1b1f1a); border: 1px solid rgba(126,217,87,.22); border-radius: 20px; padding: 26px; transition: border-color .2s, transform .2s; }
.fxp-features li:hover { border-color: rgba(126,217,87,.6); transform: translateY(-2px); }
.fxp-features .fxp-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 0 16px; border-radius: 14px; background: rgba(126,217,87,.14); color: #7ed957; }
.fxp-features strong { color: #fff; }
.fxp-features span:not(.fxp-ico) { color: rgba(255,255,255,.8); }
.fxp-features li { background: #fff; border-color: #fff; }
.fxp-features li:hover { border-color: #7ed957; }
.fxp-features .fxp-ico { background: #eaf8e3; color: #3f8a1f; }
.fxp-features strong { color: #131313; }
.fxp-features span:not(.fxp-ico) { color: #4a4a4a; }

/* Portada con foto de fondo */
.hero-photo { position: relative; overflow: hidden; background: #15171b; }
.hero-photo .hero-bg, .hero-photo .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo .hero-bg img { object-fit: cover; object-position: 70% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,24,.92) 0%, rgba(18,20,24,.72) 38%, rgba(18,20,24,.05) 68%); }
.hero-photo-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(560px, 82vh, 760px); padding-top: 64px; padding-bottom: 64px; }
.hero-photo .hero-copy { max-width: 620px; }
@media (max-width: 900px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(18,20,24,.55) 0%, rgba(18,20,24,.82) 45%, rgba(18,20,24,.95) 100%); }
  .hero-photo .hero-bg img { object-position: 72% center; }
  .hero-photo-inner { min-height: 620px; align-items: flex-end; }
}
.hero-photo .hero-copy { max-width: 540px; }
.hero-photo h1 { font-size: clamp(40px, 4.4vw, 66px); }
@media (min-width: 901px) { .hero-photo .hero-bg img { object-position: 85% center; } }

/* ===== Blog ===== */
.post-meta { font-size: 14px; color: rgba(255,255,255,.6); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } }
.prose { min-width: 0; max-width: 760px; font-size: 18px; line-height: 1.75; color: var(--ink-700, #424246); }
.prose h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 96px; }
.prose h3 { font-family: var(--display); font-size: 21px; color: var(--ink); margin: 28px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--energy-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.4em; display: grid; gap: 10px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--energy-dark); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .faq { margin-top: 8px; }
.prose .faq a { color: var(--energy-dark); }
.toc { border: 1px solid var(--line); border-radius: 16px; background: var(--soft); padding: 20px 24px; margin-bottom: 32px; font-size: 16px; line-height: 1.5; }
.toc p { font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.toc ol { margin: 0; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.note { margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid var(--energy); background: var(--energy-soft); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.6; }
.note p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.post-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .post-aside { position: sticky; top: 96px; } }
.aside-card { border-radius: var(--radius); background: var(--soft); padding: 28px; display: grid; gap: 14px; }
.aside-card p { font-size: 15px; color: var(--muted); }
.aside-card .btn-row { flex-direction: column; align-items: stretch; }
.aside-card .btn { justify-content: center; }
.aside-links { display: grid; gap: 8px; font-size: 15px; }
.aside-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.aside-links a:hover { color: var(--energy-dark); }
.post-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.soft .post-card { border-color: transparent; }
.post-card h3 { font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.post-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; }
.post-cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--energy-dark); }
.blog-cat + .blog-cat { margin-top: 72px; }
.blog-cat > p { margin: 8px 0 28px; max-width: 640px; }

/* Videos */
.vid-row{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
.vid{position:relative;flex:0 0 min(240px,70vw);aspect-ratio:9/16;border:0;padding:0;border-radius:14px;overflow:hidden;background:#2b2c30;cursor:pointer;scroll-snap-align:start;color:#fff}
.vid img{width:100%;height:100%;object-fit:cover;display:block}
.vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vid-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:#f8cf0e;color:#2b2c30;display:grid;place-items:center}
.vid-t{position:absolute;left:0;right:0;bottom:0;padding:28px 12px 12px;font-weight:700;font-size:14px;text-align:left;background:linear-gradient(transparent,rgba(0,0,0,.8))}
@media(min-width:900px){.vid-row{overflow:visible;flex-wrap:wrap}}
.product .media.contain { aspect-ratio: 1 / 1; background: #fff; }
.product .media.contain img { object-fit: contain; }
.fxp-zone .product .media.contain img, .product .media.contain img[src*="fxp-"] { object-fit: cover; }
