:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --alt: #FAF7F0; --dark: #11170F; --dark2: #0A1108;
  --ink: #2B1B1A; --ink-base: #2B1B1A; --text: #5B4A47; --border: #EADFCB;
  --brand: #F2C200; --primary: #F2C200; --on-primary: #0A1108; --accent: #92BB53; --on-accent: #111111;
  --link: #856B00; --link-base: #856B00; --accent-ink: #5F7A36; --link-dark: #F2C200; --link-light: #8B7000;
  --light-ink: #111111; --light-text: #5F6370; --card: #FFFFFF;
  --sale: #A83B3A; --ok: #15803D;
  --radius: 0px; --btn-radius: 0px; --btn-pad: 19px 30px; --wrap: 1290px;
  --font-h: 'Inter Tight', sans-serif; --font-b: 'DM Sans', sans-serif; --font-nav: 'Inter Tight', sans-serif; --font-btn: 'DM Sans', sans-serif; --font-eb: 'DM Sans', sans-serif;
  --h1-size: clamp(34.0px, 3.958vw, 57px); --h1-weight: 500; --h1-case: none; --h1-ls: -.01em; --h1-lh: 1; --h1-font: 'Inter Tight', sans-serif;
  --h2-size: clamp(28.0px, 2.431vw, 35px); --h2-weight: 500; --h2-case: none; --h2-ls: normal; --h2-lh: 1.09; --h2-font: 'Inter Tight', sans-serif;
  --h3-size: 19px; --h3-weight: 500; --h3-case: none; --h3-ls: normal; --h3-lh: 1.3; --h3-font: 'Inter Tight', sans-serif;
  --body-size: 17px; --body-weight: 400; --body-lh: 1.68; --body-ls: normal;
  --nav-size: 17px; --nav-weight: 500; --nav-case: none; --nav-ls: normal;
  --btn-size: 14px; --btn-weight: 700; --btn-case: uppercase; --btn-ls: .1em;
  --eb-size: 14px; --eb-weight: 700; --eb-case: uppercase; --eb-ls: .12em;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: var(--body-lh); font-size: var(--body-size); font-weight: var(--body-weight); letter-spacing: var(--body-ls); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
/* rótulos en dos líneas parejas (no «… EN / CARTAGENA») y párrafos sin una palabra sola al final */
.eyebrow, [class*="__eb"] { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 6px; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.h1, .hero h1 { font: var(--h1-weight) var(--h1-size)/var(--h1-lh) var(--h1-font); text-transform: var(--h1-case); letter-spacing: var(--h1-ls); }
.h2 { font: var(--h2-weight) var(--h2-size)/var(--h2-lh) var(--h2-font); text-transform: var(--h2-case); letter-spacing: var(--h2-ls); }
.h3 { font: var(--h3-weight) var(--h3-size)/var(--h3-lh) var(--h3-font); text-transform: var(--h3-case); letter-spacing: var(--h3-ls); margin-bottom: .45em; }
.h3 a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.h3 a:hover { color: var(--link); }
.lead { font-size: 1.08em; max-width: 64ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt { margin-top: clamp(32px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: var(--eb-weight) var(--eb-size)/1.3 var(--font-eb); text-transform: var(--eb-case); letter-spacing: var(--eb-ls); color: var(--link); margin-bottom: 14px; }
.eyebrow--pill { padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.sample-note { margin: 28px 0 0; font-size: 14px; text-align: center; opacity: .85; }

/* ---------- Secciones ---------- */
.sec { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
.sec--alt { background: var(--alt); }
.sec--dark, .sec--brand { background: var(--dark); color: rgba(255,255,255,.78); --ink: #fff; --text: rgba(255,255,255,.78); --link: var(--link-dark); --border: rgba(255,255,255,.16); --card: var(--dark2); }
.sec--light { background: #fff; color: var(--light-text); --ink: var(--light-ink); --text: var(--light-text); --link: var(--link-light); --border: #E4E6EB; --card: #fff; }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head .h2 { margin-bottom: .35em; }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.head--row .h2 { margin: 0; }
.grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Última fila incompleta centrada (10 servicios en 3 columnas: el 10.º no queda solo a la izquierda). Solo si hay más
   de una fila; se corre con `left` (no con transform, que lo usan el hover y las animaciones de las tarjetas). */
@media (min-width: 1025px) {
  .g3 > :last-child:nth-child(3n+1):not(:first-child) { grid-column: 2; }
  .g3 > :nth-last-child(2):nth-child(3n+1):not(:first-child), .g3 > :last-child:nth-child(3n+2):not(:nth-child(2)) { position: relative; left: calc(50% + clamp(20px, 2.4vw, 30px) / 2); }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .g3 > :last-child:nth-child(2n+1):not(:first-child) { position: relative; left: calc(50% + clamp(20px, 2.4vw, 30px) / 2); }
}
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.checks { display: grid; gap: 10px; margin: 20px 0 26px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checks .ic { color: var(--link); margin-top: .2em; stroke-width: 2.4; }
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: var(--btn-pad); font: var(--btn-weight) var(--btn-size)/1.15 var(--font-btn); letter-spacing: var(--btn-ls); text-transform: var(--btn-case); border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary); border-radius: var(--btn-radius); cursor: pointer; white-space: nowrap; transition: transform .25s, filter .25s, background-color .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn--sm { min-height: 44px; padding: 10px 18px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); filter: none; }
.sec--dark .btn--ghost:hover, .sec--brand .btn--ghost:hover { color: var(--dark); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--line:hover { background: #fff; color: #111; border-color: #fff; filter: none; }
.btn--light { background: #fff; color: #111; border-color: #fff; }
.btn--wa { background: #15803D; border-color: #15803D; color: #fff; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center .btn-row { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: var(--btn-weight) var(--btn-size)/1.2 var(--font-btn); text-transform: var(--btn-case); letter-spacing: var(--btn-ls); color: var(--link); }
.more .ic { transition: transform .25s; }
.more:hover .ic { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.hdr-wrap { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--dark); color: rgba(255,255,255,.82); font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; min-height: 44px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.topbar__r { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .ic { color: var(--link-dark); }
.hdr { background: var(--bg); border-bottom: 1px solid var(--border); transition: background-color .3s, box-shadow .3s, border-color .3s; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 1.2rem/1.1 var(--font-h); color: var(--ink); letter-spacing: -.01em; }
.brand .ic { width: 34px; height: 34px; color: var(--link); stroke-width: 1.8; }
.brand--name span { max-width: 15ch; }  /* solo la marca de la base: los logos de familia deciden su ancho */
.brand--logo img { height: 52px; width: auto; max-width: 230px; object-fit: contain; }
.brand--plate { background: #fff; padding: 6px 12px; border-radius: 8px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand--nom { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__name { font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -.01em; color: var(--ink, #111); white-space: nowrap; }
.brand--nom-dark .brand__name { color: #fff; }
@media (max-width: 640px) { .brand--nom { gap: 8px; } .brand__name { font-size: 18px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font: var(--nav-weight) var(--nav-size)/1 var(--font-nav); text-transform: var(--nav-case); letter-spacing: var(--nav-ls); color: var(--ink); position: relative; transition: color .25s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover, .nav a.is-active { color: var(--link); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.hdr__cta { display: flex; align-items: center; gap: 18px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.hdr__tel .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.hdr__tel small { display: block; font-weight: 400; font-size: 14px; opacity: .8; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; padding: 11px; }
.burger .ic { width: 24px; height: 24px; }
[data-nav="overlay"] .hdr-wrap { position: fixed; left: 0; right: 0; }
[data-nav="overlay"] .hdr { background: transparent; border-color: rgba(255,255,255,.18); --ink: #fff; --link: #fff; }
[data-nav="overlay"] .burger { border-color: rgba(255,255,255,.35); }
[data-nav="overlay"] .topbar { background: rgba(0,0,0,.35); }
[data-nav="overlay"] .hdr-wrap.is-scrolled .hdr { background: var(--dark); border-color: transparent; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.hdr-wrap.is-scrolled .hdr { box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.hdr-wrap .topbar { transition: margin-top .3s; }
.nav-open { overflow: hidden; }
.nav-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5,10,20,.55); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.nav-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(380px, 88vw); background: var(--bg); padding: 20px 26px 32px; display: flex; flex-direction: column; overflow: auto; transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility .38s; box-shadow: -20px 0 50px rgba(0,0,0,.2); }
.nav-open .nav-scrim { opacity: 1; visibility: visible; }
.nav-open .nav-panel { transform: none; visibility: visible; }
.nav-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.nav-panel__x { width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink-base); cursor: pointer; padding: 10px; }
.nav-panel__x .ic { width: 26px; height: 26px; }
.nav-panel > a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border); font: var(--nav-weight) 17px/1.2 var(--font-nav); text-transform: var(--nav-case); color: var(--ink-base); }
.nav-panel > a[aria-current] { color: var(--link-base); }
.nav-panel .btn { margin-top: 24px; }
.nav-panel__wa { justify-content: center; gap: 8px; border: 0 !important; }

/* ---------- Portada genérica ---------- */
.hero { position: relative; isolation: isolate; color: rgba(255,255,255,.88); --ink: #fff; --link: #fff; background: var(--dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; animation: heroZoom 18s ease-out both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--dark) 92%, transparent) 15%, color-mix(in srgb, var(--dark) 55%, transparent) 65%, color-mix(in srgb, var(--dark) 35%, transparent)); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: none; } }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; min-height: min(92vh, 900px); padding: 150px 0 90px; }
[data-nav="solid"] .hero__in { padding-top: 90px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .4em; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero .btn-row { margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; }
.hero__trust li { color: #fff; font-size: 15px; }
.hero__trust .ic { color: var(--link-dark); }
.qq { background: var(--card, #fff); background: #fff; color: #4a4f5c; border-radius: max(var(--radius), 6px); padding: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.3); --ink: #111; }
.qq__t { font: 700 1.45rem/1.2 var(--font-h); color: #111; margin-bottom: 6px; }
.qq p { font-size: 15px; }
.qq .btn { margin-top: 6px; }
.qq__wa { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; color: #1F7A3F; font-weight: 600; font-size: 15px; }

/* ---------- Franja de páginas internas ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--dark); padding: 170px 0 80px; overflow: hidden; }
[data-nav="solid"] .page-hero { padding-top: 90px; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--dark) 78%, transparent); }
.page-hero__t { color: #fff; font: var(--h1-weight) calc(var(--h1-size) * .78)/1.1 var(--h1-font); text-transform: var(--h1-case); letter-spacing: var(--h1-ls); max-width: 22ch; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.crumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Tarjetas ---------- */
.svc, .prod, .plan, .post, .tst, .person, .info-card, .panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.svc { padding: 34px 30px; position: relative; transition: transform .35s, box-shadow .35s, border-color .35s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.08); border-color: var(--primary); }
.svc__ic, .feat__ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: max(var(--radius), 6px); background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--link); margin-bottom: 20px; }
.svc__ic .ic, .feat__ic .ic { width: 30px; height: 30px; }
.svc__n { position: absolute; top: 24px; right: 28px; font: 800 2.4rem/1 var(--font-h); color: color-mix(in srgb, var(--ink) 10%, transparent); }
.svc p { margin-bottom: 10px; }
.svc-tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.svc-tile__img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.svc-tile__img img, .prod__img img, .post__img img, .person img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-tile:hover img, .prod:hover .prod__img img, .post:hover .post__img img { transform: scale(1.05); }
.svc-tile__body { padding: 26px; }
.svc-tile .svc__ic { margin: -56px 0 14px; position: relative; background: var(--primary); color: var(--on-primary); }
.prod { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s, opacity .3s; }
.prod:hover { box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.prod__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: var(--on-primary); font: 700 14px/1 var(--font-btn); padding: 8px 12px; border-radius: 99px; }
.prod__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod__cat, .post__cat { font: 600 14px/1.2 var(--font-eb); color: var(--link); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.specs { display: grid; gap: 6px; margin: 4px 0 18px; font-size: 15px; }
.specs li { display: flex; gap: 8px; }
.specs .ic { color: var(--link); width: 1.05em; margin-top: .3em; }
.prod__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font: 800 1.3rem/1 var(--font-h); color: var(--ink); }
.price--ask { font-size: 1rem; }
.price small { display: block; font: 400 14px/1.4 var(--font-b); color: var(--text); }
.plan { padding: 36px 30px; position: relative; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.08); }
.plan .checks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan--top { border: 2px solid var(--primary); box-shadow: 0 24px 50px color-mix(in srgb, var(--primary) 22%, transparent); }
.plan__flag { position: absolute; top: -15px; left: 30px; background: var(--primary); color: var(--on-primary); font: 700 14px/1 var(--font-btn); padding: 8px 14px; border-radius: 99px; }
.plan__name { font: var(--h3-weight) var(--h3-size)/1.2 var(--h3-font); margin-bottom: 14px; }
.plan__price { font: 800 clamp(2rem, 3.4vw, 2.6rem)/1 var(--font-h); color: var(--ink); margin-bottom: 14px; }
.plan__price small { font: 400 15px/1 var(--font-b); color: var(--text); margin-left: 6px; }
.plan__price--txt { font-size: 1.8rem; }
.plan__price--txt small { display: block; margin: 8px 0 0; }
.projs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proj { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); color: #fff; transition: opacity .3s, transform .3s; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.82)); }
.proj:hover img { transform: scale(1.06); }
.proj__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 22px; display: grid; gap: 4px; }
.proj__cap small { font-size: 14px; opacity: .9; }
.proj__cap b { font: 700 1.15rem/1.25 var(--font-h); }
.proj__cap span { font-size: 14px; opacity: .85; max-height: 0; overflow: hidden; transition: max-height .4s; }
.proj:hover .proj__cap span, .proj:focus-visible .proj__cap span { max-height: 60px; }
.post { overflow: hidden; display: flex; flex-direction: column; }
.post__img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.post__img .post__cat { position: absolute; left: 14px; bottom: 14px; background: var(--primary); color: var(--on-primary); padding: 7px 12px; border-radius: 4px; margin: 0; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__body .more { margin-top: auto; }
.post__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; margin-bottom: 10px; }
.post__meta span { display: inline-flex; gap: 6px; align-items: center; }
.person { overflow: hidden; text-align: center; }
.person img { aspect-ratio: 4/5; }
.person div { padding: 20px; }
.person span { font-size: 15px; }
.tst { margin: 0; padding: 32px 28px; position: relative; }
.tst__q { position: absolute; right: 24px; top: 24px; width: 42px; height: 42px; color: color-mix(in srgb, var(--primary) 40%, transparent); }
.stars { display: inline-flex; gap: 2px; color: #E8A317; }
.stars .ic { width: 18px; height: 18px; }
.tst blockquote { margin: 16px 0 22px; color: var(--ink); }
.tst figcaption { display: flex; align-items: center; gap: 14px; }
.tst figcaption small { display: block; font-size: 14px; }
.tst__av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font: 700 1rem/1 var(--font-h); flex: none; }
.feats { gap: 36px 30px; }
.feat { display: flex; gap: 18px; }
.feat__ic { flex: none; margin: 0; }
.feat p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat b { display: block; font: 800 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--font-h); color: #fff; margin-bottom: 8px; }
.sec--brand .stat b span { color: var(--link-dark); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step__n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: 800 1.3rem/1 var(--font-h); margin-bottom: 20px; position: relative; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 40px; left: 72px; right: -14px; border-top: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
.about__media { position: relative; padding: 0 0 60px 0; }
.about__a { width: 82%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--alt); }
.about__badge { position: absolute; left: 20px; bottom: 90px; background: var(--primary); color: var(--on-primary); padding: 18px 22px; border-radius: var(--radius); font-weight: 600; font-size: 15px; line-height: 1.3; }
.about__badge b { display: block; font: 800 2.4rem/1 var(--font-h); }
.cta { position: relative; isolation: isolate; color: rgba(255,255,255,.88); padding: clamp(64px, 8vw, 104px) 0; --ink: #fff; --link: var(--link-dark); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--dark) 82%, transparent); }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.cta__in > div:first-child { max-width: 700px; }

/* ---------- Filtros, pestañas y acordeón ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.center .chips, .chips--center { justify-content: center; }
.chip { min-height: 44px; padding: 10px 20px; border: 1px solid var(--border); background: var(--card); color: var(--ink); border-radius: 99px; cursor: pointer; font: 600 15px/1 var(--font-btn); transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--primary); }
.chip.is-on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.is-out { opacity: 0 !important; transform: scale(.96) !important; }
.is-entering { animation: itemIn .4s ease both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
[data-panel].is-entering { animation: itemIn .4s ease both; }
.acc { display: grid; gap: 12px; }
.acc details { background: var(--card); border: 1px solid var(--border); border-radius: max(var(--radius), 4px); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 22px; cursor: pointer; list-style: none; font: 600 1.02rem/1.35 var(--font-h); color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc__ic { width: 22px; height: 22px; color: var(--link); transition: transform .3s; }
.acc details[open] .acc__ic { transform: rotate(45deg); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 22px 20px; margin: 0; }
.tablewrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); }
.compare thead th { font: 700 1rem/1.2 var(--font-h); color: var(--ink); }
.compare .yes { color: var(--link); }
.compare .no { opacity: .5; }

/* ---------- Formularios y cotizador ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: min(var(--radius), 8px); background: var(--card); color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.qq input, .qq select { background: #fff; color: #111; border-color: #c9ccd3; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.panel { padding: clamp(24px, 3vw, 36px); }
.qw { --gap: 12px; }
.qw fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qw__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; counter-reset: q; }
.qw__bar li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); position: relative; padding-bottom: 12px; }
.qw__bar li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.qw__bar li::before { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; border-radius: 4px; background: var(--primary); z-index: 1; transition: width .4s; }
.qw__bar li.is-on::before, .qw__bar li.is-done::before { width: 100%; }
.qw__bar b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); font-size: 14px; transition: background-color .3s, color .3s; }
.qw__bar .is-on b, .qw__bar .is-done b { background: var(--primary); color: var(--on-primary); }
.qw__bar .is-on { color: var(--ink); }
.qw__t { font: 700 1.25rem/1.25 var(--font-h); color: var(--ink); margin-bottom: 16px; padding: 0; }
.qw__pane.is-entering { animation: paneIn .38s ease both; }
.qw__pane.is-back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-28px); } }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.opts--slots { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.opt > span { display: flex; align-items: center; gap: 10px; min-height: 56px; height: 100%; padding: 12px 14px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: min(var(--radius), 10px); background: var(--card); color: var(--ink); font-size: 15px; line-height: 1.25; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.opt b { font-weight: 600; }
.opt .ic { width: 26px; height: 26px; color: var(--link); flex: none; }
.opt b { min-width: 0; letter-spacing: 0; hyphens: auto; }
/* a 390 px «Apartamento» no cabía en su casilla (el interletrado del cuerpo lo empujaba fuera del borde) */
@media (max-width: 420px) { .opt > span { gap: 8px; padding: 12px 10px; } }
.opt:hover > span { border-color: var(--primary); }
.opt input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--card)); box-shadow: inset 0 0 0 1px var(--primary); }
.opt input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 2px; }
.opt--sm > span { min-height: 48px; }
.qw__err { color: #C62828; font-weight: 600; font-size: 15px; min-height: 0; margin: 0; }
[data-dark] .qw__err, .sec--dark .qw__err { color: #FF8A80; }
.qw__err:not(:empty) { margin: 4px 0 12px; animation: itemIn .3s ease; }
.qw__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.qw__nav [data-step-next], .qw__nav [type=submit] { margin-left: auto; }
.qw__ok { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, #15803D 14%, var(--card)); color: var(--ink); animation: itemIn .35s ease; }
.qw__ok .ic { color: #15803D; width: 26px; height: 26px; }
.qw__sum h3 { font: 700 1.1rem/1.3 var(--font-h); margin-bottom: 12px; }
.qw__sum ul, .sum { display: grid; gap: 0; }
.qw__sum li, .sum li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.qw__sum li span, .sum li span { color: var(--text); }
.qw__sum li b, .sum li b { color: var(--ink); text-align: right; font-weight: 600; }
.qw__sum--in { margin: 4px 0 16px; padding: 16px 18px; border-radius: 10px; background: var(--alt); }
.qw__sum li.is-empty { opacity: .65; }
.aside { position: sticky; top: 110px; }
.info-card { padding: 28px; }
.info-card .ic { width: 34px; height: 34px; color: var(--link); margin-bottom: 14px; }
.info-card a { text-decoration: underline; text-underline-offset: 3px; }
.map { width: 100%; min-height: 420px; height: 100%; border: 0; border-radius: var(--radius); background: var(--alt); }

/* ---------- Ventanas emergentes ---------- */
.dlg { border: 0; padding: 0; width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: max(var(--radius), 10px); background: var(--bg); color: var(--text); box-shadow: 0 40px 80px rgba(0,0,0,.35); overflow: auto; overscroll-behavior: contain; }
.dlg[open] { animation: dlgIn .35s cubic-bezier(.2,.8,.2,1) both; }
.dlg[open]::backdrop { background: rgba(5,10,20,.62); animation: fadeIn .35s ease both; }
.dlg.is-closing { animation: dlgOut .25s ease both; }
.dlg.is-closing::backdrop { animation: fadeOut .25s ease both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes dlgOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.dlg__box { padding: clamp(22px, 4vw, 40px); }
.dlg__t { font: var(--h3-weight) clamp(1.4rem, 3vw, 1.9rem)/1.2 var(--h3-font); margin-bottom: 20px; padding-right: 40px; }
.dlg__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--alt); color: var(--ink); cursor: pointer; padding: 12px; }
.dlg__x .ic { width: 24px; height: 24px; }
.lb { width: min(1100px, calc(100% - 24px)); background: #000; overflow: hidden; }
.lb figure { margin: 0; }
.lb img { width: 100%; max-height: 80dvh; object-fit: contain; }
.lb figcaption { padding: 14px 20px; color: #fff; font-size: 15px; }
.lb .dlg__x { background: rgba(0,0,0,.55); color: #fff; }
.qw--compact .opts { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* ---------- Páginas ---------- */
.prose { max-width: 760px; margin-inline: auto; color: var(--text); font-size: 1.04em; }
.prose h2 { font: var(--h3-weight) clamp(1.4rem, 2.6vw, 1.8rem)/1.25 var(--h3-font); margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 8px 0 28px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose blockquote { margin: 30px 0; padding: 20px 26px; border-left: 4px solid var(--primary); background: var(--alt); color: var(--ink); font: 600 1.15rem/1.5 var(--font-h); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags span { padding: 8px 14px; border: 1px solid var(--border); border-radius: 99px; font-size: 14px; }
.svc-detail .rad { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--border); color: var(--ink); }
.side-list a[aria-current] { color: var(--link); font-weight: 700; }
.price-box small { display: block; font-size: 15px; margin-bottom: 18px; }
.price-box b { display: block; font: 800 2rem/1 var(--font-h); color: var(--ink); margin: 6px 0; }
.e404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.e404 b { display: block; font: 800 clamp(6rem, 18vw, 12rem)/1 var(--font-h); color: var(--link); }
.e404 .ic { width: 64px; height: 64px; color: var(--link); margin: 0 auto 10px; }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* menos de 4 certificaciones: centradas, no una tarjetica sola a la izquierda de la franja */
.certs:not(:has(> :nth-child(4))) { display: flex; flex-wrap: wrap; justify-content: center; }
.certs:not(:has(> :nth-child(4))) > * { flex: 0 1 320px; }
.cert { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: 15px; }
.cert .ic { width: 34px; height: 34px; color: var(--link); }

/* ---------- Pie ---------- */
.ftr { background: var(--dark); color: rgba(255,255,255,.75); --ink: #fff; --link: var(--link-dark); padding-top: clamp(56px, 7vw, 90px); font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr__h { font: 700 1.1rem/1.2 var(--font-h); color: #fff; margin-bottom: 14px; }
.ftr ul li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; transition: color .25s; }
.ftr ul li a:hover { color: var(--link-dark); }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.ftr__contact .ic { color: var(--link-dark); margin-top: .2em; }
.ftr__contact li { align-items: center; }
.ftr__contact .ic { margin-top: 0; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); transition: background-color .25s, color .25s, border-color .25s; }
.social a:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.ftr__bot { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.ftr__bot a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bot span { display: inline-flex; align-items: center; gap: 4px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #15803D; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }

/* ---------- Theme oscuro (fondo de página negro) ---------- */
[data-dark] .hdr { background: var(--bg); }
[data-dark] .qq { --ink: #111; }
[data-dark] .sec--alt { background: var(--alt); }

/* ---------- Adaptable ---------- */
@media (max-width: 1520px) { .hdr__tel { display: none; } }
@media (max-width: 1279px) {  /* nav_bp del theme (1240 por defecto) */
  .nav, .hdr__tel { display: none; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); padding-bottom: 70px; }
  .qq { max-width: 520px; }
  .g4, .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3, .projs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::before { display: none; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .split, .g2, .form-row { grid-template-columns: minmax(0, 1fr); }
  .g3, .projs, .plans { grid-template-columns: minmax(0, 1fr); }
  .hdr__in { min-height: 70px; }
  .hdr__btn { display: none; }
  .hero__in { padding: 120px 0 56px; min-height: 0; }
  [data-nav="solid"] .hero__in { padding-top: 56px; }
  .page-hero { padding: 130px 0 56px; }
  [data-nav="solid"] .page-hero { padding-top: 56px; }
  .about__media { padding-bottom: 40px; }
  .about__badge { bottom: 60px; }
  .qw__bar span { display: none; }
  .qw__bar li { justify-content: center; }
  .topbar__in > span:first-child { display: none; }
  .map { min-height: 320px; }
}
@media (max-width: 520px) {
  .g4, .certs, .stats, .steps, .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts--slots { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; }
  .head--row .btn { width: 100%; }
  .topbar__r { gap: 4px 16px; }
  .topbar__r > span { display: none; }
  .brand { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* ========== Capa de tienda eléctrica ========== */
/* ---------- Cabecera: marca, buscador, WhatsApp, carrito y menú debajo ---------- */
.hdr__in { gap: 16px 28px; min-height: 80px; flex-wrap: wrap; }
.brand__ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: var(--on-primary); flex: none; }
.brand__ic .ic { width: 24px; height: 24px; color: inherit; stroke-width: 2; }
.search { display: flex; flex: 1 1 320px; max-width: 560px; min-width: 0; border: 2px solid var(--primary); border-radius: var(--btn-radius); overflow: hidden; background: var(--card); }
.search input { border: 0; border-radius: 0; min-height: 46px; background: transparent; }
.search input:focus { box-shadow: none; }
.search button { width: 54px; min-height: 46px; border: 0; background: var(--primary); color: var(--on-primary); cursor: pointer; display: grid; place-items: center; }
.search button .ic { width: 22px; height: 22px; }
.hdr__cta { gap: 10px; margin-left: auto; }
.hdr__tel { font-size: 14px; }
.hdr__tel .ic { background: var(--ok); color: #fff; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--btn-radius); background: var(--card); color: var(--ink); cursor: pointer; font: 600 14px/1 var(--font-btn); transition: border-color .25s, background-color .25s; }
.cart-btn:hover { border-color: var(--primary); }
.cart-btn .ic { width: 24px; height: 24px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--sale); color: #fff; font: 700 14px/1 var(--font-btn); }
.cart-btn .cart-count { position: absolute; top: -8px; left: 28px; }
.cart-count.is-bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.hdr__nav { border-top: 1px solid var(--border); }
.hdr__nav ul { display: flex; gap: clamp(10px, 1.4vw, 24px); overflow-x: auto; scrollbar-width: none; }
.hdr__nav ul::-webkit-scrollbar { display: none; }
.hdr__nav a { min-height: 50px; }
.hdr__nav a::after { bottom: 0; }
.nav-panel .search { margin: 0 0 14px; flex: none; }
.nav-panel__h { display: block; margin: 20px 0 4px; font: 700 14px/1 var(--font-eb); text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.nav-panel > a.nav-panel__cat { display: flex; gap: 10px; min-height: 46px; font: 500 16px/1.2 var(--font-b); text-transform: none; border: 0; }
.nav-panel > a.nav-panel__cat .ic { color: var(--link-base); }
.nav-panel .btn { margin-top: 20px; }

/* ---------- Portada de tienda ---------- */
.shero { background: var(--alt); overflow: hidden; }
.shero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.shero__txt .eyebrow { color: var(--link); }
.shero__txt .h1 { max-width: 16ch; }
.shero__txt .btn-row { margin-top: 26px; }
.shero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; }
.shero__trust li { font-size: 15px; color: var(--ink); }
.shero__trust .ic { color: var(--link); }
.shero__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.14); animation: heroIn .9s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateX(30px); } }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); border-color: var(--primary); }
.cat__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: max(var(--radius), 4px); }
.cat__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--link); }
.cat__ic .ic { width: 30px; height: 30px; }
.cat__body b { display: block; font: 600 1rem/1.3 var(--font-h); }
.cat__body small { display: block; font-size: 14px; color: var(--text); margin-top: 2px; }

/* ---------- Tarjeta de producto ---------- */
.h3 a { padding: 12px 0; margin: -12px 0; min-height: 44px; }
.prod { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.prod__img { display: block; aspect-ratio: 1; background: #fff; }
.prod__img img { object-fit: cover; }
.badge { top: 12px; left: 12px; }
.badge--off { background: var(--sale); color: #fff; }
.badge + .badge { top: 48px; }
.prod__body { padding: 18px; gap: 6px; }
.prod__cat { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.prod__cat a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.prod__brand { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 500; }
.prod__t { font-size: 1rem; line-height: 1.35; margin: 0 0 4px; }
.prod__t a { display: block; padding: 11px 0; margin: -11px 0; }
.prod .specs { margin: 0 0 10px; font-size: 14px; color: var(--text); }
.prod__foot { margin-top: auto; align-items: flex-end; }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font: 800 1.25rem/1.1 var(--font-h); color: var(--ink); }
.price s { font: 400 14px/1 var(--font-b); color: var(--text); order: 2; }
.price small { font: 400 14px/1 var(--font-b); color: var(--text); }
.price--sm { font-size: 1rem; }
.price--big { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.stock { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--ok { color: var(--ok); } .stock--low { color: #B45309; } .stock--order { color: var(--text); }
.sec--dark .stock--ok { color: #6EE7A0; }
.prod__act { display: flex; gap: 8px; margin-top: 12px; }
.prod__act .btn { flex: 1; min-height: 44px; padding: 8px 12px; }
.btn--add .ic { width: 1.2em; height: 1.2em; }
.btn--add.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }
.prod--compact .prod__img { aspect-ratio: 4/3; }
.prow { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.prow__img { width: 72px; height: 72px; object-fit: cover; border-radius: max(var(--radius), 4px); flex: none; background: #fff; }
.prow__t { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; margin-bottom: 4px; }
.prow:hover .prow__t { color: var(--link); }

/* ---------- Promociones ---------- */
.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promos:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promo { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 220px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.promo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.promo__img { width: 100%; height: 100%; object-fit: cover; order: 2; transition: transform .6s; }
.promo:hover .promo__img { transform: scale(1.05); }
.promo__body { padding: 22px 20px; display: grid; gap: 6px; }
.promo__body b { font: 700 1.15rem/1.25 var(--font-h); }
.promo__body > span:not(.more):not(.promo__pct) { font-size: 14px; color: var(--text); }
.promo__body small { font-size: 14px; color: var(--text); }
.promo__pct { display: inline-block; width: max-content; padding: 6px 10px; border-radius: 99px; background: var(--sale); color: #fff; font: 700 14px/1 var(--font-btn); }
.promo--wide { grid-template-columns: 1.2fr 1fr; min-height: 300px; }
.promo--wide .promo__body b { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* ---------- Servicios (electricistas) ---------- */
.svc__price { display: block; margin: 0 0 16px; font-size: 15px; color: var(--text); }
.svc__price b { color: var(--ink); font-size: 1.1rem; }
.sec--dark .svc { background: var(--dark2); border-color: rgba(255,255,255,.14); }
.sec--dark .svc__ic { background: rgba(255,255,255,.1); color: #fff; }
.svc-full { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--border); scroll-margin-top: 140px; }
.svc-full:nth-child(even) > :first-child { order: 2; }
.svc-full img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.svc-full .checks { margin: 16px 0 20px; }

/* ---------- Marcas, boletín, equipo ---------- */
.brands__t { text-align: center; font: 700 14px/1 var(--font-eb); text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 18px; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.brands li { padding: 12px 20px; border: 1px solid var(--border); border-radius: var(--btn-radius); background: var(--card); font: 700 1.05rem/1 var(--font-h); color: var(--ink); opacity: .75; transition: opacity .25s; letter-spacing: .02em; }
.brands li:hover { opacity: 1; }
.news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
.news .h2 { margin-bottom: .3em; }
.news p { margin: 0; }
.news__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.news__form input { background: #fff; color: #111; border-color: transparent; }
.ftr__pay { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 16px; }
.ftr__pay span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; font-size: 14px; }
.feats .feat__ic { background: color-mix(in srgb, var(--primary) 16%, transparent); }
/* Sedes (página de contacto, solo con `branches`) */
.branch { display: flex; flex-direction: column; gap: 10px; padding: 0 0 24px; overflow: hidden; }
.branch img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.branch .h3, .branch p, .branch .more { margin: 0 24px; }
.branch .h3 { margin-top: 8px; }
.branch p { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-top: 0; }
.branch p .ic { width: 20px; height: 20px; flex: none; color: var(--link); margin-top: 2px; }
.branch p a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }  /* blanco táctil: el p es flex y el enlace deja de ser inline */
.branch .more { margin-top: auto; }

/* ---------- Catálogo (tienda / categoría) ---------- */
.catalog__bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 20px; }
.catalog__search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.catalog__search .ic { position: absolute; left: 14px; color: var(--text); pointer-events: none; }
.catalog__search input { padding-left: 42px; }
.catalog__sort { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.catalog__sort select { width: auto; min-width: 200px; }
.catalog__n { font-size: 14px; color: var(--text); margin-left: auto; }
.catalog .chips { margin-bottom: 24px; }
.catalog__grid { transition: opacity .25s; }
.catalog__empty { padding: 36px 20px; text-align: center; background: var(--alt); border-radius: var(--radius); }
.catalog__empty a { color: var(--link); text-decoration: underline; }
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; margin-bottom: 36px; }
.cat-head img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.cat-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 99px; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--card); transition: border-color .25s, background-color .25s, color .25s; }
.cat-nav a:hover { border-color: var(--primary); }
.cat-nav a[aria-current] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cat-nav .ic { color: inherit; }

/* ---------- Página de producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp__gal { position: sticky; top: 150px; }
.pdp__main { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pdp__main img.is-swap { opacity: 0; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp__thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid var(--border); border-radius: max(var(--radius), 4px); overflow: hidden; background: #fff; cursor: pointer; transition: border-color .25s; }
.pdp__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs button.is-on, .pdp__thumbs button:hover { border-color: var(--primary); }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--text); margin-bottom: 12px; }
.pdp__meta a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -10px 0; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.pdp__unit { display: block; font-size: 14px; color: var(--text); margin: -8px 0 12px; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 16px 0; }
.pdp__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--btn-radius); overflow: hidden; background: var(--card); }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--alt); }
.qty input { width: 64px; min-height: 46px; text-align: center; border: 0; border-radius: 0; padding: 6px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__buy .btn--add { flex: 1 1 200px; min-height: 48px; }
.pdp__ship { display: grid; gap: 8px; margin: 20px 0; padding: 16px 18px; border-radius: var(--radius); background: var(--alt); font-size: 15px; }
.pdp__ship li { display: flex; gap: 10px; align-items: center; }
.pdp__ship .ic { color: var(--link); flex: none; }
.pdp .specs { font-size: 15px; margin: 8px 0 20px; }
.pdp h2.h3 { margin-top: 20px; }

/* ---------- Carrito lateral ---------- */
.cart-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5,10,20,.55); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 92vw); background: var(--bg); color: var(--text); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility .38s; box-shadow: -20px 0 50px rgba(0,0,0,.2); }
.cart-open { overflow: hidden; }
.cart-open .cart-scrim { opacity: 1; visibility: visible; }
.cart-open .cart { transform: none; visibility: visible; }
.cart__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cart__top .h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.cart__top .h3 .ic { color: var(--link); }
.cart__list { flex: 1; overflow: auto; padding: 8px 20px; }
.cart__empty { padding: 36px 20px; text-align: center; }
.cart__empty[hidden] { display: none; }
.citem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); animation: itemIn .35s ease both; }
.citem.is-out { animation: itemOut .25s ease both; }
@keyframes itemOut { to { opacity: 0; transform: translateX(20px); } }
.citem img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #fff; border: 1px solid var(--border); }
.citem__t { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--ink); }
.citem__u { display: block; font-size: 14px; color: var(--text); }
.citem__p { font-weight: 700; color: var(--ink); white-space: nowrap; }
.citem__r { display: grid; gap: 6px; justify-items: end; }
.citem .qty button { width: 40px; height: 40px; }
.citem .qty input { width: 48px; min-height: 40px; font-size: 15px; }
.citem__x { width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.citem__x:hover { color: var(--sale); background: var(--alt); }
.cart__foot { padding: 16px 20px 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; background: var(--alt); }
.cart__foot[hidden] { display: none; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; color: var(--ink); }
.cart__total b { font: 800 1.5rem/1 var(--font-h); }
.cart__note { font-size: 14px; margin: 0; }
.cart-float { position: fixed; right: 18px; bottom: 86px; z-index: 40; width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); box-shadow: 0 12px 30px rgba(0,0,0,.25); cursor: pointer; transition: transform .25s, opacity .25s; }
.cart-float .ic { width: 28px; height: 28px; }
.cart-float .cart-count { position: absolute; top: -4px; right: -4px; }
.cart-float:hover { transform: scale(1.08); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); padding: 14px 20px; border-radius: 10px; background: var(--dark); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 14px 34px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Pedido (2 pasos) ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.order__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 26px; }
.order__bar li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); position: relative; padding-bottom: 12px; }
.order__bar li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.order__bar li::before { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; border-radius: 4px; background: var(--primary); z-index: 1; transition: width .4s; }
.order__bar li.is-on::before, .order__bar li.is-done::before { width: 100%; }
.order__bar b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); font-size: 14px; transition: background-color .3s, color .3s; }
.order__bar .is-on b, .order__bar .is-done b { background: var(--primary); color: var(--on-primary); }
.order__bar .is-on { color: var(--ink); }
.order__pane { border: 0; padding: 0; margin: 0; min-width: 0; }
.order__t { padding: 0; margin-bottom: 16px; }
.order__pane.is-entering { animation: paneIn .38s ease both; }
.order__pane.is-back { animation-name: paneBack; }
.order__pane[hidden] { display: none; }
.order__items { display: grid; }
.order__items .citem { grid-template-columns: 72px minmax(0, 1fr) auto; }
.order__empty { padding: 40px 20px; text-align: center; background: var(--alt); border-radius: var(--radius); }
.order__empty[hidden] { display: none; }
.order__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.order__nav [data-step-next], .order__nav [type=submit] { margin-left: auto; }
.order__sum li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.order__sum li b { color: var(--ink); text-align: right; font-weight: 600; }
.order__sum li.is-total { font-size: 1.1rem; color: var(--ink); border-bottom: 0; padding-top: 14px; }
.order__sum li.is-total b { font: 800 1.4rem/1 var(--font-h); }
.opts--pay { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.order__err { color: #C62828; font-weight: 600; font-size: 15px; margin: 0; }
.order__err:not(:empty) { margin: 4px 0 12px; animation: itemIn .3s ease; }
.order__ok { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--ok) 14%, var(--card)); color: var(--ink); animation: itemIn .35s ease; }
.order__ok .ic { color: var(--ok); width: 26px; height: 26px; flex: none; }
.order__ok[hidden] { display: none; }
.order__pre { white-space: pre-wrap; font: 14px/1.5 ui-monospace, monospace; background: var(--alt); padding: 14px 16px; border-radius: 8px; max-height: 260px; overflow: auto; color: var(--ink); }
[data-addr][hidden] { display: none; }

/* ---------- Adaptable (tienda) ---------- */
@media (max-width: 1280px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .shero__in { grid-template-columns: minmax(0, 1fr); }
  .shero__media img { aspect-ratio: 16/9; }
  .promos, .promos:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp, .order, .svc-full { grid-template-columns: minmax(0, 1fr); }
  .svc-full:nth-child(even) > :first-child { order: 0; }
  .pdp__gal { position: static; }
  .news { grid-template-columns: minmax(0, 1fr); }
  .cat-head { grid-template-columns: minmax(0, 1fr); }
  .cat-head img { aspect-ratio: 21/9; }
}
@media (max-width: 760px) {
  .hdr__in { min-height: 70px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
  .hdr__tel, .cart-btn__l { display: none; }
  .hdr__nav { display: none; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { grid-template-columns: minmax(0, 1fr); }
  .promo__img { order: 0; aspect-ratio: 16/8; height: auto; }
  .news__form { grid-template-columns: minmax(0, 1fr); }
  .catalog__sort select { min-width: 0; }
  .catalog__n { flex-basis: 100%; margin-left: 0; }
  .citem { grid-template-columns: 56px minmax(0, 1fr); }
  .citem__r { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; }
  .order__items .citem { grid-template-columns: 56px minmax(0, 1fr); }
  .cart-float { bottom: 84px; }
}
@media (max-width: 520px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { padding: 12px 10px; }
  .prod__act { flex-direction: column; }
  .pdp__buy .btn--add { flex-basis: 100%; }
}
@media (max-width: 380px) { .cats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Familia ---------- */

.fam-axiom { --ax-y: #F2C200; --ax-l: #92BB53; --ax-k: #0A1108; --ax-cream: #FAF7F0; --ax-beige: #F3F0E9; --ax-dk: #11170F; --ax-txt: #615D58; --ax-hf: 'Inter Tight', sans-serif; --ax-script: 'Kaushan Script', cursive; }
.fam-axiom .wrap { width: calc(100% - 60px); max-width: 1290px; }
@media (min-width: 1280px) { .fam-axiom .wrap { width: 1100px; } }
@media (min-width: 1440px) { .fam-axiom .wrap { width: 1290px; } }
@media (max-width: 480px) { .fam-axiom .wrap { width: calc(100% - 40px); } }
.fam-axiom { background: #fff; color: var(--ax-txt); overflow-x: clip; }

/* ---------- Textos y botones ---------- */
.ax-eb { margin: 0 0 14px; font: 700 14px/1.4 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--ax-k); }
.ax-eb--w { color: #fff; }
.ax-hd { margin-bottom: clamp(36px, 4.4vw, 64px); }
.ax-hd--center { text-align: center; }
.ax-hd__t { margin: 0; font: 500 clamp(30px, calc(18px + 2.7vw), 57px)/1.02 var(--ax-hf); letter-spacing: -.01em; color: var(--ax-k); }
.ax-hd--page { margin-bottom: 44px; }
.ax-hd__p { max-width: 640px; margin: 18px auto 0; }
.ax-h3 { margin: 0 0 14px; font: 500 clamp(26px, calc(16px + 1.4vw), 35px)/1.09 var(--ax-hf); color: inherit; }
.ax-sec { padding: clamp(60px, 8.3vw, 120px) 0; position: relative; }
.ax-btn, .fam-axiom .btn:not(.btn--wa):not(.btn--ghost):not(.btn--line):not(.btn--light) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 17px 30px; border: 2px solid var(--ax-y); border-radius: 0;
  background: var(--ax-y); color: var(--ax-k); font: 700 14px/1.2 var(--font-b); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.ax-btn:hover, .fam-axiom .btn:not(.btn--wa):not(.btn--ghost):not(.btn--line):not(.btn--light):hover { background: var(--ax-k); border-color: var(--ax-k); color: #fff; transform: none; filter: none; }
.ax-btn--lime { background: var(--ax-l); border-color: var(--ax-l); }
.ax-btn--lime:hover { background: #fff; border-color: #fff; color: var(--ax-k); }
.ax-btn--line { background: transparent; border-color: #fff; color: #fff; }
.ax-btn--line:hover { background: #fff; border-color: #fff; color: var(--ax-k); }
.ax-btn--dark { background: var(--ax-k); border-color: var(--ax-k); color: #fff; }
.ax-btn--dark:hover { background: var(--ax-y); border-color: var(--ax-y); color: var(--ax-k); }
.fam-axiom .btn--ghost, .fam-axiom .btn--line, .fam-axiom .btn--wa { border-radius: 0; font: 700 14px/1.2 var(--font-b); letter-spacing: .1em; text-transform: uppercase; }
.ax-more { margin-top: clamp(30px, 3.4vw, 50px); text-align: center; }

/* ---------- Cabecera ---------- */
.ax-hdr { position: relative; z-index: 30; background: var(--ax-dk); }
.ax-hdr--over { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(10,17,8,.62), rgba(10,17,8,0)); }
.ax-hdr__in { display: flex; align-items: center; gap: 30px; min-height: 108px; padding: 0 60px; }
.ax-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; flex: none; }
.ax-logo__m { width: 48px; height: 48px; flex: none; }
.ax-logo span { font: 500 36px/1 var(--ax-hf); letter-spacing: -.01em; color: #fff; }
.ax-logo--img img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.ax-nav { flex: 1 1 auto; min-width: 0; padding-left: 20px; }
.ax-nav ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.ax-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font: 500 17px/1.5 var(--ax-hf); color: #fff; white-space: nowrap; }
.ax-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ax-nav a:hover::after, .ax-nav a.is-on::after { transform: scaleX(1); }
.ax-hdr__x { display: flex; align-items: center; gap: 4px; position: relative; flex: none; }
.ax-hdr__tel { display: inline-flex; align-items: center; min-height: 44px; margin: 0 16px 0 18px; font: 500 20px/1 var(--ax-hf); color: #fff; white-space: nowrap; }
.ax-hdr__talk { min-height: 48px; padding: 14px 24px; margin-left: 4px; }
.ax-ib { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.ax-ib .ic { width: 24px; height: 24px; stroke-width: 1.6; }
.ax-ib:hover { color: var(--ax-y); }
.ax-cart__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--ax-y); color: var(--ax-k); font: 700 14px/18px var(--font-b); text-align: center; }
.ax-cart__n.is-bump { animation: bump .4s ease; }
.ax-burger { display: none; }
.ax-search { position: absolute; top: calc(100% + 14px); right: 0; width: min(420px, 86vw); padding: 14px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 40; }
.ax-search.is-open { opacity: 1; visibility: visible; transform: none; }
.ax-search .search { max-width: none; border: 1px solid var(--ax-k); border-radius: 0; }
.ax-search .search button { background: var(--ax-k); color: #fff; }
@media (max-width: 1439px) { .ax-hdr__tel { display: none; } .ax-hdr__in { padding: 0 30px; gap: 16px; } .ax-nav a { padding: 0 8px; font-size: 16px; } .ax-nav a::after { left: 8px; right: 8px; } }
@media (max-width: 1279px) {
  .ax-nav, .ax-hdr__talk { display: none; }
  .ax-hdr__in { min-height: 98px; justify-content: space-between; }
  .ax-hdr__x { margin-left: auto; }
  .ax-burger { display: inline-grid; }
}
@media (max-width: 480px) { .ax-hdr__in { padding: 0 20px; min-height: 80px; } .ax-logo span { font-size: 30px; } .ax-logo__m { width: 36px; height: 36px; } }

/* ---------- Héroe ---------- */
.ax-hero { position: relative; height: 900px; max-height: 100vh; min-height: 560px; display: grid; place-items: center; overflow: hidden; background: #1c2417; }
.ax-hero__bg { position: absolute; inset: 0; }
.ax-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ax-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,8,.45), rgba(10,17,8,.18) 40%, rgba(10,17,8,.32)); }
.ax-hero__in { position: relative; z-index: 2; display: grid; justify-items: center; padding: 70px 24px 0; text-align: center; }
.ax-hero__t { display: grid; justify-items: center; margin: 0; font: 400 clamp(76px, 15vw, 230px)/.78 var(--ax-script); text-shadow: 0 4px 30px rgba(0,0,0,.28); }
.ax-hero__a { color: var(--ax-y); transform: rotate(-4deg); }
.ax-hero__b { color: #fff; margin-top: .02em; transform: rotate(-2deg) translateX(.1em); }
.ax-hero__p { margin: 26px 0 0; max-width: 30em; font: 500 clamp(17px, 1.4vw, 21px)/1.4 var(--ax-hf); color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.ax-hero__in > * { animation: axUp .9s ease both; }
.ax-hero__in > :nth-child(2) { animation-delay: .25s; }
@keyframes axUp { from { opacity: 0; transform: translateY(26px); } }
@media (max-width: 767px) { .ax-hero { height: 700px; max-height: 100svh; min-height: 520px; } }

/* ---------- Beneficios ---------- */
.ax-ben { padding-bottom: clamp(40px, 5vw, 70px); }
.ax-bfs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.ax-bf { display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.ax-art { width: 64px; height: 64px; margin-bottom: 18px; }
.ax-bf__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; color: #4A7A18; }
.ax-bf__ic .ic { width: 40px; height: 40px; stroke-width: 1.4; }
.ax-bf__t { margin: 0 0 8px; font: 500 clamp(20px, 1.6vw, 22.7px)/1.2 var(--ax-hf); color: var(--ax-k); }
.ax-bf p { margin: 0; max-width: 17em; font-size: 17px; line-height: 1.68; }
@media (max-width: 1023px) { .ax-bfs { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }
@media (max-width: 599px) { .ax-bfs { grid-template-columns: 1fr; } }

/* ---------- Horario y tarjeta amarilla ---------- */
.ax-oh { padding-top: clamp(40px, 5vw, 70px); }
.ax-oh__g { position: relative; display: grid; grid-template-columns: 403fr 641fr 404fr; align-items: center; }
.ax-oh__m { grid-column: 2; grid-row: 1; position: relative; z-index: 1; margin: 0; }
.ax-oh__m img { width: 100%; aspect-ratio: 640 / 580; object-fit: cover; display: block; }
.ax-oh__c, .ax-oh__y { position: relative; z-index: 2; }
.ax-oh__c { grid-column: 1 / 3; grid-row: 1; justify-self: start; width: 63%; align-self: end; margin-bottom: -6%; padding: clamp(28px, 3.9vw, 56px) clamp(24px, 3.2vw, 46px); background: var(--ax-cream); }
.ax-oh__c h2 { color: var(--ax-k); }
.ax-oh__c p { margin: 0 0 14px; }
.ax-oh__c ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 15px; }
.ax-oh__c li { position: relative; padding-left: 16px; }
.ax-oh__c li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ax-y); }
.ax-oh__y { grid-column: 2 / 4; grid-row: 1; justify-self: end; width: 63%; align-self: start; margin-top: 8%; padding: clamp(28px, 3.9vw, 56px) clamp(24px, 3.2vw, 46px); background: var(--ax-y); color: var(--ax-k); }
.ax-oh__y h2 { color: var(--ax-k); }
.ax-oh__y p { margin: 0 0 22px; color: var(--ax-k); }
.ax-oh__y .ax-btn--line { border-color: var(--ax-k); color: var(--ax-k); }
.ax-oh__y .ax-btn--line:hover { background: var(--ax-k); color: #fff; }
.ax-oh__g:not(:has(.ax-oh__c)) .ax-oh__y { margin-top: 0; }
@media (max-width: 899px) {
  .ax-oh__g { grid-template-columns: 1fr; gap: 0; }
  .ax-oh__m, .ax-oh__c, .ax-oh__y { grid-column: 1; grid-row: auto; width: 100%; margin: 0; justify-self: stretch; }
  .ax-oh__c { order: 1; } .ax-oh__m { order: 2; } .ax-oh__y { order: 3; }
  .ax-oh__m img { aspect-ratio: 4 / 3; }
}

/* ---------- Banda oscura ---------- */
.ax-band { position: relative; min-height: clamp(460px, 50.5vw, 728px); display: grid; align-items: center; overflow: hidden; background: #0a0f08; color: #fff; }
.ax-band__bg { position: absolute; inset: 0; }
.ax-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.ax-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,8,.9), rgba(10,17,8,.55) 55%, rgba(10,17,8,.25)); }
.ax-band__in { position: relative; z-index: 2; padding: 60px 0; }
.ax-band__t { margin: 0 0 34px; max-width: 12.5em; font: 500 clamp(32px, calc(18px + 2.7vw), 57px)/1.02 var(--ax-hf); letter-spacing: -.01em; color: #fff; }

/* ---------- Productos ---------- */
.ax-pcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 4vw, 60px) clamp(20px, 2.3vw, 30px); }
.ax-pc { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.ax-pc__i { position: relative; display: block; width: 100%; aspect-ratio: 1; margin-bottom: 14px; overflow: hidden; background: #f4f1ea; }
.ax-pc__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ax-pc:hover .ax-pc__i img { transform: scale(1.06); }
.ax-sale { position: absolute; top: 0; left: 0; padding: 6px 12px; background: var(--ax-y); color: var(--ax-k); font: 700 14px/1.2 var(--font-b); }
.ax-pc__c { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ax-txt); }
.ax-pc__t { margin: 0; font: 500 19px/1.3 var(--ax-hf); color: var(--ax-k); }
.ax-pc__t a { display: inline-block; padding: 5px 0; color: inherit; }
.ax-pc__t a:hover { color: #6C8F2D; }
.ax-pc__s { font-size: 14px; color: #3F7D1F; font-weight: 500; }
.ax-price { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font: 400 18px/1.3 var(--ax-hf); color: var(--ax-txt); }
.ax-price s { color: #7a756e; order: 2; font-size: 15px; }
.ax-price b { font-weight: 400; }
.ax-price small { font-size: 14px; }
.ax-add { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 6px 4px; border: 0; border-bottom: 2px solid var(--ax-y); background: transparent; color: var(--ax-k); font: 700 14px/1.2 var(--font-b); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s; }
.ax-add .ic { width: 16px; height: 16px; }
.ax-add:hover { border-color: var(--ax-k); }
.ax-add.is-added { border-color: var(--ok); color: var(--ok); }
.ax-add.btn--wa { color: #15803D; border-color: #15803D; }
@media (max-width: 1099px) { .ax-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .ax-pcs { grid-template-columns: 1fr; } }

/* ---------- Tiendas aliadas ---------- */
.ax-retail { background: var(--ax-cream); }
.ax-retail__g { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 2.8vw, 40px); align-items: start; }
.ax-retail__l .ax-hd { margin-bottom: clamp(40px, 6vw, 86px); }
.ax-retail__l .ax-hd__t { max-width: 9em; }
.ax-retail__a { position: relative; }
.ax-retail__a > img { width: 100%; aspect-ratio: 630 / 560; object-fit: cover; display: block; }
.ax-retail__r { padding-top: clamp(0px, 2vw, 30px); }
.ax-retail__b img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ax-retail__r p { margin: 26px 0 28px; max-width: 34em; }
.ax-seal { position: absolute; right: 0; top: 22%; width: clamp(150px, 19vw, 274px); aspect-ratio: 1; translate: calc(50% + clamp(10px, 1.4vw, 20px)) 0; z-index: 3; filter: drop-shadow(0 6px 14px rgba(0,0,0,.15)); }
.ax-seal svg { width: 100%; height: 100%; }
@media (max-width: 899px) { .ax-retail__g { grid-template-columns: 1fr; gap: 28px; } .ax-seal { right: 12px; top: auto; bottom: 12px; translate: 0; width: 130px; } .ax-retail__l .ax-hd { margin-bottom: 30px; } }

/* ---------- Opiniones ---------- */
.ax-test { background: var(--ax-beige); padding: clamp(60px, 7vw, 100px) 0; }
.ax-test__g { display: grid; grid-template-columns: 1fr 2.4fr; gap: 30px clamp(30px, 4vw, 60px); align-items: start; }
.ax-avs { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ax-av { display: grid; place-items: center; width: 72px; height: 72px; padding: 0; border: 3px solid transparent; border-radius: 50%; background: #3F5A1F; color: #fff; font: 500 22px/1 var(--ax-hf); cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s; }
.ax-av[aria-current="true"] { opacity: 1; border-color: var(--ax-y); }
.ax-av:hover { opacity: 1; }
.ax-qs__s { display: grid; }
.ax-q { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.ax-q.is-on { opacity: 1; visibility: visible; }
html:not(.js) .ax-q:first-child { opacity: 1; visibility: visible; }
.ax-q blockquote { margin: 0 0 24px; font: 400 clamp(20px, 1.9vw, 26px)/1.5 var(--ax-hf); color: var(--ax-k); }
.ax-q figcaption { display: grid; gap: 2px; }
.ax-q figcaption b { font: 500 18px/1.3 var(--ax-hf); color: var(--ax-k); }
.ax-q figcaption span { font-size: 15px; }
.ax-arrs { display: flex; gap: 10px; margin-top: 26px; }
.ax-arrs button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ax-k); cursor: pointer; transition: background-color .25s, color .25s; }
.ax-arrs button:hover { background: var(--ax-k); color: #fff; }
.ax-arrs .ic { width: 18px; height: 18px; }
.ax-test .sample-note { margin-top: 18px; }
@media (max-width: 899px) { .ax-test__g { grid-template-columns: 1fr; } }

/* ---------- Noticias ---------- */
.ax-po__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.3vw, 30px); }
.ax-po { display: grid; align-content: start; gap: 8px; }
.ax-po__i { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 10px; }
.ax-po__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ax-po:hover .ax-po__i img { transform: scale(1.06); }
.ax-po__c { margin: 0; font: 700 14px/1.4 var(--font-b); letter-spacing: .06em; text-transform: uppercase; color: var(--ax-k); }
.ax-po__t { margin: 0; font: 500 clamp(19px, 1.6vw, 22px)/1.3 var(--ax-hf); color: var(--ax-k); }
.ax-po__t a { display: inline-block; padding: 4px 0; color: inherit; }
.ax-po__t a:hover { color: #6C8F2D; }
.ax-po__m { margin: 0; font-size: 14px; color: #6f6a63; }
.ax-po__m i { font-style: normal; margin: 0 6px; }
@media (max-width: 1099px) { .ax-po__g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .ax-po__g { grid-template-columns: 1fr; } }

/* ---------- Boletín (solo internas) ---------- */
.ax-news { background: var(--ax-cream); padding: clamp(44px, 5vw, 70px) 0; }
.ax-news__g { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; align-items: center; }
.ax-news__t { margin: 0; }
.ax-news__f { display: flex; gap: 10px; min-width: 0; }
.ax-news__f input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 18px; border: 1px solid #cfc9bb; border-radius: 0; background: #fff; color: var(--ax-k); font: 400 16px/1 var(--font-b); }
.ax-news__f input:focus { outline: 2px solid var(--ax-k); outline-offset: 0; box-shadow: none; }
@media (max-width: 899px) { .ax-news__g { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .ax-news__f { flex-wrap: wrap; } .ax-news__f input, .ax-news__f .ax-btn { width: 100%; } }

/* ---------- Pie ---------- */
.ax-ftr { background: var(--ax-dk); color: #C9CCC6; }
.ax-ftr__g { display: grid; grid-template-columns: 1.35fr 1.1fr .8fr .8fr; gap: 36px clamp(24px, 3vw, 44px); padding: clamp(56px, 6vw, 90px) 0 clamp(44px, 5vw, 64px); }
.ax-fh { margin: 0 0 22px; font: 500 18px/1.3 var(--ax-hf); color: #fff; }
.ax-ftr p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; }
.ax-ftr a { color: #E6E8E3; }
.ax-ftr a:hover { color: var(--ax-y); }
.ax-ftr__tel { display: inline-flex; align-items: center; min-height: 44px; font: 500 20px/1 var(--ax-hf); color: #fff; }
.ax-ftr ul { margin: 0; padding: 0; list-style: none; }
.ax-ftr__l a, .ax-ftr__s a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; }
.ax-ftr__s .ic { width: 18px; height: 18px; }
.ax-ftr__h { display: grid; gap: 2px; font-size: 15px; }
.ax-copy { display: block; padding: 24px 0 30px; border-top: 1px solid #2a3327; }
.ax-copy p { margin: 0; font-size: 14px; color: #A9ADA5; }
.ax-copy a { display: inline-block; padding: 12px 0; margin: -12px 0; color: #fff; text-decoration: underline; }
@media (max-width: 1023px) { .ax-ftr__g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .ax-ftr__g { grid-template-columns: 1fr; } }

/* ---------- Internas ---------- */
.ax-ph { position: relative; overflow: hidden; background: var(--ax-dk); padding: clamp(60px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); color: #fff; }
.ax-ph__bg { position: absolute; inset: 0; }
.ax-ph__bg img { width: 100%; height: 100%; object-fit: cover; }
.ax-ph__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,17,8,.68); }
.ax-ph__in { position: relative; z-index: 2; }
.ax-ph__t { margin: 14px 0 0; font: 500 clamp(34px, calc(18px + 3.4vw), 66px)/1 var(--ax-hf); letter-spacing: -.01em; color: #fff; }
.ax-crumb { display: flex; flex-wrap: wrap; gap: 2px 10px; font: 500 15px/1.3 var(--font-b); color: #fff; }
.ax-crumb a { display: inline-block; padding: 12px 0; margin: -12px 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fam-axiom .eyebrow { font: 700 14px/1.4 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--ax-k); }
.fam-axiom .h2 { font: 500 clamp(30px, calc(18px + 2.7vw), 57px)/1.05 var(--ax-hf); letter-spacing: -.01em; color: var(--ax-k); }
.fam-axiom .h3, .fam-axiom .prod__t { font-family: var(--ax-hf); font-weight: 500; }
.fam-axiom .price { font-family: var(--ax-hf); font-weight: 500; }
.fam-axiom .sec--brand { background: var(--ax-y); color: var(--ax-k); }
.fam-axiom .sec--dark { background: var(--ax-dk); }

@media (prefers-reduced-motion: reduce) {
  .ax-hero__in > *, .ax-cart__n { animation: none !important; }
  .ax-pc__i img, .ax-po__i img, .ax-search, .ax-nav a::after, .ax-q, .ax-btn, .ax-av { transition: none !important; }
}

.ax-logo--img img { height: 92px; max-width: none; }
.nav-panel__top .ax-logo--img img { height: 72px; }
[class*='ax-ftr'] .ax-logo--img img { height: 120px; }
@media (max-width: 640px) { .ax-logo--img img { height: 68px; } }

.ax-hdr { position: sticky; top: 0; left: 0; right: 0; transition: background-color .3s, box-shadow .3s, padding .3s; }
.ax-hdr .ax-logo--img img { transition: height .3s; }
.nb-fijo .ax-hdr { background: var(--dark); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.nb-fijo .ax-hdr .ax-logo--img img { height: 64px; }
@media (max-width: 640px) { .nb-fijo .ax-hdr .ax-logo--img img { height: 56px; } }

.ax-hdr.ax-hdr--over { position: fixed; }
.ax-hdr .ax-logo--img { margin-top: 24px; transition: margin .3s; }  /* el logo quedaba a 3–8 px del borde de arriba */
@media (max-width: 640px) { .ax-hdr .ax-logo--img { margin-top: 14px; } }
.ax-hdr__in { padding-bottom: 16px; transition: min-height .3s, padding .3s; }  /* el logo bajado no queda pegado al piso */
@media (max-width: 640px) { .ax-hdr__in { padding-bottom: 10px; } }
.nb-fijo .ax-hdr .ax-logo--img { margin-top: 0; }
.sec--brand .stat b, .sec--brand .stat b span { color: var(--on-primary); }  /* cifras de Nosotros: eran amarillas sobre la franja amarilla */
.nb-fijo .ax-hdr__in { min-height: 80px; padding-bottom: 0; }
