/* ============================================================
   KIOS — PROPUESTA 05: NOS OCUPAMOS DE LO ESENCIAL
   Integrada con Concepto 6 (Lo esencial sostiene todo)
   Paleta oficial KIOS: Azul #002175 · Cian #00C1DD · Verde #22CC7E · Blanco #FFFFFF
   ============================================================ */

/* 1. TIPOGRAFÍA INSTITUCIONAL TITILLIUM WEB LOCAL */
@font-face {
  font-family: 'Titillium';
  src: url('../assets/TitilliumWeb-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Titillium';
  src: url('../assets/TitilliumWeb-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Titillium';
  src: url('../assets/TitilliumWeb-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Titillium';
  src: url('../assets/TitilliumWeb-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

/* 2. VARIABLES Y TOKENS */
:root {
  --blue:           #002175;
  --blue-dark:      #001650;
  --blue-soft:      rgba(0, 33, 117, 0.06);
  --cyan:           #00C1DD;
  --cyan-soft:      rgba(0, 193, 221, 0.12);
  --green:          #22CC7E;
  --green-dark:     #17A863;
  --green-soft:     rgba(34, 204, 126, 0.12);
  --white:          #FFFFFF;
  --paper:          #F4F6FB;
  --paper-subtle:   #F9FAFD;
  --line:           #E2E7F2;
  --line-strong:    rgba(0, 33, 117, 0.16);
  --text-dark:      #002175;
  --text-body:      #33415C;
  --text-muted:     #60708F;
  --font-base:      'Titillium', Arial, sans-serif;
  --max-w:          1440px;
  --gutter:         clamp(20px, 4vw, 64px);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-pill:    9999px;
  --shadow-sm:      0 2px 8px rgba(0, 33, 117, 0.06);
  --shadow-md:      0 8px 24px rgba(0, 33, 117, 0.08);
  --shadow-lg:      0 20px 48px rgba(0, 33, 117, 0.12);
  --shadow-hover:   0 24px 56px rgba(0, 33, 117, 0.16);
  --transition:     0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. RESET Y BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.kios-esencial {
  font-family: var(--font-base);
  background-color: var(--white);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 600;
  z-index: 9999;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* BARRA DE PROGRESO */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  z-index: 9000;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* 4. CABECERA INSTITUCIONAL CLARA (FONDO BLANCO / LOGO COMPLETO) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 33, 117, 0.03);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-brand img {
  width: 134px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-catalog-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.header-catalog-link:hover {
  color: var(--blue);
}

.btn-contact-pill {
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 33, 117, 0.15);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-contact-pill:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 33, 117, 0.25);
}

/* MENÚ MÓVIL */
.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  user-select: none;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-dropdown a {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  padding: 8px 0;
  border-bottom: 1px solid var(--paper);
}

.btn-mobile-action {
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-align: center;
  margin-top: 8px;
}

/* 5. HERO MONUMENTAL: "NOS OCUPAMOS DE LO ESENCIAL"
   (Fiel al diseño estático 05-continuidad y conectado a Concepto 6) */
.hero-stage {
  position: relative;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) var(--gutter) clamp(56px, 7vw, 96px);
}

/* Fondo con iluminación arquitectónica suave */
.hero-stage::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 193, 221, 0.12) 0%, rgba(34, 204, 126, 0.05) 40%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44% 56%;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Columna Izquierda: Mensaje y Filosofía */
.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}

.hero-title {
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}

.title-light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.hero-lead-box {
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-lead-box p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.hero-lead-box strong {
  color: var(--white);
  font-weight: 700;
}

.hero-tag-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-tag-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-green {
  background: var(--green);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(34, 204, 126, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-hero-green:hover {
  background: #20b872;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(34, 204, 126, 0.5);
}

.btn-hero-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}

.btn-hero-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Columna Derecha: El Gran Escenario Fotográfico Continuo */
.hero-stage-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: flex-end;
  gap: 20px;
}

/* Marco 1: Atrio Arquitectónico Monumental */
.collage-frame-architecture {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  height: clamp(340px, 34vw, 440px);
}

.collage-frame-architecture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-frame-architecture .image-credit {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 33, 117, 0.7);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

/* Marco 2: El Arco Humano de Cuidado */
.collage-frame-care {
  position: relative;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  height: clamp(380px, 38vw, 490px);
}

.collage-frame-care img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.collage-frame-care .image-credit {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 33, 117, 0.7);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Tarjeta Flotante Verde: La Confianza se Construye */
.floating-confidence-card {
  position: absolute;
  bottom: -24px;
  left: 20%;
  background: var(--green);
  color: var(--blue-dark);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  max-width: 280px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confidence-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  opacity: 0.85;
}

.confidence-body {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.confidence-body .light-span {
  font-weight: 400;
}

.confidence-btn-arrow {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 33, 117, 0.2);
  transition: transform var(--transition), background var(--transition);
}

.confidence-btn-arrow:hover {
  transform: scale(1.1);
  background: var(--blue-dark);
}

/* Sellos de Respaldo */
.hero-bottom-stamps {
  position: absolute;
  bottom: 16px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-stamp-pill {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 33, 117, 0.8);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* 6. TICKER MARQUEE DE SERVICIOS */
.services-marquee {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-slide 32s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.marquee-symbol {
  color: var(--cyan);
  font-style: normal;
  font-size: 18px;
}

.marquee-symbol.green-sym {
  color: var(--green);
}

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

/* 7. SECCIÓN 2: "EL CUIDADO SE VE. LA TRANQUILIDAD SE SIENTE."
   (Cultura KIOS & Capital Humano Real) */
.about-section {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--paper);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 16px;
  margin-bottom: 48px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.about-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.about-main-headline {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.about-main-headline .title-light {
  color: var(--blue);
  font-weight: 300;
}

.about-body-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-lead-copy {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue);
}

.about-narrative {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
}

/* Fotografía Oficial del Equipo */
.team-showcase-card {
  margin-top: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.team-image-wrap {
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  overflow: hidden;
  background: var(--paper);
}

.team-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-showcase-card:hover .team-image-wrap img {
  transform: scale(1.03);
}

.team-caption-bar {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--white);
}

.team-caption-bar strong {
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
}

.team-caption-bar span {
  font-size: 13px;
  color: var(--text-muted);
}

/* 8. SECCIÓN 3: "TODO EMPIEZA POR CUIDAR" (EXPLORADOR INTERACTIVO DE SERVICIOS) */
.services-section {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--white);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.section-title .title-light {
  font-weight: 300;
}

.section-intro-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
}

/* Grid del Explorador */
.services-explorer-grid {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* Pestañas verticales */
.service-tabs-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--transition);
}

.tab-btn-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tab-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.tab-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}

.tab-arrow-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.tab-btn:hover {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover .tab-arrow-icon {
  color: var(--blue);
  transform: translate(2px, -2px);
}

/* Pestaña activa */
.tab-btn[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.tab-btn[aria-selected="true"] .tab-num {
  color: var(--cyan);
}

.tab-btn[aria-selected="true"] .tab-title {
  color: var(--white);
}

.tab-btn[aria-selected="true"] .tab-arrow-icon {
  color: var(--cyan);
  transform: translate(3px, -3px);
}

/* Paneles de Contenido */
.service-panels-column {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.service-panel {
  display: grid;
  grid-template-columns: 1fr;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-panel[hidden] {
  display: none;
}

.panel-stage-image {
  position: relative;
  height: clamp(280px, 28vw, 380px);
  overflow: hidden;
}

.panel-stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-stage-image .image-credit {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 33, 117, 0.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.panel-content-body {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--blue);
}

.panel-description {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
}

.panel-specs-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-spec-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--blue);
}

.panel-actions-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-consult-pill {
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}

.btn-consult-pill:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* 9. SECCIÓN 4: "DONDE TU INSTITUCIÓN NOS NECESITA" (SECTORES Y COMPROMISO) */
.sectors-section {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--paper);
}

.sectors-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.sectors-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sector-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.sector-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.sector-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-card-image img {
  transform: scale(1.05);
}

.sector-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sector-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}

.sector-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
}

/* 10. SECCIÓN 5: PRINCIPIOS INSTITUCIONALES (CONCEPT 6 INFLUENCE) */
.values-section {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--white);
}

.values-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px 28px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.value-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.value-card-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.value-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}

.value-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

/* 11. SECCIÓN 6: PREGUNTAS FRECUENTES (FAQ) */
.faq-section {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--paper);
}

.faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 38% 62%;
  gap: clamp(32px, 5vw, 64px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--cyan);
}

.faq-item summary {
  padding: 22px 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--cyan);
  color: var(--white);
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
}

/* 12. SECCIÓN 7: GRAN LLAMADO A LA ACCIÓN (STAGE CONTINUIDAD) */
.cta-stage-section {
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background: var(--green);
  color: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.cta-stage-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-stage-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.cta-headline-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  opacity: 0.85;
}

.cta-headline {
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--blue-dark);
}

.cta-headline .title-light {
  font-weight: 300;
  color: var(--blue-dark);
}

.cta-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--blue-dark);
  opacity: 0.9;
  max-width: 540px;
}

.cta-button-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-circle-cta {
  width: clamp(80px, 8vw, 110px);
  height: clamp(80px, 8vw, 110px);
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(28px, 3vw, 42px);
  box-shadow: 0 16px 40px rgba(0, 33, 117, 0.35);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-circle-cta:hover {
  transform: scale(1.08) rotate(15deg);
  background: var(--blue-dark);
  box-shadow: 0 20px 48px rgba(0, 33, 117, 0.45);
}

/* 13. PIE DE PÁGINA INSTITUCIONAL */
.site-footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-info img {
  width: 130px;
  height: auto;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.footer-subtagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 440px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer-nav-col a:hover {
  color: var(--cyan);
}

.footer-bottom-bar {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-notice details summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  list-style: none;
}

.footer-notice details p {
  margin-top: 8px;
  max-width: 600px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* 14. DIÁLOGO MODAL DE CONTACTO ACCESIBLE */
.request-dialog {
  width: min(580px, 94vw);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  margin: auto;
}

.request-dialog::backdrop {
  background: rgba(0, 33, 117, 0.65);
  backdrop-filter: blur(6px);
}

.dialog-header {
  background: var(--blue);
  color: var(--white);
  padding: 28px 32px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.dialog-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.dialog-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.dialog-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.request-form {
  padding: 32px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-body);
  background: var(--paper);
  transition: border-color var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  background: var(--white);
}

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

.form-legal-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.btn-form-submit {
  background: var(--green);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(34, 204, 126, 0.35);
  transition: transform var(--transition), background var(--transition);
}

.btn-form-submit:hover {
  background: #20b872;
  transform: translateY(-2px);
}

.form-status {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  min-height: 1.5em;
}

/* 15. RESPONSIVE / MEDIA QUERIES */
@media (max-width: 1200px) {
  .sectors-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-stage-collage {
    max-width: 680px;
    margin: 0 auto;
  }
  .floating-confidence-card {
    left: 10%;
    bottom: -16px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-explorer-grid {
    grid-template-columns: 1fr;
  }
  .section-head-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .faq-inner {
    grid-template-columns: 1fr;
  }
  .cta-stage-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-catalog-link, .btn-contact-pill {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .hero-stage-collage {
    grid-template-columns: 1fr;
  }
  .collage-frame-care {
    display: none;
  }
  .floating-confidence-card {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
  .form-grid-two {
    grid-template-columns: 1fr;
  }
  .sectors-cards-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav-col {
    text-align: left;
  }
}
