﻿:root {
  /* Logo — medido del isotipo exportado (ISOTIPO PNG-01) */
  --blue: #052c4d;
  --gray: #a7adb3;
  /* Derivados institucionales */
  --blue-dark: #031d33;
  --blue-mid: #052c4d;
  --blue-soft: #e8f1f3;
  --gray-dark: #8e969c;
  --gray-light: #e8eaec;
  --gray-mist: #eef3f5;
  /* Territorio — acentos naturales */
  --lake: #5b8fa0;
  --lake-light: #a8c5d0;
  --forest: #3d6b5e;
  --forest-soft: #e6efe9;
  /* Superficies y texto */
  --bg: #f4f7f8;
  --bg-elevated: #ffffff;
  --bg-light: #f4f7f8;
  --bg-brand: #052c4d;
  --text: #1c2b30;
  --text-muted: #5a6b72;
  --text-dark: #1c2b30;
  --text-muted-dark: #5a6b72;
  --text-on-brand: #ffffff;
  --white: #ffffff;
  --max: 1180px;
  --header-max: 1280px;
  --radius: 12px;
  --radius-lg: 18px;
  --font: "Montserrat", system-ui, sans-serif;
  --glass: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(5, 44, 77, 0.1);
  --shadow-soft: 0 10px 32px rgba(5, 44, 77, 0.07);
  --shadow-lift: 0 16px 40px rgba(5, 44, 77, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body.site-v2 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(91, 143, 160, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(61, 107, 94, 0.05), transparent 50%),
    var(--bg);
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Grain + scroll progress */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10001;
  background: rgba(5, 44, 77, 0.08);
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.08s linear;
}

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

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Glass */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.glass-card:hover {
  border-color: rgba(91, 143, 160, 0.28);
  box-shadow: var(--shadow-lift);
}

.section-light .glass-card,
#contacto .glass-card,
#casos .glass-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(5, 44, 77, 0.12);
  backdrop-filter: blur(8px);
}

.text-gradient {
  color: var(--gray);
}

/* Header — fondo blanco para logo positivo */
.site-header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 16px rgba(5, 44, 77, 0.06);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(5, 44, 77, 0.1);
}

.header-shell {
  width: min(100% - 2rem, var(--header-max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.85rem 0;
}

.logo-link {
  flex-shrink: 0;
  line-height: 0;
}

.logo-link img {
  height: 60px;
  width: auto;
  min-width: 180px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.05rem;
  min-width: 0;
}

.nav a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a {
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue-dark);
  background: rgba(5, 44, 77, 0.06);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-dark);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid rgba(168, 197, 208, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-glow {
  box-shadow: var(--shadow-soft);
}

.btn-glow:hover {
  box-shadow: 0 12px 32px rgba(5, 44, 77, 0.18);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

/* Hero cinematic */
.hero-cinematic {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 9rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anclar arriba: ciudad al frente y ≥3/4 del volcán visible (pico no recortado) */
  object-position: center 10%;
  filter: saturate(1.02);
}

@media (min-width: 769px) {
  .hero-bg img {
    object-position: center 6%;
  }
}

@media (min-width: 1200px) {
  .hero-bg img {
    object-position: center 4%;
  }
}

@media (max-width: 768px) {
  .hero-bg img {
    object-position: center 14%;
  }
}

.hero-grid-overlay {
  display: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 44, 77, 0.94) 0%, rgba(3, 29, 51, 0.72) 32%, rgba(61, 107, 94, 0.18) 58%, transparent 82%),
    linear-gradient(135deg, rgba(91, 143, 160, 0.08) 0%, transparent 45%);
}

.hero-cinematic-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.25rem;
}

.hero-cinematic .eyebrow {
  color: #fff;
}

.hero-cinematic h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-cinematic .text-gradient {
  color: #fff;
}

.hero-lead {
  font-size: 1.12rem;
  color: #fff;
  margin: 0 0 2rem;
  max-width: 38em;
}

.hero-lead strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metric-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.hero-cinematic .hero-metric-label {
  color: #fff;
}

.hero-metric strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

/* Tech marquee */
.tech-marquee {
  overflow: hidden;
  border-block: 1px solid var(--gray-light);
  background: linear-gradient(90deg, var(--blue-soft), var(--gray-mist), var(--forest-soft));
  padding: 0.85rem 0;
}

.tech-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-left: 2rem;
}

.tech-marquee .dot {
  color: var(--gray);
  font-size: 0.5rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background: var(--bg);
  color: var(--text-dark);
}

/* Secciones con fondo azul institucional */
.section-brand {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--text-on-brand);
}

.section-brand .section-label {
  color: var(--lake-light);
}

.section-brand .section-title,
.section-brand h2,
.section-brand h3 {
  color: var(--white);
}

.section-brand .section-intro {
  color: rgba(255, 255, 255, 0.88);
}

.section-brand .section-intro strong {
  color: var(--white);
}

.section-brand .glass-card:not(.inno-card--hero) {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.section-brand .problem-casos-eyebrow,
.section-brand .problem-casos-title {
  color: var(--white);
}

.section-brand .problem-casos-foot {
  color: rgba(255, 255, 255, 0.82);
}

.section-brand .problem-casos-foot strong {
  color: var(--white);
}

.section-brand .problem-casos-link {
  color: var(--lake-light);
}

.section-brand .problem-casos-link:hover {
  color: var(--white);
}

.section-brand .innovation-flow {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.section-brand .flow-step span {
  color: var(--white);
}

.section-brand .flow-step small {
  color: rgba(255, 255, 255, 0.75);
}

.section-brand .flow-arrow {
  color: rgba(255, 255, 255, 0.5);
}

.section-brand .inno-card--hero.glass-card {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 55%, rgba(61, 107, 94, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.section-brand .inno-card--hero .inno-card-badge {
  color: var(--lake-light);
  border-color: rgba(255, 255, 255, 0.35);
}

.section-brand .inno-card--hero .abbr {
  color: rgba(255, 255, 255, 0.78);
}

.section-pensamos,
.section-servicios,
#contacto {
  background: var(--bg-elevated);
  color: var(--text-dark);
}

.section-territorios {
  background: var(--forest-soft);
  color: var(--text-dark);
}

#casos {
  background: var(--gray-mist);
  color: var(--text-dark);
}

.section-pensamos a,
.section-servicios a,
#contacto a,
#casos a {
  color: var(--blue);
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.65rem;
}

/* Títulos y subtítulos: único azul de marca #052C4D (mismo que el isotipo) */
.section-title,
.site-v2 h2,
.site-v2 h3 {
  color: var(--blue);
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-light .section-title,
.section-pensamos .section-title,
.section-servicios .section-title,
#contacto .section-title,
#casos .section-title {
  color: var(--blue);
}

.section-intro {
  color: var(--text-muted-dark);
  max-width: 42em;
  margin: 0 0 2.5rem;
}

.section-intro-wide {
  max-width: 52em;
}

.section-pensamos .section-intro,
.section-servicios .section-intro,
#contacto .section-intro,
#casos .section-intro {
  color: var(--text-muted-dark);
}

/* Problem */
.section-problema.section-brand {
  border-top: none;
}

.problem-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .problem-layout {
    grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.05fr);
    gap: 2.5rem;
  }
}

.problem-visual {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.problem-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Encuadre: ciudad + volcán al fondo (sección bajo el hero) */
.problem-visual-img {
  object-position: center 22%;
}

@media (min-width: 769px) {
  .problem-visual-img {
    aspect-ratio: 8 / 5;
    object-position: center 18%;
  }
}

@media (max-width: 768px) {
  .problem-visual-img {
    aspect-ratio: 4 / 3;
    object-position: center 14%;
  }
}

.problem-visual figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
}

.problem-casos-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.problem-casos-title {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--blue);
}

.problem-casos-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-casos-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  transition: border-color 0.25s, transform 0.25s;
}

.problem-casos-list li:hover {
  transform: translateX(4px);
  border-color: rgba(5, 44, 77, 0.25);
}

.problem-casos-n {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.problem-casos-text {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
}

.problem-casos-foot {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.problem-casos-foot strong {
  color: var(--text-dark);
  font-weight: 600;
}

.problem-casos-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.problem-casos-link:hover {
  text-decoration: underline;
}

/* Casos reales expandidos */
.section-situaciones {
  padding-top: 6.5rem;
}

.situaciones-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .situaciones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.situacion-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.situacion-card:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 44, 77, 0.25);
}

.situacion-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Caso 01 (foto presupuesto): priorizar que se vean las dos personas completas */
.situacion-photo--presupuesto {
  object-position: center 32%;
}

.situacion-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.situacion-n {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.situacion-quote {
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--blue);
}

.situacion-answer {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.situaciones-cta {
  margin: 2rem 0 0;
  text-align: center;
}

/* legacy question cards — kept for v1-classic */
.problem-q-text {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
  padding-top: 0.35rem;
}

.problem-identity {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.problem-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.problem-pill-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gray-light);
  color: var(--blue);
}

.problem-pill--highlight {
  color: var(--blue);
  border-color: rgba(5, 44, 77, 0.2);
  font-weight: 600;
}

.problem-pill--highlight .problem-pill-icon {
  background: var(--blue);
  color: var(--white);
}

/* Pensamos */
.pensamos-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .pensamos-hero {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.pensamos-context {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
}

.pensamos-lead {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.5;
}

.section-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.section-media-video {
  position: relative;
  background: var(--blue-dark);
}

.territorio-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  object-fit: cover;
  background: var(--blue-dark);
}

.section-media-video:not(.no-video) #territorio-video-fallback {
  display: none;
}

.section-media-video.no-video .territorio-video {
  display: none;
}

.section-media-video.no-video #territorio-video-fallback {
  display: block;
}

.territorio-video-replay {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 2;
}

.section-media-video.is-frozen .territorio-video-replay {
  display: inline-flex;
}

.section-media-video.is-hold .territorio-video {
  visibility: hidden;
}

.section-media-video.is-hold #territorio-video-fallback {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  z-index: 1;
}

.cards-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 1.75rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
}

.card-accent {
  border-color: rgba(5, 44, 77, 0.35);
  background: linear-gradient(135deg, rgba(5, 44, 77, 0.08), rgba(255, 255, 255, 0.9));
}

/* Innovation */
.section-innovacion:not(.section-brand) {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(91, 143, 160, 0.09), transparent 60%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(61, 107, 94, 0.06), transparent 55%),
    var(--bg-elevated);
  border-block: 1px solid var(--gray-light);
}

.innovation-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 2.5rem;
}

.inno-card {
  padding: 1.5rem;
  transition: transform 0.25s, border-color 0.25s;
}

.inno-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 143, 160, 0.35);
}

.inno-card--hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: 2rem;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 55%, rgba(61, 107, 94, 0.35) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}

.inno-card--wide { grid-column: 1 / -1; }

.inno-card-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--gray-light);
  border-radius: 100px;
}

.inno-card--hero .inno-card-badge {
  color: var(--gray);
  border-color: rgba(255, 255, 255, 0.25);
}

.inno-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.inno-card--hero h3,
.inno-card--hero p,
.inno-card--hero .inno-card-foot {
  color: var(--text-on-brand) !important;
}

.inno-card--hero .abbr {
  color: var(--gray);
}

.inno-card--hero h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.inno-card .abbr {
  font-weight: 500;
  color: var(--gray);
  font-size: 0.85em;
}

.inno-card p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.inno-card-foot {
  font-size: 0.78rem !important;
  font-weight: 600;
  color: var(--blue) !important;
  margin-top: 1rem !important;
}

.inno-icon {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 0.65rem;
}

.innovation-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-lg);
}

.flow-step {
  text-align: center;
  padding: 0.75rem 1.25rem;
}

.flow-step span {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
}

.flow-step small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.flow-arrow {
  color: var(--gray);
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .innovation-bento {
    grid-template-columns: 1fr;
  }

  .inno-card--hero,
  .inno-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Services */
.service-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.service-card {
  flex: 0 0 min(11.5rem, 42vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-top: 3px solid var(--lake);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.service-card-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.service-card-step {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.3;
}

.service-card h3 strong {
  font-weight: 700;
  display: block;
  font-size: 0.85rem;
}

.service-card > p:not(.service-card-price) {
  margin: 0;
  flex: 1;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted-dark);
}

.service-card-price {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(5, 44, 77, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}

.service-card-price-note {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted-dark);
}

@media (min-width: 720px) {
  .service-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    overflow: visible;
  }

  .service-card {
    flex: none;
    min-width: 0;
  }

  .service-card h3 strong {
    display: inline;
    font-size: inherit;
  }
}

/* Methodology â€” plano regulador */
.method-prc-block {
  margin-bottom: 2.5rem;
}

.method-prc-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.method-visual {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.method-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.method-visual figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  padding: 1.5rem;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Cases */
.cases {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cases {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case {
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s;
}

.case:hover {
  transform: translateY(-6px);
}

.case-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-image-portrait {
  aspect-ratio: 3 / 4;
  object-position: center top;
}

.case .case-location,
.case h3,
.case .case-dl {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.case .case-location {
  padding-top: 1.25rem;
}

.case .case-dl {
  padding-bottom: 1.5rem;
}

.case-location {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.case h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.case-dl {
  margin: 0;
  font-size: 0.85rem;
}

.case-dl dt {
  font-weight: 600;
  margin-top: 0.5rem;
}

.case-dl dd {
  margin: 0.15rem 0 0;
  color: var(--text-muted-dark);
}

/* Territories */
.territory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.territory-tags span,
.territory-tags a {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--bg-elevated);
  border: 1px solid rgba(5, 44, 77, 0.18);
  border-radius: 100px;
}

.territory-carousel-wrap {
  position: relative;
  margin-top: 2rem;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

.territory-carousel {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, #000 2rem, #000 calc(100% - 2rem), transparent);
}

.territory-carousel::-webkit-scrollbar {
  display: none;
}

.territory-carousel-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(22vw, 180px);
  z-index: 2;
  cursor: pointer;
}

.territory-carousel-edge--prev {
  left: 0;
}

.territory-carousel-edge--next {
  right: 0;
}

.territory-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0.35rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  opacity: 0.42;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.territory-carousel-btn svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.85));
}

.territory-carousel-wrap:hover .territory-carousel-btn:not(:disabled) {
  opacity: 0.65;
}

.territory-carousel-btn:hover:not(:disabled) {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.territory-carousel-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.territory-carousel-btn--prev {
  left: 0.25rem;
}

.territory-carousel-btn--next {
  right: 0.25rem;
}

@media (min-width: 768px) {
  .territory-carousel-btn--prev {
    left: 0.75rem;
  }

  .territory-carousel-btn--next {
    right: 0.75rem;
  }
}

.territory-carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-inline: max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
}

.territory-carousel figure {
  flex: 0 0 auto;
  margin: 0;
  width: min(78vw, 420px);
  scroll-snap-align: start;
  overflow: hidden;
}

.territory-carousel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 640px) {
  .territory-carousel-edge {
    width: 26vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .territory-carousel {
    scroll-behavior: auto;
  }
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 220px 1fr;
  }
}

.about-photo {
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}

.about-copy {
  padding: 1.75rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info,
.contact-form {
  padding: 1.75rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(5, 44, 77, 0.15);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
}

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

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
}

.cta-band p {
  margin: 0 auto 2rem;
  max-width: 32em;
  opacity: 0.92;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  border-top: 1px solid var(--gray-light);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-isotipo {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
}

.footer-address {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: rgba(5, 44, 77, 0.06);
  border: 1px solid rgba(5, 44, 77, 0.14);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }

  .logo-link img {
    height: 64px;
    min-width: 200px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }

  .logo-link img {
    height: 50px;
    min-width: 160px;
  }

  .footer-isotipo {
    height: 60px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    background: rgba(5, 44, 77, 0.06);
    border: 1px solid rgba(5, 44, 77, 0.14);
    border-radius: var(--radius);
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
  }

  .nav {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-light);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0.7rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .nav-cta {
    display: inline-flex;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    font-size: 0.78rem;
  }

  .hero-cinematic {
    min-height: 90svh;
    padding-top: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee-track {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Territorio + tecnología — texto e imagen lado a lado */
.inno-card--wide {
  grid-column: 1 / -1;
}

.inno-card-wide-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .inno-card-wide-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.inno-card-wide-copy h3 {
  margin-top: 0;
}

.inno-card-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.inno-card-visual img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

/* Encuadre: más tejido urbano, lago como contexto */
.inno-card-visual-img {
  object-position: center 62%;
}

@media (max-width: 768px) {
  .inno-card-visual-img {
    object-position: center 58%;
    max-height: 240px;
  }
}