:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --alt: #FBF3E2; --dark: #7A2A2B; --dark2: #5E1F20;
  --ink: #2B1B1A; --ink-base: #2B1B1A; --text: #5B4A47; --border: #EADFCB;
  --brand: #F2B705; --primary: #F2B705; --on-primary: #2B1B1A; --accent: #7A2A2B; --on-accent: #FFFFFF;
  --link: #8B6903; --link-base: #8B6903; --accent-ink: #7A2A2B; --link-dark: #F2B705; --link-light: #916E03;
  --light-ink: #111111; --light-text: #5F6370; --card: #FFFFFF;
  --sale: #A83B3A; --ok: #15803D;
  --radius: 10px; --btn-radius: 50px; --btn-pad: 13px 26px; --wrap: 1280px;
  --font-h: 'Archivo', sans-serif; --font-b: 'Poppins', sans-serif; --font-nav: 'Poppins', sans-serif; --font-btn: 'Poppins', sans-serif; --font-eb: 'Poppins', sans-serif;
  --h1-size: clamp(36.0px, 4.167vw, 60px); --h1-weight: 600; --h1-case: none; --h1-ls: normal; --h1-lh: 1.2; --h1-font: 'Archivo', sans-serif;
  --h2-size: clamp(30.0px, 3.194vw, 46px); --h2-weight: 600; --h2-case: none; --h2-ls: normal; --h2-lh: 1.2; --h2-font: 'Archivo', sans-serif;
  --h3-size: clamp(20.0px, 1.667vw, 24px); --h3-weight: 600; --h3-case: none; --h3-ls: normal; --h3-lh: 1.3; --h3-font: 'Archivo', sans-serif;
  --body-size: 16px; --body-weight: 400; --body-lh: 1.5; --body-ls: normal;
  --nav-size: 16px; --nav-weight: 500; --nav-case: none; --nav-ls: normal;
  --btn-size: 16px; --btn-weight: 500; --btn-case: none; --btn-ls: normal;
  --eb-size: 14px; --eb-weight: 500; --eb-case: none; --eb-ls: normal;
}

/* ---------- 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: 1025px) {  /* 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-farmello { --fm-y: #F2B705; --fm-yt: #916E03; --fm-ytl: #8B6903; --fm-g: #7A2A2B; --fm-l: #FBF3E2; --fm-ink: #2B1B1A; --fm-sh: 0 8px 30px rgba(0,0,0,.08); }
.fam-farmello .wrap { width: min(100% - 80px, var(--wrap)); }
@media (max-width: 767px) { .fam-farmello .wrap { width: calc(100% - 36px); } }
.fam-farmello img { max-width: 100%; }
.fm-y { color: var(--fm-yt); }
.fm-hero .fm-y, .fm-cta .fm-y, .fm-nums .fm-y, .fm-contact .fm-y, .fm-ph .fm-y { color: var(--fm-y); }
.fm-h2 { margin: 0; font: var(--h2-weight) var(--h2-size)/var(--h2-lh) var(--h2-font); color: var(--fm-ink); }
.fm-h3 { margin: 0; font: var(--h3-weight) var(--h3-size)/var(--h3-lh) var(--h3-font); color: var(--fm-ink); }
.fm-h3 a { color: inherit; }
.fm-eb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 14px/1.5 var(--font-b); color: var(--fm-ink); }
.fm-eb__ic { width: 18px; height: 18px; color: var(--fm-yt); flex: none; }
.fm-hero .fm-eb, .fm-nums .fm-eb, .fm-contact .fm-eb, .fm-faq .fm-eb { color: inherit; }
.fm-hero .fm-eb, .fm-contact .fm-eb { color: #fff; }
.fm-hero .fm-eb__ic, .fm-contact .fm-eb__ic { color: var(--fm-y); }
.fm-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--fm-y); color: var(--fm-ink); }
.fm-ico .ic { width: 20px; height: 20px; }
.fm-ico--lg { width: 52px; height: 52px; }
.fm-ico--ring { background: transparent; border: 2px solid var(--fm-y); color: var(--fm-yt); width: 56px; height: 56px; }
.fm-ico--ring .ic { width: 24px; height: 24px; }

/* ---------- Botones ---------- */
.fm-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 6px 6px 26px; border: 0; border-radius: 50px; background: var(--fm-y); color: var(--fm-ink); font: 500 16px/1.4 var(--font-btn); cursor: pointer; text-align: left; transition: background .25s, color .25s, transform .25s; }
.fm-btn i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fm-g); color: var(--fm-y); flex: none; transition: transform .25s; }
.fm-btn i svg { width: 16px; height: 16px; }
.fm-btn:hover { background: #fff; color: var(--fm-ink); }
.fm-btn:hover i { transform: translateX(3px); }
.fm-btn--plain { justify-content: center; padding: 6px 26px; min-height: 48px; }
.fm-btn--plain:hover { background: var(--fm-g); color: #fff; }
.fm-btn--sm { min-height: 44px; padding: 6px 22px; font-size: 15px; }
.fm-btn--line { background: transparent; color: var(--fm-y); box-shadow: inset 0 0 0 1px var(--fm-y); }
.fm-btn--line:hover { background: var(--fm-y); color: var(--fm-ink); }
.fam-farmello .btn:not(.btn--wa):not(.btn--ghost):not(.btn--line):not(.btn--light) { background: var(--fm-y); color: var(--fm-ink); }
.fam-farmello .btn:not(.btn--wa):not(.btn--ghost):not(.btn--line):not(.btn--light):hover { background: var(--fm-g); color: #fff; transform: none; filter: none; }

/* ---------- Cabecera ---------- */
.fm-hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 30; padding: 28px 0; }
.fm-hdr__in { display: flex; align-items: center; gap: 24px; }
.fm-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex: none; color: #fff; text-decoration: none; }
.fm-logo__m { width: 36px; height: 36px; flex: none; }
.fm-logo span { font: 800 28px/1 var(--font-h); letter-spacing: -.01em; white-space: nowrap; }
.fm-logo--img img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.fm-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.fm-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.fm-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; font: var(--nav-weight) var(--nav-size)/1.5 var(--font-nav); color: #fff; white-space: nowrap; transition: color .2s; }
.fm-nav a:hover, .fm-nav a.is-on { color: var(--fm-y); }
.fm-hdr__x { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.fm-hdr__cta { padding-left: 26px; }
.fm-ib { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.fm-ib .ic { width: 20px; height: 20px; }
.fm-ib:hover { background: var(--fm-y); color: var(--fm-ink); }
.fm-ib__n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--fm-y); color: var(--fm-ink); font: 600 14px/20px var(--font-b); text-align: center; }
.fm-ib__n.is-bump { animation: bump .4s ease; }
.fm-burger { display: none; border-radius: 4px; background: var(--fm-y); color: var(--fm-ink); }
@media (max-width: 1024px) {
  .fm-nav, .fm-hdr__cta { display: none; }
  .fm-burger { display: grid; }
  .fm-hdr { padding: 20px 0; }
  .fm-logo span { font-size: 26px; }
}

/* ---------- Portada ---------- */
.fm-hero { position: relative; padding: 170px 0 0; color: #fff; }
.fm-hero::after { content: ""; position: absolute; inset: 0 0 100px 0; background: #fff; z-index: -2; }
.fm-hero__bg { position: absolute; inset: 0 0 100px 0; z-index: -1; overflow: hidden; background: #1c2a24; }
.fm-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,45,.55), rgba(8,28,45,.62)); }
.fm-hero__w { position: relative; }
.fm-hero__l { max-width: min(760px, calc(100% - 440px)); }
@media (max-width: 879px) { .fm-hero__l { max-width: none; } }
.fm-hero__t { margin: 0 0 26px; font: var(--h1-weight) var(--h1-size)/1.2 var(--h1-font); color: #fff; }
.fm-hero__side { position: absolute; top: 0; right: 0; width: 400px; z-index: 2; }
.fm-hero__p { margin: 0 0 40px; text-align: right; color: #fff; }
.fm-form { display: grid; gap: 12px; padding: 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(12,28,24,.55); backdrop-filter: blur(6px); }
.fm-form__t { margin: 0 0 6px; text-align: center; font: 600 24px/1.3 var(--font-h); color: #fff; }
.fm-form input, .fm-form select { width: 100%; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; background: rgba(255,255,255,.08); color: #fff; font: 400 16px/1 var(--font-b); }
.fm-form select option { color: #050402; }
.fm-form input::placeholder { color: rgba(255,255,255,.9); }
.fm-form input:focus, .fm-form select:focus { outline: 2px solid var(--fm-y); outline-offset: 1px; box-shadow: none; }
.fm-hero__img { position: relative; margin-top: 50px; height: clamp(250px, 31vw, 445px); border-radius: 10px; overflow: hidden; background: #2b3b2b; }
.fm-hero__img > img { width: 100%; height: 100%; object-fit: cover; }
.fm-rate { position: absolute; left: 30px; bottom: 24px; display: grid; gap: 4px; padding: 20px 22px; border-radius: 10px; background: rgba(8,28,20,.72); backdrop-filter: blur(4px); color: #fff; font: 600 16px/1.4 var(--font-h); }
.fm-rate__s { display: flex; gap: 4px; color: var(--fm-y); }
.fm-rate__s .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.fm-rate b { font: 600 34px/1.1 var(--font-h); color: var(--fm-y); }
@media (max-width: 879px) {
  .fm-hero { padding-top: 130px; }
  .fm-hero__side { position: static; width: auto; margin-top: 28px; }
  .fm-hero__p { text-align: left; margin-bottom: 24px; }
  .fm-hero__img { margin-top: 36px; }
  .fm-hero__bg, .fm-hero::after { bottom: 70px; }
}
@media (max-width: 767px) { .fm-hero__t { font-size: max(34px, 9vw); } .fm-hero { text-align: left; } .fm-rate { left: 14px; bottom: 14px; padding: 12px 14px; } .fm-rate b { font-size: 26px; } }

/* ---------- Secciones y cabezales ---------- */
.fm-sec { padding: 100px 0; }
.fm-sec--l { background: var(--fm-l); }
.fm-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 50px; }
.fm-head__l { max-width: 640px; }
.fm-head__r { display: grid; justify-items: end; gap: 22px; text-align: right; }
.fm-head__r p { margin: 0; max-width: 560px; }
.fm-head--c { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.fm-head--c .fm-head__l { max-width: 760px; }
.fm-lead { margin: 16px 0 0; }
.fm-head--page { margin-bottom: 40px; }
@media (max-width: 1024px) { .fm-head { grid-template-columns: 1fr; text-align: center; justify-items: center; } .fm-head__r { justify-items: center; text-align: center; } }
@media (max-width: 767px) { .fm-sec { padding: 64px 0; } .fm-h2 { font-size: max(28px, 7.4vw); } .fm-head { margin-bottom: 34px; } }

/* ---------- Beneficios ---------- */
.fm-bns { padding: 80px 0 0; }
.fm-bns__g { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fm-bn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; padding: 30px 20px 30px 30px; border-radius: 10px; background: #fff; box-shadow: var(--fm-sh); }
.fm-bn__t p { margin: 10px 0 24px; }
.fm-bn__img { display: block; aspect-ratio: 1; border-radius: 50% 50% 50% 14px; overflow: hidden; }
.fm-bn__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .fm-bns__g { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .fm-bn { grid-template-columns: 1fr; text-align: center; } .fm-bn__t { display: grid; justify-items: center; } .fm-bn__img { max-width: 260px; margin: 0 auto; } }

/* ---------- Sobre nosotros ---------- */
.fm-col { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.9fr; grid-template-rows: 230px 220px; gap: 14px; }
.fm-col > * { position: relative; border-radius: 10px; overflow: hidden; }
.fm-col img { width: 100%; height: 100%; object-fit: cover; }
.fm-col__a { grid-area: 1 / 1; }
.fm-col__b { grid-area: 1 / 2; }
.fm-col__c { grid-area: 1 / 3; }
.fm-col__d { grid-area: 1 / 4 / 3 / 5; }
.fm-col__e { grid-area: 2 / 1; }
.fm-col__f { grid-area: 2 / 2 / 3 / 4; }
.fm-ibox, .fm-ring { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 18px; background: #fff; box-shadow: var(--fm-sh); text-align: center; }
.fm-ibox h3, .fm-ring h3 { margin: 0; font: 600 18px/1.4 var(--font-h); color: #252525; }
.fm-ibox p { margin: 0; font-size: 15px; line-height: 1.5; }
.fm-ring__c { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; background: conic-gradient(var(--fm-y) calc(var(--v) * 1%), #e8e8e8 0); position: relative; }
.fm-ring__c::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.fm-ring__c b { position: relative; font: 600 22px/1 var(--font-h); color: var(--fm-ink); }
.fm-notch { position: absolute; top: 0; right: 0; border-radius: 0 0 0 24px; padding: 14px 6px 6px 22px; background: var(--fm-y); box-shadow: -14px 0 0 6px #fff, 0 -14px 0 6px #fff; }
.fm-col__d .fm-notch { top: 0; right: 0; box-shadow: none; outline: 14px solid #fff; border-radius: 50px; margin: 14px; }
.fm-trust { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; gap: 14px; padding: 18px; border-radius: 10px; background: rgba(8,20,12,.7); backdrop-filter: blur(4px); color: #fff; max-width: 330px; }
.fm-trust h3 { margin: 0 0 6px; font: 600 18px/1.3 var(--font-h); color: #fff; }
.fm-trust p { margin: 0; font-size: 15px; line-height: 1.5; color: #fff; }
@media (max-width: 1024px) {
  .fm-col { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .fm-col > * { grid-area: auto !important; min-height: 200px; }
  .fm-col__d { grid-column: 1 / -1 !important; min-height: 380px; }
  .fm-col__f { grid-column: 1 / -1 !important; }
}
@media (max-width: 575px) { .fm-col { grid-template-columns: 1fr; } }

/* ---------- Soluciones ---------- */
.fm-sos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fm-so { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 16px; border-radius: 10px; background: #fff; }
.fm-so > .fm-ico { margin: 8px 0 4px 4px; }
.fm-so .fm-h3 { padding: 0 4px; font-size: 24px; }
.fm-so > p { margin: 0; padding: 0 4px; }
.fm-so__n { position: absolute; top: 18px; right: 24px; font: 600 64px/1 var(--font-h); color: #f1f1f1; }
.fm-so__pic { position: relative; display: block; margin-top: auto; aspect-ratio: 5 / 3; border-radius: 10px; overflow: hidden; }
.fm-so__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-so:hover img { transform: scale(1.05); }
.fm-so__go { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--fm-y); color: var(--fm-ink); box-shadow: 0 0 0 8px #fff; }
.fm-so__go svg { width: 18px; height: 18px; }
.fm-so--img { padding: 0; min-height: 420px; color: #fff; overflow: hidden; }
.fm-so__bg { position: absolute; inset: 0; }
.fm-so__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-so--img .fm-so__go { top: 14px; right: 14px; box-shadow: none; }
.fm-so__box { position: relative; margin: auto 24px 24px; padding: 22px; border-radius: 10px; background: rgba(20,20,20,.62); backdrop-filter: blur(6px); text-align: center; }
.fm-so__box h3, .fm-so__box h3 a { color: #fff; }
.fm-so__box p { margin: 8px 0 0; color: #fff; }
@media (max-width: 1024px) { .fm-sos { grid-template-columns: 1fr; } .fm-so--img { min-height: 360px; } }

/* ---------- Productos ---------- */
.fm-pjs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 36px 26px; }
.fm-pj { grid-column: span 6; position: relative; display: flex; flex-direction: column; }
.fm-pj:nth-child(3) { grid-column: span 5; }
.fm-pj:nth-child(4) { grid-column: span 7; }
.fm-pj:nth-child(2) { grid-column: span 6; }
.fm-pj__img { aspect-ratio: 16 / 8.800; border-radius: 10px; overflow: hidden; }
.fm-pj:nth-child(n+3) .fm-pj__img { aspect-ratio: 16 / 9.600; }
.fm-pj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-pj:hover .fm-pj__img img { transform: scale(1.05); }
.fm-pj__b { position: relative; margin: -50px 20px 0; padding: 22px 24px 22px; border-radius: 10px; background: #fff; box-shadow: var(--fm-sh); display: grid; gap: 10px; }
.fm-pj__b p { margin: 0; font-size: 15px; line-height: 1.5; }
.fm-pj__go { position: absolute; top: -26px; right: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--fm-y); color: var(--fm-ink); box-shadow: 0 0 0 8px #fff; }
.fm-pj__go svg { width: 18px; height: 18px; }
.fm-pj__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 4px; }
.fm-price { display: inline-flex; gap: 2px 10px; flex-wrap: wrap; align-items: baseline; font: 600 22px/1.3 var(--font-h); color: var(--fm-ink); }
.fm-price s { font: 400 15px/1.3 var(--font-b); color: #6a6a6a; }
.fm-price b { font-weight: 600; }
.fm-price small { font: 400 14px/1.3 var(--font-b); color: #5a5a5a; }
.fm-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 50px; background: var(--fm-y); color: var(--fm-ink); font: 500 15px/1.2 var(--font-btn); cursor: pointer; transition: background .2s, color .2s; }
.fm-add .ic { width: 17px; height: 17px; }
.fm-add:hover { background: var(--fm-g); color: #fff; }
@media (max-width: 1024px) { .fm-pjs { grid-template-columns: 1fr; } .fm-pj, .fm-pj:nth-child(n) { grid-column: auto; } .fm-pj:nth-child(n) .fm-pj__img { aspect-ratio: 16 / 10; } }
@media (max-width: 575px) { .fm-pj__b { margin: -40px 12px 0; padding: 34px 18px 20px; } }

/* ---------- Llamado ---------- */
.fm-cta { position: relative; overflow: hidden; background: #1a2a1c; color: #fff; padding: 90px 0 70px; }
.fm-cta__bg { position: absolute; inset: 0; }
.fm-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,22,12,.8); }
.fm-cta__in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.fm-cta .fm-h2 { color: #fff; max-width: 580px; }
.fm-cta__t p { margin: 20px 0 30px; max-width: 560px; color: #fff; }
.fm-cta__b { display: flex; flex-wrap: wrap; gap: 14px; }
.fm-cta__img { max-height: 380px; overflow: hidden; border-radius: 10px; justify-self: end; width: min(100%, 380px); }
.fm-cta__img img { width: 100%; height: 380px; object-fit: cover; }
@media (max-width: 899px) { .fm-cta__in { grid-template-columns: 1fr; } .fm-cta__img { display: none; } .fm-cta { padding: 64px 0; } }

/* ---------- Por qué ---------- */
.fm-why { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.fm-why__l p { margin: 18px 0 30px; }
.fm-why__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.fm-why__p { display: block; aspect-ratio: 210 / 290; border-radius: 10px; overflow: hidden; }
.fm-why__p img { width: 100%; height: 100%; object-fit: cover; }
.fm-seal { width: 100%; max-width: 190px; justify-self: center; }
.fm-why__big { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.fm-why__big img { width: 100%; height: 100%; object-fit: cover; }
.fm-yrs { position: absolute; top: 0; right: 0; display: grid; justify-items: center; padding: 14px 26px; border-radius: 0 0 0 18px; background: #fff; }
.fm-yrs b { font: 600 32px/1.1 var(--font-h); color: var(--fm-ink); }
.fm-yrs span { font: 600 14px/1.3 var(--font-h); text-transform: uppercase; color: var(--fm-ink); }
.fm-wcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fm-wc { display: grid; justify-items: center; gap: 8px; padding: 22px 14px; border-radius: 10px; background: #fff; box-shadow: var(--fm-sh); text-align: center; }
.fm-wc h3 { margin: 6px 0 0; font: 600 16px/1.4 var(--font-h); color: var(--fm-ink); }
.fm-wc p { margin: 0; font-size: 15px; line-height: 1.5; }
@media (max-width: 1024px) { .fm-why { grid-template-columns: 1fr; } .fm-why__pics { max-width: 520px; } }
@media (max-width: 575px) { .fm-wcs { grid-template-columns: 1fr; } }

/* ---------- Opiniones ---------- */
.fm-tests__g { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.fm-tcs { position: relative; margin-top: 34px; }
.fm-tc { display: none; position: relative; margin: 0; padding: 34px 40px 36px; border-radius: 10px; background: #fff; text-align: center; overflow: hidden; }
.fm-tc.is-on { display: grid; justify-items: center; gap: 8px; animation: fmIn .5s ease; }
@keyframes fmIn { from { opacity: 0; transform: translateY(10px); } }
.fm-tc__q { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 0 0 0 60px; background: var(--fm-y); color: var(--fm-ink); padding: 0 0 8px 12px; }
.fm-tc__q .ic { width: 22px; height: 22px; }
.fm-tc__av { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--fm-g); color: #fff; font: 600 16px/1 var(--font-h); }
.fm-tc figcaption { display: grid; gap: 2px; }
.fm-tc figcaption b { font: 600 16px/1.4 var(--font-h); color: var(--fm-ink); }
.fm-tc blockquote { margin: 6px 0 0; }
.fm-tc blockquote p { margin: 0; }
.fm-stars { display: flex; gap: 3px; color: var(--fm-y); }
.fm-stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.fm-tnav { display: flex; gap: 10px; margin-top: 18px; }
.fm-tnav button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--fm-g); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.fm-tnav button:hover { background: var(--fm-y); color: var(--fm-ink); }
.fm-tnav .ic { width: 18px; height: 18px; }
.fm-note { margin: 14px 0 0; font-size: 14px; color: #555; }
.fm-tp { position: relative; aspect-ratio: 1 / 1.050; max-width: 520px; justify-self: end; width: 100%; }
.fm-tp__a { position: absolute; inset: 0 0 0 22%; border-radius: 0 0 50% 0 / 0 0 40% 0; border-radius: 40px 40px 120px 40px; overflow: hidden; }
.fm-tp__b { position: absolute; left: 0; top: 18%; width: 46%; aspect-ratio: 1 / 1.150; border-radius: 14px 14px 14px 80px; overflow: hidden; border: 8px solid var(--fm-l); }
.fm-tp img { width: 100%; height: 100%; object-fit: cover; }
.fm-strip { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; margin-top: 60px; padding: 30px 34px; border-radius: 10px; overflow: hidden; background: #2a3a2a; color: #fff; }
.fm-strip__bg { position: absolute; inset: 0; }
.fm-strip__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-strip__bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,22,12,.78); }
.fm-strip__t { position: relative; margin: 0; max-width: 270px; padding-right: 34px; border-right: 2px solid var(--fm-y); font: 600 20px/1.35 var(--font-h); color: #fff; }
.fm-strip ul { position: relative; flex: 1; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 10px 28px; margin: 0; padding: 0; list-style: none; font: 600 18px/1.4 var(--font-h); color: #fff; }
@media (max-width: 1024px) { .fm-tests__g { grid-template-columns: 1fr; } .fm-tp { justify-self: center; } }
@media (max-width: 575px) { .fm-tc { padding: 56px 18px 26px; } .fm-strip__t { border: 0; padding: 0; max-width: none; } }

/* ---------- Equipo ---------- */
.fm-tms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fm-tm { position: relative; padding: 16px; border-radius: 10px; background: #fff; box-shadow: var(--fm-sh); }
.fm-tm__img { display: block; aspect-ratio: 242 / 270; border-radius: 10px; overflow: hidden; }
.fm-tm__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-tm:hover img { transform: scale(1.04); }
.fm-tm__b { position: relative; margin: -52px 0 0 64px; padding: 14px 16px; border-radius: 10px 0 10px 0; background: #fff; }
.fm-tm__b h3 { margin: 0; font: 600 20px/1.3 var(--font-h); color: var(--fm-ink); }
.fm-tm__b p { margin: 2px 0 0; font-size: 15px; }
@media (max-width: 1024px) { .fm-tms { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Cifras ---------- */
.fm-nums { background: #464a48; color: #fff; }
.fm-nums .fm-h2, .fm-nums p { color: #fff; }
.fm-nums__g { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; }
.fm-nums__g > div > p { margin: 22px 0 34px; max-width: 560px; }
.fm-nbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fm-nb { display: grid; align-content: center; justify-items: center; gap: 4px; min-height: 96px; padding: 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; text-align: center; }
.fm-nb b { font: 600 30px/1.2 var(--font-h); color: #fff; }
.fm-nb > span { font: 600 16px/1.3 var(--font-h); color: #fff; }
.fm-nb--i { display: flex; justify-content: flex-start; gap: 14px; text-align: left; }
.fm-nb--i b { font: 600 17px/1.3 var(--font-h); }
.fm-nb--i .fm-ico--ring { width: 44px; height: 44px; color: var(--fm-y); }
.fm-nb--i .fm-ico--ring .ic { width: 20px; height: 20px; }
.fm-nc { padding: 26px 22px 22px; border-radius: 10px; background: #fff; text-align: center; }
.fm-nc .fm-h3 { font-size: 22px; }
.fm-nc p { margin: 12px 0 18px; color: #252525; font-size: 15px; }
.fm-nc__img { position: relative; aspect-ratio: 16 / 9.500; border-radius: 10px; overflow: hidden; }
.fm-nc__img img { width: 100%; height: 100%; object-fit: cover; }
.fm-nc__go { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 0 0 0 20px; background: var(--fm-y); color: var(--fm-ink); }
.fm-nc__go svg { width: 18px; height: 18px; }
@media (max-width: 1024px) { .fm-nums__g { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .fm-nbs { grid-template-columns: 1fr 1fr; } }

/* ---------- Planes ---------- */
.fm-plans .fm-head { margin-bottom: 50px; }
.fm-pls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.fm-pl { display: flex; flex-direction: column; border-radius: 10px; background: #fff; box-shadow: var(--fm-sh); }
.fm-pl__in { display: flex; flex-direction: column; gap: 14px; padding: 22px; flex: 1; }
.fm-pl--mid { background: var(--fm-y); padding-bottom: 6px; }
.fm-pl--mid .fm-pl__in { margin: 0 6px; border-radius: 10px; background: #fff; }
.fm-pl__top { padding: 14px 10px; text-align: center; font: 600 14px/1.4 var(--font-h); color: var(--fm-ink); }
.fm-pl__h { display: flex; align-items: center; gap: 14px; }
.fm-pl__h .fm-h3 { font-size: 20px; }
.fm-pl p { margin: 0; font-size: 15px; line-height: 1.5; }
.fm-pl__p { display: grid; gap: 14px; padding: 18px; border-radius: 10px; background: var(--fm-l); }
.fm-pp { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font: 600 30px/1.2 var(--font-h); color: var(--fm-yt); }
.fm-pl__p .fm-pp { color: #8A6200; }
.fm-pp s { font: 400 15px/1.3 var(--font-b); color: #6a6a6a; }
.fm-pp b { font-weight: 600; }
.fm-pp small { font: 500 16px/1.3 var(--font-h); color: var(--fm-ink); }
.fm-pl__add { width: 100%; }
.fm-pl__f { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.fm-pl__f li { position: relative; padding-left: 24px; }
.fm-pl__f li::before { content: "»"; position: absolute; left: 0; top: -1px; color: var(--fm-yt); font-weight: 700; }
@media (max-width: 1024px) { .fm-pls { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Preguntas ---------- */
.fm-faq { position: relative; display: grid; grid-template-columns: 37% 1fr; background: linear-gradient(90deg, transparent 37%, var(--fm-l) 37%); }
.fm-faq__pic { position: relative; min-height: 560px; overflow: hidden; }
.fm-faq__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fm-faq__ask { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: grid; justify-items: center; gap: 14px; width: min(86%, 270px); padding: 18px; border-radius: 10px; background: rgba(20,24,20,.7); text-align: center; backdrop-filter: blur(4px); }
.fm-faq__ask h3 { margin: 0; font: 600 18px/1.35 var(--font-h); color: #fff; }
.fm-faq__w { width: auto !important; margin: 0; padding: 70px 80px 70px 0; }
.fm-faq__c { margin-left: -9%; padding: 36px 40px 40px; border-radius: 10px; background: #fff; position: relative; max-width: 740px; }
.fm-faq__c .fm-h2 { margin-bottom: 26px; }
.fm-q { margin-bottom: 14px; border-radius: 30px; background: var(--fm-l); overflow: hidden; }
.fm-q summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 10px 22px; cursor: pointer; font: 600 16px/1.4 var(--font-h); color: var(--fm-ink); list-style: none; }
.fm-q summary::-webkit-details-marker { display: none; }
.fm-q summary .ic { width: 20px; height: 20px; flex: none; transition: transform .3s; }
.fm-q[open] { background: transparent; }
.fm-q[open] summary { background: var(--fm-g); color: var(--fm-y); border-radius: 30px; }
.fm-q[open] summary .ic { transform: rotate(180deg); }
.fm-q__a { padding: 16px 22px 8px; animation: fmIn .4s ease; }
.fm-q__a p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 1024px) {
  .fm-faq { grid-template-columns: 1fr; background: var(--fm-l); }
  .fm-faq__pic { min-height: 380px; }
  .fm-faq__w { padding: 0 0 50px; width: min(100% - 36px, 740px) !important; margin: -50px auto 0; }
  .fm-faq__c { margin-left: 0; padding: 24px 18px; }
}

/* ---------- Blog ---------- */
.fm-bls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fm-bl { display: grid; align-content: start; gap: 12px; padding: 14px 14px 26px; border-radius: 10px; background: #fff; box-shadow: var(--fm-sh); }
.fm-bl__img { position: relative; display: block; aspect-ratio: 16 / 10.500; border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.fm-bl__img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-bl:hover .fm-bl__img > img { transform: scale(1.05); }
.fm-bl__d { position: absolute; left: 20px; bottom: 0; display: grid; place-items: center; align-content: center; width: 56px; height: 56px; border-radius: 50% 50% 0 50%; background: var(--fm-y); color: var(--fm-ink); font: 500 14px/1 var(--font-b); }
.fm-bl__d b { font: 600 18px/1 var(--font-h); }
.fm-bl__m { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 12px; font: 500 14px/1.5 var(--font-b); color: #444; }
.fm-bl__m span { display: inline-flex; align-items: center; gap: 6px; }
.fm-bl__m .ic { width: 15px; height: 15px; color: var(--fm-yt); }
.fm-bl h3 { margin: 0; padding: 0 12px; font: 600 18px/1.45 var(--font-h); }
.fm-bl h3 a { color: var(--fm-ink); }
.fm-bl h3 a:hover { color: var(--fm-g); }
.fm-bl p { margin: 0; padding: 0 12px; font-size: 15px; line-height: 1.6; }
.fm-bl .fm-btn { justify-self: start; margin: 6px 12px 0; }
@media (max-width: 1024px) { .fm-bls { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Contacto ---------- */
.fm-contact { position: relative; color: #fff; padding: 90px 0 0; }
.fm-contact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: #fff; z-index: -1; }
.fm-contact__bg { position: absolute; inset: 0 0 150px 0; z-index: -1; overflow: hidden; background: #123; }
.fm-contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-contact__bg::after { content: ""; position: absolute; inset: 0; background: rgba(5,25,15,.82); }
.fm-contact .fm-h2, .fm-contact p { color: #fff; }
.fm-contact__g { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.fm-contact__g > div > p { margin: 20px 0 30px; max-width: 520px; }
.fm-cform { display: grid; gap: 14px; padding: 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: rgba(0,0,0,.28); }
.fm-cform__r { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm-cform input, .fm-cform textarea { width: 100%; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; background: rgba(255,255,255,.06); color: #fff; font: 400 16px/1.4 var(--font-b); }
.fm-cform textarea { padding: 14px 20px; border-radius: 20px; resize: vertical; }
.fm-cform ::placeholder { color: rgba(255,255,255,.9); }
.fm-cform input:focus, .fm-cform textarea:focus { outline: 2px solid var(--fm-y); outline-offset: 1px; box-shadow: none; }
.fm-fcards { display: grid; gap: 14px; }
.fm-fcards--2 { grid-template-columns: 1fr 1fr; }
.fm-fcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: rgba(0,0,0,.2); font-size: 15px; line-height: 1.4; color: #fff; }
.fm-fcard > span:last-child { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.fm-fcard b { font: 600 16px/1.3 var(--font-h); color: #fff; }
.fm-fcard a { color: #fff; display: inline-block; padding: 2px 0; }
.fm-fcard a:hover { color: var(--fm-y); }
.fm-contact__map { position: relative; margin-top: 60px; height: clamp(220px, 23vw, 330px); border-radius: 10px; overflow: hidden; }
.fm-contact__map img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .fm-contact__g { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .fm-fcards--2, .fm-cform__r { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.fm-ftr { position: relative; margin-top: 90px; color: #fff; background: #151a14; overflow: hidden; }
.fm-contact + .fm-ftr { margin-top: 0; }
.fm-ftr__bg { position: absolute; inset: 0; }
.fm-ftr__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-ftr__bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,12,8,.82); }
.fm-ftr__in { position: relative; padding: 60px 0 50px; }
.fm-ftr__top { display: grid; grid-template-columns: 300px 1fr; gap: 0 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.18); }
.fm-ftr__brand p { margin: 16px 0 18px; font-size: 15px; color: #fff; }
.fm-ftr__contact { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.18); }
.fm-ftr__contact .fm-fcards { grid-template-columns: repeat(3, 1fr); }
.fm-f__t { margin: 0 0 20px; font: 600 24px/1.3 var(--font-h); color: #fff; }
.fm-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fm-y); color: var(--fm-ink); transition: background .2s, color .2s; }
.fm-soc .ic { width: 17px; height: 17px; }
.fm-soc:hover { background: #fff; }
.fm-ftr__cols { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr 1.4fr; gap: 40px; padding-top: 40px; }
.fm-f__h { margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); font: 600 20px/1.3 var(--font-h); color: #fff; }
.fm-f__l { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fm-f__l a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-left: 20px; font: 500 16px/1.4 var(--font-b); color: #fff; }
.fm-f__l a::before { content: "»"; position: absolute; left: 0; color: var(--fm-y); }
.fm-f__l a:hover { color: var(--fm-y); }
.fm-f__form { display: grid; gap: 12px; }
.fm-f__form input { width: 100%; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; background: rgba(255,255,255,.06); color: #fff; font: 400 16px/1 var(--font-b); }
.fm-f__form input::placeholder { color: rgba(255,255,255,.9); }
.fm-f__form input:focus { outline: 2px solid var(--fm-y); outline-offset: 1px; box-shadow: none; }
.fm-f__note { margin: 12px 0 0; font-size: 14px; color: #fff; }
.fm-f__gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fm-f__gal a { display: block; aspect-ratio: 1.300; border-radius: 4px; overflow: hidden; }
.fm-f__gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fm-f__gal a:hover img { transform: scale(1.1); }
.fm-copy { position: relative; background: var(--fm-g); }
.fm-copy__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 14px 0; }
.fm-copy p { margin: 0; font: 500 14px/1.6 var(--font-b); color: #fff; }
.fm-copy a { color: #fff; display: inline-block; padding: 10px 0; text-decoration: underline; }
@media (max-width: 1024px) {
  .fm-ftr__top { grid-template-columns: 1fr; gap: 30px; }
  .fm-ftr__contact { padding: 30px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .fm-ftr__contact .fm-fcards { grid-template-columns: 1fr; }
  .fm-ftr__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) { .fm-ftr__cols { grid-template-columns: 1fr; } }

/* ---------- Internas ---------- */
.fm-ph { position: relative; overflow: hidden; padding: 170px 0 70px; color: #fff; background: #1a2a1c; }
.fm-ph__bg { position: absolute; inset: 0; }
.fm-ph__bg img { width: 100%; height: 100%; object-fit: cover; }
.fm-ph__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,25,15,.78), rgba(5,25,15,.7)); }
.fm-ph__in { position: relative; display: grid; gap: 10px; }
.fm-ph__t { margin: 0; font: var(--h1-weight) clamp(34px, 3.4vw, 48px)/1.2 var(--h1-font); color: #fff; }
.fm-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 15px/1.4 var(--font-b); color: #fff; }
.fm-crumb a { color: var(--fm-y); display: inline-block; padding: 12px 0; margin: -12px 0; }
.fam-farmello .eyebrow { color: var(--fm-g); }
.fam-farmello .sec--alt { background: var(--fm-l); }
.fam-farmello .h2, .fam-farmello .h3 { color: var(--fm-ink); }
.fam-farmello .cta .h2, .fam-farmello .sec--dark .h2 { color: #fff; }
@media (max-width: 767px) { .fm-ph { padding: 120px 0 50px; } }

@media (prefers-reduced-motion: reduce) {
  .fm-tc.is-on, .fm-q__a, .fm-ib__n.is-bump { animation: none !important; }
  .fm-btn, .fm-btn i, .fm-pj__img img, .fm-so__pic img, .fm-tm__img img, .fm-bl__img > img, .fm-f__gal img, .fm-q summary .ic { transition: none !important; }
}

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

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

.nb-fijo .fm-hdr { padding: 10px 0; }
