/* =========================================================
   KA'IZEN · Confianza & Compromiso
   Hoja de estilos del sitio público
   ========================================================= */
:root {
  --black: #0a0b0c;
  --dark: #101416;
  --graphite: #171c1e;
  --tq: #12a6a9;
  --tq-strong: #0e8e91;
  --tq-light: #22d3d6;
  --soft: #f3f6f7;
  --line: #e1e7e9;
  --text: #1a2326;
  --muted: #5d6a6e;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 20, 24, .08);
  --shadow-lg: 0 22px 50px rgba(10, 20, 24, .16);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.7; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; touch-action: pan-x pan-y; overflow-x: hidden;
}
body.no-scroll, body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--tq-strong); text-decoration: none; transition: color .25s; }
a:hover { color: var(--tq); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.25; margin: 0 0 .6em; color: inherit; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
a, button { touch-action: manipulation; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .ico, .btn .ico-wa { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--tq); color: #fff; box-shadow: 0 8px 22px rgba(18, 166, 169, .28); }
.btn-primary:hover { background: var(--tq-strong); color: #fff; box-shadow: 0 12px 28px rgba(18, 166, 169, .36); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--black); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--tq-strong); }
.link-more .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-more:hover .ico { transform: translateX(4px); }
.link-wa { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #128c4a; }
.link-wa .ico-wa { width: 17px; height: 17px; color: var(--wa); }
.link-wa:hover { color: #0b6b37; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--black); transition: box-shadow .3s, height .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; color: #d8dfe1;
  font-family: var(--f-head); font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
}
.main-nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--tq-light); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; border-radius: 2px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ---------- Slider (imagen completa a todo el ancho) ---------- */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: var(--black); transition: height .5s var(--ease); }
.hero-slider .slides { display: flex; transition: transform .9s var(--ease); will-change: transform; }
.hero-slider .slide { flex: 0 0 auto; }
.hero-slider .slide img { width: 100%; height: auto; display: block; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .3s, width .3s; }
.slider-dots button.active { background: var(--tq-light); width: 28px; border-radius: 6px; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
.bg-soft { background: var(--soft); }
.bg-dark { background: var(--dark); color: #e6ecee; }
.bg-brand { background: linear-gradient(135deg, #0c7f82 0%, #12a6a9 55%, #19b7ba 100%); color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2, .h-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--black); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.section-head.is-left { text-align: left; margin-left: 0; }
.section-head.is-light h2 { color: #fff; }
.section-head.is-light p { color: rgba(255, 255, 255, .82); }
.title-line { display: block; width: 64px; height: 3px; background: var(--tq); margin: 0 auto; border-radius: 2px; }
.title-line.is-left { margin: 0 0 24px; }
.section-head.is-left .title-line { margin-left: 0; }
.bg-brand .title-line { background: #fff; }
.bg-dark .title-line { background: var(--tq-light); }
.lead { font-size: 18px; color: var(--muted); }

.rich p { color: var(--muted); }
.rich h3 { font-size: 20px; margin: 1.4em 0 .5em; color: var(--black); }
.rich ul { padding: 0; margin: 0 0 1.2em; list-style: none; }
.rich ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); }
.rich ul li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border: 2px solid var(--tq); border-radius: 50%; }

/* Texto + imagen */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split-top { align-items: start; }
.split-text .btn { margin-top: 12px; }
.split-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-top .split-media { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Grillas y tarjetas ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(18, 166, 169, .55); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.card-media.square { aspect-ratio: 1 / 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; margin-bottom: 10px; }
.card-body h3 a { color: var(--black); }
.card-body h3 a:hover { color: var(--tq-strong); }
.card-body p { color: var(--muted); font-size: 15px; }
.card-body .link-more, .card-body .link-wa { margin-top: auto; }
.card-meta { font-size: 14px; color: var(--tq-strong) !important; font-weight: 600; margin-top: -4px; }
.price { font-family: var(--f-head); font-weight: 700; color: var(--black) !important; font-size: 16px !important; }
.price-lg { font-size: 22px !important; margin-top: 10px; }

.model-card .card-body { padding: 18px 18px 20px; }
.model-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.model-card p { font-size: 14px; line-height: 1.55; margin-bottom: 12px; }

/* Categorías */
.cat-card {
  display: block; background: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius); overflow: hidden;
  color: var(--black); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(0, 40, 42, .32); color: var(--black); }
.cat-media { display: block; aspect-ratio: 9 / 7; overflow: hidden; background: var(--dark); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.07); }
.cat-name { display: block; padding: 16px 18px; font-family: var(--f-head); font-weight: 700; font-size: 16px; text-align: center; }

/* Recuadros con ícono (ícono sin fondo, centrado) */
.features { display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); }
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features.cols-2 { grid-template-columns: repeat(2, 1fr); }
.features.cols-1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.feature {
  text-align: center; padding: 40px 28px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
}
.feature:hover { transform: translateY(-6px); border-color: var(--tq); box-shadow: var(--shadow-lg); }
.feature-icon { display: flex; justify-content: center; margin-bottom: 20px; color: var(--tq); }
.feature-icon .ico { width: 44px; height: 44px; stroke-width: 1.4; }
.feature h3 { font-size: 19px; margin-bottom: 10px; color: var(--black); }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.features.is-dark .feature { background: rgba(255, 255, 255, .02); border-color: rgba(255, 255, 255, .12); }
.features.is-dark .feature:hover { background: rgba(255, 255, 255, .05); border-color: var(--tq-light); box-shadow: 0 20px 44px rgba(0, 0, 0, .35); }
.features.is-dark .feature-icon { color: var(--tq-light); }
.features.is-dark .feature h3 { color: #fff; }
.features.is-dark .feature p { color: #a9b6b9; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-box { padding: 48px 40px; }
.mv-box h3 { font-size: 22px; }
.mv-box p { font-size: 16px; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps.cols-2 { grid-template-columns: repeat(2, 1fr); }
.step { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 26px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.step:hover { transform: translateY(-6px); border-color: var(--tq); box-shadow: var(--shadow-lg); }
.step-num { display: block; font-family: var(--f-head); font-weight: 800; font-size: 38px; color: var(--tq); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Paquetes */
.package { padding: 34px 30px; text-align: center; }
.package h3 { font-size: 20px; }
.package-price { font-family: var(--f-head); font-weight: 800; font-size: 30px; color: var(--tq-strong); margin-bottom: 16px; }
.package .rich { text-align: left; flex: 1; }
.package .btn { margin-top: 18px; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  position: relative; min-height: 380px; display: flex; align-items: center; color: #fff; text-align: center;
  background-size: cover; background-position: center; background-color: var(--dark);
}
.page-hero-inner { padding: 70px 24px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; margin-bottom: 16px; color: #fff; }
.page-hero .title-line { background: var(--tq-light); }
.page-hero p { margin: 20px auto 0; max-width: 720px; font-size: 18px; color: rgba(255, 255, 255, .88); }

/* ---------- Sección final con WhatsApp ---------- */
.cta-section {
  position: relative; width: 100%; padding: 120px 0; color: #fff; text-align: center;
  background-size: cover; background-position: center; background-attachment: scroll;
}
.cta-inner { max-width: 820px; }
.cta-section h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-section .title-line { background: var(--tq-light); margin-bottom: 22px; }
.cta-section p { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }

/* ---------- Galería ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.gallery-filters button {
  border: 1px solid var(--line); background: #fff; color: var(--text); padding: 9px 18px; border-radius: 30px; cursor: pointer;
  font-family: var(--f-head); font-weight: 600; font-size: 14px; transition: background .25s, color .25s, border-color .25s;
}
.gallery-filters button:hover { border-color: var(--tq); color: var(--tq-strong); }
.gallery-filters button.active { background: var(--black); border-color: var(--black); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--soft);
  animation: gIn .5s var(--ease) both;
}
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-info {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 40px 16px 14px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .78) 100%);
  color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery-item:hover .gallery-info { opacity: 1; transform: none; }
.gallery-title { font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.gallery-zoom .ico { width: 20px; height: 20px; }
.gallery-empty { text-align: center; padding: 50px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); max-width: 680px; margin: 0 auto; }
.gallery-empty p { color: var(--muted); }
.gallery-empty-cat { font-family: var(--f-head); font-weight: 700; color: var(--black) !important; font-size: 18px; }
@keyframes gIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.masonry { columns: 3; column-gap: 20px; }
.masonry-item { position: relative; display: block; margin-bottom: 20px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.masonry-item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item .zoom {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 11, 12, .7); color: #fff;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s;
}
.masonry-item .zoom .ico { width: 18px; height: 18px; }
.masonry-item:hover .zoom { opacity: 1; }

.project-intro { text-align: center; margin-bottom: 50px; }
.project-intro .title-line { margin-bottom: 22px; }
.project-client { font-family: var(--f-head); font-weight: 600; color: var(--tq-strong); }
.project-intro .rich { text-align: left; }

/* ---------- Carrusel infinito de otros servicios ---------- */
.others .section-head { margin-bottom: 40px; }
.marquee { overflow: hidden; position: relative; padding: 10px 0 20px; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee calc(var(--items) * 5s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-card {
  flex: 0 0 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--black);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.marquee-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--tq); color: var(--black); }
.marquee-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.marquee-media img { width: 100%; height: 100%; object-fit: cover; }
.marquee-name { display: block; padding: 16px 18px; font-family: var(--f-head); font-weight: 700; font-size: 16px; text-align: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 16px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.contact-item:hover { border-color: var(--tq); box-shadow: var(--shadow); transform: translateY(-3px); }
.ci-icon { flex: 0 0 auto; color: var(--tq); display: flex; }
.ci-icon .ico { width: 28px; height: 28px; }
.ci-icon.wa { color: var(--wa); }
.ci-icon .ico-wa { width: 28px; height: 28px; }
.contact-item h3 { font-size: 15px; margin: 0 0 2px; color: var(--black); }
.contact-item a, .contact-item span { color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--tq-strong); }
.contact-form-wrap { padding: 40px; }
.contact-form-wrap:hover { transform: none; }
.contact-form-wrap h3 { font-size: 22px; margin-bottom: 22px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--text); font-size: 16px; font-weight: 400; transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--tq); box-shadow: 0 0 0 4px rgba(18, 166, 169, .14); }
.form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 6px; margin-bottom: 18px; font-size: 15px; border: 1px solid; }
.alert-ok { background: #ecfaf3; border-color: #a8e6c6; color: #0f6b3d; }
.alert-error { background: #fff1f1; border-color: #f3c2c2; color: #9b1c1c; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s, transform .3s; }
.social a:hover { background: var(--tq); border-color: var(--tq); color: #fff; transform: translateY(-3px); }
.social .ico { width: 17px; height: 17px; }
.social-dark a { border-color: var(--line); color: var(--text); }

/* ---------- Legales y 404 ---------- */
.legal-content h3 { margin-top: 1.8em; }
.notfound-code { font-family: var(--f-head); font-weight: 800; font-size: 110px; line-height: 1; color: var(--tq); margin-bottom: 10px; }
.notfound .title-line { margin-bottom: 22px; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--black); color: #a8b4b7; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 48px; padding-top: 80px; padding-bottom: 60px; }
.footer-logo img { height: 50px; width: auto; margin-bottom: 22px; }
.footer-about p { max-width: 360px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 22px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #a8b4b7; }
.footer-col a:hover { color: var(--tq-light); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--tq-light); flex: 0 0 auto; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 14px; }
.legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.legal-links a { color: #a8b4b7; font-size: 14px; }
.legal-links a:hover { color: var(--tq-light); }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .42); transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.07); color: #fff; box-shadow: 0 14px 34px rgba(37, 211, 102, .55); }
.wa-float .ico-wa { width: 32px; height: 32px; }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 95; max-width: 420px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 8, .94); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 60px 80px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lb-figure img { max-width: min(1100px, 100%); max-height: calc(100vh - 190px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lb-figure figcaption { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; color: #e6ecee; font-family: var(--f-head); font-weight: 600; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06);
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, border-color .25s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--tq); border-color: var(--tq); }
.lb-close .ico, .lb-prev .ico, .lb-next .ico { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Animaciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible:hover, .js .feature[data-reveal].is-visible:hover, .js .step[data-reveal].is-visible:hover, .js .cat-card[data-reveal].is-visible:hover { transform: translateY(-6px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation-duration: 120s; }
  .wa-float::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid-5 { grid-template-columns: repeat(4, 1fr); }
  .main-nav a { padding: 10px 10px; font-size: 14px; }
  .main-nav a::after { left: 10px; right: 10px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--black);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; overflow-y: auto;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 18px 24px 40px; }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a { padding: 18px 4px; font-size: 17px; }
  .main-nav a::after { left: 4px; right: auto; width: 40px; bottom: 10px; transform-origin: left; }
  .grid-3, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .split { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-top .split-media { position: static; }
  .mv-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .page-hero { min-height: 300px; }
  .cta-section { padding: 90px 0; }
  .lightbox { padding: 70px 14px 40px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .features, .steps, .features.cols-2, .features.cols-3 { grid-template-columns: 1fr; }
  .grid-4, .grid-5, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .model-card .card-body { padding: 14px 14px 16px; }
  .model-card h3 { font-size: 15px; }
  .model-card p { font-size: 13px; }
  .cat-name { padding: 12px 10px; font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .masonry { columns: 1; }
  .marquee-card { flex-basis: 240px; }
  .slider-dots { bottom: 8px; }
  .slider-dots button { width: 8px; height: 8px; }
  .slider-dots button.active { width: 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .cookie-banner { left: 12px; right: 84px; bottom: 16px; max-width: none; padding: 16px; }
  .btn-row .btn { width: 100%; }
  .gallery-info { opacity: 1; transform: none; padding: 28px 10px 10px; }
  .gallery-title { font-size: 12.5px; }
}
