/* ==========================================================================
   KIOS — PROPUESTA 02: ARQUITECTURA DE CORTES
   Fiel a: conceptos-geometria-logo/02-arquitectura-de-cortes.png
   Identidad: Azul Institucional #002175 · Cian #00C1DD · Verde #22CC7E
   Filosofía: Luminoso, diurno, limpio, cortes geométricos y fotografía monumental.
   ========================================================================== */

/* 1. TIPOGRAFÍA LOCAL (TITILLIUM WEB) */
@font-face {
  font-family: 'Titillium Web';
  src: url('../assets/TitilliumWeb-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('../assets/TitilliumWeb-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('../assets/TitilliumWeb-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('../assets/TitilliumWeb-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. VARIABLES DE DISEÑO INSTITUCIONAL */
:root {
  --blue: #002175;           /* Azul institucional exacto KIOS */
  --blue-dark: #001854;      /* Sombra controlada */
  --blue-tint: #002c9b;      /* Hover activo */
  --cyan: #00C1DD;           /* Cian dinámico KIOS */
  --green: #22CC7E;          /* Verde vital KIOS */
  --white: #ffffff;          /* Blanco puro */
  --paper: #F4F6FB;          /* Papel arquitectónico claro */
  --paper-card: #EEF2FA;     /* Fondo de módulos */
  --line: rgba(0, 33, 117, 0.12);
  --line-subtle: rgba(0, 33, 117, 0.06);
  --text-dark: #1E293B;      /* Texto oscuro de alta legibilidad */
  --text-muted: #475569;     /* Texto secundario */
  --text-light: #ffffff;     /* Texto sobre azul */
  --text-light-muted: rgba(255, 255, 255, 0.85);
  --font-base: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 3.5vw, 48px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 9999px;
  --transition: 0.22s 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: 80px;
}

body.kios-architectural {
  font-family: var(--font-base);
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.5;
  -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 {
  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 SUPERIOR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  z-index: 1000;
  pointer-events: none;
}

/* 4. BARRA DE NAVEGACIÓN INSTITUCIONAL CLARA */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: 76px;
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  display: block !important;
  width: 132px;
  height: auto;
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
}

.nav-menu-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-proposals-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.nav-proposals-link:hover {
  color: var(--blue);
}

.btn-nav-hablemos {
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}

.btn-nav-hablemos:hover {
  background: var(--blue-tint);
  transform: translateY(-1px);
}

.btn-nav-hablemos .arrow {
  transition: transform var(--transition);
}

.btn-nav-hablemos:hover .arrow {
  transform: translateX(3px);
}

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

.nav-mobile-details summary {
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-mobile-details summary::-webkit-details-marker {
  display: none;
}

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

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

.btn-mobile-contact {
  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: "CADA DETALLE ABRE POSIBILIDADES." */
.hero-architectural-section {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-architectural-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 46% 42% 12%;
  min-height: 520px;
  position: relative;
}

/* 5.1 Columna Izquierda: Azul Institucional #002175 */
.hero-left-cut {
  background: var(--blue);
  color: var(--text-light);
  padding: clamp(40px, 5.5vw, 76px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  /* Corte diagonal arquitectónico en el borde derecho */
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
  margin-right: -4%;
}

.hero-main-title {
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-main-title .highlight-cyan {
  color: var(--cyan);
}

.hero-cyan-bar {
  width: 44px;
  height: 3px;
  background: var(--cyan);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-light-muted);
  max-width: 42ch;
  font-weight: 400;
  margin-bottom: 36px;
}

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

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

.btn-hero-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), background var(--transition);
}

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

/* 5.2 Columna Central: Fotografía Monumental con Corte */
.hero-photo-wrapper {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--paper);
}

.hero-team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* 5.3 Columna Derecha: Editorial Blanco */
.hero-sidebar-white {
  background: var(--white);
  padding: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--line-subtle);
  z-index: 2;
}

.sidebar-block-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-brand-quote {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--blue);
}

.sidebar-dash {
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.sidebar-block-bottom {
  margin-top: auto;
  padding-top: 32px;
}

.sidebar-essential-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 400;
}

/* 6. FILA DE SERVICIOS ARQUITECTÓNICOS (3 TARJETAS CON CORTES Y CUADRANTES) */
.services-architectural-section {
  width: 100%;
  padding: 48px var(--gutter);
  background: var(--white);
}

.services-architectural-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Estructura común de tarjeta dividida */
.service-arch-card {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 33, 117, 0.06);
  border: 1px solid var(--line-subtle);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-arch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 33, 117, 0.12);
}

/* Variación Azul: Limpieza y Lavandería */
.service-arch-card.theme-blue {
  background: var(--blue);
  color: var(--white);
}

/* Variación Blanca: Alimentación */
.service-arch-card.theme-white {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
}

.service-card-info {
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Cuadrante de marca (geometría del logotipo) */
.quadrant-arc-wrapper {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.quadrant-arc-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.service-card-action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.btn-service-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.theme-blue .btn-service-arrow {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.theme-blue .btn-service-arrow:hover {
  background: var(--cyan);
  color: var(--blue);
  transform: translateX(3px);
}

.theme-white .btn-service-arrow {
  background: var(--paper-card);
  color: var(--blue);
}

.theme-white .btn-service-arrow:hover {
  background: var(--green);
  color: var(--white);
  transform: translateX(3px);
}

.btn-service-drawer-toggle {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.btn-service-drawer-toggle:hover {
  opacity: 1;
}

/* Fotografía con corte diagonal en la tarjeta */
.service-card-photo {
  position: relative;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -6%;
}

.service-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cajón de especificaciones técnicas expandible */
.service-spec-drawer {
  grid-column: 1 / -1;
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-blue .service-spec-drawer {
  background: var(--blue-dark);
  color: var(--text-light-muted);
}

.theme-white .service-spec-drawer {
  background: var(--paper);
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* 7. FRANJA DE SECTORES: "SECTORES QUE IMPULSAN BIENESTAR" */
.sectores-architectural-section {
  width: 100%;
  padding: 56px var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.sectores-architectural-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 32px;
}

.sectores-intro-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sectores-tag-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
}

.sectores-intro-dash {
  width: 28px;
  height: 2px;
  background: var(--blue);
}

/* Fila de las 3 cápsulas de sectores */
.sectores-cards-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sector-capsule-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 33, 117, 0.05);
  border: 1px solid var(--line-subtle);
  height: 90px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.sector-capsule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 33, 117, 0.1);
}

.sector-badge-accent {
  width: 44px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-badge-accent.accent-blue {
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%);
}

.sector-badge-accent.accent-cyan {
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.sector-badge-accent.accent-green {
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
  border-radius: 0 0 100% 0;
}

.sector-capsule-content {
  padding: 0 16px;
  flex-grow: 1;
}

.sector-capsule-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue);
}

.sector-capsule-photo {
  width: 110px;
  height: 100%;
  flex-shrink: 0;
}

.sector-capsule-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sectores-outro-col {
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 500;
}

/* 8. SECCIÓN MIXTA: "LO QUE NOS MUEVE" + FAQ INTERACTIVA + CTA */
.mosaic-feature-section {
  width: 100%;
  padding: 64px var(--gutter);
  background: var(--white);
}

.mosaic-feature-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* 8.1 Card 1: Lo que nos mueve */
.mosaic-card-mueve {
  display: grid;
  grid-template-columns: 40% 60%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 33, 117, 0.08);
}

.mueve-photo-side {
  position: relative;
  overflow: hidden;
}

.mueve-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mueve-blue-content {
  background: var(--blue);
  color: var(--white);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mueve-heading {
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}

.mueve-white-dash {
  width: 32px;
  height: 2px;
  background: var(--white);
  margin-bottom: 20px;
}

.mueve-text-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light-muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 8.2 Card 2: Preguntas Frecuentes (Acordeón Accesible) */
.mosaic-card-faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 33, 117, 0.05);
}

.faq-card-title {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
}

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

.faq-accordion-item {
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 12px;
}

.faq-accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  padding: 8px 0;
  transition: color var(--transition);
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary:hover {
  color: var(--cyan);
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  transition: transform var(--transition);
}

.faq-accordion-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-accordion-content {
  padding: 10px 0 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* 8.3 Card 3: Diseñemos el servicio (CTA) */
.mosaic-card-cta {
  background: linear-gradient(145deg, var(--cyan) 0%, var(--blue) 85%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 193, 221, 0.18);
}

.mosaic-card-cta::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-card-heading {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--blue);
  margin-bottom: 16px;
}

.cta-card-heading .cta-arrow-symbol {
  display: inline-block;
  transition: transform var(--transition);
}

.mosaic-card-cta:hover .cta-arrow-symbol {
  transform: translateX(6px);
}

.cta-card-body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 28px;
}

.btn-cta-iniciar {
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}

.btn-cta-iniciar:hover {
  background: var(--blue-tint);
  transform: translateY(-2px);
}

/* 9. PIE DE PÁGINA INSTITUCIONAL */
.site-footer-architectural {
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.footer-top-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-left-branding {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo-img {
  display: block !important;
  width: 120px;
  height: auto;
}

.footer-v-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.footer-claim-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: 8px;
  width: 100%;
}

.footer-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-nav-links a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Cinta curva arquitectónica azul en el pie */
.footer-blue-ribbon {
  background: var(--blue);
  color: var(--white);
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-radius: 120px 0 0 0;
  margin-top: 16px;
}

.footer-ribbon-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

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

.btn-footer-next {
  background: var(--cyan);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
}

.btn-footer-next:hover {
  background: var(--white);
}

.footer-disclosure-accordion {
  max-width: 1520px;
  margin: 0 auto;
  padding: 16px var(--gutter) 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclosure-accordion summary {
  cursor: pointer;
  font-weight: 600;
}

.footer-disclosure-accordion p {
  margin-top: 8px;
  line-height: 1.5;
}

/* 10. DIÁLOGO ACCESIBLE DE CONTACTO (OFFLINE GENERATOR) */
.request-dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 33, 117, 0.24);
  background: var(--white);
  color: var(--text-dark);
  max-width: 540px;
  width: calc(100% - 32px);
  margin: auto;
  padding: 0;
}

.request-dialog::backdrop {
  background: rgba(0, 24, 84, 0.55);
  backdrop-filter: blur(4px);
}

.dialog-inner-card {
  padding: clamp(24px, 4vw, 40px);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dialog-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
}

.dialog-header p {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.dialog-close-btn {
  font-size: 28px;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  transition: color var(--transition);
}

.dialog-close-btn:hover {
  color: var(--blue);
}

.request-form {
  display: grid;
  gap: 16px;
}

.form-field-group {
  display: grid;
  gap: 6px;
}

.form-field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.form-field-group input,
.form-field-group select,
.form-field-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text-dark);
  font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
}

.form-field-group input:focus,
.form-field-group select:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 33, 117, 0.1);
}

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

.form-offline-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-form-submit {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition);
}

.btn-form-submit:hover {
  background: var(--blue-tint);
}

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

/* 11. ADAPTACIÓN RESPONSIVA RIGUROSA */
@media (max-width: 1200px) {
  .hero-architectural-container {
    grid-template-columns: 48% 52%;
  }
  .hero-sidebar-white {
    display: none;
  }
  .services-architectural-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-arch-card {
    min-height: 260px;
  }
  .sectores-architectural-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sectores-intro-col, .sectores-outro-col {
    text-align: left;
  }
  .mosaic-feature-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nav-menu-links, .nav-proposals-link {
    display: none;
  }
  .nav-mobile-details {
    display: block;
  }
  .hero-architectural-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left-cut {
    clip-path: none;
    margin-right: 0;
    padding: 40px 24px;
  }
  .hero-photo-wrapper {
    height: 380px;
  }
  .sectores-cards-track {
    grid-template-columns: 1fr;
  }
  .footer-top-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .main-navbar {
    height: 68px;
  }
  .brand-logo-img {
    width: 110px;
  }
  .service-arch-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .service-card-photo {
    clip-path: none;
    margin-left: 0;
    height: 200px;
  }
  .mosaic-card-mueve {
    grid-template-columns: 1fr;
  }
  .mueve-photo-side {
    height: 200px;
  }
  .footer-blue-ribbon {
    border-radius: 40px 0 0 0;
  }
}

/* 12. PREFERENCIAS DE ACCESIBILIDAD */
@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;
  }
}
