/* =====================================================================
   ADM TEAM — admv2 · styles.css
   Negro + grafito + blanco + azul ADM. Tipografía grande, pocos elementos,
   animaciones suaves. Mobile-first.
   ===================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --surface: #151515;
  --surface-2: #1b1b1b;
  --line: #242424;
  --line-2: #333333;
  --white: #ffffff;
  --text: #e9e9e9;
  --text-2: #b5b5b5;
  --muted: #8a8a8a;
  --muted-2: #5c5c5c;
  --blue: #45c0e8;
  --blue-2: #1e9bed;
  --blue-soft: rgba(69, 192, 232, 0.14);
  --wa: #25d366;

  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;
  --nav-h: 72px;
  --section: clamp(84px, 11vw, 150px);
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 991.98px) { body { padding-bottom: 68px; } } /* espacio para la barra mobile */

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration: none; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
a:hover { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.02em; word-spacing: 0.08em; margin: 0 0 1rem; color: var(--white); }
::selection { background: var(--blue); color: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.container { max-width: 1320px; padding-inline: var(--gutter); }
.container--wide { max-width: 1520px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; background: var(--blue); color: #000; padding: .5rem 1rem; border-radius: 4px; }
.skip-link:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--blue); }
.eyebrow--plain::before { display: none; }

.h-display { font-size: clamp(2.6rem, 8.5vw, 7.5rem); text-transform: uppercase; line-height: .95; letter-spacing: -0.02em; word-spacing: 0.12em; }
.h-section { font-size: clamp(2.2rem, 5.2vw, 4.4rem); text-transform: uppercase; line-height: 1; letter-spacing: -0.015em; word-spacing: 0.12em; }
.h-sub { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em; word-spacing: 0.08em; }
.h-card { font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; word-spacing: 0.1em; }
.lead { font-weight: 400; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 60ch; }
.text-muted-2 { color: var(--muted) !important; }
.accent { color: var(--blue); }
.measure { max-width: 62ch; }

/* ---------- Botones ---------- */
.button {
  --button-bg: transparent; --button-fg: var(--white); --button-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1; border: 1px solid var(--button-bd); background: var(--button-bg); color: var(--button-fg);
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.button .arrow { font-size: 1.05em; transition: transform var(--dur) var(--ease); }
.button:hover .arrow { transform: translateX(4px); }

.button--solid { --button-bg: var(--white); --button-fg: #0a0a0a; --button-bd: var(--white); }
.button--solid:hover { --button-bg: var(--blue); --button-bd: var(--blue); color: #000; }
.button--outline { --button-bg: transparent; --button-fg: var(--white); --button-bd: rgba(255,255,255,.38); }
.button--outline:hover { --button-bd: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.button--blue { --button-bg: var(--blue); --button-fg: #000; --button-bd: var(--blue); }
.button--blue:hover { --button-bg: var(--white); --button-bd: var(--white); color: #000; }
.button--ghost { padding-inline: 0; border: 0; --button-fg: var(--white); }
.button--ghost:hover { color: var(--blue); transform: none; }
.button--sm { padding: .72rem 1.15rem; font-size: .7rem; }
.button--lg { padding: 1.15rem 2.2rem; font-size: .82rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Link con flecha */
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.link-arrow .arrow { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Navegación ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1040; height: var(--nav-h);
  background: rgba(10,10,10,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .5s var(--ease);
}
.nav--over { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-nav.is-scrolled { background: rgba(10,10,10,.92); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; max-width: 1520px; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
/* Logo: 34px en celular, 50px en escritorio */
.nav__brand img { height: 34px; width: auto; }
@media (min-width: 992px) { .nav__brand img { height: 50px; } }

.nav__links { display: none; align-items: center; gap: .25rem; }
@media (min-width: 992px) { :root { --nav-h: 86px; } .nav__links { display: flex; } }
.nav__item { position: relative; }
.nav__link {
  display: inline-block; padding: .6rem .9rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8);
  position: relative;
}
.nav__link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 560px;
  background: #101010; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.nav__item--has-menu::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav__item--has-menu:hover .nav__menu, .nav__item--has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .85rem; border-radius: var(--radius); color: var(--white); }
.nav__menu a span { font-size: .86rem; font-weight: 600; }
.nav__menu a small { font-size: .74rem; color: var(--muted); }
.nav__menu a:hover { background: var(--surface-2); color: var(--white); }
.nav__menu a:hover span { color: var(--blue); }
.nav__menu-all { grid-column: 1 / -1; margin-top: .4rem; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 1rem !important; font-size: .72rem !important; letter-spacing: .14em; text-transform: uppercase; }
.nav__menu-all:hover { background: transparent !important; color: var(--blue) !important; }

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__wa { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: var(--white); }
.nav__wa:hover { border-color: var(--wa); color: var(--wa); }
.nav__cta { display: none; }
@media (min-width: 992px) { .nav__cta { display: inline-flex; } .nav__wa { display: none; } }
@media (min-width: 1200px) { .nav__wa { display: inline-flex; } }

.nav__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); cursor: pointer; }
.nav__burger span { display: block; height: 1.5px; background: var(--white); transition: transform var(--dur) var(--ease); }
.nav__burger span:last-child { width: 70%; }
.nav__burger:hover span:last-child { width: 100%; }
@media (min-width: 992px) { .nav__burger { display: none; } }

/* Menú mobile (offcanvas) */
.mobile-menu { --bs-offcanvas-width: min(100vw, 440px); --bs-offcanvas-bg: #0b0b0b; --bs-offcanvas-color: var(--white); border-left: 1px solid var(--line) !important; display: flex; flex-direction: column; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-menu__head img { height: 28px; width: auto; }
.mobile-menu__close { background: transparent; border: 0; color: var(--white); padding: .4rem; cursor: pointer; }
.mobile-menu__links { padding: 1.4rem var(--gutter) .6rem; display: flex; flex-direction: column; }
.mobile-menu__link { display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0; font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; word-spacing: 0.08em; line-height: 1; color: var(--white); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); }
.offcanvas.show .mobile-menu__link { animation: menuIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 80ms); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-menu__link.is-active, .mobile-menu__link:hover { color: var(--blue); }
.mobile-menu__num { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .15em; color: var(--muted); }
.mobile-menu__services { padding: 1.2rem var(--gutter); }
.mobile-menu__services .eyebrow { margin-bottom: .7rem; }
.mobile-menu__services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; }
.mobile-menu__services-grid a { font-size: .9rem; color: var(--text-2); padding: .3rem 0; }
.mobile-menu__foot { margin-top: auto; padding: 1.2rem var(--gutter) calc(1.2rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; border-top: 1px solid var(--line); }
.mobile-menu__addr { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.2) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--nav-h) + 3rem) 0 clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 991.98px) { .hero__content { padding-bottom: calc(2rem + 68px); } .hero__title { font-size: clamp(2.8rem, 12vw, 5rem); } }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 1.4rem; }
.hero__meta b { color: var(--white); }
.hero__title { margin-bottom: 1.4rem; }
.hero__title span { display: block; }
.hero__title .dim { color: rgba(255,255,255,.55); }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 46ch; margin-bottom: 2rem; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.hero__addr { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero__addr a { color: rgba(255,255,255,.8); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 2rem; z-index: 2; width: 1px; height: 54px; background: rgba(255,255,255,.2); overflow: hidden; display: none; }
@media (min-width: 992px) { .hero__scroll { display: block; } }
.hero__scroll::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--white); animation: scrollHint 2.2s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }

/* Hero interior */
.page-hero { position: relative; min-height: clamp(460px, 62vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transform: scale(1.04); animation: heroZoom 8s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,.55) 40%, rgba(10,10,10,.25) 100%); }
.page-hero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--nav-h) + 4rem) 0 clamp(2rem, 5vw, 4rem); }
.page-hero__content .lead { margin-top: 1rem; }
.breadcrumb-adm { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb-adm a { color: var(--muted); }
.breadcrumb-adm a:hover { color: var(--white); }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--line { border-top: 1px solid var(--line); }
.section--surface { background: var(--bg-2); }
.section__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
@media (min-width: 992px) { .section__head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; } .section__head .lead { margin-bottom: .35rem; } }
.section__head--center { text-align: center; justify-items: center; grid-template-columns: 1fr; }
.section__head--center .eyebrow::before { display: none; }

/* ---------- Marquee marcas ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.3rem; overflow: hidden; background: var(--bg); }
.marquee__track { display: flex; gap: clamp(2.5rem, 6vw, 5rem); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); white-space: nowrap; display: flex; align-items: center; gap: 1rem; }
.marquee__item::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2.5vw, 2.2rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) { .stat { border-bottom: 0; } .stat:nth-child(2n) { border-right: 1px solid var(--line); } .stat:last-child { border-right: 0; } }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--white); }
.stat__num sup { font-size: .5em; color: var(--blue); top: -.6em; }
.stat__label { margin: .5rem 0 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* "No somos un taller más" */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.pillar__k { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--blue); text-transform: uppercase; margin-bottom: .9rem; display: block; }
.pillar h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: .6rem; }
.pillar p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* ---------- Cards de servicios ---------- */
.services-grid { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .services-grid .service-card--wide { grid-column: span 2; } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(6, 1fr); } .services-grid .service-card { grid-column: span 2; } .services-grid .service-card--wide { grid-column: span 3; } }

/* Home: jerarquía de servicios — 1 destacado + 2 grandes + el resto en lista */
.service-card--hero { aspect-ratio: 16 / 9; }
@media (min-width: 768px)  { .services-grid .service-card--hero { grid-column: span 2; } }
@media (min-width: 1200px) { .services-grid .service-card--hero { grid-column: span 6; } .service-card--hero { aspect-ratio: 21 / 9; min-height: 440px; } }
@media (max-width: 767.98px) { .service-card--hero { aspect-ratio: 4 / 3; min-height: 320px; } }
.service-card--hero .service-card__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.service-card--hero .service-card__desc { font-size: 1rem; max-width: 46ch; }

.services-more { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .services-more { grid-template-columns: repeat(2, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); } }
@media (min-width: 992px) { .services-more { grid-template-columns: repeat(3, 1fr); } }
.services-more__item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.services-more__item strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text); transition: color var(--dur) var(--ease); }
.services-more__item span { font-size: .84rem; color: var(--muted); text-align: right; }
.services-more__item:hover strong { color: var(--blue); }
.services-more__item:hover span { color: var(--text-2); }

.service-card { position: relative; display: block; width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); min-height: 380px; aspect-ratio: 4 / 3; isolation: isolate; }
.service-card--wide { aspect-ratio: 16 / 9; }
@media (max-width: 767.98px) { .service-card, .service-card--wide { aspect-ratio: 4 / 3; min-height: 300px; width: 100%; } }
.service-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity var(--dur) var(--ease); opacity: .85; }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.05) 100%); z-index: 1; transition: opacity var(--dur) var(--ease); }
.service-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.3rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .35rem; }
.service-card__num { font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--blue); margin-bottom: .4rem; }
.service-card__title { margin: 0; }
.service-card__desc { color: var(--text-2); font-size: .92rem; margin: 0; max-width: 40ch; }
.service-card__arrow { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: var(--white); transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.service-card:hover .service-card__img { transform: scale(1.05); opacity: 1; }
.service-card:hover .service-card__arrow { background: var(--white); color: #000; border-color: var(--white); transform: rotate(-45deg); }
.service-card:hover .service-card__title { color: var(--white); }

/* Lista de servicios (hub) */
.service-row { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 4vw, 3.2rem); border-top: 1px solid var(--line); align-items: center; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 992px) { .service-row { grid-template-columns: 90px 1.1fr 1fr 220px; gap: 2.5rem; } }
.service-row__num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--muted-2); letter-spacing: .05em; }
.service-row h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); text-transform: uppercase; margin: 0 0 .5rem; }
.service-row p { color: var(--text-2); margin: 0; }
.service-row__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.service-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-row:hover .service-row__img img { transform: scale(1.04); }
.service-row__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.tag { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: .3rem .65rem; }

/* ---------- Proyecto destacado ---------- */
.project-feature { position: relative; min-height: clamp(520px, 78vh, 820px); display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius-lg); background: #000; }
.project-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project-feature:hover img { transform: scale(1.03); }
.project-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.1) 100%); }
.project-feature__body { position: relative; z-index: 2; padding: clamp(1.6rem, 4vw, 3.5rem); width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.project-feature__title { font-size: clamp(2.6rem, 7vw, 6rem); text-transform: uppercase; letter-spacing: -0.02em; word-spacing: 0.12em; margin: 0 0 .5rem; }
.project-feature__tags { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0; }

.project-grid { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: .8rem; }
@media (min-width: 768px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); isolation: isolate; }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 60%); z-index: 1; }
.project-tile__body { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 2; }
.project-tile__body h3 { font-size: 1.3rem; text-transform: uppercase; margin: 0 0 .15rem; }
.project-tile__body p { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.project-tile:hover img { transform: scale(1.05); }

/* ---------- Galería del taller ---------- */
.taller-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
@media (min-width: 768px) { .taller-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } .taller-grid .span-2 { grid-column: span 2; } .taller-grid .row-2 { grid-row: span 2; } }
.taller-grid figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.taller-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.taller-grid figure:hover img { transform: scale(1.05); }
.taller-grid figcaption { position: absolute; left: 1rem; bottom: .9rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.8); }

/* ---------- Marcas ---------- */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
@media (min-width: 768px) { .brands { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .brands { grid-template-columns: repeat(5, 1fr); } }
.brand { min-height: 120px; display: grid; place-items: center; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); transition: background var(--dur) var(--ease); }
.brand:hover { background: var(--surface-2); }
.brand img { max-height: 36px; width: auto; filter: brightness(0) invert(.65); transition: filter var(--dur) var(--ease); }
.brand:hover img { filter: brightness(0) invert(1); }
.brand img[alt^="Sonax"] { filter: grayscale(1) opacity(.75); }
.brand:hover img[alt^="Sonax"] { filter: grayscale(1) opacity(1); }
/* Morel es un logo apilado (arcos + palabra): necesita un poco mas de alto */
.brand img[alt^="Morel"] { max-height: 46px; }
/* Logos de trazo o apilados: necesitan un poco mas de alto para leerse */
.brand img[alt^="Stinger"] { max-height: 44px; }
.brand img[alt^="ESR"] { max-height: 44px; }
.brand__text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.65); transition: color var(--dur) var(--ease); }
.brand:hover .brand__text { color: var(--white); }
.brand__tag { display: block; margin-top: .25rem; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); text-align: center; }

/* ---------- Opiniones ---------- */
/* Masonry: los textos tienen largos muy distintos y asi fluyen naturalmente */
.reviews { columns: 1; column-gap: .8rem; }
@media (min-width: 768px) { .reviews { columns: 2; } }
@media (min-width: 1200px) { .reviews { columns: 3; } }
.review { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 .8rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flow-root; }
.review__stars { color: var(--blue); letter-spacing: .12em; font-size: .95rem; margin-bottom: .9rem; }
.review__text { font-size: 1rem; line-height: 1.6; color: var(--text); margin: 0 0 1.1rem; border: 0; padding: 0; quotes: "\201C" "\201D"; }
.review__text::before { content: open-quote; color: var(--blue); }
.review__text::after { content: close-quote; color: var(--blue); }
.review__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; align-items: baseline; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.review__meta b { color: var(--white); font-weight: 600; font-size: .88rem; }
.rating-badge { display: inline-flex; align-items: center; gap: .8rem; border: 1px solid var(--line-2); border-radius: 999px; padding: .5rem 1.3rem .5rem .6rem; color: var(--text-2); }
.rating-badge:hover { border-color: var(--white); color: var(--text-2); }
.rating-badge__g { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: #000; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; }
.rating-badge__body { display: flex; flex-direction: column; line-height: 1.25; }
.rating-badge__body b { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.rating-badge__stars { color: var(--blue); font-size: .8rem; letter-spacing: .08em; margin-left: .25rem; }
.rating-badge__body small { font-size: .74rem; color: var(--muted); }

/* ---------- Cierre / CTA final ---------- */
.final-cta { background: #000; border-top: 1px solid var(--line); padding-block: clamp(96px, 14vw, 180px); }
.final-cta__grid { display: grid; gap: 3rem; }
@media (min-width: 992px) { .final-cta__grid { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 5rem; } }
.final-cta__title { font-size: clamp(2.6rem, 7.5vw, 6.4rem); text-transform: uppercase; line-height: .98; letter-spacing: -0.02em; word-spacing: 0.12em; margin-bottom: 1.2rem; }
.final-cta__sub { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--text-2); margin-bottom: 2rem; }
.final-cta__contact { display: grid; gap: 1.1rem; }
.final-cta__contact li { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.final-cta__k { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: .88rem; }
.footer__top { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } }
.footer__brand img { height: 32px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--muted); max-width: 34ch; }
.footer__heading { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer__col li { padding: .28rem 0; color: var(--muted); }
.footer__col a { color: var(--text-2); }
.footer__col a:hover { color: var(--blue); }
.footer__bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .76rem; color: var(--muted-2); }
.footer__bottom p { margin: 0; }

/* ---------- Barra mobile + WhatsApp flotante ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 992px) { .mobile-bar { display: none; } }
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 60px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mobile-bar__btn--turno { background: var(--white); color: #000; }
.mobile-bar__btn--wa { background: #0b0b0b; color: var(--white); }
.mobile-bar__btn--wa svg { color: var(--wa); }
.mobile-bar__btn:hover { color: inherit; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1035; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); color: #fff; box-shadow: 0 16px 40px rgba(37,211,102,.45); }
@media (min-width: 992px) { .wa-float { display: grid; } }

/* ---------- Bloques de contenido interior ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); } .split--rev > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split h2 { margin-bottom: 1.1rem; }
.split p { color: var(--text-2); }

.checklist { display: grid; gap: .55rem; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); font-size: .98rem; }
.checklist li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: .2rem; border-radius: 50%; background: var(--blue-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2345c0e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); padding: clamp(1.4rem, 2.5vw, 2rem); counter-increment: step; }
.step::before { content: '0' counter(step); display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.step h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--text-2); margin: 0; }

.feature-grid { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.5vw, 1.9rem); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feature__k { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: .9rem; }
.feature h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: .5rem; }
.feature p { font-size: .9rem; color: var(--text-2); margin: 0; }
.feature--warn { border-color: rgba(69,192,232,.35); background: var(--blue-soft); }

.product-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.product img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.product__body { padding: 1rem 1.1rem 1.2rem; }
.product__body h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: .35rem; }
.product__body p { font-size: .84rem; color: var(--text-2); margin: 0; }

.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity var(--dur) var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery--tall a { aspect-ratio: 3 / 4; }

/* Tabs simples */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tab { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); border-radius: 999px; padding: .55rem 1.1rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all var(--dur) var(--ease); }
.tab:hover { color: var(--white); border-color: var(--white); }
.tab.is-active { background: var(--white); color: #000; border-color: var(--white); }
.tab-panel[hidden] { display: none; }

/* FAQ (accordion Bootstrap restyle) */
.faq .accordion-item { background: transparent; border: 0; border-top: 1px solid var(--line); }
.faq .accordion-item:last-child { border-bottom: 1px solid var(--line); }
.faq .accordion-button { background: transparent; color: var(--white); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; padding: 1.3rem 0; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--blue); }
.faq .accordion-button::after { filter: invert(1); opacity: .7; }
.faq .accordion-body { padding: 0 0 1.4rem; color: var(--text-2); max-width: 70ch; }

/* Specs (proyecto) */
.specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec b { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--blue); padding-top: .15rem; }
.spec span { color: var(--text-2); }

/* Formulario */
.form-adm .form-label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.form-adm .form-control, .form-adm .form-select { background: var(--bg-2); border: 1px solid var(--line-2); color: var(--white); border-radius: var(--radius); padding: .85rem 1rem; font-size: .95rem; }
.form-adm .form-control::placeholder { color: var(--muted-2); }
.form-adm .form-control:focus, .form-adm .form-select:focus { background: var(--bg-2); color: var(--white); border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-adm .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 13px 13px;
  padding-right: 2.6rem;
}
.form-adm input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; cursor: pointer; }
.form-adm .form-select option { background: #111; color: #fff; }
.contact-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list li:first-child { padding-top: 0; }
.contact-list .k { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); filter: grayscale(1) invert(.92) contrast(.9); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Video inline */
.video-block { border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-block video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: .6rem; justify-items: center; }
.lightbox__figure img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lightbox__figure figcaption { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: 0; color: var(--white); padding: .6rem; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: var(--white); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background var(--dur) var(--ease); }
.lightbox__nav:hover { background: rgba(255,255,255,.15); }
.lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; }
.lightbox__count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); font-size: .74rem; letter-spacing: .16em; color: var(--muted); }
@media (max-width: 767.98px) { .lightbox__nav { width: 42px; height: 42px; } .lightbox__nav--prev { left: .4rem; } .lightbox__nav--next { right: .4rem; } }

/* ---------- Reveal (animaciones suaves) ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }
[data-reveal-delay="4"] { transition-delay: .48s; }
.hero [data-reveal]:not(.is-visible) { transform: translateY(30px); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll::after, .page-hero__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Utilidades */
.divider { height: 1px; background: var(--line); }
.mt-section { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.text-balance { text-wrap: balance; }
.note { font-size: .8rem; color: var(--muted); }
.note--warn { color: var(--blue); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }

/* Selector de tonalidades (polarizado) */
.tono-panel { display: grid; gap: 1.5rem; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.5vw, 2rem); }
@media (min-width: 768px) { .tono-panel { grid-template-columns: 1.3fr 1fr; gap: 2.5rem; } }
.tono-panel[hidden] { display: none; }
.tono-panel img { width: 100%; height: auto; border-radius: var(--radius); background: #fff; }
.tono-panel h3 { margin-bottom: .6rem; }
.tono-panel p { color: var(--text-2); margin: 0; }

/* ---------- H1 en dos partes (marca + palabras clave) ---------- */
.page-title { display: block; }
.page-title__main { display: block; }
.page-title__kw {
  display: block;
  margin-top: clamp(.9rem, 2vw, 1.4rem);
  font-family: var(--font-body);
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  word-spacing: normal;
  text-transform: none;
  color: var(--text-2);
  max-width: 46ch;
  hyphens: manual;
  text-wrap: pretty;
}
.hero__title .page-title__kw { color: rgba(255,255,255,.72); }
/* Palabras largas: que el navegador corte bien en vez de desbordar */
.h-display, .h-section, .final-cta__title, .project-feature__title { hyphens: auto; overflow-wrap: break-word; }

/* ---------- Tarjetas de proyecto (listado /proyectos y "otros proyectos") ---------- */
/* Celular: foto arriba, texto abajo sobre el fondo (siempre legible). */
.project-card { position: relative; display: block; width: 100%; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); isolation: isolate; text-decoration: none; color: inherit; }
.project-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.project-card__body { padding: clamp(1.1rem, 4vw, 1.5rem); }
.project-card__body .eyebrow { margin: 0 0 .4rem; }
.project-card__body h2,
.project-card__body h3 { font-size: clamp(1.4rem, 5vw, 1.9rem); text-transform: uppercase; margin: 0 0 .55rem; }
.project-card__body p { margin: 0; color: var(--text-2); max-width: 52ch; font-size: .95rem; line-height: 1.55; }
.project-card__more { display: inline-block; margin-top: .9rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.project-card:hover img { transform: scale(1.04); }
.project-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Desde tablet: texto superpuesto sobre la foto. */
@media (min-width: 768px) {
  .project-card img { aspect-ratio: 3 / 2; height: 100%; }
  .project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.88) 28%, rgba(0,0,0,.45) 58%, rgba(0,0,0,0) 100%); z-index: 1; }
  .project-card__body { position: absolute; left: clamp(1.2rem, 2.5vw, 2.2rem); right: clamp(1.2rem, 2.5vw, 2.2rem); bottom: clamp(1.2rem, 2.5vw, 1.9rem); padding: 0; z-index: 2; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
  .project-card__body p { color: #d8d8d8; }
  .project-card__body h2,
  .project-card__body h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
}

.project-grid.project-grid--lg { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 992px) {
  .project-grid.project-grid--lg { grid-template-columns: repeat(2, 1fr); }
  .project-grid.project-grid--lg .project-card--wide { grid-column: 1 / -1; }
  .project-grid.project-grid--lg .project-card--wide img { aspect-ratio: 21 / 9; }
}

/* La grilla de "otros proyectos" se adapta a cuantos haya. */
.project-grid.project-grid--cols1,
.project-grid.project-grid--cols2 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .project-grid.project-grid--cols1 { grid-template-columns: 1fr; max-width: 680px; }
  .project-grid.project-grid--cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Link chico dentro de una tarjeta .feature (para servicios con pagina propia) */
.feature__link { display: inline-block; margin-top: 1.1rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.feature__link:hover { color: var(--white); border-bottom-color: currentColor; }
.feature__link .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.feature__link:hover .arrow { transform: translateX(3px); }

/* ---------- Formulario de contacto: avisos y trampa para bots ---------- */
.campo-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-aviso { border-radius: var(--radius-lg); padding: 1rem 1.2rem; margin-bottom: 1.4rem; border: 1px solid; }
.form-aviso strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .2rem; }
.form-aviso p { margin: 0; font-size: .93rem; }
.form-aviso--ok { background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.35); color: #c9f5da; }
.form-aviso--ok a { color: var(--wa); }
.form-aviso--error { background: rgba(255,95,86,.08); border-color: rgba(255,95,86,.35); color: #ffc7c3; }

/* =====================================================================
   BLOG  (blog.php · nota.php)
   ===================================================================== */
.page-hero--blog { min-height: 0; background: var(--bg); }
.page-hero--blog .page-hero__content { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Filtros por categoría */
.blog-filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.blog-chip { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: .55rem .95rem; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.blog-chip:hover { color: var(--white); border-color: var(--white); }
.blog-chip.is-active { color: #000; background: var(--blue); border-color: var(--blue); }
.blog-vacio { padding: 3rem 0 1rem; }

/* Tarjetas */
.blog-grid { display: grid; gap: clamp(1.8rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; min-width: 0; }
.blog-card__img { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); aspect-ratio: 4 / 3; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--surface); }
.blog-card__noimg img { width: 40%; height: auto; opacity: .35; }
.blog-card__body { padding-top: 1.1rem; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.blog-meta a { color: var(--blue); }
.blog-meta a:hover { color: var(--white); }
.blog-card__title { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6rem; }
.blog-card__title a { color: var(--white); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.blog-card:hover .blog-card__title a { background-size: 100% 1px; }
.blog-card__txt { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.blog-card__more { display: inline-block; margin-top: .9rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* Nota destacada (la primera del listado): ocupa todo el ancho */
@media (min-width: 700px) {
  .blog-card--destacada { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center; padding-bottom: clamp(1rem, 2vw, 1.5rem); border-bottom: 1px solid var(--line); }
  .blog-card--destacada .blog-card__img { aspect-ratio: 3 / 2; }
  .blog-card--destacada .blog-card__body { padding-top: 0; }
  .blog-card--destacada .blog-card__title { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; text-transform: uppercase; }
  .blog-card--destacada .blog-card__txt { font-size: 1.05rem; }
}

/* Paginación */
.blog-paginas { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.blog-paginas a { color: var(--white); }
.blog-paginas a:hover { color: var(--blue); }
.blog-paginas a[rel="next"] { justify-self: end; }
.blog-paginas__n { color: var(--muted); }

/* Las más leídas */
.blog-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 700px) { .blog-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-top { grid-template-columns: repeat(4, 1fr); } }
.blog-top a { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); color: var(--white); height: 100%; transition: border-color var(--dur) var(--ease); }
.blog-top a:hover { border-color: var(--blue); }
.blog-top img { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); order: -1; }
.blog-top__n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--blue); }
.blog-top__t { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }

/* ---------- Nota ---------- */
.blog-previa { position: relative; z-index: 5; margin-top: var(--nav-h); padding: .7rem var(--gutter); background: #3a2a00; color: #ffe0a8; font-size: .85rem; text-align: center; }
.blog-previa + .nota-hero { padding-top: 2.5rem; }
.nota-hero { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(1.8rem, 4vw, 2.8rem); }
.nota-hero .container > * { max-width: 980px; }
.nota-title { font-size: clamp(2rem, 5.2vw, 3.8rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 1.1rem; text-wrap: balance; }
.nota-bajada { max-width: 62ch; margin: 0 0 1.4rem; }
.nota-meta { margin: 0; color: var(--text-2); }

.nota-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--section); }
@media (min-width: 1100px) { .nota-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.nota { min-width: 0; max-width: 760px; }
.nota-portada { margin: 0 0 clamp(1.8rem, 4vw, 2.6rem); }
.nota-portada img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }

/* Texto de la nota */
.nota-body { font-size: clamp(1.02rem, 1.2vw, 1.12rem); line-height: 1.75; color: var(--text); overflow-wrap: break-word; }
.nota-body > * + * { margin-top: 1.25em; }
.nota-body p { margin-bottom: 0; }
.nota-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; letter-spacing: -0.015em; margin: 2.2em 0 .1em; color: var(--white); }
.nota-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; margin: 1.8em 0 .1em; color: var(--white); }
.nota-body h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin: 1.6em 0 0; color: var(--blue); }
.nota-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nota-body a:hover { color: var(--white); }
.nota-body strong { color: var(--white); font-weight: 600; }
.nota-body ul, .nota-body ol { padding-left: 1.3em; margin-bottom: 0; }
.nota-body ul { list-style: disc; }
.nota-body ol { list-style: decimal; }
.nota-body li + li { margin-top: .45em; }
.nota-body li::marker { color: var(--blue); }
.nota-body blockquote { margin-left: 0; margin-right: 0; padding: .3em 0 .3em 1.3em; border-left: 2px solid var(--blue); font-family: var(--font-display); font-size: 1.25em; line-height: 1.4; color: var(--white); }
.nota-body blockquote p { margin: 0; }
.nota-body hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.4em 0; opacity: 1; }
.nota-body figure { margin: 2em 0; }
.nota-body img { max-width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.nota-body figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.nota-body table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.nota-body th, .nota-body td { border-bottom: 1px solid var(--line); padding: .7rem .8rem; text-align: left; vertical-align: top; }
.nota-body th { color: var(--white); font-family: var(--font-display); background: var(--surface); }
.nota-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; margin: 2em 0; }
.nota-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.nota-faq { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.nota-faq > h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }

.nota-compartir { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.nota-compartir span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
.nota-compartir a, .nota-compartir button { font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: .55rem .9rem; cursor: pointer; }
.nota-compartir a:hover, .nota-compartir button:hover { color: var(--white); border-color: var(--white); }

.nota-autor { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.8rem; padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); }
@media (min-width: 600px) { .nota-autor { grid-template-columns: 150px 1fr; align-items: center; gap: 1.6rem; } }
.nota-autor img { width: 130px; height: auto; }
.nota-autor p { margin: 0; color: var(--text-2); font-size: .95rem; }
.nota-autor__nombre { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--white) !important; margin-bottom: .3rem !important; }

/* Columna lateral */
.nota-side { min-width: 0; }
.nota-side__sticky { display: grid; gap: 1rem; }
@media (min-width: 1100px) { .nota-side__sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
@media (min-width: 700px) and (max-width: 1099px) { .nota-side__sticky { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.nota-servicio { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); color: var(--white); transition: border-color var(--dur) var(--ease); }
.nota-servicio:hover { border-color: var(--blue); }
.nota-servicio img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.nota-servicio__body { display: grid; gap: .35rem; padding: 1.1rem 1.2rem 1.3rem; }
.nota-servicio__body .eyebrow { margin: 0; font-size: .66rem; }
.nota-servicio strong { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.nota-servicio small { color: var(--text-2); font-size: .88rem; margin-bottom: .4rem; }
.nota-consulta { display: grid; gap: .6rem; padding: 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.nota-consulta p { margin: 0; color: var(--text-2); font-size: .92rem; }
.nota-consulta .nota-consulta__t { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.nota-leidas { padding: 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.nota-leidas__t { margin: 0 0 .8rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.nota-leidas ol { margin: 0; padding-left: 1.2em; display: grid; gap: .7rem; }
.nota-leidas li::marker { color: var(--muted); font-weight: 600; }
.nota-leidas a { color: var(--text); font-size: .93rem; line-height: 1.4; }
.nota-leidas a:hover { color: var(--blue); }
@media (max-width: 699px) {
  .blog-filtros { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .3rem; scrollbar-width: none; }
  .blog-filtros::-webkit-scrollbar { display: none; }
  .blog-chip { flex: none; }
}
