:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --alt: #FBF3E2; --dark: #4A1A1C; --dark2: #3A1415;
  --ink: #2B1B1A; --ink-base: #2B1B1A; --text: #5B4A47; --border: #EADFCB;
  --brand: #A83B3A; --primary: #A83B3A; --on-primary: #FFFFFF; --accent: #A83B3A; --on-accent: #FFFFFF;
  --link: #A83B3A; --link-base: #A83B3A; --accent-ink: #A83B3A; --link-dark: #C6807F; --link-light: #A83B3A;
  --light-ink: #111111; --light-text: #5F6370; --card: #FFFFFF;
  --sale: #A83B3A; --ok: #15803D;
  --radius: 4px; --btn-radius: 10px; --btn-pad: 9px 22px; --wrap: 1290px;
  --font-h: 'Bigshot One', cursive; --font-b: 'Frank Ruhl Libre', serif; --font-nav: 'Oswald', sans-serif; --font-btn: 'Oswald', sans-serif; --font-eb: 'Covered By Your Grace', cursive;
  --h1-size: clamp(26.0px, 3.958vw, 57px); --h1-weight: 700; --h1-case: none; --h1-ls: normal; --h1-lh: 0.93; --h1-font: 'Bigshot One', cursive;
  --h2-size: clamp(22.0px, 2.917vw, 42px); --h2-weight: 700; --h2-case: none; --h2-ls: normal; --h2-lh: 1; --h2-font: 'Bigshot One', cursive;
  --h3-size: 19px; --h3-weight: 600; --h3-case: uppercase; --h3-ls: normal; --h3-lh: 1.3; --h3-font: 'Oswald', sans-serif;
  --body-size: 15px; --body-weight: 400; --body-lh: 1.45; --body-ls: normal;
  --nav-size: 15px; --nav-weight: 600; --nav-case: uppercase; --nav-ls: normal;
  --btn-size: 16px; --btn-weight: 600; --btn-case: uppercase; --btn-ls: .4px;
  --eb-size: 22px; --eb-weight: 400; --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: 1100px) {  /* 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-agrico {
  --ag-brown: #8D5F2D; --ag-fill: #9D6A32; --ag-cream: #F8F5F0; --ag-ocre: #C28740; --ag-ocre-dk: #3B2610; --ag-green: #9DC586; --ag-gdk: #24401A;
  --ag-gbtn: #5A7E47; --ag-yellow: #F1DE91; --ag-beige: #F4E9D7; --ag-gold: #EAB317; --ag-goldt: #92700E; --ag-body: #7C5F3E; --ag-soc: #5A7E47;
  --ag-script: 'Covered By Your Grace', cursive; --ag-tear: 26px;
  --ag-pad: clamp(56px, 6.9vw, 100px);
}
.fam-agrico .wrap { width: calc(100% - clamp(40px, 15.4vw, 120px)); max-width: 1290px; }
@media (min-width: 768px) { .fam-agrico { --w: 960px; } .fam-agrico .wrap { width: min(100% - 30px, var(--w)); max-width: none; } }
@media (min-width: 1200px) { .fam-agrico { --w: 906px; } }
@media (min-width: 1280px) { .fam-agrico { --w: 1000px; } }
@media (min-width: 1440px) { .fam-agrico { --w: 1290px; } }
.fam-agrico { background: #fff; overflow-x: clip; }
.ag-script { font-family: var(--ag-script); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ag-goldt); }
.ag-nowrap { white-space: nowrap; }

/* ---------- Papel y bordes rasgados ---------- */
.ag-cream, .fam-agrico .sec--alt { position: relative; background-color: var(--ag-cream); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.55%200%200%200%200%20.42%200%200%200%200%20.28%200%200%200%20.09%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); }
.ag-tt { position: relative; }
.ag-tt::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1px - var(--ag-tear)); height: var(--ag-tear); background-color: var(--tt, var(--ag-cream)); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2011.9L12%2016.5L22%2016.6L34%2013.2L45%2014.6L60%2010.1L69%206.0L83%208.1L89%2013.4L105%2015.1L118%2011.4L123%2011.7L129%208.3L137%206.0L147%206.0L162%206.2L175%206.2L188%206.0L196%2011.5L213%2015.2L227%2013.2L234%2010.9L240%2013.8L250%2017.6L260%2019.0L275%2013.5L282%2018.0L293%2019.0L303%2014.3L315%2017.4L324%2012.8L333%2017.9L347%2013.7L355%209.3L360%2012.6L368%2013.3L378%209.9L392%206.0L404%206.0L414%206.0L423%2011.2L437%209.0L453%206.0L463%209.9L475%206.0L492%206.0L500%209.0L509%206.8L515%206.0L527%206.0L539%206.0L550%2011.1L561%2011.9L576%208.4L583%2012.9L598%2010.1L605%2012.8L621%209.4L638%2013.6L650%2012.8L656%207.7L673%206.0L686%206.0L701%207.1L710%206.0L723%206.0L731%206.7L746%207.9L755%2012.5L762%207.2L770%206.6L776%206.0L785%206.8L792%206.0L808%2011.3L821%2013.4L833%209.4L838%206.0L854%208.2L870%206.0L883%206.0L897%206.0L914%206.0L925%208.6L941%2011.2L955%2014.4L971%2012.8L984%2017.2L999%2016.3L1014%2019.0L1026%2019.0L1035%2019.0L1048%2014.4L1060%2019.0L1076%2019.0L1085%2019.0L1097%2018.3L1112%2013.8L1126%208.6L1139%208.4L1146%2010.6L1157%2011.8L1173%209.1L1179%207.0L1192%206.0L1199%2010.5L1212%209.8L1227%207.9L1240%206.0L1251%209.4L1267%2013.5L1276%2014.5L1285%2010.5L1296%2014.2L1311%2016.5L1327%2014.0L1335%2013.5L1343%2010.3L1353%2011.7L1364%209.7L1379%2015.0L1389%2010.3L1395%2014.4L1400%2016.7L1412%2014.6L1426%209.3L1433%208.8L1438%2012.5L1440%208.5L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2011.9L12%2016.5L22%2016.6L34%2013.2L45%2014.6L60%2010.1L69%206.0L83%208.1L89%2013.4L105%2015.1L118%2011.4L123%2011.7L129%208.3L137%206.0L147%206.0L162%206.2L175%206.2L188%206.0L196%2011.5L213%2015.2L227%2013.2L234%2010.9L240%2013.8L250%2017.6L260%2019.0L275%2013.5L282%2018.0L293%2019.0L303%2014.3L315%2017.4L324%2012.8L333%2017.9L347%2013.7L355%209.3L360%2012.6L368%2013.3L378%209.9L392%206.0L404%206.0L414%206.0L423%2011.2L437%209.0L453%206.0L463%209.9L475%206.0L492%206.0L500%209.0L509%206.8L515%206.0L527%206.0L539%206.0L550%2011.1L561%2011.9L576%208.4L583%2012.9L598%2010.1L605%2012.8L621%209.4L638%2013.6L650%2012.8L656%207.7L673%206.0L686%206.0L701%207.1L710%206.0L723%206.0L731%206.7L746%207.9L755%2012.5L762%207.2L770%206.6L776%206.0L785%206.8L792%206.0L808%2011.3L821%2013.4L833%209.4L838%206.0L854%208.2L870%206.0L883%206.0L897%206.0L914%206.0L925%208.6L941%2011.2L955%2014.4L971%2012.8L984%2017.2L999%2016.3L1014%2019.0L1026%2019.0L1035%2019.0L1048%2014.4L1060%2019.0L1076%2019.0L1085%2019.0L1097%2018.3L1112%2013.8L1126%208.6L1139%208.4L1146%2010.6L1157%2011.8L1173%209.1L1179%207.0L1192%206.0L1199%2010.5L1212%209.8L1227%207.9L1240%206.0L1251%209.4L1267%2013.5L1276%2014.5L1285%2010.5L1296%2014.2L1311%2016.5L1327%2014.0L1335%2013.5L1343%2010.3L1353%2011.7L1364%209.7L1379%2015.0L1389%2010.3L1395%2014.4L1400%2016.7L1412%2014.6L1426%209.3L1433%208.8L1438%2012.5L1440%208.5L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: 3; }
.ag-tb { position: relative; }
.ag-tb::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--ag-tear); background: #fff; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2018.0L16%2019.0L22%2019.0L32%2019.0L39%2015.6L49%2012.5L60%207.3L66%209.6L76%209.8L90%208.2L95%2011.3L107%2013.1L120%2018.2L129%2019.0L139%2019.0L152%2017.0L158%2016.7L171%2017.7L182%2019.0L189%2015.5L198%2018.9L205%2014.7L211%209.6L220%2010.4L234%208.6L244%206.2L252%209.3L264%206.6L270%209.8L284%2013.4L292%2013.9L308%2014.9L324%2011.2L341%206.3L351%206.0L365%208.1L382%2011.4L399%2011.8L415%2014.6L425%2019.0L434%2015.6L440%2015.3L447%2019.0L464%2015.9L470%2016.2L477%2016.7L492%2014.0L502%2018.4L512%2016.6L528%2019.0L544%2019.0L554%2019.0L569%2019.0L576%2016.7L586%2019.0L598%2019.0L613%2014.7L626%2012.9L637%2016.5L645%2019.0L651%2019.0L663%2016.1L674%2015.8L685%2018.2L690%2016.8L704%2012.9L720%209.6L733%206.0L743%206.0L749%208.2L760%2010.3L771%2010.9L783%208.7L799%206.0L814%2010.0L825%2013.0L838%2014.2L847%2012.2L856%2010.0L872%208.3L882%207.4L897%207.2L908%206.0L917%206.0L924%206.0L940%206.0L946%206.0L952%206.7L963%2010.7L971%2014.5L979%2019.0L991%2014.0L1006%2011.5L1015%207.6L1030%206.0L1044%206.0L1057%206.0L1063%2010.6L1076%206.9L1093%2011.5L1100%206.2L1112%206.0L1126%206.0L1140%206.8L1154%2010.3L1166%2011.3L1175%207.3L1181%2011.2L1189%2010.4L1198%2011.7L1209%2015.7L1219%2014.2L1232%2016.8L1248%2014.8L1264%2019.0L1281%2014.9L1290%2017.9L1305%2012.9L1315%2015.3L1329%2015.7L1336%2014.7L1342%2012.7L1352%2016.2L1364%2015.3L1372%2013.2L1385%2012.6L1392%2016.2L1404%2019.0L1416%2019.0L1426%2019.0L1440%2019.0L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2018.0L16%2019.0L22%2019.0L32%2019.0L39%2015.6L49%2012.5L60%207.3L66%209.6L76%209.8L90%208.2L95%2011.3L107%2013.1L120%2018.2L129%2019.0L139%2019.0L152%2017.0L158%2016.7L171%2017.7L182%2019.0L189%2015.5L198%2018.9L205%2014.7L211%209.6L220%2010.4L234%208.6L244%206.2L252%209.3L264%206.6L270%209.8L284%2013.4L292%2013.9L308%2014.9L324%2011.2L341%206.3L351%206.0L365%208.1L382%2011.4L399%2011.8L415%2014.6L425%2019.0L434%2015.6L440%2015.3L447%2019.0L464%2015.9L470%2016.2L477%2016.7L492%2014.0L502%2018.4L512%2016.6L528%2019.0L544%2019.0L554%2019.0L569%2019.0L576%2016.7L586%2019.0L598%2019.0L613%2014.7L626%2012.9L637%2016.5L645%2019.0L651%2019.0L663%2016.1L674%2015.8L685%2018.2L690%2016.8L704%2012.9L720%209.6L733%206.0L743%206.0L749%208.2L760%2010.3L771%2010.9L783%208.7L799%206.0L814%2010.0L825%2013.0L838%2014.2L847%2012.2L856%2010.0L872%208.3L882%207.4L897%207.2L908%206.0L917%206.0L924%206.0L940%206.0L946%206.0L952%206.7L963%2010.7L971%2014.5L979%2019.0L991%2014.0L1006%2011.5L1015%207.6L1030%206.0L1044%206.0L1057%206.0L1063%2010.6L1076%206.9L1093%2011.5L1100%206.2L1112%206.0L1126%206.0L1140%206.8L1154%2010.3L1166%2011.3L1175%207.3L1181%2011.2L1189%2010.4L1198%2011.7L1209%2015.7L1219%2014.2L1232%2016.8L1248%2014.8L1264%2019.0L1281%2014.9L1290%2017.9L1305%2012.9L1315%2015.3L1329%2015.7L1336%2014.7L1342%2012.7L1352%2016.2L1364%2015.3L1372%2013.2L1385%2012.6L1392%2016.2L1404%2019.0L1416%2019.0L1426%2019.0L1440%2019.0L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: 3; }
.ag-svs .ag-tt::before, .ag-prods::before { --tt: var(--ag-cream); }
.ag-band::before { --tt: var(--ag-ocre); }
.ag-sec { position: relative; padding: var(--ag-pad) 0; }

/* ---------- Títulos ---------- */
.ag-hd { margin-bottom: clamp(32px, 4.4vw, 64px); }
.ag-hd--center { text-align: center; }
.ag-hd--tight { margin-bottom: clamp(24px, 3.3vw, 48px); }
.ag-hd__t { margin: 0; font: 700 clamp(22px, calc(14px + 1.95vw), 42px)/1.05 'Bigshot One', cursive; color: var(--ag-brown); }
.ag-hd__s { margin: clamp(12px, 1.5vw, 20px) 0 0; font: 400 clamp(18px, 1.55vw, 22px)/1.2 var(--ag-script); color: var(--ag-goldt); }
.ag-hd__s span::before, .ag-hd__s span::after { content: ""; display: inline-block; width: 18px; height: 2px; margin: 0 10px; vertical-align: middle; background: var(--ag-gold); }
.ag-hd--left .ag-hd__s span::before { margin-left: 0; }
.ag-hd--page { margin-bottom: 44px; }
.ag-hd__p { max-width: 640px; margin: 18px auto 0; }
.ag-hd--welcome { margin-bottom: clamp(36px, 5vw, 72px); }

/* ---------- Botones ---------- */
.ag-btn, .fam-agrico .btn:not(.btn--wa):not(.btn--ghost):not(.btn--line):not(.btn--light) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 22px; border: 0; border-radius: 10px;
  background: var(--ag-beige); color: #8D5F2D; font: 600 16px/1.2 'Oswald', sans-serif; letter-spacing: .4px; text-transform: uppercase; cursor: pointer; box-shadow: 0 2px 0 rgba(141,95,45,.08); transition: background-color .25s, color .25s, transform .25s; }
.ag-btn:hover, .fam-agrico .btn:not(.btn--wa):not(.btn--ghost):not(.btn--line):not(.btn--light):hover { background: var(--ag-fill); color: #fff; transform: none; filter: none; }
.ag-btn--brown { background: var(--ag-fill); color: #fff; }
.ag-btn--brown:hover { background: #fff; color: var(--ag-brown); }
.ag-btn--green { background: var(--ag-gbtn); color: #fff; }
.ag-btn--green:hover { background: var(--ag-gdk); }
.fam-agrico .btn--ghost, .fam-agrico .btn--line { border-radius: 10px; font: 600 16px/1.2 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .4px; }
.fam-agrico .btn--wa { border-radius: 10px; font: 600 16px/1.2 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .4px; }
.ag-more { margin-top: clamp(32px, 4vw, 56px); text-align: center; }

/* ---------- Cabecera ---------- */
.ag-hdr { position: relative; z-index: 30; background: #fff; }
.ag-top { position: relative; background-color: var(--ag-cream); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.55%200%200%200%200%20.42%200%200%200%200%20.28%200%200%200%20.09%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); }
.ag-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(1px - var(--ag-tear)); height: var(--ag-tear); background-color: var(--ag-cream); transform: scaleY(-1); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2014.9L6%2016.2L21%2019.0L32%2019.0L42%2019.0L48%2019.0L60%2016.6L70%2019.0L80%2019.0L97%2019.0L103%2014.3L111%2012.8L125%2016.4L137%2017.9L148%2012.8L160%209.6L170%206.0L183%2010.5L188%2011.4L194%209.8L201%2013.7L214%2018.1L222%2019.0L235%2019.0L251%2019.0L260%2019.0L271%2015.8L283%2010.9L293%2011.5L298%2013.1L304%2014.8L314%209.6L331%206.0L337%206.1L345%206.4L356%207.2L368%206.0L375%208.1L385%208.4L401%206.0L410%206.7L415%209.5L425%207.5L432%2012.6L438%2016.1L451%2019.0L465%2017.3L476%2019.0L482%2019.0L495%2015.7L512%2013.5L517%2010.9L528%206.0L540%206.0L549%208.8L561%2013.9L577%2017.9L593%2019.0L604%2014.3L614%2015.6L631%2017.3L643%2012.7L656%207.6L662%206.0L676%2010.9L688%206.3L702%206.0L716%207.9L732%206.0L740%206.0L746%2010.9L758%206.6L769%206.0L785%206.0L790%208.6L799%2010.3L814%206.0L825%2011.0L833%208.2L846%206.0L861%209.3L877%2013.0L889%2012.5L901%2014.0L917%2010.2L928%209.7L936%206.0L951%206.9L964%206.0L975%206.0L982%206.0L994%209.8L1006%2012.9L1012%2013.1L1019%2013.4L1027%2010.7L1043%2011.2L1051%2011.1L1059%2014.3L1069%2018.1L1081%2019.0L1093%2019.0L1099%2019.0L1112%2016.0L1122%2019.0L1135%2019.0L1147%2014.3L1158%2013.5L1170%2012.0L1177%2015.8L1185%2012.8L1195%2017.7L1209%2013.8L1215%2013.8L1221%2010.8L1227%2014.8L1243%2018.8L1255%2013.8L1264%2017.4L1269%2017.4L1284%2014.7L1293%2016.2L1306%2012.4L1320%207.8L1327%206.0L1335%206.0L1344%208.5L1359%2011.5L1374%208.8L1387%2011.9L1402%2011.1L1418%209.5L1433%2011.4L1439%2016.0L1440%2016.5L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2014.9L6%2016.2L21%2019.0L32%2019.0L42%2019.0L48%2019.0L60%2016.6L70%2019.0L80%2019.0L97%2019.0L103%2014.3L111%2012.8L125%2016.4L137%2017.9L148%2012.8L160%209.6L170%206.0L183%2010.5L188%2011.4L194%209.8L201%2013.7L214%2018.1L222%2019.0L235%2019.0L251%2019.0L260%2019.0L271%2015.8L283%2010.9L293%2011.5L298%2013.1L304%2014.8L314%209.6L331%206.0L337%206.1L345%206.4L356%207.2L368%206.0L375%208.1L385%208.4L401%206.0L410%206.7L415%209.5L425%207.5L432%2012.6L438%2016.1L451%2019.0L465%2017.3L476%2019.0L482%2019.0L495%2015.7L512%2013.5L517%2010.9L528%206.0L540%206.0L549%208.8L561%2013.9L577%2017.9L593%2019.0L604%2014.3L614%2015.6L631%2017.3L643%2012.7L656%207.6L662%206.0L676%2010.9L688%206.3L702%206.0L716%207.9L732%206.0L740%206.0L746%2010.9L758%206.6L769%206.0L785%206.0L790%208.6L799%2010.3L814%206.0L825%2011.0L833%208.2L846%206.0L861%209.3L877%2013.0L889%2012.5L901%2014.0L917%2010.2L928%209.7L936%206.0L951%206.9L964%206.0L975%206.0L982%206.0L994%209.8L1006%2012.9L1012%2013.1L1019%2013.4L1027%2010.7L1043%2011.2L1051%2011.1L1059%2014.3L1069%2018.1L1081%2019.0L1093%2019.0L1099%2019.0L1112%2016.0L1122%2019.0L1135%2019.0L1147%2014.3L1158%2013.5L1170%2012.0L1177%2015.8L1185%2012.8L1195%2017.7L1209%2013.8L1215%2013.8L1221%2010.8L1227%2014.8L1243%2018.8L1255%2013.8L1264%2017.4L1269%2017.4L1284%2014.7L1293%2016.2L1306%2012.4L1320%207.8L1327%206.0L1335%206.0L1344%208.5L1359%2011.5L1374%208.8L1387%2011.9L1402%2011.1L1418%209.5L1433%2011.4L1439%2016.0L1440%2016.5L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: 2; }
.ag-top__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(100% - 30px, 1290px); min-height: 44px; margin: 0 auto; }
.ag-top__t { margin: 0; font: 400 15px/1.2 'Frank Ruhl Libre', serif; color: var(--ag-body); }
.ag-top__t .ag-script { font-size: 20px; margin-right: 4px; }
.ag-top__r { display: flex; align-items: center; gap: 4px; position: relative; z-index: 4; }
.ag-top__l { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 400 14px/1 'Frank Ruhl Libre', serif; color: var(--ag-body); }
.ag-top__l:hover { color: var(--ag-brown); }
.ag-ib, .ag-cart { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ag-brown); cursor: pointer; }
.ag-ib .ic, .ag-cart .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.ag-ib:hover, .ag-cart:hover { color: var(--ag-fill); }
.ag-cart__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--ag-gold); color: #3B2610; font: 600 14px/18px 'Oswald', sans-serif; text-align: center; }
.ag-cart__n.is-bump { animation: bump .4s ease; }
.ag-search { position: absolute; top: calc(100% + 6px); right: 0; width: min(380px, 86vw); padding: 12px; background: #fff; box-shadow: 0 18px 40px rgba(60,40,10,.18); border-radius: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 40; }
.ag-search.is-open { opacity: 1; visibility: visible; transform: none; }
.ag-search .search { max-width: none; border: 1px solid var(--border); border-radius: 10px; }
.ag-search .search button { background: var(--ag-fill); color: #fff; }
.ag-hdr__in { display: grid; align-items: center; min-height: clamp(104px, 9vw, 129px); }
.ag-hdr__in--c { grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2.4vw, 40px); }
.ag-hdr__in--l { grid-template-columns: auto 1fr; gap: 30px; }
.ag-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ag-nav--l ul { justify-content: flex-start; }
.ag-nav--r ul, .ag-hdr__in--l .ag-nav ul { justify-content: flex-end; }
.ag-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 9px; border-radius: 10px; font: 600 15px/1.3 'Oswald', sans-serif; text-transform: uppercase; color: var(--ag-body); white-space: nowrap; transition: background-color .2s, color .2s; }
.ag-nav a:hover, .ag-nav a.is-on { color: var(--ag-brown); background: var(--ag-beige); }
.ag-nav a.is-on { background: var(--ag-beige); }
.ag-burger, .ag-cart--m { display: none; }

/* Logo */
.ag-logo { display: inline-flex; align-items: center; justify-content: center; gap: .18em; font-size: clamp(11px, 1.05vw, 15.5px); color: var(--ag-fill); text-decoration: none; min-height: 44px; flex: none; }
.ag-logo__w { width: .95em; height: 3.1em; color: #E0A81A; flex: none; }
.ag-logo__w:last-child { transform: scaleX(-1); }
.ag-logo__t { display: grid; justify-items: center; gap: .12em; text-align: center; }
.ag-logo__a { font: 700 1.9em/1 'Bigshot One', cursive; font-style: normal; letter-spacing: .06em; }
.ag-logo__t b { font: 700 2.55em/.95 'Bigshot One', cursive; letter-spacing: .02em; color: var(--ag-fill); }
.ag-logo__d { margin-top: .25em; padding: .28em .9em .24em; border-radius: .5em; background: var(--ag-fill); color: #fff; font: 600 max(14px, 1em)/1.2 'Oswald', sans-serif; font-style: normal; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ag-logo--img img { height: 70px; width: auto; max-width: 220px; object-fit: contain; }
.ag-hdr__in--c .ag-logo { justify-self: center; }
.ag-hdr__in--l .ag-logo { justify-self: start; }
@media (max-width: 1099px) { .ag-nav a { padding: 6px 7px; } }
@media (max-width: 819px) {
  .ag-nav { display: none; }
  .ag-hdr__in--c { grid-template-columns: 1fr auto; }
  .ag-hdr__in--c .ag-logo, .ag-hdr__in--l .ag-logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .ag-hdr__in--c, .ag-hdr__in--l { grid-template-columns: 1fr auto auto; gap: 0; }
  .ag-burger, .ag-cart--m { display: inline-grid; grid-row: 1; justify-self: end; }
  .ag-cart--m { grid-column: 3; } .ag-burger { grid-column: 2; }
  .ag-top { display: none; }
}
@media (max-width: 819px) { .fam-agrico .ag-hdr__in { width: calc(100% - 24px); } }
@media (max-width: 480px) { .ag-logo { font-size: 11.5px; } }

/* ---------- Portada ---------- */
.ag-hero { position: relative; height: clamp(240px, 60vw, 780px); overflow: hidden; background: #3b2a14; }
.ag-slides { display: grid; }
.ag-hero .ag-slides, .ag-hero .ag-slide { position: absolute; inset: 0; }
.ag-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.ag-slide.is-on { opacity: 1; visibility: visible; }
.js .ag-slide { }
html:not(.js) .ag-slide:first-child { opacity: 1; visibility: visible; }
.ag-hero .ag-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ag-hero--2::before { content: ""; position: absolute; inset: 0; background: rgba(157,106,50,.7); z-index: 1; pointer-events: none; }
.ag-hero__in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 0 20px; }
.ag-hero__t { margin: 0; max-width: 17em; font: 700 clamp(26px, calc(14px + 3vw), 57px)/1 'Bigshot One', cursive; color: #fff; text-shadow: 0 2px 18px rgba(40,25,5,.45); }
.ag-hero__p { margin: 0; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); color: #fff; text-shadow: 0 1px 10px rgba(40,25,5,.5); }
.ag-hero__in > * { animation: agUp .9s ease both; }
.ag-hero__in > :nth-child(2) { animation-delay: .12s; } .ag-hero__in > :nth-child(3) { animation-delay: .24s; }
@keyframes agUp { from { opacity: 0; transform: translateY(24px); } }
.ag-dots { position: absolute; left: 0; right: 0; bottom: clamp(30px, 4vw, 56px); z-index: 4; display: flex; justify-content: center; gap: 0; }
.ag-dots button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ag-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; opacity: .75; transition: background-color .25s, opacity .25s, transform .25s; }
.ag-dots button[aria-current="true"]::after { opacity: 1; transform: scale(1.25); background: var(--ag-gold); }
.ag-dots--y { position: static; margin-top: 8px; }
.ag-dots--y button::after { background: var(--ag-beige); opacity: 1; }
.ag-dots--y button[aria-current="true"]::after { background: var(--ag-gold); }
.ag-band { position: relative; background: var(--ag-ocre); padding: clamp(28px, 3.2vw, 46px) 0 clamp(26px, 3vw, 42px); }
.ag-band__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; }
.ag-band__t { margin: 0; font: 700 clamp(22px, calc(10px + 1.9vw), 38px)/1.1 'Bigshot One', cursive; color: #fff; }

/* ---------- Bienvenida: seis íconos ---------- */
.ag-welcome { padding: clamp(48px, 6.8vw, 98px) 0 clamp(52px, 6vw, 86px); }
.ag-wis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 12px; margin: 0; padding: 0; list-style: none; }
.ag-wi { display: grid; justify-items: center; gap: clamp(14px, 1.6vw, 22px); text-align: center; color: var(--ag-brown); }
.ag-wi__c { display: grid; place-items: center; width: clamp(90px, 7.2vw, 100px); aspect-ratio: 1; border-radius: 50%; background: var(--ag-beige); color: var(--ag-fill); transition: background-color .3s, color .3s, transform .3s; }
.ag-wi__c .ic { width: 46%; height: 46%; stroke-width: 1.2; }
.ag-wi:hover .ag-wi__c { background: var(--ag-fill); color: #fff; transform: translateY(-4px); }
.ag-wi__t { font: 600 15px/1.25 'Oswald', sans-serif; text-transform: uppercase; max-width: 11em; }
.ag-welcome--2 { padding-top: clamp(56px, 7vw, 100px); }
@media (max-width: 899px) { .ag-wis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ag-wis { grid-template-columns: 1fr; gap: 30px; } .ag-wi__c { width: 133px; } }

/* ---------- Empresa ---------- */
.ag-about { padding: clamp(56px, 7vw, 100px) 0; }
.ag-about__g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ag-ab__t { text-align: center; max-width: 560px; margin: 0 auto; }
.ag-ab__t > p { margin: 0 0 18px; }
.ag-ab__b { margin-top: 28px; }
.ag-about--2 .ag-ab__t { max-width: 840px; }
.ag-ab__m { display: grid; gap: 14px; }
.ag-ab__m img { width: 100%; aspect-ratio: 630 / 335; object-fit: cover; }
.ag-ab__card { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 148px; padding: 22px; background: var(--ag-yellow); text-align: center; color: var(--ag-brown); }
.ag-ab__card .ag-hd__t { font-size: clamp(20px, 1.9vw, 26px); }
.ag-ab__card:hover { background: #ecd57c; }
@media (max-width: 767px) { .ag-about__g { grid-template-columns: 1fr; } }

/* ---------- Franja verde ---------- */
.ag-green { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(300px, 47vw, 830px); background: var(--ag-green); overflow: hidden; }
.ag-green__l { display: flex; justify-content: flex-end; }
.ag-green__in { width: calc(var(--w) / 2); padding: clamp(40px, 5.3vw, 76px) clamp(20px, 3vw, 40px) clamp(48px, 5vw, 72px) 0; }
.ag-green__t { margin: 0; font: 700 clamp(26px, calc(14px + 3vw), 57px)/.93 'Bigshot One', cursive; color: var(--ag-gdk); }
.ag-hd__s--l { margin: 0 0 14px; color: var(--ag-gdk); }
.ag-hd__s--l span::before { margin-left: 0; }
.ag-hd__s--l span::after { display: none; }
.ag-green .ag-hd__s span::before { background: var(--ag-gdk); }
.ag-green__m { position: relative; margin-top: clamp(14px, 2vw, 28px); }
.ag-green__m img { width: min(100%, 520px); aspect-ratio: 4 / 3; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.18); transform-origin: 40% 55%; }
.ag-green__badge { position: absolute; right: 2%; top: -6%; display: grid; place-items: center; width: clamp(90px, 8.4vw, 120px); aspect-ratio: 1; padding: 10px; border-radius: 50%; background: var(--ag-gbtn); color: #fff; font: 400 clamp(18px, 1.6vw, 23px)/1.1 var(--ag-script); text-align: center; }
.ag-green__r { position: relative; }
.ag-green__r img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 767px) { .ag-green { grid-template-columns: 1fr; } .ag-green__in { width: calc(100% - clamp(40px, 15.4vw, 120px)); margin: 0 auto; padding: 40px 0; } .ag-green__r { aspect-ratio: 4 / 3; } }

/* ---------- Servicios ---------- */
.ag-svs__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.45vw, 21px); }
.ag-sv { display: flex; flex-direction: column; }
.ag-sv__i { display: block; aspect-ratio: 411 / 338; overflow: hidden; }
.ag-sv__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ag-sv:hover .ag-sv__i img { transform: scale(1.05); }
.ag-sv__b { flex: 1; display: grid; justify-items: center; align-content: start; gap: 10px; margin-top: 18px; padding: 20px 24px 24px; background: var(--ag-cream); text-align: center; }
.ag-sv__t { margin: 0; font: 600 19px/1.25 'Oswald', sans-serif; text-transform: uppercase; color: var(--ag-brown); }
.ag-sv__t a { display: inline-block; padding: 6px 0; }
.ag-sv__b p { margin: 0 0 6px; max-width: 30em; }
@media (max-width: 767px) { .ag-svs__g { grid-template-columns: 1fr; max-width: 470px; margin: 0 auto; } }

/* ---------- Gallinas ---------- */
.ag-poultry { padding: clamp(40px, 5vw, 72px) 0 clamp(44px, 5.5vw, 80px); }
.ag-poultry__g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.ag-poultry__m { position: relative; }
.ag-poultry__m img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ag-badge-c { position: absolute; right: 6%; top: -8%; display: grid; place-items: center; width: clamp(90px, 8.4vw, 130px); aspect-ratio: 1; padding: 10px; border-radius: 50%; background: var(--ag-ocre); color: #fff; font: 400 clamp(17px, 1.5vw, 22px)/1.1 var(--ag-script); text-align: center; }
.ag-poultry__t { text-align: center; }
.ag-poultry__t p { margin: 0; max-width: 32em; margin-inline: auto; }
@media (max-width: 767px) { .ag-poultry__g { grid-template-columns: 1fr; } }

/* ---------- Historia ---------- */
.ag-hist { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(300px, 41vw, 790px); background: var(--ag-ocre); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.55%200%200%200%200%20.42%200%200%200%200%20.28%200%200%200%20.09%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); overflow: hidden; }
.ag-hist__l { display: flex; align-items: center; justify-content: flex-end; }
.ag-hist__in { width: calc(var(--w) / 2); padding: clamp(40px, 6vw, 86px) clamp(20px, 3vw, 40px) clamp(48px, 6vw, 90px) 0; color: var(--ag-ocre-dk); }
.ag-hist .ag-hd__s { color: var(--ag-ocre-dk); }
.ag-hist .ag-hd__s span::before { background: var(--ag-ocre-dk); }
.ag-hist__t { margin: 0 0 clamp(24px, 3vw, 40px); font: 700 clamp(26px, calc(14px + 3vw), 57px)/.93 'Bigshot One', cursive; color: #fff; }
.ag-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(0,0,0,.1); }
.ag-tabs button { min-height: 44px; padding: 6px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--ag-ocre-dk); font: 400 16px/1 'Oswald', sans-serif; cursor: pointer; transition: background-color .25s, color .25s; }
.ag-tabs button[aria-current="true"] { background: #8A5A24; color: #fff; }
.ag-tabs button:hover:not([aria-current="true"]) { background: rgba(255,255,255,.28); }
.ag-hist__p { margin-top: clamp(28px, 3.6vw, 52px); }
.ag-hist__p p { margin: 0; max-width: 30em; color: var(--ag-ocre-dk); }
.ag-hist__r { position: relative; }
.ag-hist__r img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
@media (max-width: 767px) { .ag-hist { grid-template-columns: 1fr; } .ag-hist__in { width: calc(100% - clamp(40px, 15.4vw, 120px)); margin: 0 auto; padding: 40px 0; }
  .ag-tabs { display: grid; width: 100%; } .ag-hist__r { aspect-ratio: 4 / 3; } }

/* ---------- Opiniones ---------- */
.ag-testi { padding-bottom: clamp(48px, 5vw, 72px); }
.ag-testi__c { max-width: 810px; margin: 0 auto; text-align: center; }
.ag-testi figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.ag-testi blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.ag-av { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--ag-ocre); color: #fff; font: 700 28px/1 'Bigshot One', cursive; }
.ag-testi figcaption { display: grid; gap: 2px; }
.ag-testi figcaption b { font-size: 15px; color: var(--ag-brown); }
.ag-testi figcaption span { font-size: 14px; }
.ag-testi .sample-note { margin-top: 18px; text-align: center; }

/* ---------- Productos ---------- */
.ag-prods { padding-bottom: clamp(56px, 6vw, 90px); }
.ag-pcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ag-pc { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ag-pc__i { position: relative; display: block; width: 100%; aspect-ratio: 1; background: #fff; overflow: hidden; margin-bottom: 14px; }
.ag-pc__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ag-pc:hover .ag-pc__i img { transform: scale(1.06); }
.ag-sale { position: absolute; top: 14px; left: 14px; padding: 3px 11px 4px; border-radius: 10px; background: var(--ag-fill); color: #fff; font: 600 14px/1.3 'Oswald', sans-serif; text-transform: uppercase; }
.ag-pc__t { margin: 0; font: 600 19px/1.3 'Oswald', sans-serif; text-transform: uppercase; color: var(--ag-brown); }
.ag-pc__t a { display: inline-block; padding: 6px 0; color: inherit; }
.ag-pc__t a:hover { color: var(--ag-fill); }
.ag-price { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 14px; margin: 2px 0 8px; font: 400 clamp(20px, 1.6vw, 23px)/1.2 var(--ag-script); color: var(--ag-goldt); }
.ag-price s { color: var(--ag-body); }
.ag-price b { font-weight: 400; }
.ag-price small { font: 400 14px/1 'Frank Ruhl Libre', serif; color: var(--ag-body); }
.ag-add { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: auto; padding: 6px 12px; border: 0; border-radius: 10px; background: var(--ag-beige); color: #8D5F2D; font: 600 16px/1.2 'Oswald', sans-serif; letter-spacing: .4px; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s; }
.ag-add:hover { background: var(--ag-fill); color: #fff; }
.ag-add.is-added { background: var(--ok); color: #fff; }
.ag-add.btn--wa { background: var(--ok); color: #fff; }
@media (max-width: 899px) { .ag-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ag-pcs { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Banner con tarjeta verde ---------- */
.ag-ban { position: relative; display: flex; align-items: center; min-height: clamp(260px, 30vw, 435px); padding: clamp(40px, 5vw, 76px) 0 clamp(52px, 6vw, 84px); overflow: hidden; }
.ag-ban__bg { position: absolute; inset: 0; }
.ag-ban__bg img { width: 100%; height: 100%; object-fit: cover; }
.ag-ban > .wrap { position: relative; z-index: 2; }
.ag-ban__c { display: grid; justify-items: start; gap: 14px; width: min(100%, 430px); padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px); background: var(--ag-green); }
.ag-script--g { margin: 0; font-size: 19px; color: var(--ag-gdk); }
.ag-ban__t { margin: 0; font: 700 clamp(26px, calc(14px + 2.2vw), 42px)/1.05 'Bigshot One', cursive; color: var(--ag-gdk); }

/* ---------- Blog ---------- */
.ag-po__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.45vw, 21px); }
.ag-po { display: flex; flex-direction: column; gap: 14px; }
.ag-po__h { display: grid; align-content: center; justify-items: center; gap: 12px; min-height: 180px; padding: 22px; background: var(--ag-cream); text-align: center; }
.ag-po__t { margin: 0; font: 700 clamp(18px, 1.5vw, 21px)/1.15 'Bigshot One', cursive; color: var(--ag-brown); }
.ag-po__t a { display: inline-block; padding: 4px 0; color: inherit; }
.ag-po__t a:hover { color: var(--ag-fill); }
.ag-po__m { margin: 0; font-size: 15px; }
.ag-po__m .ag-script { font-size: 18px; margin-right: 6px; }
.ag-po__i { display: block; aspect-ratio: 411 / 330; overflow: hidden; }
.ag-po__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ag-po:hover .ag-po__i img { transform: scale(1.05); }
@media (max-width: 767px) { .ag-po__g { grid-template-columns: 1fr; max-width: 470px; margin: 0 auto; } }

/* ---------- Boletín ---------- */
.ag-news { padding: 0 0 clamp(44px, 5vw, 70px); }
.ag-news__b { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; align-items: center; padding: clamp(28px, 3vw, 44px) clamp(24px, 6.5vw, 94px); background: var(--ag-ocre); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.55%200%200%200%200%20.42%200%200%200%200%20.28%200%200%200%20.09%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); }
.ag-news__t h2 { margin: 0; font: 700 clamp(22px, 2.2vw, 31px)/1.05 'Bigshot One', cursive; color: #fff; }
.ag-script--d { margin: 0 0 4px; font-size: 20px; color: var(--ag-ocre-dk); }
.ag-news__f { display: flex; gap: 0; min-width: 0; }
.ag-news__f input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: 10px 0 0 10px; background: #fff; color: var(--ag-body); font: 400 15px/1 'Frank Ruhl Libre', serif; }
.ag-news__f input::placeholder { color: #7C5F3E; opacity: 1; }
.ag-news__f input:focus { outline: 2px solid var(--ag-ocre-dk); outline-offset: 0; box-shadow: none; }
.ag-news__f button { flex: none; min-height: 52px; padding: 0 28px; border: 0; border-radius: 0 10px 10px 0; background: var(--ag-fill); color: #fff; font: 600 16px/1 'Oswald', sans-serif; text-transform: uppercase; cursor: pointer; transition: background-color .25s; }
.ag-news__f button:hover { background: var(--ag-ocre-dk); }
@media (max-width: 767px) { .ag-news__b { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ag-news__f { flex-wrap: wrap; gap: 8px; } .ag-news__f input, .ag-news__f button { border-radius: 10px; width: 100%; } }

/* ---------- Contacto ---------- */
.ag-contact { padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 5.5vw, 80px); }
.ag-contact__g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.ag-form { display: grid; gap: 14px; max-width: 570px; }
.ag-form__r { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ag-form input, .ag-form textarea, .ag-map + * { font: 400 15px/1.3 'Frank Ruhl Libre', serif; }
.ag-form input, .ag-form textarea { width: 100%; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; background: #fff; color: var(--ag-body); }
.ag-form textarea { min-height: 150px; resize: vertical; }
.ag-form input::placeholder, .ag-form textarea::placeholder { color: #7C5F3E; opacity: 1; }
.ag-form input:focus, .ag-form textarea:focus { outline: 2px solid var(--ag-fill); outline-offset: 0; box-shadow: none; }
.ag-form .ag-btn { justify-self: start; margin-top: 8px; padding: 12px 26px; }
.ag-map iframe { display: block; width: 100%; height: clamp(240px, 24vw, 340px); border: 0; border-radius: 4px; background: #efe7da; }
.ag-addr { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 18px 0 0; }
.ag-addr dt { font: 600 15px/1.3 'Oswald', sans-serif; text-transform: uppercase; color: var(--ag-brown); }
.ag-addr dd { margin: 0; }
.ag-addr a { display: inline-block; padding: 8px 0; margin: -8px 0; }
@media (max-width: 767px) { .ag-contact__g { grid-template-columns: 1fr; } .ag-form__r { grid-template-columns: 1fr; } }

/* ---------- Tira de tres fotos ---------- */
.ag-strip { padding: 0 clamp(8px, .7vw, 10px); }
.ag-strip__g { display: grid; grid-template-columns: 252fr 416fr 698fr; gap: clamp(8px, .75vw, 11px); height: clamp(150px, 17.5vw, 252px); }
.ag-strip a, .ag-strip__c { overflow: hidden; display: block; }
.ag-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ag-strip a:hover img { transform: scale(1.05); }
.ag-strip__c { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--ag-yellow); }
.ag-strip__c img { position: absolute; right: 0; bottom: 0; width: 55%; height: 100%; object-fit: cover; object-position: center 20%; }
.ag-strip__c > div { position: relative; z-index: 2; padding: 0 clamp(14px, 2.6vw, 38px); display: grid; gap: 4px; max-width: 70%; }
.ag-strip__t { margin: 0; font: 700 clamp(15px, 1.5vw, 22px)/1.15 'Bigshot One', cursive; color: var(--ag-brown); }
.ag-strip__tel { display: inline-flex; align-items: center; min-height: 44px; font: 600 clamp(15px, 1.4vw, 19px)/1 'Oswald', sans-serif; color: var(--ag-brown); }
@media (max-width: 767px) { .ag-strip__g { grid-template-columns: 1fr 1fr; height: auto; } .ag-strip a { aspect-ratio: 4 / 3; } .ag-strip__c { grid-column: 1 / -1; min-height: 220px; } }
@media (max-width: 767px) { .ag-strip__g { grid-template-columns: 1fr; } .ag-strip__c { min-height: 200px; } }

/* ---------- Pie ---------- */
.ag-ftr { background: #fff; color: var(--ag-body); }
.ag-ftr__g { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 24px clamp(20px, 2.4vw, 36px); padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); }
.ag-fc--a p { margin: 18px 0 0; max-width: 20em; }
.ag-fc2 { display: grid; gap: 30px; align-content: start; }
.ag-fh { margin: 0 0 12px; font: 600 14px/1.3 'Oswald', sans-serif; text-transform: uppercase; color: var(--ag-brown); }
.ag-fc ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ag-fc li a, .ag-fc li span { display: inline-flex; align-items: center; min-height: 28px; font-size: 15px; line-height: 1.35; color: var(--ag-body); }
.ag-fc li a { min-height: 44px; margin-block: -8px; }
.ag-fc li a:hover { color: var(--ag-brown); }
.ag-socs { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ag-soc); color: #fff; transition: background-color .25s, transform .25s; }
.ag-soc .ic { width: 18px; height: 18px; }
.ag-soc:hover { background: var(--ag-fill); transform: translateY(-2px); }
.ag-fnews { display: flex; min-width: 0; border-radius: 10px; background: var(--ag-cream); overflow: hidden; }
.ag-fnews input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; border: 0; background: transparent; color: var(--ag-body); font: 400 15px/1 'Frank Ruhl Libre', serif; }
.ag-fnews input::placeholder { color: #7C5F3E; opacity: 1; }
.ag-fnews input:focus { outline: 2px solid var(--ag-fill); outline-offset: -2px; box-shadow: none; }
.ag-fnews button { flex: none; padding: 0 16px; border: 0; background: var(--ag-fill); color: #fff; font: 600 14px/1 'Oswald', sans-serif; text-transform: uppercase; cursor: pointer; transition: background-color .25s; }
.ag-fnews button:hover { background: var(--ag-ocre-dk); }
.ag-copy { position: relative; background-color: var(--ag-cream); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%20.55%200%200%200%200%20.42%200%200%200%200%20.28%200%200%200%20.09%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); padding: 30px 0 18px; }
.ag-copy::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1px - var(--ag-tear)); height: var(--ag-tear); background-color: var(--ag-cream);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2014.9L6%2016.2L21%2019.0L32%2019.0L42%2019.0L48%2019.0L60%2016.6L70%2019.0L80%2019.0L97%2019.0L103%2014.3L111%2012.8L125%2016.4L137%2017.9L148%2012.8L160%209.6L170%206.0L183%2010.5L188%2011.4L194%209.8L201%2013.7L214%2018.1L222%2019.0L235%2019.0L251%2019.0L260%2019.0L271%2015.8L283%2010.9L293%2011.5L298%2013.1L304%2014.8L314%209.6L331%206.0L337%206.1L345%206.4L356%207.2L368%206.0L375%208.1L385%208.4L401%206.0L410%206.7L415%209.5L425%207.5L432%2012.6L438%2016.1L451%2019.0L465%2017.3L476%2019.0L482%2019.0L495%2015.7L512%2013.5L517%2010.9L528%206.0L540%206.0L549%208.8L561%2013.9L577%2017.9L593%2019.0L604%2014.3L614%2015.6L631%2017.3L643%2012.7L656%207.6L662%206.0L676%2010.9L688%206.3L702%206.0L716%207.9L732%206.0L740%206.0L746%2010.9L758%206.6L769%206.0L785%206.0L790%208.6L799%2010.3L814%206.0L825%2011.0L833%208.2L846%206.0L861%209.3L877%2013.0L889%2012.5L901%2014.0L917%2010.2L928%209.7L936%206.0L951%206.9L964%206.0L975%206.0L982%206.0L994%209.8L1006%2012.9L1012%2013.1L1019%2013.4L1027%2010.7L1043%2011.2L1051%2011.1L1059%2014.3L1069%2018.1L1081%2019.0L1093%2019.0L1099%2019.0L1112%2016.0L1122%2019.0L1135%2019.0L1147%2014.3L1158%2013.5L1170%2012.0L1177%2015.8L1185%2012.8L1195%2017.7L1209%2013.8L1215%2013.8L1221%2010.8L1227%2014.8L1243%2018.8L1255%2013.8L1264%2017.4L1269%2017.4L1284%2014.7L1293%2016.2L1306%2012.4L1320%207.8L1327%206.0L1335%206.0L1344%208.5L1359%2011.5L1374%208.8L1387%2011.9L1402%2011.1L1418%209.5L1433%2011.4L1439%2016.0L1440%2016.5L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201440%2026%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2026L0%2014.9L6%2016.2L21%2019.0L32%2019.0L42%2019.0L48%2019.0L60%2016.6L70%2019.0L80%2019.0L97%2019.0L103%2014.3L111%2012.8L125%2016.4L137%2017.9L148%2012.8L160%209.6L170%206.0L183%2010.5L188%2011.4L194%209.8L201%2013.7L214%2018.1L222%2019.0L235%2019.0L251%2019.0L260%2019.0L271%2015.8L283%2010.9L293%2011.5L298%2013.1L304%2014.8L314%209.6L331%206.0L337%206.1L345%206.4L356%207.2L368%206.0L375%208.1L385%208.4L401%206.0L410%206.7L415%209.5L425%207.5L432%2012.6L438%2016.1L451%2019.0L465%2017.3L476%2019.0L482%2019.0L495%2015.7L512%2013.5L517%2010.9L528%206.0L540%206.0L549%208.8L561%2013.9L577%2017.9L593%2019.0L604%2014.3L614%2015.6L631%2017.3L643%2012.7L656%207.6L662%206.0L676%2010.9L688%206.3L702%206.0L716%207.9L732%206.0L740%206.0L746%2010.9L758%206.6L769%206.0L785%206.0L790%208.6L799%2010.3L814%206.0L825%2011.0L833%208.2L846%206.0L861%209.3L877%2013.0L889%2012.5L901%2014.0L917%2010.2L928%209.7L936%206.0L951%206.9L964%206.0L975%206.0L982%206.0L994%209.8L1006%2012.9L1012%2013.1L1019%2013.4L1027%2010.7L1043%2011.2L1051%2011.1L1059%2014.3L1069%2018.1L1081%2019.0L1093%2019.0L1099%2019.0L1112%2016.0L1122%2019.0L1135%2019.0L1147%2014.3L1158%2013.5L1170%2012.0L1177%2015.8L1185%2012.8L1195%2017.7L1209%2013.8L1215%2013.8L1221%2010.8L1227%2014.8L1243%2018.8L1255%2013.8L1264%2017.4L1269%2017.4L1284%2014.7L1293%2016.2L1306%2012.4L1320%207.8L1327%206.0L1335%206.0L1344%208.5L1359%2011.5L1374%208.8L1387%2011.9L1402%2011.1L1418%209.5L1433%2011.4L1439%2016.0L1440%2016.5L1440%2026Z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ag-copy p { margin: 0; font-size: 14px; }
.ag-copy a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--ag-brown); text-decoration: underline; }
@media (max-width: 1023px) { .ag-ftr__g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .ag-ftr__g { grid-template-columns: 1fr; } }

/* ---------- Internas ---------- */
.ag-ph { position: relative; overflow: hidden; background: var(--ag-fill); padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8.5vw, 120px); text-align: center; }
.ag-ph__bg { position: absolute; inset: 0; }
.ag-ph__bg img { width: 100%; height: 100%; object-fit: cover; }
.ag-ph__bg::after { content: ""; position: absolute; inset: 0; background: rgba(157,106,50,.74); }
.ag-ph__in { position: relative; z-index: 2; }
.ag-ph__t { margin: 0; font: 700 clamp(28px, calc(14px + 3vw), 57px)/1 'Bigshot One', cursive; color: #fff; text-shadow: 0 2px 14px rgba(40,25,5,.35); }
.ag-crumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin-top: 18px; font: 600 15px/1.3 'Oswald', sans-serif; text-transform: uppercase; color: #fff; }
.ag-crumb a { display: inline-block; padding: 12px 0; margin: -12px 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fam-agrico .eyebrow { font: 400 clamp(18px, 1.6vw, 22px)/1.2 var(--ag-script); text-transform: none; letter-spacing: 0; color: var(--ag-goldt); }
.fam-agrico .h2 { font: 700 clamp(22px, calc(14px + 1.95vw), 42px)/1.1 'Bigshot One', cursive; color: var(--ag-brown); }
.fam-agrico .h3, .fam-agrico .prod__t { font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.fam-agrico .price { font-family: var(--ag-script); font-weight: 400; color: var(--ag-goldt); }
.fam-agrico .prod, .fam-agrico .info-card, .fam-agrico .panel, .fam-agrico .svc { border-radius: 4px; }
.fam-agrico .sec--brand, .fam-agrico .sec--dark { background: var(--ag-ocre); color: var(--ag-ocre-dk); }

@media (prefers-reduced-motion: reduce) {
  .ag-slide, .ag-hero__in > * { animation: none !important; transition: none !important; }
  .ag-sv__i img, .ag-pc__i img, .ag-po__i img, .ag-strip img, .ag-wi__c, .ag-search, .ag-soc, .ag-btn, .ag-add, .ag-nav a { transition: none !important; }
}

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

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

body { padding-top: var(--nb-cab, 0px); }  /* cabecera fija: la franja mide su alto (--nb-cab) para que la página no salte */
.nb-fijo .ag-hdr { background: #fff; }  /* cabecera blanca: solo sombra */
.sec--brand .stat b, .sec--brand .stat b span { color: var(--dark); }  /* cifras de Nosotros: el rosado de la marca no se leía sobre el café */
.ag-hdr .ag-logo--img { position: relative; z-index: 3; }
.ag-hdr__in { transition: min-height .3s, padding .3s; }
@media (min-width: 820px) {
  .ag-hdr__in { padding-top: 26px; padding-bottom: 18px; }  /* todo el renglón bajo el borde rasgado de la franja crema, con aire abajo */
  .ag-nav ul { gap: 6px; }
  .ag-nav--l ul { justify-content: flex-end; }  /* el menú rodea el logo en vez de irse a los bordes */
  .ag-nav--r ul { justify-content: flex-start; }
  .ag-nav a { padding: 8px 14px; font-size: 16px; letter-spacing: .04em; }
  .nb-fijo .ag-top { display: none; }
  .nb-fijo .ag-hdr__in { padding-top: 0; padding-bottom: 0; min-height: 84px; }
}
@media (max-width: 819px) { .nb-fijo .ag-hdr__in { min-height: 72px; } }
/* portada: la demo traía el texto dentro de las fotos del carrusel; aquí va encima de la foto (lo pone granja()) */
.ag-hero--1::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(40,25,5,.22), rgba(40,25,5,.5)); }
.ag-hero__eb { margin: 0; color: #fff; font-size: clamp(22px, 2.2vw, 30px); text-shadow: 0 1px 10px rgba(40,25,5,.6); }
.ag-hero__b { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 767px) {  /* en celular la foto medía 240 px y cortaba el texto y los botones */
  .ag-hero--1 { height: auto; }
  .ag-hero--1 .ag-hero__in { position: relative; min-height: 520px; padding: 56px 20px 72px; }
}
/* franja de fotos final en celular: la caja «Llámenos para pedir» quedaba de un cuarto de ancho */
@media (max-width: 767px) {
  .ag-strip__c { grid-template-columns: 1fr; }
  .ag-strip__c > div { max-width: 58%; padding: 24px 18px; }
  .ag-strip__c img { width: 42%; }
  .ag-strip__tel { white-space: nowrap; }
}
/* bienvenida: las 3 categorías al centro y con foto */
@media (min-width: 768px) { .ag-wis { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; gap: 24px clamp(30px, 5vw, 80px); } }
.ag-wi__c--foto { width: clamp(150px, 13vw, 190px); overflow: hidden; border: 6px solid var(--ag-beige); }
.ag-wi__c--foto img { width: 100%; height: 100%; object-fit: cover; }
.ag-wi__t { font-size: 17px; }
/* «Directo de la granja»: la foto con mezcla y zoom era para un recorte sin fondo; en su lugar, las razones */
.ag-green { min-height: 0; }
.ag-green__lista { list-style: none; margin: clamp(22px, 2.6vw, 36px) 0 clamp(24px, 2.6vw, 34px); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px) clamp(18px, 2.4vw, 34px); }
.ag-green__lista li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.ag-green__n { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ag-gdk); color: #fff; font: 600 16px/1 'Oswald', sans-serif; }
.ag-green__lista b { font: 600 18px/1.2 'Oswald', sans-serif; text-transform: uppercase; color: var(--ag-gdk); }
.ag-green__lista li > span:last-child { font: 400 15px/1.5 'Frank Ruhl Libre', serif; color: #24401A; }
@media (max-width: 1099px) { .ag-green__lista { grid-template-columns: 1fr; } }
/* bloques de WhatsApp: botón directo en vez de «suscribirse a las ofertas» */
.ag-news__wa { justify-self: end; }
@media (max-width: 767px) { .ag-news__wa { justify-self: start; } }
.ag-fwa { width: 100%; }
/* banners de las internas: el velo marrón de la demo (.74) tapaba el color de las fotos */
.ag-ph__bg::after { background: rgba(120,78,30,.5); }
