/* =================================================================
   Impresión Sie7e — Design System (DARK)
   Stack: vanilla HTML/CSS/JS · Font: Open Sans
   Look: negro con textura de puntos, tarjetas oscuras, iconos neón
   multicolor, encabezados blancos con palabra naranja, CTAs naranja.
   ================================================================= */

:root {
  /* Brand */
  --brand: #F97316;          /* orange-500 highlight */
  --brand-600: #EA580C;      /* orange-600 primary CTA (del sitio actual) */
  --brand-700: #C2410C;      /* hover */
  --teal: #2DD4BF;

  /* Surfaces (dark) */
  --bg: #000000;             /* fondo base */
  --bg-2: #070707;           /* banda alterna */
  --surface: #141416;        /* tarjetas */
  --surface-2: #1B1B1E;      /* tarjeta hover / inputs */
  --line: #262629;           /* bordes */
  --line-2: #333338;

  /* Text */
  --ink: #FFFFFF;
  --ink-soft: #D6D6DB;
  --muted: #8A8A93;

  /* Accents (iconos neón multicolor) */
  --c-orange: #F97316;
  --c-teal:   #2DD4BF;
  --c-blue:   #3B82F6;
  --c-purple: #A855F7;
  --c-green:  #22C55E;
  --c-pink:   #EC4899;
  --c-cyan:   #22D3EE;
  --c-amber:  #FBBF24;

  /* WhatsApp */
  --wa: #25D366;
  --wa-600: #1EBE5A;

  /* Type */
  --font: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --acc: var(--brand);       /* color de acento por tarjeta (override) */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--ink-soft);
  background-color: var(--bg);
  /* textura de puntos sutil como el sitio actual */
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.display {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98;
}
h2.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); text-transform: uppercase; }
.hl { color: var(--brand); text-shadow: 0 0 26px rgba(249, 115, 22, 0.55); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-soft); font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; box-shadow: 0 0 10px rgba(249,115,22,.7); }
.eyebrow.teal { color: var(--c-teal); }
.eyebrow.teal::before { background: var(--c-teal); box-shadow: 0 0 10px rgba(45,212,191,.7); }
.text-brand { color: var(--brand); }
.text-teal { color: var(--c-teal); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(60px, 9vw, 110px); position: relative; }
.section.tight { padding-block: clamp(44px, 6vw, 72px); }
.bg-soft { background: var(--bg-2); }
.bg-dark { background: #000; }
.center { text-align: center; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 30px rgba(234, 88, 12, 0.45); }
.btn-primary:hover { background: var(--brand); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(249, 115, 22, 0.6); }
.btn-wa { background: var(--wa); color: #04210f; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
.btn-wa:hover { background: var(--wa-600); color: #04210f; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55); }
.btn-ghost { background: rgba(255,255,255,0.04); color: #fff; border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { background: #fff; color: #000; transform: translateY(-3px); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(0,0,0,0.85); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.brand img { height: 46px; width: auto; }
.brand-text { font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.brand-text small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 14px; font-weight: 600; font-size: 0.96rem; color: var(--ink-soft);
  border-radius: 8px; transition: color .2s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px; box-shadow: 0 0 10px rgba(249,115,22,.8);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; color: #fff; font-size: 1.4rem; align-items: center; justify-content: center; }
.nav-toggle:hover { background: rgba(255,255,255,.06); }

/* Mobile nav */
@media (max-width: 940px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    position: fixed; inset: 76px 0 0 0; z-index: 99;
    background: #000; padding: 26px 22px 40px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a { padding: 15px 16px; font-size: 1.15rem; font-weight: 700; color: #fff; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .mobile-nav a:active { background: var(--surface); }
  .mobile-nav .btn { margin-top: 18px; color: #04210f; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 941px) { .mobile-nav { display: none; } }

/* ---------- Nav dropdown ---------- */
.has-drop { position: relative; }
.has-drop > a .caret { font-size: .7rem; margin-left: 5px; transition: transform .2s; }
.has-drop:hover > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #0C0C0E; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; font-size: 0.94rem; font-weight: 600; color: var(--ink-soft); }
.dropdown a:hover { background: var(--surface); color: #fff; }
.dropdown a i { width: 20px; text-align: center; color: var(--acc, var(--brand)); }
.mobile-nav .m-sub { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 18px 16px 4px; border: 0; }
.mobile-nav .m-sub-link { padding-left: 30px !important; font-size: 1.02rem !important; color: var(--ink-soft) !important; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; background: #000;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 460px at 92% 0%, rgba(249, 115, 22, 0.20), transparent 60%),
    radial-gradient(760px 420px at 0% 100%, rgba(45, 212, 191, 0.12), transparent 55%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { margin: 18px 0 0; }
.hero h1 .word { display: block; }
.hero h1 .word.brand-fill { color: var(--brand); text-shadow: 0 0 34px rgba(249, 115, 22, 0.5); }
.hero p.lead { margin-top: 22px; max-width: 520px; color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 38px; }
.hero-trust .t { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
.hero-trust .t i { color: var(--c-teal); font-size: 1.1rem; }
.hero-visual { position: relative; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 1/1; border: 1px solid var(--line); }
.hero-collage img:nth-child(1) { grid-row: span 2; aspect-ratio: 3/5; }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px; z-index: 3;
  background: #0C0C0E; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 13px;
}
.hero-badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 0 18px rgba(234,88,12,.5); }
.hero-badge b { display: block; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.hero-badge span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Page hero base (Servicios índice, Portafolio, Contacto) ---------- */
.page-hero { position: relative; background: #000; color: #fff; overflow: hidden; border-bottom: 1px solid var(--line); --acc: var(--brand); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 88% -5%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 60%),
    radial-gradient(620px 380px at 0% 115%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 92px); }
.page-hero .crumb { font-size: 0.86rem; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 16px; }
.page-hero .crumb a:hover { color: var(--acc); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.7vw, 3.7rem); text-transform: uppercase; max-width: 16ch; margin-top: 14px; }
.page-hero h1 .hl { color: var(--acc); text-shadow: 0 0 30px color-mix(in srgb, var(--acc) 60%, transparent); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; margin-top: 18px; font-size: 1.1rem; }
.page-hero .hero-cta { margin-top: 28px; }

/* ---------- Service (family) hero — editorial / cinematográfico ---------- */
.svc-hero { position: relative; overflow: hidden; background: #000; color: #fff; border-bottom: 1px solid var(--line); --acc: var(--brand); isolation: isolate; }
.svc-hero-media { position: absolute; inset: 0; z-index: 0; }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.svc-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, #000 6%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.30) 100%),
    linear-gradient(0deg, #000 1%, transparent 42%),
    radial-gradient(680px 460px at 82% 8%, color-mix(in srgb, var(--acc) 34%, transparent), transparent 62%);
}
.svc-hero .ghost-ico { position: absolute; right: -3%; top: 46%; transform: translateY(-50%); z-index: 0; font-size: clamp(18rem, 42vw, 40rem); line-height: 1; color: color-mix(in srgb, var(--acc) 11%, transparent); pointer-events: none; }
.svc-hero .container { position: relative; z-index: 2; padding-block: clamp(52px, 9vw, 118px) 0; }
.svc-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 7vw, 88px); }
.svc-hero .crumb { font-size: 0.84rem; color: rgba(255,255,255,.55); font-weight: 600; margin: 0; }
.svc-hero .crumb a:hover { color: var(--acc); }
.svc-index { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--acc); display: inline-flex; align-items: center; gap: 10px; }
.svc-index::before { content: ""; width: 30px; height: 1px; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.svc-title { text-transform: uppercase; font-weight: 800; line-height: 0.9; letter-spacing: -0.025em; font-size: clamp(3rem, 10.5vw, 8.4rem); }
.svc-title .ln { display: block; }
.svc-title .outline { color: transparent; -webkit-text-stroke: 1.6px rgba(255,255,255,.82); }
.svc-title .fill { color: var(--acc); text-shadow: 0 0 55px color-mix(in srgb, var(--acc) 55%, transparent); }
.svc-hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: clamp(26px, 4vw, 44px); padding-bottom: clamp(30px, 5vw, 52px); }
.svc-lead { max-width: 46ch; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.svc-hero-foot .hero-cta { margin: 0; }

/* marquee de servicios */
.svc-marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: color-mix(in srgb, var(--acc) 9%, #000); padding: 15px 0; display: flex; }
.svc-track { display: inline-flex; align-items: center; flex: none; white-space: nowrap; animation: svcmarq 30s linear infinite; will-change: transform; }
.svc-track > span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(1.05rem, 1.9vw, 1.65rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; }
.svc-track > span::after { content: "\2726"; color: var(--acc); font-size: 0.72em; text-shadow: 0 0 14px var(--acc); }
@keyframes svcmarq { to { transform: translateX(-50%); } }
.svc-hero:hover .svc-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .svc-track { animation: none; } }

@media (max-width: 720px) {
  .svc-hero-foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .svc-lead { max-width: 100%; }
  .svc-hero-foot .hero-cta .btn { width: auto; }
}

/* ---------- Family cards (home) ---------- */
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.family-card {
  position: relative; display: flex; flex-direction: column; min-height: 280px; isolation: isolate;
  border-radius: var(--radius); overflow: hidden; padding: 32px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.family-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .65;
  background: radial-gradient(420px 220px at 18% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%);
  transition: opacity .35s;
}
.family-card .fc-watermark { position: absolute; right: -10px; bottom: -26px; font-size: 9rem; color: color-mix(in srgb, var(--acc) 10%, transparent); z-index: -1; transition: transform .5s var(--ease); }
.family-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--acc) 55%, transparent); background: var(--surface-2); }
.family-card:hover::before { opacity: 1; }
.family-card:hover .fc-watermark { transform: scale(1.1) rotate(-6deg); }
.family-card .fc-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.65rem; color: #fff; background: var(--acc); box-shadow: 0 0 26px color-mix(in srgb, var(--acc) 55%, transparent); }
.family-card h3 { font-size: 1.5rem; margin-top: 20px; color: #fff; }
.family-card p { color: var(--muted); font-size: 0.97rem; margin-top: 10px; }
.family-card .fc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.family-card .fc-chips span { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.family-card .fc-go { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; color: var(--acc); }
.family-card .fc-go i { transition: transform .25s var(--ease); }
.family-card:hover .fc-go i { transform: translateX(5px); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s;
  display: flex; flex-direction: column; height: 100%;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: var(--surface-2); }
.svc-ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.45rem; margin-bottom: 18px; color: var(--acc);
  background: color-mix(in srgb, var(--acc) 14%, #000);
  border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--acc) 28%, transparent);
}
.svc-card h3 { font-size: 1.18rem; color: #fff; }
.svc-card p { color: var(--muted); font-size: 0.96rem; margin-top: 8px; flex-grow: 1; }
.svc-card .svc-link { margin-top: 16px; font-weight: 700; font-size: 0.92rem; color: var(--acc); display: inline-flex; align-items: center; gap: 8px; }
.svc-card .svc-link i { transition: transform .25s var(--ease); }
.svc-card:hover .svc-link i { transform: translateX(4px); }

.svc-feats { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.svc-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.svc-feats li i { color: var(--acc); font-size: 0.95rem; margin-top: 4px; }

/* Accent helpers */
.acc-orange { --acc: var(--c-orange); } .acc-teal { --acc: var(--c-teal); }
.acc-blue { --acc: var(--c-blue); } .acc-purple { --acc: var(--c-purple); }
.acc-green { --acc: var(--c-green); } .acc-pink { --acc: var(--c-pink); }
.acc-cyan { --acc: var(--c-cyan); } .acc-amber { --acc: var(--c-amber); }

/* ---------- Why-us / feature band ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feat { background: var(--surface); border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feat .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 16px; background: color-mix(in srgb, var(--acc) 16%, #000); color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); box-shadow: 0 0 20px color-mix(in srgb, var(--acc) 25%, transparent); }
.feat h3 { font-size: 1.12rem; color: #fff; }
.feat p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step .n { font-size: 2.4rem; font-weight: 800; color: var(--brand); letter-spacing: -0.04em; line-height: 1; text-shadow: 0 0 24px rgba(249,115,22,.45); }
.step h3 { font-size: 1.14rem; margin-top: 10px; color: #fff; }
.step p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  background: var(--surface); color: var(--ink-soft); border: 1.5px solid var(--line); transition: all .2s;
}
.filter-btn:hover { border-color: var(--line-2); color: #fff; }
.filter-btn.active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); box-shadow: 0 0 22px rgba(234,88,12,.45); }
.gallery { columns: 3; column-gap: 16px; }
.gallery .g-item {
  break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden;
  position: relative; cursor: zoom-in; border: 1px solid var(--line); display: block;
}
.gallery .g-item img { width: 100%; transition: transform .5s var(--ease); }
.gallery .g-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem;
  background: rgba(0, 0, 0, 0.0); opacity: 0; transition: opacity .3s, background .3s;
}
.gallery .g-item:hover img { transform: scale(1.06); }
.gallery .g-item:hover::after { opacity: 1; background: rgba(0, 0, 0, 0.5); }
.gallery .g-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-nav { position: absolute; color: #fff; font-size: 1.7rem; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--brand-600); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #141416, #0A0A0B); border: 1px solid var(--line); color: #fff; border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 70px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 50% -20%, rgba(249,115,22,.32), transparent 62%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.72); max-width: 540px; margin: 14px auto 0; }
.cta-band .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- Artículos ---------- */
.arts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.art { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.art:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.art .ico { font-size: 2rem; color: var(--acc); margin-bottom: 10px; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--acc) 55%, transparent)); }
.art h4 { font-size: 1.02rem; color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-row { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.ci-row:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ci-row .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: color-mix(in srgb, var(--brand) 16%, #000); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.ci-row.wa .ico { background: rgba(37,211,102,.14); color: var(--wa); border-color: rgba(37,211,102,.35); }
.ci-row h4 { font-size: 1rem; color: #fff; }
.ci-row p, .ci-row a { color: var(--muted); font-size: 0.96rem; }
.ci-row a:hover { color: var(--brand); }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: invert(0.92) hue-rotate(180deg) contrast(0.9); }

/* ---------- Other families pills ---------- */
.other-fams { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.dropdown-pill { padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.96rem; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); transition: all .25s var(--ease); }
.dropdown-pill:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 30px rgba(37,211,102,.5); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wapulse 2.4s infinite; }
@keyframes wapulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45);} 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--line); color: var(--muted); padding-block: 64px 28px; }
.site-footer h5 { color: #fff; font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: var(--muted); font-size: 0.96rem; }
.site-footer a:hover { color: var(--brand); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.footer-logo span { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.footer-brand p { font-size: 0.95rem; max-width: 30ch; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; font-size: 1.1rem; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--brand-600); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 45%, transparent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.86rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 38px; }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; } html.js .reveal.d3 { transition-delay: .24s; } html.js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { order: -1; max-width: 460px; }
  .family-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery { columns: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
}
