/* ==========================================================================
   INNOVAR OBRAS — Hoja de estilos
   Sistema: retícula técnica, tipografía editorial, paleta corporativa real.
   ========================================================================== */

/* ---------- Fuentes locales (auto-hospedadas, sin CDN) ---------- */
@font-face {
  font-family: "Amiko";
  src: url("../assets/fonts/amiko-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../assets/fonts/fira-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../assets/fonts/fira-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../assets/fonts/fira-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../assets/fonts/fira-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta corporativa real (extraída del sitio original) */
  --blue-primary: #0041fe;
  --blue-primary-dark: #0033c7;
  --blue-deep: #005c95;
  --blue-sky: #6ec1e4;
  --accent: #f2295b;

  --ink: #12181f;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --mist: #f5f7fa;
  --mist-dark: #e9edf3;
  --line: #dde3ea;

  --on-dark: #eef3f8;
  --on-dark-soft: #b7c6d6;

  /* Tipografía */
  --font-display: "Amiko", "Georgia", serif;
  --font-body: "Fira Sans", "Segoe UI", sans-serif;

  /* Espaciado (escala base 8px) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  /* Layout */
  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 2px 10px rgba(18, 24, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 24, 31, 0.12);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

svg {
  display: block;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--blue-primary);
  color: #fff;
  padding: var(--sp-2) var(--sp-3);
  z-index: 2000;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: var(--sp-2);
  top: var(--sp-2);
}

:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utilidades de layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section {
  padding-block: var(--sp-8);
  position: relative;
}

.section--mist {
  background: var(--mist);
}

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--sp-6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: var(--sp-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section--dark .eyebrow {
  color: var(--blue-sky);
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.15;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
}

.section--dark h2.section-title {
  color: #fff;
}

.section-lede {
  margin-top: var(--sp-3);
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

.section--dark .section-lede {
  color: var(--on-dark-soft);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.95em 1.8em;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--blue-primary);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--blue-primary-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: currentColor;
  color: var(--blue-deep);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-2px);
}

.section--dark .btn--ghost {
  color: #fff;
}

.section--dark .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  padding-block: 0.85rem;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.site-header.is-scrolled {
  padding-block: 0.45rem;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.brand img {
  height: 34px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand img {
  height: 28px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-desktop ul {
  display: flex;
  gap: var(--sp-4);
}

.nav-desktop a {
  position: relative;
  font-weight: 500;
  font-size: 0.92rem;
  padding-block: var(--sp-1);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue-primary);
  transition: right 0.3s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after,
.nav-desktop a.is-active::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--ink);
  color: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-6);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-mobile .btn {
  margin-top: var(--sp-5);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 16vw, 180px) var(--sp-6) var(--sp-6) var(--sp-6);
  z-index: 2;
  color: #fff;
}

.hero__tick {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: var(--sp-3);
}

.hero__tick::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-sky);
}

.hero__desc {
  margin-top: var(--sp-4);
  font-size: 1.1rem;
  max-width: 46ch;
  color: var(--on-dark-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.hero__meta {
  display: flex;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}

.hero__meta-item {
  border-left: 2px solid var(--blue-primary);
  padding-left: var(--sp-2);
}

.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.hero__meta-item span {
  font-size: 0.78rem;
  color: var(--on-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__media {
  position: relative;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.08);
  will-change: transform;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0, 65, 254, 0.35), rgba(18, 24, 31, 0.55));
  mix-blend-mode: multiply;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--on-dark-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
}

.hero__scroll .line {
  width: 1px;
  height: 34px;
  background: var(--on-dark-soft);
  overflow: hidden;
}

.hero__scroll .line::after {
  content: "";
  display: block;
  width: 100%;
  height: 40%;
  background: var(--blue-sky);
  animation: scrollLine 1.8s infinite var(--ease);
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(250%);
  }
}

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-7);
  align-items: center;
}

.about__figure {
  position: relative;
}

.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--blue-primary);
  color: #fff;
  padding: var(--sp-4);
  max-width: 220px;
  box-shadow: var(--shadow-md);
}

.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
}

.about__badge span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.about__body p {
  color: var(--ink-soft);
  margin-bottom: var(--sp-3);
  font-size: 1.02rem;
}

.about__list {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.96rem;
  color: var(--ink);
}

.about__list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--blue-primary);
  margin-top: 2px;
}

/* ==========================================================================
   SERVICIOS — índice técnico (no grid de 3 columnas)
   ========================================================================== */
.services-index {
  border-top: 1px solid var(--line);
}

.service-row {
  border-bottom: 1px solid var(--line);
}

.service-row__head {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 60px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  text-align: left;
}

.service-row__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--blue-primary);
  font-weight: 700;
}

.service-row__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
}

.service-row__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.service-row__head:hover .service-row__title,
.service-row__head:focus-visible .service-row__title {
  color: var(--blue-primary);
}

.service-row__plus {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.service-row__plus::before,
.service-row__plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
  transition: transform 0.3s var(--ease);
}

.service-row__plus::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.service-row__plus::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.service-row[data-open="true"] .service-row__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.service-row[data-open="true"] .service-row__plus {
  border-color: var(--blue-primary);
  background: var(--blue-primary);
}

.service-row[data-open="true"] .service-row__plus::before,
.service-row[data-open="true"] .service-row__plus::after {
  background: #fff;
}

.service-row__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.service-row__panel-inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  padding-left: 120px;
}

.service-row__panel-inner p {
  color: var(--ink-soft);
}

.service-row__panel-inner ul {
  margin-top: var(--sp-2);
  display: grid;
  gap: 0.4rem;
}

.service-row__panel-inner ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: var(--sp-2);
  position: relative;
}

.service-row__panel-inner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

/* ==========================================================================
   PROCESO
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  counter-reset: step;
}

.process__step {
  position: relative;
  padding-top: var(--sp-4);
  border-top: 2px solid var(--line);
}

.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-sky);
  display: block;
  margin-bottom: var(--sp-2);
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--sp-1);
}

.process__step p {
  font-size: 0.9rem;
  color: var(--on-dark-soft);
}

/* ==========================================================================
   GALERÍA
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}

.gallery-filters button {
  padding: 0.55em 1.2em;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.gallery-filters button:hover,
.gallery-filters button:focus-visible {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.gallery-filters button.is-active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.gallery-item:nth-child(6n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s var(--ease);
}

.gallery-item:nth-child(6n+1) img {
  aspect-ratio: auto;
  height: 100%;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item__tag {
  position: absolute;
  left: var(--sp-2);
  bottom: var(--sp-2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item:hover .gallery-item__tag,
.gallery-item:focus-visible .gallery-item__tag {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 17, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  width: auto;
  box-shadow: var(--shadow-md);
}

.lightbox__caption {
  position: absolute;
  bottom: var(--sp-4);
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.25s var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: #fff;
  color: var(--ink);
}

.lightbox__close {
  top: var(--sp-4);
  right: var(--sp-4);
}

.lightbox__prev {
  left: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   DIFERENCIALES
   ========================================================================== */
.differentiators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.differentiator {
  padding: var(--sp-5) var(--sp-3);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.differentiator svg {
  width: 32px;
  height: 32px;
  color: var(--blue-sky);
  margin-bottom: var(--sp-3);
}

.differentiator h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: var(--sp-1);
}

.differentiator p {
  font-size: 0.9rem;
  color: var(--on-dark-soft);
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: var(--blue-primary);
  color: #fff;
  padding-block: var(--sp-6);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 22ch;
}

.cta-band .btn--ghost {
  color: #fff;
  border-color: #fff;
}

.cta-band .btn--ghost:hover {
  background: #fff;
  color: var(--blue-primary);
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
}

.contact__info dl {
  display: grid;
  gap: var(--sp-4);
}

.contact__info-item {
  display: flex;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

.contact__info-item svg {
  width: 24px;
  height: 24px;
  color: var(--blue-primary);
  flex-shrink: 0;
}

.contact__info-item dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.2em;
}

.contact__info-item dd {
  margin: 0;
  font-weight: 600;
  font-size: 1.02rem;
}

.contact__social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.contact__social a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s var(--ease);
}

.contact__social a:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
}

.contact__social svg {
  width: 20px;
  height: 20px;
}

.form-field {
  margin-bottom: var(--sp-3);
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4em;
  color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-primary);
  background: #fff;
  outline: none;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: var(--sp-2);
}

.form-status {
  margin-top: var(--sp-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: var(--accent);
}

.form-status[data-state="ok"] {
  color: #1a8f4c;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  padding-block: var(--sp-6) var(--sp-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 59px;
  margin-bottom: var(--sp-3);
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 32ch;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: var(--sp-2);
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
  font-size: 0.78rem;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .differentiators {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    order: -1;
    height: 46vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }

  .hero__content {
    padding-top: var(--sp-6);
  }

  .hero__scroll {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .about__figure img {
    aspect-ratio: 16 / 10;
  }

  .about__badge {
    right: var(--sp-3);
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    row-gap: var(--sp-5);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--sp-5);
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .service-row__panel-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .differentiators {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    padding-inline: var(--sp-3);
  }

  .section {
    padding-block: var(--sp-6);
  }

  .site-header .container {
    gap: var(--sp-2);
  }

  .brand {
    gap: 0.6rem;
    font-size: 0.95rem;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    height: 30px;
  }

  .brand__text small {
    display: none;
  }

  .nav-actions {
    gap: var(--sp-2);
  }

  .nav-actions .btn--primary {
    padding: 0.7em 1em;
    font-size: 0.85rem;
  }

  .nav-actions .btn--primary svg {
    width: 16px;
    height: 16px;
  }

  .hero__content {
    padding-inline: var(--sp-3);
  }

  .hero__meta {
    gap: var(--sp-3);
  }

  .hero__media {
    height: 38vh;
  }

  .service-row__head {
    grid-template-columns: 40px 44px 1fr auto;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(6n+1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    max-width: none;
  }

  .about__badge {
    position: static;
    margin-top: -3rem;
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
