/* ========================================
   DISEÑO MODERNO Y PROFESIONAL - REDESTEL
   ======================================== */

:root {
  --bg: #f8fbff;
  --bg-dark: #f0f5fa;
  --panel: #ffffff;
  --text: #1a2b3d;
  --text-secondary: #4a5f7a;
  --muted: #7a8b9d;
  --brand: #1b5e99;
  --brand-light: #2d7fb8;
  --brand-lighter: #4a9fd4;
  --accent: #d9534f;
  --line: rgba(27, 94, 153, 0.1);
  --shadow: rgba(27, 94, 153, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1098px, calc(100% - 40px));
  margin: 0 auto;
}

/* ========================================
   TOPBAR / NAVEGACIÓN
   ======================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(27, 94, 153, 0.08);
  box-shadow: 0 2px 8px rgba(27, 94, 153, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  display: block;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--brand);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-social-link:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: var(--brand);
}

.header-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 900;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #168a43;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-whatsapp svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header-whatsapp:hover {
  color: #25d366;
  transform: translateY(-1px);
}

.menu {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-left: 20px;
}

.menu a {
  transition: color 0.2s ease;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.menu a:hover {
  color: var(--brand);
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* ========================================
   BOTONES
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: 0 12px 28px rgba(27, 94, 153, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 35px rgba(27, 94, 153, 0.35);
}

.btn-lg {
  min-height: 56px;
  padding: 0 2.5rem;
  font-size: 1.1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(14, 95, 150, 0.82) 0%, rgba(68, 133, 170, 0.75) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 31, 52, 0.08) 0%, rgba(9, 31, 52, 0.32) 100%),
    url('images/fondoprincipal.webp') center / 100% 100% no-repeat;
  filter: brightness(0.95) contrast(1.05) saturate(1.1);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('logoredestel.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 58%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
}

.hero-title-wrap {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto 20px;
  display: block;
}

.hero-title-text {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 4.5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-wrap: balance;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.8),
    0 4px 12px rgba(0, 0, 0, 0.45);
}

/* Logo en el fondo del hero — esquina inferior derecha */
.hero-bg-logo {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: clamp(120px, 18vw, 210px);
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.5)) drop-shadow(0 0 24px rgba(0, 180, 230, 0.3));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  max-width: none;
  white-space: nowrap;
  margin: 0 0 40px 0;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(0, 0, 0, 0.5);
}

.hero-values {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
  padding: 30px 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(0, 0, 0, 0.7),
    0 0 32px rgba(0, 0, 0, 0.5);
}

.value-icon {
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero::after {
    width: 60vw;
    height: 60vw;
    max-width: 400px;
    max-height: 400px;
    top: -15%;
    right: -10%;
    background-size: 100%;
  }

  .hero-title-wrap {
    width: clamp(300px, 80vw, 500px);
  }
  
  .hero-values {
    gap: 20px;
  }
  
  .value-item {
    font-size: 0.9rem;
  }
}

/* ========================================
   CLIENTES / LOGOS
   ======================================== */

.clients {
  padding: 80px 20px;
  background: #ffffff;
  border-top: 1px solid rgba(27, 94, 153, 0.08);
  border-bottom: 1px solid rgba(27, 94, 153, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.clients-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--text);
  margin: 0 0 60px 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1098px;
  margin: 0 auto;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  background: var(--bg);
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 180px;
  border: 1px solid rgba(27, 94, 153, 0.05);
}

.client-card:hover {
  background: rgba(27, 94, 153, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 94, 153, 0.1);
  border-color: rgba(27, 94, 153, 0.1);
}

.client-card img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(80%);
  transition: filter 0.3s ease;
}

.client-card:hover img {
  filter: grayscale(0%);
}

.client-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .clients {
    padding: 60px 20px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .client-card {
    min-height: 140px;
    padding: 20px;
  }
  
  .client-card img {
    max-height: 80px;
  }
}

.products,
.services,
.business-process,
.business-offer,
.faq-section,
.quality-security,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* ========================================
   PRODUCTOS
   ======================================== */

.section {
  padding: 80px 20px;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 800px;
  line-height: 1.7;
}

.product-feature-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-feature-header__label {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(27, 94, 153, 0.1);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products {
  background: linear-gradient(180deg, rgba(240, 245, 250, 1), rgba(248, 251, 255, 1));
}

.products-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0;
}

.products-grid .product-card {
  display: flex;
  flex-direction: column;
}

.products-intro {
  background: var(--panel);
  padding: 24px 28px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  margin-bottom: 40px;
}

.products-intro p {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 12px 0;
}

.products-intro ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.products-intro li {
  color: var(--muted);
  position: relative;
  padding-left: 20px;
}

.products-intro li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* ── Product card: executive spec-sheet layout ─────────────────── */
.product-card {
  width: 100%;
  box-sizing: border-box;
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0 auto 40px;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  max-width: 1098px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 20px 50px rgba(27, 94, 153, 0.13);
  transform: translateY(-6px);
}

.product-header {
  padding: 12px 20px;
  background: linear-gradient(160deg, #f6f9fc, #eef3f8);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.product-header .product-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(27, 94, 153, 0.08);
  padding: 3px 10px;
  border-radius: 5px;
}

.product-header h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
}

.product-subtitle {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.product-header .product-model {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
  padding: 3px 10px;
  background: rgba(27, 94, 153, 0.06);
  border: 1px solid rgba(27, 94, 153, 0.15);
  border-radius: 6px;
  margin-left: auto;
}

.product-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr;
  gap: 0;
  padding: 0;
  min-height: 0;
  flex: 1;
}

.product-text {
  display: flex;
  flex-direction: column;
  padding: 20px 24px 16px;
  min-height: 0;
}

.product-text p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
  font-size: 0.88rem;
}

.product-text .note {
  color: var(--brand);
  font-style: italic;
  padding: 8px 12px;
  background: rgba(27, 94, 153, 0.04);
  border-left: 3px solid var(--brand);
  margin: 0 0 10px;
  font-size: 0.8rem;
  border-radius: 0 6px 6px 0;
}

.product-text h4 {
  display: none;
}

.product-text h5 {
  display: none;
}

.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 12px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  background: #f5f8fb;
  border: 1px solid #e8eef4;
  border-radius: 10px;
  transition: background 0.2s;
}

.spec-item:hover {
  background: #eef3f8;
}

.spec-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.spec-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.spec-label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-body .spec-value {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.spec-item-note {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Accessories sub-section */
.accessories-section {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 8px;
  font-weight: 700;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.accessories-section svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.accessories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.accessories li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f5f8fb;
  border: 1px solid #e8eef4;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  transition: background 0.2s;
}

.accessories li:hover {
  background: #eef3f8;
}

.accessory-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(27, 94, 153, 0.08);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Product image column */
.product-image {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  background: linear-gradient(180deg, #f0f4f8 0%, #e6ecf2 100%);
  border-radius: 0 0 20px 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  min-height: 400px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Slider interactivo ──────────────────────────────────────── */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4f8 0%, #e6ecf2 100%);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider-slide.active {
  opacity: 1;
}

/* Botones de navegación */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 5;
  padding: 0;
}

.slider-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn svg {
  width: 16px;
  height: 16px;
  color: var(--text);
}

.slider-prev {
  left: 8px;
}

.slider-next {
  right: 8px;
}

/* Puntos indicadores */
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-content {
    grid-template-columns: 1fr;
  }

  .product-image {
    border-left: none;
    border-top: 1px solid var(--line);
    border-radius: 20px 20px 0 0;
    min-height: 350px;
    order: -1;
  }

  .accessories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 50px 16px;
  }

  .hero {
    min-height: 50vh;
    padding: 32px 16px;
  }

  .hero-title-wrap {
    width: clamp(260px, 85vw, 400px);
  }

  .hero-bg-logo {
    right: 2%;
    bottom: auto;
    top: 12%;
    width: clamp(80px, 14vw, 140px);
    opacity: 0.5;
  }

  .hero-subtitle {
    margin-bottom: 24px;
    max-width: 100%;
    white-space: normal;
  }

  .hero-values {
    gap: 12px;
    margin: 24px 0;
    padding: 16px 0;
  }

  .value-item {
    font-size: 0.8rem;
    gap: 8px;
  }

  .value-icon {
    font-size: 1.3rem;
  }

  .clients {
    padding: 40px 16px;
  }

  .clients-title {
    margin-bottom: 32px;
  }

  .clients-grid {
    gap: 12px;
  }

  .client-card {
    min-height: 120px;
    padding: 16px;
    gap: 8px;
  }

  .client-card img {
    max-height: 60px;
  }

  .client-card span {
    font-size: 0.75rem;
  }

  .products-intro {
    padding: 16px 20px;
  }

  .products-intro ul {
    gap: 12px;
  }

  .product-header {
    padding: 10px 14px;
  }

  .product-header h3 {
    font-size: 1.1rem;
  }

  .product-text {
    padding: 14px;
  }

  .product-image {
    min-height: 220px;
  }

  .spec-item {
    padding: 8px 10px;
    gap: 8px;
  }

  .spec-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 0.75rem;
  }

  .spec-label {
    font-size: 0.72rem;
  }

  .spec-body .spec-value {
    font-size: 0.78rem;
  }

  .accessories {
    grid-template-columns: 1fr;
  }

  .accessories li {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .accessory-icon {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-btn svg {
    width: 18px;
    height: 18px;
  }

  .slider-dots {
    gap: 6px;
    padding: 5px 8px;
    bottom: 8px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .service-box {
    padding: 20px;
  }

  .quality-card {
    padding: 24px;
  }

  .contact-content {
    gap: 24px;
  }

  .contact-item {
    margin-bottom: 16px;
  }

  .site-footer {
    padding: 28px 16px;
  }
}

/* ========================================
   EMPRESA
   ======================================== */

.company {
  background: var(--panel);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.company-image {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.company-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.company-description {
  color: var(--muted);
  line-height: 1.8;
}

.company-description strong {
  color: var(--brand);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mission-box,
.vision-box {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.mission-box h3,
.vision-box h3 {
  color: var(--brand);
  margin-bottom: 10px;
  font-weight: 800;
}

.mission-box p,
.vision-box p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .company-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

/* ── NOSOTROS — DISEÑO MEJORADO ───────────────────────────── */

.nosotros-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.nosotros-header-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nosotros-logo {
  background: var(--panel);
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nosotros-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nosotros-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nosotros-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-family: 'Inter', sans-serif;
}

.nosotros-subtitle-text {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.nosotros-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nosotros-ruc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ruc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ruc-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.ruc-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
}

/* ── Grid principal ──────────────────────────────────────── */

.nosotros-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: stretch;
}

.nosotros-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nosotros-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(27, 94, 153, 0.06);
  border: 1px solid rgba(27, 94, 153, 0.12);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.nosotros-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.text-brand {
  background: linear-gradient(135deg, var(--brand-light), var(--brand), var(--text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nosotros-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.nosotros-desc strong {
  color: var(--text);
  font-weight: 700;
}

.nosotros-desc-secondary {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.text-brand-medium {
  color: var(--brand);
  font-weight: 600;
}

/* Métricas */
.nosotros-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 8px;
}

.metric-card {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(27, 94, 153, 0.1);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-card:nth-child(2) .metric-value,
.metric-card:nth-child(3) .metric-value {
  color: var(--text);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

/* ── Hero Visual ─────────────────────────────────────────── */

.nosotros-hero {
  position: relative;
  display: flex;
  flex-direction: column;
}

.nosotros-hero-glow {
  position: absolute;
  inset: -6px;
  background: linear-gradient(135deg, var(--brand-lighter), var(--brand));
  border-radius: 24px;
  opacity: 0.15;
  filter: blur(20px);
  transition: opacity 0.5s ease;
}

.nosotros-hero:hover .nosotros-hero-glow {
  opacity: 0.3;
}

.nosotros-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nosotros-hero-card img {
  width: 100%;
  flex: 1;
  height: 0;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.nosotros-hero:hover .nosotros-hero-card img {
  transform: scale(1.05);
}

.nosotros-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent, transparent);
  pointer-events: none;
}

.nosotros-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7dd3fc;
}

.hero-badge-text {
  flex: 1;
  min-width: 0;
}

.hero-badge-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
}

.hero-badge-sub {
  font-size: 0.7rem;
  color: #cbd5e1;
  margin: 0;
}

.hero-badge-status {
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.7);
  color: #7dd3fc;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  white-space: nowrap;
}

/* ── Misión y Visión ─────────────────────────────────────── */

.nosotros-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.nosotros-mission-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.nosotros-mission-card:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(27, 94, 153, 0.1);
}

.mission-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.nosotros-mission-card:hover .mission-icon {
  transform: scale(1.1);
}

.mission-icon--blue {
  background: rgba(27, 94, 153, 0.08);
  border: 1px solid rgba(27, 94, 153, 0.15);
  color: var(--brand);
}

.mission-icon--accent {
  background: rgba(217, 83, 79, 0.08);
  border: 1px solid rgba(217, 83, 79, 0.15);
  color: var(--accent);
}

.mission-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.mission-badge {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.mission-badge--blue {
  background: rgba(27, 94, 153, 0.1);
  color: var(--brand);
  border: 1px solid rgba(27, 94, 153, 0.2);
}

.mission-badge--accent {
  background: rgba(217, 83, 79, 0.1);
  color: var(--accent);
  border: 1px solid rgba(217, 83, 79, 0.2);
}

.mission-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.mission-text strong {
  color: var(--text);
}

.text-accent-medium {
  color: var(--accent);
  font-weight: 600;
}

/* ── Call to Action ──────────────────────────────────────── */

.nosotros-cta {
  margin-top: 40px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(27, 94, 153, 0.04), var(--bg), rgba(27, 94, 153, 0.04));
  border: 1px solid rgba(27, 94, 153, 0.12);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-question {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  animation: ping-dot 2s infinite;
}

@keyframes ping-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.cta-question p {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
  margin: 0;
}

/* ── Responsive Nosotros ─────────────────────────────────── */

@media (max-width: 1024px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-hero-card {
    height: auto;
    display: block;
  }

  .nosotros-hero-card img {
    aspect-ratio: 16 / 9;
    flex: none;
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .nosotros-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nosotros-header-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nosotros-ruc {
    width: 100%;
    justify-content: center;
  }

  .nosotros-header .btn {
    width: 100%;
    justify-content: center;
  }

  .nosotros-metrics {
    grid-template-columns: 1fr;
  }

  .nosotros-mission-grid {
    grid-template-columns: 1fr;
  }

  .nosotros-cta {
    flex-direction: column;
    text-align: center;
  }

  .cta-question {
    justify-content: center;
  }

  .nosotros-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   SERVICIOS
   ======================================== */

.services {
  background: var(--bg);
}

.province-service-banner {
  position: relative;
  margin: 0 0 28px;
  border-radius: 24px;
  border: 1px solid rgba(27, 94, 153, 0.12);
  background: linear-gradient(135deg, rgba(8, 55, 94, 0.97), rgba(12, 88, 146, 0.92), rgba(15, 118, 110, 0.92));
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.province-service-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.18), transparent 28%);
  pointer-events: none;
}

.province-service-banner__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 20px;
  padding: 30px 28px;
  z-index: 1;
}

.province-service-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.province-service-banner__tag {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0f2fe;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.province-service-banner h3 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  line-height: 1.15;
  max-width: 620px;
}

.province-service-banner p {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 650px;
}

.province-service-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.province-service-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.province-service-banner__cta:hover {
  transform: translateY(-1px);
}

.province-service-banner__cta--primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.3);
}

.province-service-banner__cta--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.province-service-banner__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  align-content: center;
}

.province-service-banner__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.province-service-banner__stat strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
}

.province-service-banner__stat span {
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.8rem;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

@media (max-width: 820px) {
  .province-service-banner__grid {
    grid-template-columns: 1fr;
  }

  .province-service-banner__stats {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .province-service-banner__grid {
    padding: 22px 18px;
  }

  .province-service-banner__stats {
    grid-template-columns: 1fr;
  }
}

.service-box {
  padding: 0;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-box:hover {
  border-color: rgba(27, 94, 153, 0.5);
  box-shadow: 0 20px 40px rgba(27, 94, 153, 0.12);
  transform: translateY(-4px);
}

.service-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
  border-radius: 16px 16px 0 0;
  margin: 0;
  padding: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-box:hover .service-image img {
  transform: scale(1.05);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 42, 74, 0.4), transparent, transparent);
  pointer-events: none;
}

.service-badge-num {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  z-index: 2;
}

.service-text {
  padding: 20px 24px 0;
  flex: 1;
}

.service-badge-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.service-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-badge-dot--blue { background: var(--brand); }
.service-badge-dot--amber { background: #d97706; }
.service-badge-dot--slate { background: #475569; }

.service-badge-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.service-badge-label--blue { color: var(--brand); }
.service-badge-label--amber { color: #d97706; }
.service-badge-label--slate { color: #475569; }

.service-text h3 {
  font-size: 1.15rem;
  color: #0f2a4a;
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.service-box:hover .service-text h3 {
  color: var(--brand);
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.service-bullet-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.service-bullet-icon svg {
  width: 14px;
  height: 14px;
}

.service-bullet-icon--blue {
  background: #eff6ff;
  color: var(--brand);
}

.service-bullet-icon--amber {
  background: #fffbeb;
  color: #d97706;
}

.service-bullet-icon--slate {
  background: #f1f5f9;
  color: #475569;
}

.service-box:hover .service-bullet-icon--blue {
  background: var(--brand);
  color: #ffffff;
}

.service-box:hover .service-bullet-icon--amber {
  background: #d97706;
  color: #ffffff;
}

.service-box:hover .service-bullet-icon--slate {
  background: #1e293b;
  color: #ffffff;
}

.service-cta {
  padding: 16px 24px 20px;
  margin-top: auto;
}

.service-cta-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.service-cta-a svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-cta-a:hover svg {
  transform: translateX(3px);
}

.service-cta-a--blue {
  background: #eff6ff;
  color: var(--brand);
}

.service-cta-a--blue:hover {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 94, 153, 0.25);
}

.service-cta-a--amber {
  background: #fffbeb;
  color: #b45309;
}

.service-cta-a--amber:hover {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.service-cta-a--slate {
  background: #f1f5f9;
  color: #334155;
}

.service-cta-a--slate:hover {
  background: #1e293b;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.25);
}

.service-cta-a--slate:hover svg {
  transform: translateY(2px);
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-image {
    height: 180px;
  }

  .service-text {
    padding: 16px 20px 0;
  }

  .service-cta {
    padding: 12px 20px 16px;
  }
}

/* ========================================
   CALIDAD / SEGURIDAD
   ======================================== */

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.quality-card {
  padding: 32px;
  background: var(--panel);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  text-align: center;
}

.quality-card:hover {
  box-shadow: 0 16px 40px rgba(27, 94, 153, 0.12);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.quality-card h3 {
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 800;
}

.quality-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.quality-card .brand-name {
  color: var(--text);
  font-size: 0.9rem;
  margin-top: 12px;
}

.quality-card .brand-name strong {
  color: var(--brand);
  font-weight: 700;
}

/* ========================================
   CONTACTO
   ======================================== */

.contact {
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 400px;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.5), rgba(224, 242, 254, 0.4), transparent);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-item {
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.contact-item strong {
  display: block;
  color: var(--brand);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

.contact-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--bg);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.contact-social-link:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--panel);
  transform: translateY(-2px);
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.form-status--success {
  color: #167044;
}

.form-status--error {
  color: #b42318;
}

#contact-submit {
  border: 0;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
}

#contact-submit:hover {
  background: #164f80;
}

#contact-submit:focus-visible {
  background: var(--brand);
}

#contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 12px 14px;
  border: 1px solid rgba(180, 35, 24, 0.2);
  border-radius: 10px;
  background: #fff7f6;
  color: #7a271a;
  font-size: 0.8rem;
  line-height: 1.4;
}

.form-fallback a {
  color: #9f1c13;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.contact-direct-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  background: var(--panel);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-direct-action:hover,
.contact-direct-action:focus-visible {
  border-color: var(--brand);
  color: #ffffff;
  background: var(--brand);
}

.contact-direct-action--whatsapp {
  border-color: rgba(22, 138, 67, 0.22);
  color: #167044;
}

.contact-direct-action--whatsapp:hover,
.contact-direct-action--whatsapp:focus-visible {
  border-color: #168a43;
  background: #168a43;
}

.seo-page {
  background: var(--bg);
}

.seo-hero {
  padding: 96px 0 88px;
  background: linear-gradient(135deg, #0f2942 0%, #1b4965 68%, #2d7fb8 100%);
  color: #ffffff;
}

.seo-eyebrow {
  margin-bottom: 14px;
  color: #b9d9ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

.seo-lead {
  max-width: 760px;
  margin: 22px 0 30px;
  color: #e4f1fa;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}

.seo-content h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.seo-content h2:not(:first-child) {
  margin-top: 42px;
}

.seo-content p {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
}

.seo-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--text-secondary);
  list-style: none;
}

.seo-list li {
  position: relative;
  padding-left: 24px;
}

.seo-list li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  content: "";
}

.seo-aside {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 10px 30px var(--shadow);
}

.seo-aside h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.seo-aside a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.seo-aside a:last-child {
  border-bottom: 0;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.seo-card-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.seo-card-grid h3 {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 1.05rem;
}

.seo-card-grid p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.seo-cta {
  padding: 72px 0;
  background: var(--bg-dark);
  text-align: center;
}

.seo-hub {
  background: var(--bg-dark);
}

.seo-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.seo-hub-grid a {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text-secondary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.seo-hub-grid a:hover,
.seo-hub-grid a:focus-visible {
  border-color: var(--brand-light);
  box-shadow: 0 8px 20px var(--shadow);
  transform: translateY(-2px);
}

.seo-hub-grid strong {
  color: var(--brand);
  font-size: 1rem;
}

.seo-hub-grid span {
  font-size: 0.86rem;
  line-height: 1.5;
}

.faq-section {
  background: var(--panel);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 94px;
}

.faq-heading .btn {
  margin-top: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--brand);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.business-process {
  background: var(--bg-dark);
}

.business-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-process-grid li {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.business-process-grid li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.business-process-grid h3,
.business-offer-grid h3 {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 1.05rem;
}

.business-process-grid p,
.business-offer-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

.business-process-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: transparent;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--brand);
  color: #ffffff;
}

.business-text-link {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.business-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.business-offer-grid article {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border-top: 3px solid var(--brand-light);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.business-offer-grid article:nth-child(2) {
  border-top-color: var(--accent);
}

.business-offer-grid article:nth-child(3) {
  border-top-color: #167044;
}

.business-offer-grid a {
  margin-top: auto;
  padding-top: 20px;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 800;
}

.seo-cta h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.seo-cta p {
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .seo-hero {
    padding: 68px 0 60px;
  }

  .seo-content,
  .seo-card-grid,
  .seo-hub-grid,
  .faq-layout,
  .business-process-grid,
  .business-offer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .seo-aside,
  .faq-heading {
    position: static;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--panel);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: linear-gradient(135deg, var(--text) 0%, #0f3a5e 100%);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.site-footer .footer-muted {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ========================================
   CTA STICKY — WHATSAPP FLLOTANTE (MOBILE)
   ======================================== */

.whatsapp-sticky {
  display: none;
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-sticky:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-sticky svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    display: flex;
  }
}

/* ========================================
   ANIMACIONES
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HAMBURGER BUTTON
   ======================================== */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* ========================================
   RESPONSIVE — MOBILE MENU
   ======================================== */

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    gap: 0;
    flex-wrap: wrap;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    max-width: 100%;
    min-height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 80px 24px 32px;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease, visibility 0.2s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 4px 30px var(--shadow);
  }

  body.menu-open .menu,
  .menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    padding: 14px 24px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .menu a:hover,
  .menu a:focus-visible {
    background: rgba(27, 94, 153, 0.08);
    color: var(--brand);
  }

  .menu a::after {
    display: none;
  }

  .nav-cta {
    font-size: 0.8rem;
    padding: 0 1rem;
    min-height: 38px;
  }

  .header-socials {
    margin-left: auto;
  }

  .header-whatsapp {
    margin-left: 12px;
    font-size: 0.74rem;
  }

  .header-whatsapp svg {
    width: 22px;
    height: 22px;
  }

  body.menu-open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  body.menu-open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .header-whatsapp {
    width: 34px;
    height: 34px;
    justify-content: center;
    margin-left: 8px;
  }

  .header-whatsapp span {
    display: none;
  }
}

@media (min-width: 769px) {
  .menu {
    transform: none !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .product-content {
    grid-template-columns: 1fr 0.7fr;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }

  .quality-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
}

/* ── Accessibility: reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .slider-slide {
    transition: none;
  }

  .product-card:hover,
  .service-box:hover,
  .client-card:hover,
  .quality-card:hover,
  .info-card:hover,
  .nosotros-hero:hover .nosotros-hero-card img,
  .nosotros-mission-card:hover,
  .nosotros-hero:hover .nosotros-hero-glow {
    transform: none;
  }
}

/* ========================================
   INFOGRAFÍA — TORRES AUTO-SOPORTADAS
   ======================================== */

.info-card {
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.info-card:hover {
  box-shadow: 0 20px 50px rgba(27, 94, 153, 0.13);
  transform: translateY(-4px);
}

.info-header {
  padding: 28px 32px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.info-header-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.info-header-pill {
  display: inline-block;
  background: rgba(27, 94, 153, 0.08);
  border: 1px solid rgba(27, 94, 153, 0.15);
  border-radius: 6px;
  padding: 6px 16px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-header-slogan {
  text-align: right;
  max-width: 280px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  border-left: 2px solid rgba(27, 94, 153, 0.2);
  padding-left: 12px;
  margin: 0;
}

.info-header-slogan span {
  color: var(--brand);
}

.info-header-accent {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-top: 6px;
}

/* Banner ribbon */
.info-banner {
  padding: 0 32px 4px;
}

.info-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #b81313);
  color: #ffffff;
  padding: 8px 48px 8px 24px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 97% 0, 93% 100%, 0% 100%);
  box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
  margin: 0;
}

/* 3-column grid */
.info-grid {
  display: grid;
  grid-template-columns: 4fr 5fr 3fr;
  gap: 24px;
  padding: 20px 32px;
}

.info-description p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
  font-size: 0.88rem;
}

.info-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.info-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(27, 94, 153, 0.04);
  border: 1px solid rgba(27, 94, 153, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.info-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(27, 94, 153, 0.1);
}

.info-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.info-feature-icon--accent { background: var(--accent); }
.info-feature-icon--brand  { background: var(--brand); }

.info-feature-icon svg {
  width: 24px;
  height: 24px;
}

.info-feature-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* Tower showcase */
.info-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.info-showcase img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Structural detail cards */
.info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-detail-card {
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.info-detail-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.info-detail-text {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* Bottom cards */
.info-bottom {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
  padding: 0 32px 28px;
}

.info-card-box {
  background: #f3f6fa;
  border: 1px solid rgba(27, 94, 153, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.info-card-box h4 {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.info-card-grid {
  display: grid;
  gap: 8px;
  text-align: center;
}

.info-card-grid--5 { grid-template-columns: repeat(5, 1fr); }
.info-card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.info-card-item {
  background: var(--panel);
  border: 1px solid #e8eef4;
  border-radius: 12px;
  padding: 10px 8px;
  transition: all 0.2s ease;
}

.info-card-item:hover {
  border-color: rgba(27, 94, 153, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.info-card-item-icon {
  color: var(--text);
  margin-bottom: 6px;
}

.info-card-item-icon svg {
  width: 24px;
  height: 24px;
}

.info-card-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

/* Footer banner */
.info-footer {
  background: linear-gradient(135deg, var(--text), #0b2545);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.info-footer-content {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.info-footer-line {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.info-footer h3 {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
}

.info-footer-corner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 96px;
  background: var(--accent);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ── Responsive infografía ──────────────────────────────────── */
@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-bottom {
    grid-template-columns: 1fr;
  }

  .info-header {
    flex-direction: column;
  }

  .info-header-slogan {
    text-align: left;
    border-left: none;
    border-top: 1px solid rgba(27, 94, 153, 0.2);
    padding-left: 0;
    padding-top: 12px;
    max-width: none;
  }

  .info-card-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .info-card-grid--5,
  .info-card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-header {
    padding: 20px 20px 10px;
  }

  .info-banner {
    padding: 0 20px 4px;
  }

  .info-grid {
    padding: 16px 20px;
  }

  .info-bottom {
    padding: 0 20px 20px;
  }
}

/* ========================================
   MODAL — TARJETA FLOTANTE
   ======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 42, 74, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: var(--panel);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay[aria-hidden="false"] .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  min-height: 0;
}

.modal-body img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 12px;
  }

  .modal-card {
    border-radius: 12px;
    max-height: 85vh;
  }

  .modal-body {
    padding: 8px;
  }
}
