/* =============================================
   GRÁFICA ROCA — Hoja de estilos
   ============================================= */

:root {
  --violeta:       #8e2fa3;
  --violeta-claro: #b44bcc;
  --magenta:       #d45cff;
  --rosa:          #ff8ef0;
  --glow:          rgba(180, 75, 204, 0.35);

  --negro:   #0b0b0c;
  --fondo:   #111113;
  --fondo-2: #17171a;
  --card:    #1c1c20;
  --borde:   rgba(255, 255, 255, 0.08);
  --texto:   #f4f2f6;
  --texto-2: rgba(244, 242, 246, 0.68);
  --texto-3: rgba(244, 242, 246, 0.45);
  --wa:      #25d366;

  --f-display: 'Orbitron', system-ui, sans-serif;
  --f-body:    'Exo 2', system-ui, sans-serif;

  --header-h: 72px;
  --radio:    14px;
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-rebote: cubic-bezier(0.34, 1.56, 0.64, 1);
  --grad: linear-gradient(120deg, var(--violeta-claro) 0%, var(--magenta) 55%, var(--rosa) 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--violeta); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--negro); }
::-webkit-scrollbar-thumb { background: var(--violeta); border-radius: 4px; }

:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--violeta); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.contenedor { width: min(1200px, 100% - 40px); margin-inline: auto; }
.contenedor-angosto { width: min(820px, 100% - 40px); }
.centro { text-align: center; margin-top: 48px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  padding: 15px 28px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease-rebote), box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .ico { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primario {
  background: linear-gradient(120deg, var(--violeta) 0%, #b23fd0 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn-primario:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(212, 92, 255, 0.55); }
.btn-ghost { border-color: rgba(255,255,255,0.22); color: var(--texto); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--magenta); background: rgba(180, 75, 204, 0.12); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-bloque { width: 100%; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.header.scrolled { background: rgba(11, 11, 12, 0.92); border-bottom-color: var(--borde); }

.header-inner {
  height: 100%;
  width: min(1280px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(180,75,204,.4); transition: transform .4s var(--ease-rebote); }
.logo-link:hover .logo { transform: rotate(-12deg) scale(1.06); }
.logo-texto { white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: 0.14em; }
.logo-texto small { display: block; font-family: var(--f-body); font-size: 9.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--violeta-claro); margin-top: 3px; }
.logo-texto { line-height: 1.1; }
.logo-texto b { font-weight: 800; color: var(--magenta); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { white-space: nowrap;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--texto-2);
  padding: 8px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.activo { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 10px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding-top: var(--header-h);
  isolation: isolate;
}
/* carrusel de fotos de fondo */
.hero-rollo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.rollo-track { display: flex; height: 100%; width: max-content; animation: rollo 70s linear infinite; }
.rollo-track img { height: 100%; width: auto; max-width: none; object-fit: cover; margin-right: 3px; }
@keyframes rollo { to { transform: translateX(-50%); } }
/* velo oscuro-violeta para que se lea el texto */
.hero-velo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.72) 45%, rgba(11,11,12,.35) 100%),
    linear-gradient(180deg, rgba(74,20,87,.35) 0%, rgba(74,20,87,.25) 50%, rgba(11,11,12,.9) 100%);
}

.hero-contenido { padding: 48px 0 64px; margin-block: auto; max-width: 1200px; }
.hero-contenido > * { max-width: 680px; }

.hero-titulo {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1.02; letter-spacing: .01em; text-transform: uppercase;
  margin-bottom: 40px;
}
.hero-titulo .grad { display: block; font-weight: 600; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(244,242,246,.78); max-width: 520px; margin-bottom: 32px; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-texto > * , .hero-contenido > * { animation: aparecer .8s var(--ease) both; }
.hero-contenido > :nth-child(2) { animation-delay: .08s; }
.hero-contenido > :nth-child(3) { animation-delay: .16s; }
.hero-contenido > :nth-child(4) { animation-delay: .24s; }
@keyframes aparecer { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Marquee */
.marquee { background: var(--violeta); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.92); white-space: nowrap; }
.marquee i { font-style: normal; color: rgba(255,255,255,.55); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================
   SECCIONES GENÉRICAS
   ============================================= */
.seccion { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.seccion-alt { background: var(--fondo-2); }
.seccion-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.seccion-header .eyebrow { justify-content: center; }
.seccion-titulo {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.seccion-desc { color: var(--texto-2); font-size: 18px; }

/* =============================================
   SERVICIOS
   ============================================= */
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

[data-tono="violeta"]  { --tono: #c07bff; }
[data-tono="azul"]     { --tono: #7aa2ff; }
[data-tono="rosa"]     { --tono: #ff7ac8; }
[data-tono="cian"]     { --tono: #4fd6e0; }
[data-tono="amarillo"] { --tono: #f5c451; }
[data-tono="verde"]    { --tono: #5fe0a0; }

.servicio {
  background: var(--card); border: 1px solid var(--borde); border-radius: 18px;
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.servicio:hover { border-color: color-mix(in srgb, var(--tono) 45%, transparent); transform: translateY(-4px); }
.servicio-abrir {
  all: unset; box-sizing: border-box; cursor: pointer; display: block;
  padding: 30px 28px 8px; flex: 1;
}
.servicio-abrir:focus-visible { outline: 2px solid var(--magenta); outline-offset: -4px; border-radius: 18px; }
.servicio-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tono) 14%, transparent); color: var(--tono);
  margin-bottom: 20px;
}
.s-ico { width: 24px; height: 24px; }
.servicio-num { display: none; }
.servicio h3 { font-family: var(--f-body); font-weight: 700; font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.servicio p { color: var(--texto-2); font-size: 16px; margin-bottom: 18px; }
.servicio-lista { list-style: none; display: grid; gap: 9px; }
.servicio-lista li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--texto); }
.servicio-lista li::before {
  content: ''; position: absolute; left: 3px; top: .55em; width: 9px; height: 5px;
  border-left: 2px solid var(--tono); border-bottom: 2px solid var(--tono); transform: rotate(-45deg);
}
.servicio-pie {
  margin: 22px 28px 0; padding: 18px 0 22px; border-top: 1px solid var(--borde);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.servicio-mas {
  background: none; border: 0; cursor: pointer; padding: 0;
  color: var(--texto-2); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.25);
}
.servicio-mas:hover { color: #fff; }
.servicio-cta { font-weight: 700; font-size: 15px; color: var(--magenta); text-decoration: none; }
.servicio-cta span { display: inline-block; transition: transform .2s ease; }
.servicio-cta:hover span { transform: translateX(4px); }

/* Modal de detalle */
.modal {
  border: 0; padding: 0; background: transparent; color: var(--texto);
  max-width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 40px); margin: auto;
}
.modal::backdrop { background: rgba(5,5,6,.78); backdrop-filter: blur(6px); }
.modal[open] { animation: zoomIn .25s var(--ease); }
.modal-caja {
  position: relative; background: var(--card); border: 1px solid var(--borde); border-radius: 20px;
  padding: 34px 34px 30px; overflow-y: auto; max-height: calc(100dvh - 40px);
}
.modal-cerrar {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--borde); color: #fff; cursor: pointer; font-size: 15px;
}
.modal-cerrar:hover { background: var(--violeta); }
.modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 40px; }
.modal-head .servicio-ico { margin: 0; flex-shrink: 0; }
.modal-head h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 3vw, 26px); line-height: 1.2; }
.modal-intro { color: var(--texto); font-size: 17px; margin-bottom: 22px; }
.modal h3 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tono); margin: 22px 0 8px; }
.modal p { color: var(--texto-2); }
.modal-lista { list-style: none; display: grid; gap: 10px; }
.modal-lista li { color: var(--texto-2); padding-left: 18px; position: relative; }
.modal-lista li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--tono); }
.modal-lista b { color: var(--texto); font-weight: 600; }
.modal-tip { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb, var(--tono) 8%, transparent); border: 1px solid color-mix(in srgb, var(--tono) 25%, transparent); }
.modal-tip h3 { margin-top: 0; }
.modal-tip ul { padding-left: 18px; color: var(--texto-2); display: grid; gap: 4px; }
.modal-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* =============================================
   TRABAJOS
   ============================================= */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filtro {
  background: transparent; border: 1px solid rgba(255,255,255,.14); color: var(--texto-2);
  padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.filtro:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.filtro.activo { background: #fff; border-color: #fff; color: #111; }

.trabajos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trabajo { display: flex; flex-direction: column; }
.trabajo[hidden] { display: none; }
.trabajo.entra { animation: aparecer .5s var(--ease) both; }
.trabajo-foto {
  all: unset; box-sizing: border-box; cursor: zoom-in; display: block;
  aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--card);
}
.trabajo-foto:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
.trabajo-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.trabajo-foto:hover img { transform: scale(1.04); }
.trabajo-info { padding: 14px 2px 0; }
.trabajo-cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
.trabajo h3 { font-size: 17px; font-weight: 700; margin: 4px 0 4px; line-height: 1.3; }
.trabajo p { font-size: 15px; color: var(--texto-2); line-height: 1.5; }
.galeria-acciones { margin-top: 44px; }
.galeria-acciones [hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(5,5,6,.94); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: zoomIn .3s var(--ease); }
.lightbox figcaption { color: var(--texto-2); font-size: 15px; text-align: center; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s ease;
}
.lb-btn:hover { background: var(--violeta); }
.lb-cerrar { top: 16px; right: 16px; font-size: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* =============================================
   PROCESO
   ============================================= */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: paso; position: relative; }
.pasos::before {
  content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violeta), var(--magenta), transparent);
  opacity: .5;
}
.paso { text-align: center; padding: 0 8px; position: relative; }
.paso-num {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 22px;
  background: var(--fondo); border: 2px solid var(--violeta-claro);
  box-shadow: 0 0 0 6px var(--fondo), 0 0 30px var(--glow);
  position: relative;
}
.paso h3 { font-family: var(--f-display); font-weight: 600; font-size: 17px; margin-bottom: 8px; letter-spacing: .02em; }
.paso p { color: var(--texto-2); font-size: 16px; }

/* =============================================
   NOSOTROS
   ============================================= */
.seccion-nosotros { overflow: hidden; }
.nosotros-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; position: relative; }
.nosotros-foto { position: relative; }
.nosotros-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); }
.nosotros-sello {
  position: absolute; right: -20px; top: 28px;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--grad); color: #140316;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -10px var(--glow);
}
.nosotros-sello strong { font-family: var(--f-display); font-size: 34px; line-height: 1; }
.nosotros-sello span { font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; }

.nosotros-texto p:not(.eyebrow) { color: var(--texto-2); margin-bottom: 16px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stats li { background: var(--card); border: 1px solid var(--borde); border-radius: 12px; padding: 18px 16px; }
.stats strong { display: block; font-family: var(--f-display); font-size: 32px; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats span { display: block; font-size: 14px; color: var(--texto-2); margin-top: 6px; line-height: 1.4; }

/* =============================================
   FAQ
   ============================================= */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--borde); border-radius: 12px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(212,92,255,.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); font-size: 20px; color: var(--magenta);
  transition: transform .3s ease, background .3s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--violeta); color: #fff; border-color: var(--violeta); }
.faq details p { padding: 0 22px 20px; color: var(--texto-2); }

/* =============================================
   CTA / FORMULARIO
   ============================================= */
.seccion-cta {
  background:
    radial-gradient(50% 70% at 0% 50%, rgba(142,47,163,.35), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(212,92,255,.18), transparent 70%),
    var(--negro);
  border-block: 1px solid var(--borde);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-texto p:not(.eyebrow) { color: var(--texto-2); font-size: 18px; margin-bottom: 20px; }
.cta-checks { list-style: none; display: grid; gap: 10px; }
.cta-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.cta-checks li::before {
  content: '✓'; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
  background: rgba(212,92,255,.15); color: var(--magenta);
}

.form {
  background: rgba(28,28,32,.85); border: 1px solid var(--borde); border-radius: 18px;
  padding: 32px; display: grid; gap: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.form label { display: grid; gap: 8px; }
.form label > span { font-weight: 600; font-size: 15px; }
.form label em { font-style: normal; color: var(--texto-3); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--texto);
  background: var(--fondo); border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--magenta) 50%), linear-gradient(135deg, var(--magenta) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { background: var(--fondo); }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(212,92,255,.2); }
.form-error { color: #ff8a9a; font-size: 15px; }

/* =============================================
   UBICACIÓN
   ============================================= */
.ubicacion-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
.ubicacion-info { display: grid; gap: 16px; align-content: start; }
.info { display: flex; gap: 18px; padding: 22px; background: var(--card); border: 1px solid var(--borde); border-radius: var(--radio); }
.info-ico { width: 26px; height: 26px; color: var(--magenta); flex-shrink: 0; margin-top: 2px; }
.info h3 { font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: .06em; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.info p { color: var(--texto-2); }
.link { display: inline-block; margin-top: 8px; color: var(--magenta); font-weight: 700; text-decoration: none; }
.link:hover { color: var(--rosa); }
.wa-link { color: var(--wa); font-weight: 700; font-size: 20px; text-decoration: none; }
.wa-link:hover { text-decoration: underline; }

.estado { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; }
.estado:empty { display: none; }
.estado.abierto { background: rgba(37,211,102,.14); color: var(--wa); }
.estado.cerrado { background: rgba(255,255,255,.08); color: var(--texto-2); }

.mapa { border-radius: var(--radio); overflow: hidden; border: 1px solid rgba(180,75,204,.3); min-height: 380px; background: var(--card); }
.mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--negro); border-top: 1px solid var(--borde); padding: 56px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--borde); }
.footer-marca { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .14em; }
.footer-marca b { color: var(--magenta); font-weight: 800; }
.footer-tag { color: var(--texto-3); font-size: 14px; letter-spacing: .1em; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--texto-2); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--magenta); }
.footer-sub { text-align: center; color: var(--texto-3); font-size: 13px; margin-top: 24px; padding-inline: 20px; }
.footer-sub a { color: var(--texto-2); }

/* =============================================
   FLOTANTES
   ============================================= */
.wa-flotante {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .3s var(--ease-rebote);
}
.wa-flotante svg { width: 32px; height: 32px; }
.wa-flotante:hover { transform: scale(1.08); }
.wa-burbuja {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: #111; font-weight: 600; font-size: 14px; white-space: nowrap;
  padding: 8px 14px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: all .35s var(--ease);
}
.wa-flotante:hover .wa-burbuja, .wa-flotante.saludo .wa-burbuja { opacity: 1; transform: translateY(-50%); }


/* =============================================
   REVEAL
   ============================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1240px) {
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .nav-cta { margin-left: 6px; }
}
@media (max-width: 1080px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .trabajos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  :root { --header-h: 64px; }

  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,11,12,.97); backdrop-filter: blur(14px);
    padding: 8px 20px 20px; border-bottom: 1px solid var(--borde);
    transform: translateY(-120%); transition: transform .35s var(--ease);
    visibility: hidden;
  }
  .nav.abierto { transform: none; visibility: visible; }
  .nav-link { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--borde); font-size: 17px; }
  .nav-link:hover, .nav-link.activo { background: none; }
  .nav-cta { margin: 16px 0 0; }


  .pasos { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .pasos::before { display: none; }

  .nosotros-grid, .cta-grid, .ubicacion-grid { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-foto { max-width: 420px; margin-inline: auto; width: calc(100% - 20px); }
  .nosotros-sello { right: -10px; }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  body { font-size: 15px; line-height: 1.55; }
  .contenedor, .contenedor-angosto { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 28px); }
  .logo { width: 36px; height: 36px; }
  .logo-texto { font-size: 14px; letter-spacing: .12em; }

  /* botones más chicos */
  .btn { font-size: 15px; padding: 12px 20px; }
  .btn .ico { width: 18px; height: 18px; }

  /* secciones más compactas */
  .seccion { padding: 56px 0; }
  .seccion-header { margin-bottom: 28px; }
  .seccion-titulo { font-size: 25px; margin-bottom: 10px; }
  .seccion-desc { font-size: 15px; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; margin-bottom: 10px; gap: 8px; }
  .eyebrow::before { width: 18px; }

  /* hero */
  .marquee { padding: 10px 0; }
  .marquee span { font-size: 11px; }

  .hero { min-height: 92svh; }
  .hero-velo { background: linear-gradient(180deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.82) 55%, rgba(74,20,87,.45) 85%, rgba(11,11,12,.55) 100%); }
  .hero-contenido { padding: 9vh 0 28px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; }
  .hero-acciones { margin-top: auto; }
  .hero-titulo { font-size: 38px; margin-bottom: 26px; }
  .hero-sub { font-size: 15px; margin-bottom: 40px; }
  .hero-acciones { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-acciones .btn { width: 100%; }
  .logo-texto small { font-size: 8px; letter-spacing: .2em; }

  /* servicios: tarjetas compactas, el detalle queda en "Ver detalle" */
  .servicios-grid { grid-template-columns: 1fr; gap: 12px; }
  .servicio-abrir { padding: 18px 18px 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
  .servicio-ico { width: 40px; height: 40px; border-radius: 10px; margin: 0; grid-row: span 2; }
  .s-ico { width: 20px; height: 20px; }
  .servicio h3 { font-size: 17px; margin: 0 0 4px; }
  .servicio p { font-size: 14px; margin: 0; }
  .servicio-lista { display: none; }
  .servicio-pie { margin: 14px 18px 0; padding: 12px 0 14px; }
  .servicio-mas, .servicio-cta { font-size: 14px; }

  /* modal */
  .modal-caja { padding: 24px 18px 20px; border-radius: 16px; }
  .modal-head { gap: 12px; margin-bottom: 14px; }
  .modal-head h2 { font-size: 19px; }
  .modal-intro { font-size: 15px; margin-bottom: 14px; }
  .modal h3 { font-size: 11px; margin: 18px 0 6px; }
  .modal p, .modal-lista li, .modal-tip ul { font-size: 14px; }
  .modal-tip { padding: 14px 16px; }
  .modal-acciones .btn { width: 100%; }

  /* trabajos */
  .filtros { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -18px 22px; padding: 0 18px 4px; scrollbar-width: none; gap: 6px; }
  .filtros::-webkit-scrollbar { display: none; }
  .filtro { flex-shrink: 0; font-size: 13px; padding: 7px 14px; }
  .trabajos-grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .trabajo-foto { border-radius: 10px; }
  .trabajo-info { padding-top: 8px; }
  .trabajo-cat { font-size: 10px; letter-spacing: .06em; }
  .trabajo h3 { font-size: 14px; margin: 2px 0; }
  .trabajo p { font-size: 12.5px; line-height: 1.45; }
  .galeria-acciones { margin-top: 28px; }
  .galeria-acciones .btn { width: 100%; }

  /* proceso */
  .pasos { grid-template-columns: 1fr; gap: 18px; }
  .paso { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .paso-num { grid-row: span 2; margin: 0; width: 38px; height: 38px; font-size: 15px; box-shadow: none; }
  .paso h3 { font-size: 15px; margin-bottom: 2px; }
  .paso p { font-size: 14px; }

  /* nosotros */
  .nosotros-grid { gap: 28px; }
  .nosotros-foto { width: 100%; max-width: none; }
  .nosotros-foto img { aspect-ratio: 4 / 3; }
  .nosotros-sello { width: 72px; height: 72px; right: 10px; top: 10px; }
  .nosotros-sello strong { font-size: 22px; }
  .nosotros-sello span { font-size: 9px; }
  .nosotros-texto p:not(.eyebrow) { font-size: 15px; margin-bottom: 12px; }

  /* faq */
  .faq { gap: 8px; }
  .faq summary { font-size: 15px; padding: 14px 48px 14px 16px; }
  .faq summary::after { right: 14px; width: 24px; height: 24px; font-size: 17px; }
  .faq details p { font-size: 14px; padding: 0 16px 16px; }

  /* presupuesto */
  .cta-grid { gap: 24px; }
  .cta-texto p:not(.eyebrow) { font-size: 15px; margin-bottom: 0; }
  .form { padding: 18px; gap: 14px; border-radius: 14px; }
  .form label > span { font-size: 14px; }
  .form input, .form select, .form textarea { font-size: 16px; padding: 11px 12px; }

  /* ubicación */
  .ubicacion-grid { gap: 20px; }
  .ubicacion-info { gap: 10px; }
  .info { padding: 16px; gap: 14px; }
  .info-ico { width: 22px; height: 22px; }
  .info h3 { font-size: 14px; }
  .info p { font-size: 14px; }
  .wa-link { font-size: 17px; }
  .mapa, .mapa iframe { min-height: 240px; }

  /* footer */
  .footer { padding: 36px 0 90px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 22px; }
  .footer-marca { font-size: 16px; }
  .footer-links { gap: 10px 18px; }
  .footer-links a { font-size: 14px; }
  .footer-sub { text-align: left; padding: 0; width: calc(100% - 36px); margin: 18px auto 0; font-size: 12px; }

  /* lightbox */
  .lightbox { padding: 56px 10px 76px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }

  /* WhatsApp flotante */
  .wa-flotante { width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-flotante svg { width: 29px; height: 29px; }
  .wa-burbuja { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
.lb-btn[hidden] { display: none; }
