/* AmbiNature Andorra, versión 2. Colores de marca: ver docs/identidad-visual.md */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"); size-adjust: 112%; ascent-override: 86%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --green: #7fb746; --lime: #cfe657; --green-text: #466a0b; --black: #000; --panel: #0d0d0d;
  --ink: #363f4d; --text: #333; --grey: #eaeaea; --white: #fff; --on-dark: #eee; --muted: #bbb;
  --line-dark: rgba(255, 255, 255, .16); --line-light: rgba(0, 0, 0, .18);
  --header-h: 76px; --bar-h: 0px; --radius: 3px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Montserrat", "Montserrat Fallback", Arial, sans-serif;
  --content: calc(min(1500px, 100vw) - 2 * var(--gutter));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.fx) { scroll-behavior: smooth; }
body { margin: 0; background: transparent; color: var(--on-dark); font: 400 1.0625rem/1.65 var(--font); padding-bottom: var(--bar-h); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 300; line-height: 1.02; text-wrap: balance; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 6vw, 5.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
p, li, dd { max-width: 66ch; }
a { color: inherit; }
ul { padding-left: 1.2em; }
em { font-style: normal; color: var(--green); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.5; font-weight: 300; }
.note { font-size: .9rem; opacity: .8; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1500px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.scene-light :focus-visible, .shop-band :focus-visible { outline-color: var(--black); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--lime); color: var(--black); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }

/* Lienzo de humo: fondo fijo de toda la web */
#smoke { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: none; }
.fx #smoke { display: block; }
.fluid .hero-still { opacity: 0; }
.hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -1; opacity: .75; transition: opacity 1s; }

/* Botones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 14px 28px; border: 1px solid transparent; border-radius: var(--radius); font: 600 .9688rem/1.2 var(--font); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary::before { background: var(--white); }
.btn-ghost { color: var(--white); border-color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark::before { background: var(--green); }
.btn-dark:hover { color: var(--black); }
.btn-outline { color: var(--black); border-color: var(--black); }
.btn-outline::before { background: var(--black); }
.btn-outline:hover { color: var(--white); }
.ext { width: .85em; height: .85em; flex: none; display: inline-block; vertical-align: -.05em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--green); font-weight: 500; text-underline-offset: .22em; }
.scene-light .link { color: var(--green-text); }
.more { display: inline-flex; align-items: center; gap: .5em; color: var(--green); font-weight: 600; }
.more::after { content: "→"; transition: transform .4s var(--ease); }
a:hover .more::after { transform: translateX(8px); }

/* Cabecera */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .4s; }
.is-scrolled .site-header { background: var(--black); }
main { padding-top: 0; }
.header-in { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { flex: none; padding-block: 8px; }
.brand img { width: 176px; aspect-ratio: 27364.98 / 2969.52; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav a { display: block; position: relative; padding: 8px 2px; color: var(--white); font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-n { display: none; }
.nav a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; font-size: .8125rem; font-weight: 600; }
.lang a, .lang > span { padding: 8px 6px; min-width: 32px; text-align: center; color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--white); }
.lang [aria-current] { color: var(--green); }
.header-shop { min-height: 42px; padding: 8px 16px; font-size: .875rem; flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; background: none; border: 0; color: var(--white); cursor: pointer; padding: 11px; }
.menu-btn span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform .4s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  :root { --bar-h: 62px; --header-h: 64px; }
  .menu-btn { display: block; order: 3; }
  .header-in { gap: 8px; justify-content: space-between; }
  .brand img { width: 140px; }
  .header-in > .lang { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 var(--bar-h) 0; margin: 0; background: var(--black); overflow-y: auto; padding: 12px var(--gutter) 32px; clip-path: circle(0 at calc(100% - 40px) 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; }
  .nav.open { clip-path: circle(160% at calc(100% - 40px) 0); visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 300; text-transform: uppercase; white-space: normal; border-bottom: 1px solid var(--line-dark); }
  .nav-n { display: inline; font-size: .8125rem; font-weight: 600; color: var(--green); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--green); }
  .header-shop { display: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 400px) { .brand img { width: 118px; } .lang a, .lang > span { padding-inline: 3px; } }

.mobile-bar { display: none; }
@media (max-width: 1099px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0 0; z-index: 60; height: var(--bar-h); background: var(--black); border-top: 1px solid var(--line-dark); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--white); font-size: .75rem; font-weight: 600; text-decoration: none; }
  .mobile-bar a + a { border-left: 1px solid var(--line-dark); }
  .mobile-bar a.shop { background: var(--lime); color: var(--black); }
  .mobile-bar svg { width: 20px; height: 20px; }
}

/* Portada */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--header-h); padding-bottom: var(--bar-h); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 62%); pointer-events: none; }
.hero-in { position: relative; padding-block: clamp(32px, 6vw, 72px); }
.mega { margin: 0 0 22px; text-transform: uppercase; letter-spacing: -.035em; }
.mega-big { display: block; font-size: calc(var(--content) / 9); font-weight: 200; line-height: .92; color: var(--white); }
.mega-small { display: block; margin-top: .5em; font-size: clamp(1.1rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; color: var(--lime); }
.hero .lead { max-width: 34em; }
.hero-note { margin: 18px 0 0; font-size: .875rem; color: #ddd; }
.hero-move { position: absolute; right: var(--gutter); bottom: 26px; margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: none; }
.fluid.fx-ready .hero-move { display: block; }
@media (max-width: 720px) {
  .hero .btn { flex: 1 1 100%; }
  .hero-move { display: none !important; }
}

/* Manifiesto */
.manifesto { position: relative; background: var(--black); }
.man-stage { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.man-video { position: absolute; inset: 0; }
.man-video video { width: 100%; height: 100%; object-fit: cover; }
.man-video::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .46); }
.man-text { position: relative; width: min(1320px, 100%); max-width: none; margin: 0; padding: 0 var(--gutter); font-size: clamp(1.9rem, 5.8vw, 6rem); font-weight: 300; line-height: 1.08; letter-spacing: -.025em; text-transform: uppercase; color: var(--white); text-wrap: balance; }

/* Dúo */
.duo { display: flex; background: var(--black); min-height: 86svh; }
.duo-panel { position: relative; flex: 1 1 50%; display: flex; align-items: flex-end; min-height: 62svh; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; transition: flex-grow .9s var(--ease); }
.duo-panel:hover { flex-grow: 1.6; }
.duo-panel figure { position: absolute; inset: -10% 0; margin: 0; z-index: -1; }
.duo-panel figure::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); transition: opacity .7s; }
.duo-panel:hover figure::after { opacity: .3; }
.duo-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-panel:hover img { transform: scale(1.04); }
.duo-body { display: block; padding: clamp(24px, 4vw, 60px); }
.duo-body h3 { font-size: clamp(2rem, 5vw, 5rem); font-weight: 300; text-transform: uppercase; letter-spacing: -.03em; }
.duo-body ul { list-style: none; padding: 0; margin: 0 0 18px; }
.duo-body li { margin-bottom: .2em; }
.duo-panel + .duo-panel { border-left: 1px solid var(--line-dark); }
@media (max-width: 820px) { .duo { flex-direction: column; } .duo-panel + .duo-panel { border-left: 0; border-top: 1px solid var(--line-dark); } }

/* Servicios en horizontal */
.hscroll { background: var(--grey); color: var(--text); overflow: hidden; }
.h-track { display: flex; flex-direction: column; }
.h-panel { position: relative; }
.display { font-size: clamp(3rem, 11vw, 12rem); font-weight: 200; color: var(--black); line-height: .9; }
.h-intro { padding: clamp(56px, 8vw, 110px) var(--gutter) 40px; background: var(--grey); }
.h-arrow { display: none; }
.h-service { display: block; min-height: 90svh; background: var(--black); color: var(--on-dark); text-decoration: none; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line-dark); }
.h-num { position: absolute; left: 0; top: -2%; z-index: 1; font-size: clamp(9rem, 34vw, 30rem); font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(207, 230, 87, .45); pointer-events: none; }
.h-service figure { position: absolute; inset: 8% 0 26% 22%; margin: 0; overflow: hidden; z-index: 0; }
.h-service figure img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; }
.h-service figure.is-blend img { object-fit: contain; }
.h-body { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vw, 50px); z-index: 2; display: block; }
.h-body h3 { font-size: clamp(2rem, 4.6vw, 4.8rem); font-weight: 300; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; color: var(--white); }
.fx-ready .h-service { position: sticky; top: var(--header-h); transform-origin: center top; }
@media (min-width: 900px) {
  .hscroll.is-h .h-track { flex-direction: row; width: max-content; height: 100svh; will-change: transform; }
  .hscroll.is-h .h-panel { flex: none; height: 100svh; }
  .hscroll.is-h .h-intro { width: 62vw; display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); padding-top: var(--header-h); }
  .hscroll.is-h .h-arrow { display: block; font-size: 4rem; font-weight: 200; color: var(--black); }
  .hscroll.is-h .h-service { position: relative; top: 0; width: min(78vw, 1200px); border-top: 0; border-left: 1px solid var(--line-dark); min-height: 0; }
}

/* Cinta */
.marquee { overflow: hidden; background: var(--lime); color: var(--black); padding-block: clamp(12px, 2vw, 26px); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee ul { display: flex; flex: none; gap: 3vw; padding: 0 1.5vw; margin: 0; list-style: none; }
.marquee li { margin: 0; max-width: none; white-space: nowrap; font-size: clamp(2.4rem, 8vw, 8rem); font-weight: 200; line-height: 1; text-transform: uppercase; letter-spacing: -.03em; }
.marquee li:nth-child(even) { font-weight: 800; }
html:not(.fx-ready) .marquee ul[aria-hidden] { display: none; }
html:not(.fx-ready) .marquee-track, html:not(.fx-ready) .marquee ul { width: auto; flex-wrap: wrap; }
html:not(.fx-ready) .marquee li { font-size: clamp(1.1rem, 2.6vw, 2rem); white-space: normal; }

/* Aromas */
.paint { position: relative; padding-block: clamp(70px, 11vw, 160px); min-height: 100svh; display: flex; align-items: center; }
html:not(.fx) .paint { display: none; }
.paint-list { display: flex; flex-wrap: wrap; gap: 4px clamp(18px, 3vw, 44px); margin: clamp(24px, 4vw, 50px) 0; }
.paint-list button { position: relative; padding: 4px 0; border: 0; background: none; color: var(--white); font: 200 clamp(2rem, 6.4vw, 6.6rem)/1.08 var(--font); letter-spacing: -.03em; text-transform: uppercase; cursor: pointer; transition: color .4s, font-weight .4s var(--ease); text-align: left; }
.paint-list button:hover, .paint-list button.is-on, .paint-list button:focus-visible { color: var(--ink, #fff); font-weight: 700; }
.paint-list button { --ink-color: var(--ink); }

/* Temporada de invierno */
.winter { position: relative; padding-block: clamp(80px, 12vw, 170px); }
.winter, .paint, .cta-giant, .scene-dark { background: rgba(0, 0, 0, .28); }
html:not(.fluid) .winter { background: var(--black); }
.winter h2 { max-width: 15em; color: var(--white); font-size: clamp(2rem, 5.6vw, 5.6rem); font-weight: 200; }
.winter-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 30px; }
.winter-list li { margin: 0; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 40px; background: rgba(0, 0, 0, .5); font-size: .9375rem; }

/* Compromisos */
.promises { background: var(--lime); color: var(--black); padding-block: clamp(70px, 10vw, 140px); }
.promises h2 { color: var(--black); font-weight: 300; font-size: clamp(2rem, 5.4vw, 5.4rem); max-width: 16em; }
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); list-style: none; padding: 0; margin: clamp(24px, 4vw, 50px) 0 0; }
.promise-list li { margin: 0; padding-top: 18px; border-top: 2px solid var(--black); }
.promise-list h3 { font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -.03em; color: var(--black); }
@media (max-width: 820px) { .promise-list { grid-template-columns: 1fr; } }

/* Anillo de productos */
.showcase { background: var(--black); }
.show-stage { position: relative; }
.show-head { padding-block: clamp(70px, 9vw, 120px) clamp(28px, 4vw, 50px); }
.show-head h2 { color: var(--white); }
.show-list { display: grid; gap: clamp(36px, 6vw, 70px); padding-inline: var(--gutter); }
.show-item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: center; color: var(--on-dark); text-decoration: none; }
.show-item figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--black); aspect-ratio: 3 / 4; max-height: 82vh; }
.show-item img { width: 100%; height: 100%; object-fit: cover; }
.show-n { display: block; font-size: .875rem; font-weight: 600; letter-spacing: .14em; color: var(--green); margin-bottom: 14px; }
.show-item strong { display: block; font-size: clamp(2.2rem, 5.6vw, 6rem); font-weight: 200; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.show-item .desc { display: block; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; margin-bottom: 26px; max-width: 28em; }
.show-item .to-shop { font-size: 1rem; padding: 0; }
.show-foot { padding-block: 30px clamp(50px, 7vw, 80px); }
@media (max-width: 760px) { .show-item { grid-template-columns: 1fr; } .show-item figure { max-height: none; } }
@media (min-width: 900px) {
  .showcase.is-pinned .show-stage { height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-top: var(--header-h); }
  .showcase.is-pinned .show-head { padding-block: 22px 12px; }
  .showcase.is-pinned .show-head h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); margin: 0; }
  .showcase.is-pinned .show-head p { display: none; }
  .showcase.is-pinned .show-list { position: relative; flex: 1; min-height: 0; display: block; }
  .showcase.is-pinned .show-item { position: absolute; inset: 0 var(--gutter); opacity: 0; visibility: hidden; will-change: opacity; }
  .showcase.is-pinned .show-item figure { height: 100%; aspect-ratio: auto; max-height: none; }
  .showcase.is-pinned .show-foot { padding-block: 10px 14px; }
  .showcase.is-pinned .show-foot .note { margin: 0; max-width: none; font-size: .8125rem; }
}

/* Producto */
.product { display: flex; flex-direction: column; background: var(--panel); color: var(--on-dark); text-decoration: none; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; transition: border-color .4s; }
.product:hover { border-color: var(--lime); color: var(--on-dark); }
.product figure { margin: 0; aspect-ratio: 1; background: var(--black); padding: 14px; overflow: hidden; }
.product.is-light figure { background: var(--white); }
.product.is-studio figure { padding: 0; aspect-ratio: 3 / 4; }
.product.is-studio img { object-fit: cover; }
.product img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.product:hover img { transform: scale(1.08) rotate(-2deg); }
.product-body { display: flex; flex-direction: column; flex: 1; gap: 5px; padding: 16px 16px 18px; }
.product strong { color: var(--white); font-size: 1.05rem; font-weight: 600; }
.product .desc { font-size: .9063rem; line-height: 1.4; }
.to-shop { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: .45em; color: var(--green); font-size: .875rem; font-weight: 600; }

/* Tira deslizable */
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin-bottom: 18px; scrollbar-color: var(--green) transparent; }
.strip .product { flex: 0 0 clamp(230px, 24vw, 320px); scroll-snap-align: start; }
.scene-light .strip .product { background: var(--black); }
.scene-dark .strip + .note + .btn-row, .scene-light .strip + .note + .btn-row { margin-top: 18px; }

/* Escenas interiores */
.scene { position: relative; padding-block: clamp(70px, 10vw, 150px); }
.scene-light { background: var(--grey); color: var(--text); }
.scene-light h2 { color: var(--black); }
.scene-light h3 { color: var(--ink); }
.scene-dark { color: var(--on-dark); }
.scene-dark h2, .scene-dark h3 { color: var(--white); }
html:not(.fluid) .scene-dark { background: var(--black); }
.scene-head { max-width: 1050px; margin-bottom: clamp(32px, 5vw, 70px); }
.editorial { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.editorial + .editorial { margin-top: clamp(70px, 10vw, 150px); }
.editorial.is-reverse .ed-fig { order: -1; }
.editorial.no-fig { grid-template-columns: 1fr; }
.ed-fig { margin: 0; overflow: hidden; border-radius: var(--radius); max-height: 76vh; }
.ed-fig img { width: 100%; height: 100%; max-height: 76vh; object-fit: cover; }
.ed-fig.is-light { background: var(--white); }
.ed-fig.is-light img { object-fit: contain; padding: 16px; }
.ed-fig.is-blend img { object-fit: contain; }
.scene-light .ed-fig.is-blend { background: var(--black); }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } .editorial.is-reverse .ed-fig { order: 0; } .ed-fig, .ed-fig img { max-height: 60vh; } }

.page-hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.page-hero.no-fig { min-height: 66svh; }
.ph-in { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding-block: clamp(28px, 5vw, 64px); }
.page-hero.no-fig .ph-in { grid-template-columns: 1fr; }
.page-hero h1 { font-size: calc(var(--content) * .068); font-weight: 200; text-transform: uppercase; letter-spacing: -.035em; color: var(--white); line-height: .95; }
.page-hero .lead { max-width: 34em; }
.ph-text { position: relative; z-index: 1; }
.ph-fig { margin: 0; }
.ph-fig img { width: 100%; max-height: 66vh; object-fit: contain; border-radius: var(--radius); }
.ph-fig.is-light { background: var(--white); padding: 14px; border-radius: var(--radius); }
.crumbs { font-size: .8125rem; margin-bottom: 18px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #888; }
@media (max-width: 860px) { .page-hero h1 { font-size: calc(var(--content) / 10); } .ph-in { grid-template-columns: 1fr; } .ph-fig img { max-height: 280px; margin-inline: auto; } .page-hero { min-height: 0; } }

/* Filas numeradas */
.rows { list-style: none; padding: 0; margin: 0; }
.row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(12px, 3vw, 40px); align-items: baseline; padding: clamp(20px, 3vw, 36px) 0; margin: 0; max-width: none; border-top: 1px solid var(--line-light); transition: padding-left .6s var(--ease), background-color .4s; }
.scene-dark .row { border-color: var(--line-dark); }
.row:hover { padding-left: clamp(8px, 2vw, 28px); }
.row h3 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 3.2rem); font-weight: 300; text-transform: uppercase; letter-spacing: -.02em; }
.row p { margin: 0; }
.row-n { font-size: .875rem; font-weight: 700; color: var(--green-text); }
.scene-dark .row-n { color: var(--green); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 6px; } }

/* Sistemas */
.systems { list-style: none; padding: 0; margin: 0 0 24px; }
.sys { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.8fr) auto; gap: clamp(12px, 2.5vw, 36px); align-items: start; padding: clamp(20px, 2.6vw, 32px) 0; margin: 0; max-width: none; border-top: 1px solid var(--line-dark); transition: padding-left .6s var(--ease); }
.sys:hover { padding-left: 14px; }
.sys h3 { margin: 0; font-size: clamp(1.3rem, 2.3vw, 2.1rem); font-weight: 400; letter-spacing: -.02em; }
.sys dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sys dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.sys dd { margin: 0; font-size: .9688rem; line-height: 1.5; }
.sys-link { display: inline-flex; align-items: center; gap: .4em; color: var(--lime); font-weight: 600; font-size: .9375rem; text-underline-offset: .2em; max-width: 180px; }
.safety { padding: 16px 20px; border-left: 4px solid var(--lime); font-weight: 500; background: rgba(0, 0, 0, .55); max-width: none; }
@media (max-width: 980px) { .sys { grid-template-columns: 1fr; gap: 10px; } .sys dl { grid-template-columns: 1fr; } .row-n { display: block; } .sys-link { max-width: none; } }
.hover-img { position: fixed; left: 0; top: 0; z-index: 45; width: 280px; height: 300px; pointer-events: none; opacity: 0; transform-origin: center; transition: opacity .35s; background: var(--black); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.hover-img.on { opacity: 1; }
.hover-img img { width: 100%; height: 100%; object-fit: contain; }
html:not(.fx-ready) .hover-img { display: none; }

/* Pirámide */
.pyramid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.pyr-levels { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pyr-levels button { display: block; height: clamp(84px, 11vw, 150px); border: 0; background: rgba(255, 255, 255, .1); color: var(--white); font: 500 clamp(.875rem, 1.5vw, 1.2rem) var(--font); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; transition: background-color .4s, color .4s, transform .6s var(--ease); }
.pyr-levels button:nth-child(1) { width: 40%; clip-path: polygon(32% 0, 68% 0, 100% 100%, 0 100%); }
.pyr-levels button:nth-child(2) { width: 70%; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.pyr-levels button:nth-child(3) { width: 100%; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.pyr-levels button[aria-selected="true"] { background: var(--lime); color: var(--black); transform: scale(1.04); }
.pyr-levels button:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .24); }
.pyr-levels button:focus-visible { outline-offset: -6px; outline-color: var(--white); }
.pyr-levels button[aria-selected="true"]:focus-visible { outline-color: var(--black); }
.pyr-panel h3 { font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 300; text-transform: uppercase; }
@media (max-width: 760px) { .pyramid { grid-template-columns: 1fr; } }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--black); cursor: pointer; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; font-size: 1.7rem; font-weight: 300; line-height: 1; color: var(--green-text); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }

/* Pasos */
.steps { --line: 1; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 34px); list-style: none; padding: 26px 0 0; margin: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; }
.steps::before { background: rgba(0, 0, 0, .15); }
.steps::after { background: var(--green-text); transform: scaleX(var(--line)); transform-origin: left; }
.steps li { margin: 0; }
.step-n { display: block; font-size: clamp(3.4rem, 8vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--black); margin-bottom: 14px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding: 0 0 0 22px; }
  .steps::before, .steps::after { width: 3px; height: 100%; }
  .steps::after { transform: scaleY(var(--line)); transform-origin: top; }
}

/* Tienda */
.shop-band { background: var(--lime); color: var(--black); padding-block: clamp(70px, 10vw, 150px); overflow: hidden; }
.shop-band h2 { color: var(--black); font-size: clamp(2.4rem, 8vw, 8.2rem); font-weight: 200; line-height: .95; }
.shop-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.tilt { margin: 0; background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: 0 40px 90px rgba(0, 0, 0, .28); transform-style: preserve-3d; }
.tilt img { width: 100%; }
@media (max-width: 860px) { .shop-in { grid-template-columns: 1fr; } }

/* Artículos */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }
.posts-scene { background: var(--black); }
.post { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); text-decoration: none; border-radius: var(--radius); isolation: isolate; }
.post figure { position: absolute; inset: 0; margin: 0; z-index: -1; }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover img { transform: scale(1.05); }
.post-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); display: flex; flex-direction: column; gap: 6px; }
.post strong { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 400; line-height: 1.15; }

/* Llamada final */
.cta-giant { position: relative; padding-block: clamp(90px, 15vw, 210px); }
html:not(.fluid) .cta-giant { background: var(--black); }
.cta-giant h2 { font-size: clamp(2.8rem, 11vw, 12rem); font-weight: 200; line-height: .92; color: var(--white); letter-spacing: -.04em; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 56px); margin-top: clamp(24px, 3vw, 40px); }
.orb { display: grid; place-items: center; width: clamp(150px, 17vw, 230px); aspect-ratio: 1; padding: 22px; border-radius: 50%; background: var(--lime); color: var(--black); text-align: center; font-weight: 700; font-size: clamp(.9375rem, 1.3vw, 1.125rem); line-height: 1.2; text-decoration: none; transition: background-color .4s, transform .6s var(--ease); }
.orb:hover { background: var(--white); transform: scale(1.06); }
.big-link { font-size: clamp(1.5rem, 3.4vw, 3.2rem); font-weight: 300; color: var(--white); text-underline-offset: .15em; text-decoration-thickness: 1px; }
.big-link:hover { color: var(--lime); }

/* Relacionados */
.big-rows { list-style: none; padding: 0; margin: 0; }
.big-rows li { max-width: none; margin: 0; border-top: 1px solid var(--line-light); }
.big-rows li:last-child { border-bottom: 1px solid var(--line-light); }
.big-rows a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: clamp(12px, 3vw, 40px); align-items: center; padding: clamp(18px, 2.6vw, 34px) 0; color: var(--black); text-decoration: none; transition: padding-left .6s var(--ease); }
.big-rows a:hover { padding-left: 18px; }
.br-t { font-size: clamp(1.5rem, 3.8vw, 3.8rem); font-weight: 300; text-transform: uppercase; letter-spacing: -.03em; line-height: 1.02; }
.br-d { font-size: .9688rem; color: var(--text); }
.br-a { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 200; transition: transform .6s var(--ease); }
.big-rows a:hover .br-a { transform: translateX(10px); }
@media (max-width: 760px) { .big-rows a { grid-template-columns: minmax(0, 1fr) auto; } .br-d { grid-column: 1; grid-row: 2; } .br-a { grid-row: 1 / span 2; } }
.related .eyebrow { color: var(--green-text); }
.two-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 5vw, 70px); }
.two-notes h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 400; }

/* Contacto */
.contact-label { display: block; margin: 0 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.contact-huge { display: block; margin-bottom: clamp(30px, 5vw, 60px); font-size: clamp(2.3rem, 9.4vw, 10rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; color: var(--white); text-decoration: none; overflow-wrap: anywhere; transition: color .4s, letter-spacing .7s var(--ease); }
.contact-huge.is-mail { font-size: clamp(1.45rem, 6.2vw, 7rem); }
.contact-huge:hover { color: var(--lime); letter-spacing: -.02em; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 20px 70px; }
.contact-meta p { margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side h3 { margin-top: 26px; }
.field { margin-bottom: 20px; }
.field label, fieldset legend { display: block; margin-bottom: 4px; padding: 0; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.req { color: #a30000; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 50px; padding: 10px 2px; border: 0; border-bottom: 2px solid var(--black); border-radius: 0; background: transparent; color: var(--text); font: 400 1.125rem var(--font); transition: border-color .3s, padding-left .4s var(--ease); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-text); padding-left: 10px; background: rgba(255, 255, 255, .6); }
textarea { min-height: 130px; resize: vertical; }
[aria-invalid="true"] { border-color: #a30000; }
.err { display: none; margin: 5px 0 0; color: #a30000; font-size: .875rem; font-weight: 500; }
.err.show { display: block; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; margin: 0; }
.radios input { width: 20px; height: 20px; accent-color: var(--green-text); }
.form .note { margin-top: 16px; }
.form-status { margin: 16px 0 0; padding: 14px 16px; background: #f1f6e4; border-left: 4px solid var(--green-text); color: var(--text); }
.form-status[hidden] { display: none; }

/* Pie */
.site-footer { position: relative; background: var(--black); padding-block: clamp(50px, 7vw, 90px) 26px; font-size: .9375rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { display: inline-block; padding-block: 5px; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-logo { width: 100%; margin-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); aspect-ratio: 27364.98 / 2969.52; }
.footer-legal { padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .8438rem; color: var(--muted); }
.footer-legal p { max-width: none; margin-bottom: .4em; }
.fx-toggle { padding: 5px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.fx-toggle:hover { color: var(--lime); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.fx-pill { position: fixed; left: 16px; bottom: calc(var(--bar-h) + 16px); z-index: 55; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 40px; background: var(--lime); color: var(--black); font: 600 .875rem var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.fx-pill[hidden], .is-scrolled .fx-pill { display: none; }

/* Página de idioma */
.gate { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--white); isolation: isolate; padding: 32px var(--gutter); }
.gate h1 { font-size: clamp(1.5rem, 3.6vw, 2.8rem); font-weight: 300; text-transform: uppercase; color: var(--white); margin: 30px auto 12px; max-width: 22em; }
.gate p { margin-inline: auto; }
.gate .brand-big { width: min(420px, 78vw); margin-inline: auto; aspect-ratio: 27364.98 / 2969.52; }
.gate .btn-row { justify-content: center; margin-top: 24px; }
html:not(.fluid) .gate .hero-still { opacity: .35; }

/* Transición entre páginas (navegadores compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: ink-open .8s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes ink-open { from { clip-path: circle(0 at 50% 60%); } to { clip-path: circle(150% at 50% 60%); } }

@media print { #smoke, .site-header, .mobile-bar, .fx-pill, .hover-img { display: none !important; } body { color: #000; } }
.editorial h2 { font-size: clamp(1.6rem, 3.8vw, 4.2rem); }
.duo-body { background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,0)); width: 100%; }

/* Ficha de datos de la empresa */
.facts-scene { padding-top: 0; }
.facts { margin: clamp(24px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 clamp(24px, 5vw, 80px); }
.facts div { padding: 18px 0; border-top: 1px solid var(--line-light); min-width: 0; }
.facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--black); font-weight: 500; overflow-wrap: anywhere; }
.facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Pie: enlaces legales sin separadores que queden colgados al saltar de línea */
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }

/* Ajustes para teléfono y tableta */
@media (max-width: 1099px) {
  .brand { padding-block: 15px; }
  .lang a, .lang > span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 0; }
  .site-footer li { margin-bottom: 0; }
  .site-footer li a, .legal-links a, .fx-toggle { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
}
/* Tarjetas de servicios apiladas: número e imagen dentro de la tarjeta */
@media (max-width: 899px) {
  .hscroll { background: var(--black); overflow: visible; }
  .h-service { display: flex; flex-direction: column; height: calc(100vh - var(--header-h) - var(--bar-h)); height: calc(100svh - var(--header-h) - var(--bar-h)); min-height: 0; }
  .h-service figure { position: relative; inset: auto; order: 0; flex: 1 1 0; min-height: 120px; width: 100%; }
  .h-service figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 90%, var(--black) 100%); }
  .h-service figure img, .h-service figure.is-blend img { object-fit: cover; }
  .h-num { position: static; order: 1; flex: none; display: block; padding: 12px var(--gutter) 0; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.1; letter-spacing: -.03em; color: var(--lime); -webkit-text-stroke: 0; background: var(--black); }
  .h-body { position: relative; left: auto; right: auto; bottom: auto; order: 2; flex: none; padding: 4px var(--gutter) 22px; background: var(--black); }
  .h-body h3 { font-size: clamp(1.75rem, 8.4vw, 3rem); }
  .h-body p { margin-block: 10px 8px; }
}
/* Pantallas bajas, como el móvil en horizontal: las tarjetas no caben fijas */
@media (max-width: 899px) and (max-height: 560px) {
  .h-service, .fx-ready .h-service { position: relative; top: 0; height: auto; }
  .h-service figure { flex: none; aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  /* Las imágenes con fondo negro se funden con el humo en lugar de dejar un rectángulo */
  .ph-fig:not(.is-light) img { width: auto; height: min(46svh, 340px); max-height: none; }
  .ph-fig:not(.is-light) img, .scene-dark .ed-fig:not(.is-light) img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
  .ed-fig.is-blend img { object-fit: cover; }
  .ph-fig.is-light { width: 100%; }
  .page-hero.no-fig { min-height: 0; }
  .contact-direct { padding-top: 28px; }
  .contact-huge { padding-block: 6px; margin-bottom: 24px; }
  .contact-huge.is-mail { padding-block: 11px; }
  .crumbs a { display: inline-block; padding: 14px 14px 14px 0; margin: -14px -14px -14px 0; }
  .big-link { display: inline-block; padding-block: 8px; }
  .sys-link { min-height: 44px; }
}
@media (max-width: 760px) {
  .show-item figure { aspect-ratio: 4 / 5; }
  .show-item img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect; }
  .editorial h2, .two-notes h2 { font-size: clamp(1.4rem, 7.5vw, 2.2rem); line-height: 1.05; }
  .scene-light .lead { color: var(--text); font-weight: 400; }
  /* Las tiras de productos llegan hasta el borde para indicar que se pueden deslizar */
  .strip { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
/* Títulos finales: que la palabra más larga quepa en teléfonos pequeños */
@media (max-width: 480px) { .cta-giant h2 { font-size: clamp(2rem, 10.6vw, 2.8rem); } }
/* Escritorio: el número de las tarjetas empieza debajo de la cabecera */
@media (min-width: 900px) { .hscroll.is-h .h-num { top: calc(var(--header-h) + 14px); } }

/* ---- Capa DANIA: menú con desplegable, migas, pie, legal, formulario y chat ---- */
/* Capa DANIA sobre la v2 aprobada. Solo añade lo que piden los raíles; no cambia la línea visual.
   Sin backdrop-filter, sin filter sobre imágenes o vídeo, sin mix-blend-mode. */

/* Menú: Inici · Serveis (desplegable) · Nosaltres · Contacte */
.nav-drop { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-droptoggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; }
.nav-droptoggle svg { transition: transform .4s var(--ease); }
.nav-drop.is-open .nav-droptoggle svg, .nav-drop:hover .nav-droptoggle svg { transform: rotate(180deg); }
.nav-droplink[aria-current="true"]::after { transform: scaleX(1); }
@media (min-width: 1100px) {
  .nav .nav-menu { position: absolute; top: 100%; left: -18px; display: block; min-width: 320px; margin: 0; padding: 10px 0; background: var(--black); border: 1px solid var(--line-dark); border-radius: var(--radius); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
  .nav .nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav .nav-menu a { display: flex; align-items: baseline; gap: 12px; padding: 11px 20px; white-space: nowrap; }
  .nav .nav-menu a::after { left: 20px; right: 20px; bottom: 6px; }
  .nav .nav-menu .nav-n { display: inline; font-size: .75rem; font-weight: 600; color: var(--green); }
  .nav .nav-menu a[aria-current="page"] { color: var(--lime); }
}
@media (max-width: 1099px) {
  .nav-droptoggle { display: none; }
  .nav-drop { display: block; }
  .nav .nav-menu { display: block; padding: 0 0 8px 0; margin: 0; }
  .nav .nav-menu a { padding: 12px 0 12px 4px; font-size: clamp(1.05rem, 4.6vw, 1.45rem); font-weight: 400; text-transform: none; border-bottom-color: rgba(255, 255, 255, .08); }
  .nav-droplink[aria-current="true"] { color: var(--green); }
}

/* Migas: Inici / Serveis / Servei (raíl B1), mismo estilo de la v2 */
.crumbs li[aria-current] { color: var(--white); }

/* Pie: títulos de columna como párrafo (no encabezados) */
.site-footer .foot-h { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
.site-footer .legal-links a[aria-current="page"] { color: var(--lime); }

/* Páginas legales */
.legal-hero { min-height: 0; }
.legal-hero h1 { font-size: clamp(2.2rem, 6vw, 5rem); }
.legal-text .wrap { max-width: 900px; }
.legal-text h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-transform: none; font-weight: 500; color: var(--ink); margin: 1.6em 0 .5em; letter-spacing: -.01em; }
.legal-text a { color: var(--green-text); }
.legal-titular { list-style: none; padding: 0; margin: 0 0 1em; }
.legal-titular li { padding: 6px 0; border-bottom: 1px solid var(--line-light); }
.legal-text table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .9375rem; table-layout: fixed; }
.legal-text th, .legal-text td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-light); overflow-wrap: anywhere; }
.legal-text th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
@media (max-width: 720px) {
  .legal-text thead { display: none; }
  .legal-text tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
  .legal-text td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding: 4px 0; border: 0; }
  .legal-text td::before { content: attr(data-t); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
}

/* Formulario: consentimiento de privacidad (casilla y enlace de 44 px táctiles) */
.field.consent label { display: flex; align-items: flex-start; gap: 4px; font-weight: 500; }
.field.consent input { flex: none; appearance: none; -webkit-appearance: none; width: 44px; height: 44px; margin: -11px 0 -11px -11px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='%23fff' stroke='%23363f4d' stroke-width='2'/%3E%3C/svg%3E") center / 22px 22px no-repeat; cursor: pointer; }
.field.consent input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='%23466a0b' stroke='%23466a0b' stroke-width='2'/%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E"); }
.field.consent input:focus-visible { outline: 2px solid var(--black); outline-offset: -8px; }
.field.consent a { color: var(--green-text); display: inline-block; padding-block: 12px; margin-block: -12px; }

/* Enlaces sueltos de 44 px táctiles */
.site-footer li a { min-width: 44px; }
.legal-titular a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* Chat web de DANIA: por encima de la barra fija del móvil, sin tapar Trucar, Correu ni Botiga */
@media (max-width: 1099px) {
  .dwc .dwc-btn { bottom: calc(var(--bar-h) + 14px); right: 14px; width: 52px; height: 52px; }
}
@media (min-width: 641px) and (max-width: 1099px) {
  .dwc .dwc-panel { bottom: calc(var(--bar-h) + 78px); max-height: calc(100dvh - var(--bar-h) - 150px); }
}
/* En pantallas de 640 px o menos el chat abierto ocupa la pantalla entera y queda por encima de la barra */

/* Mejora 7-nov-2026: el titular y los botones de la portada se leen sobre cualquier color del humo */
.hero::before { background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,0) 82%); }
@media (max-width: 720px) { .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,0) 92%); } }
