/* ==========================================================================
   SEINPRO - Sistemas Contra Incendios bajo Normativa NFPA
   Estilos corporativos profesionales y completos
   ========================================================================== */

:root {
  /* Paleta Corporativa SEINPRO */
  --color-navy: #182e54;
  --color-navy-dark: #0b172a;
  --color-navy-deep: #070e1b;
  --color-red: #D91A2A;
  --color-red-hover: #b81321;
  --color-red-active: #9A0D1A;
  --color-green-wa: #25D366;
  
  --color-text-dark: #1A202C;
  --color-text-muted: #475569;
  --color-text-light: #64748B;
  --color-bg-light: #F8FAFC;
  --color-bg-gray: #F1F4F9;
  --color-border: #E2E8F0;
  --color-border-card: #E5E9F2;
  
  /* Fuentes */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Sombras y Radios */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-form: 0 14px 45px rgba(0, 0, 0, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Tipografías base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

/* Botón Rojo Primario SEINPRO (CTA) */
.btn-cta-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-red);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 26, 42, 0.35);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn-cta-red:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 26, 42, 0.45);
}

.btn-cta-red:active {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo oficial SEINPRO en header */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}

.seinpro-official-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-logo-text .logo-bold {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-logo-text .logo-bar {
  display: block;
  width: 100%;
  height: 3.5px;
  background-color: var(--color-red);
  margin-top: 3px;
  border-radius: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item:hover {
  color: var(--color-red);
}

.mobile-nav-cta {
  display: none;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta-btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==========================================================================
   2. HERO + FORMULARIO
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-navy-dark);
  background-image: url('img/hero_workers.jpg');
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(11, 23, 42, 0.93) 0%, 
    rgba(11, 23, 42, 0.82) 55%, 
    rgba(11, 23, 42, 0.65) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  color: #FFFFFF;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(217, 26, 42, 0.2);
  border: 1px solid rgba(217, 26, 42, 0.5);
  color: #FFA5AB;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.12rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

/* 3 Badges de Beneficios */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-icon {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  font-size: 0.9rem;
  color: #F8FAFC;
  line-height: 1.25;
}

.badge-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Card Flotante del Formulario */
.hero-form-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem 2.2rem;
  box-shadow: var(--shadow-form);
  width: 100%;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.col-half {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(24, 46, 84, 0.12);
}

.select-control {
  cursor: pointer;
  color: #475569;
}

.textarea-control {
  resize: vertical;
  min-height: 75px;
}

/* ==========================================================================
   3. PROPUESTA DE VALOR
   ========================================================================== */
.section-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(24, 46, 84, 0.08);
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Grid de 3 Tarjetas de Valor */
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.value-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.value-icon {
  color: var(--color-navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   4. SERVICIOS
   ========================================================================== */
.services-block {
  margin-top: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service-item-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD5E1;
}

.service-icon-box {
  color: var(--color-navy);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
}

/* ==========================================================================
   5. MODALIDADES
   ========================================================================== */
.section-modalities {
  background-color: var(--color-bg-gray);
  padding: 1rem 0;
}

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

.modality-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.modality-icon {
  color: var(--color-navy);
  flex-shrink: 0;
}

.modality-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.modality-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.text-center-cta {
  text-align: center;
}

/* ==========================================================================
   6. SECTORES Y EXPERIENCIA
   ========================================================================== */
.section-sectors {
  background-color: #FFFFFF;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sector-item {
  display: flex;
  flex-direction: column;
}

.sector-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.sector-icon {
  color: var(--color-navy);
  display: flex;
  align-items: center;
}

.sector-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.sector-img-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 2.8;
  background-color: #E2E8F0;
}

.sector-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

/* ==========================================================================
   7. PROCESO DE TRABAJO (TIMELINE)
   ========================================================================== */
.section-process {
  background-color: var(--color-bg-light);
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1050px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  background-color: #FFFFFF;
  color: var(--color-red);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.2s;
}

.process-step:hover .step-circle {
  background-color: var(--color-red);
  color: #FFFFFF;
}

.step-connector {
  flex: 0.7;
  height: 2px;
  background-color: var(--color-red);
  margin-top: 25px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECCIÓN VIDEO INSTITUCIONAL
   ========================================================================== */
.section-video {
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
}

.video-card-container {
  max-width: 960px;
  margin: 0 auto;
  background-color: var(--color-navy-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.15);
}

.video-frame-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.video-frame-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
}

.video-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background-color: var(--color-navy-dark);
  color: #FFFFFF;
}

.video-meta-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.video-meta-info i {
  color: var(--color-red);
  font-size: 1.2rem;
}

.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-green-wa);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-wa-sm:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN CATÁLOGO DIGITAL
   ========================================================================== */
.section-catalog {
  background-color: var(--color-bg-gray);
  border-top: 1px solid var(--color-border);
}

.catalog-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background-color: #FFFFFF;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.catalog-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.catalog-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.catalog-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.catalog-check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

.catalog-check-list i {
  color: var(--color-red);
  font-size: 1.1rem;
}

.catalog-btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.catalog-preview-side {
  cursor: pointer;
}

.catalog-mockup-frame {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-preview-side:hover .catalog-mockup-frame {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.mockup-top-bar {
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--color-border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #CBD5E1;
}

.mockup-file-name {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
  margin-left: 0.5rem;
}

.mockup-img-wrap {
  position: relative;
  background-color: #0F172A;
  aspect-ratio: 1 / 1.4;
  overflow: hidden;
}

.mockup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 56, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mockup-hover-overlay i {
  font-size: 2rem;
}

.catalog-preview-side:hover .mockup-hover-overlay {
  opacity: 1;
}

/* Visor Desplegable */
.catalog-interactive-viewer {
  margin-top: 2rem;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-form);
  overflow: hidden;
}

.viewer-header-bar {
  background-color: var(--color-navy-dark);
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.viewer-page-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.v-btn {
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.v-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.v-btn-close {
  background-color: rgba(217, 26, 42, 0.4);
}

.v-btn-close:hover {
  background-color: var(--color-red);
}

.v-page-indicator {
  font-size: 0.9rem;
}

.viewer-page-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.viewer-actions-right {
  display: flex;
  gap: 0.5rem;
}

.viewer-display-area {
  position: relative;
  background-color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 480px;
}

.viewer-page-container {
  max-width: 720px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.viewer-page-container img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.v-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.v-arrow:hover {
  background-color: var(--color-red);
}

.v-arrow-prev {
  left: 20px;
}

.v-arrow-next {
  right: 20px;
}

.viewer-thumbnails-bar {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.thumb-pill {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

/* ==========================================================================
   SECCIÓN FAQ (PREGUNTAS FRECUENTES - SEO LOCAL)
   ========================================================================== */
.section-faq {
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--color-red);
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   8. CTA FINAL
   ========================================================================== */
.section-cta-final {
  position: relative;
  background-color: var(--color-navy-dark);
  background-image: url('img/cta_bg.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 4.5rem 0;
  overflow: hidden;
}

.cta-final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(11, 23, 42, 0.95) 0%, 
    rgba(11, 23, 42, 0.88) 60%, 
    rgba(11, 23, 42, 0.82) 100%
  );
  z-index: 1;
}

.cta-final-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 0;
  padding-bottom: 0;
}

.cta-left-text {
  max-width: 680px;
}

.cta-final-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.22;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-final-subtitle {
  font-size: 1.1rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
}

.cta-right-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tagline-container {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.tagline-red-bar {
  display: block;
  width: 4px;
  height: 24px;
  background-color: var(--color-red);
  margin-top: 4px;
  border-radius: 2px;
}

.tagline-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.12em;
  line-height: 1.35;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.main-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 1.5rem 0;
}

.footer-content-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 0;
  padding-bottom: 1rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-official-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-ruc {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 600;
  margin-top: 0.25rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-item i {
  color: var(--color-navy);
  font-size: 1rem;
  width: 18px;
}

.footer-legal-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.nav-sep {
  color: #CBD5E1;
}

.copyright-text {
  font-size: 0.82rem;
  color: #94A3B8;
}

/* ==========================================================================
   BOTÓN FLOTANTE FIJO DE WHATSAPP
   ========================================================================== */
.floating-wa-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.floating-wa-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background-color: var(--color-green-wa);
  color: #FFFFFF !important;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-size: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.wa-tooltip-text {
  position: absolute;
  right: 74px;
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0.95;
}

.wa-pulse-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #4ADE80;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

/* ==========================================================================
   PÁGINA /GRACIAS
   ========================================================================== */
.thanks-body {
  background-color: var(--color-bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thanks-header {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.btn-outline {
  display: inline-flex;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-navy);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.thanks-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.thanks-icon-box {
  width: 90px;
  height: 90px;
  background-color: rgba(217, 26, 42, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem auto;
}

.thanks-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.thanks-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.thanks-summary {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.summary-pill {
  background-color: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.summary-label {
  color: var(--color-text-light);
}

.summary-val {
  font-weight: 600;
  color: var(--color-navy);
}

.thanks-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.btn-wa-direct:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
}

.thanks-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.thanks-guarantee i {
  color: var(--color-navy);
}

/* ==========================================================================
   DESCARGA DE CATÁLOGO TRAS REGISTRO (PÁGINA GRACIAS)
   ========================================================================== */
.thanks-catalog-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 2px dashed #93C5FD;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.thanks-catalog-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.thanks-catalog-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background-color: #FEE2E2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DC2626;
  font-size: 1.75rem;
}

.thanks-catalog-text {
  flex: 1;
}

.thanks-catalog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.thanks-catalog-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.btn-catalog-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(217, 26, 42, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-catalog-download:hover {
  background-color: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 26, 42, 0.35);
  color: #FFFFFF;
}

@media (max-width: 600px) {
  .thanks-catalog-inner {
    flex-direction: column;
    text-align: center;
  }
  .thanks-catalog-icon {
    margin: 0 auto;
  }
  .btn-catalog-download {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets y Móviles)
   ========================================================================== */

/* Reglas universales para prevenir scroll horizontal y desbordamiento */
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a, button {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* TABLETS Y PANTALLAS MEDIANAS (<= 1024px) */
@media (max-width: 1024px) {
  /* Header responsive: ocultar botón superior y activar menú hamburguesa */
  .header-cta-btn,
  .header-action .header-cta-btn,
  a.header-cta-btn {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
  }

  .mobile-nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem;
  }

  .header-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    padding: 1.5rem;
    box-shadow: var(--shadow-hover);
    border-top: 1px solid var(--color-border);
    gap: 1.25rem;
    z-index: 1001;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1rem;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .hero-pill-badge {
    margin: 0 auto 1rem auto;
  }

  .hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.5rem auto;
    gap: 1.5rem;
  }

  .badge-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .hero-form-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .value-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Catálogo: centrado completo */
  .catalog-card-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
    text-align: center;
    gap: 2.5rem;
  }

  .catalog-text-side {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
  }

  .catalog-text-side .section-pill-tag {
    margin: 0 auto 0.85rem auto;
  }

  .catalog-main-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    margin-left: auto;
    margin-right: auto;
  }

  .catalog-desc {
    text-align: center;
    text-align-last: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
    line-height: 1.65;
  }

  .catalog-check-list {
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 2rem;
  }

  .catalog-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .catalog-preview-side {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .process-timeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .step-connector {
    display: none !important;
  }

  .process-step {
    flex-basis: 30%;
    text-align: center;
  }

  .video-card-container {
    max-width: 720px;
    margin: 0 auto;
  }

  .cta-final-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .cta-left-text {
    text-align: center;
    margin: 0 auto;
  }

  .cta-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .cta-right-branding {
    display: none;
  }

  /* Footer 100% centrado en tablets */
  .footer-content-grid {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
  }

  .footer-brand-block {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .footer-brand-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 0.5rem auto;
    width: auto;
  }

  .footer-official-logo {
    margin: 0;
  }

  .footer-contact-items {
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    gap: 0.85rem;
  }

  .contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    gap: 0.5rem;
    width: auto;
    max-width: 90%;
  }

  .contact-item.contact-address {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 330px;
    margin: 0 auto;
    gap: 0.5rem;
  }

  .contact-item.contact-address i {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--color-navy);
  }

  .contact-item.contact-address span {
    display: inline-block;
    line-height: 1.45;
  }

  .footer-legal-block {
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .footer-nav-links {
    justify-content: center;
  }
}

/* SMARTPHONES Y TABLETS PEQUEÑAS (<= 768px) */
@media (max-width: 768px) {
  /* Ocultar el logo/icono gráfico en cabecera móvil dejando solo texto estilizado */
  .header-brand .seinpro-official-logo {
    display: none !important;
  }

  /* Ocultar definitivamente botón superior de cotización */
  .header-cta-btn,
  .header-action .header-cta-btn,
  a.header-cta-btn {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
  }

  .section-container {
    padding-left: clamp(14px, 4vw, 20px);
    padding-right: clamp(14px, 4vw, 20px);
    width: 100%;
  }

  /* Encabezados y títulos fluidos */
  .section-title {
    font-size: clamp(1.45rem, 4.2vw, 1.85rem);
    text-align: center;
  }

  .section-subtitle {
    font-size: 0.95rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
  }

  .section-header-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  .section-pill-tag {
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero: Centrado completo de badges */
  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.25rem);
    line-height: 1.22;
    text-align: center;
  }

  .hero-description {
    font-size: 0.98rem;
    text-align: center;
  }

  .hero-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 2rem auto;
    gap: 1rem;
  }

  .badge-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-form-card {
    padding: 1.75rem 1.25rem;
    width: 100%;
    margin: 0 auto;
  }

  .form-title {
    font-size: 1.35rem;
    text-align: center;
  }

  /* Propuesta de valor & Servicios */
  .value-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }

  .value-card {
    padding: 1.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    width: 100%;
  }

  .service-item-card {
    padding: 1.15rem 0.85rem;
  }

  .service-name {
    font-size: 0.88rem;
  }

  /* Modalidades */
  .modalities-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .modality-card {
    padding: 1.75rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modality-content {
    text-align: center;
  }

  .modality-name {
    font-size: 1.1rem;
  }

  .text-center-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.75rem;
  }

  /* Sectores */
  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .sector-header {
    justify-content: center !important;
    text-align: center !important;
  }

  .sector-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  /* Proceso de Trabajo */
  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .process-step {
    flex-basis: 100%;
    width: 100%;
  }

  /* Video Institucional */
  .video-card-container {
    width: 100%;
    margin: 0 auto;
  }

  .video-footer-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .video-meta-info {
    justify-content: center;
    text-align: center;
  }

  .btn-wa-sm {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    justify-content: center;
  }

  /* Catálogo Digital: Centrado y justificado armónico */
  .catalog-card-grid {
    padding: 1.75rem 1.25rem;
    gap: 1.75rem;
    width: 100%;
    text-align: center;
  }

  .catalog-text-side {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .catalog-text-side .section-pill-tag {
    margin: 0 auto 0.85rem auto;
  }

  .catalog-main-title {
    font-size: clamp(1.4rem, 4vw, 1.75rem);
    line-height: 1.25;
    text-align: center;
    margin: 0 auto 0.85rem auto;
    display: block;
    width: 100%;
  }

  .catalog-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    text-align-last: center;
    margin: 0 auto 1.5rem auto;
    max-width: 580px;
    display: block;
    width: 100%;
  }

  .catalog-check-list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 380px;
    width: 100%;
  }

  .catalog-check-list li {
    font-size: 0.88rem;
  }

  .catalog-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin: 0 auto;
  }

  .catalog-btn-group .btn-cta-red,
  .catalog-btn-group .btn-outline-dark,
  .catalog-btn-group a[download] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Modal / Visor de Catálogo Interactivo Desplegable */
  .catalog-interactive-viewer {
    width: calc(100% - 16px) !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    margin: 1.25rem auto 0 auto !important;
    padding: 0.75rem !important;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  }

  .viewer-header-bar {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
    padding-bottom: 0.75rem;
  }

  .viewer-page-name {
    text-align: center;
    font-size: 0.88rem;
    width: 100%;
  }

  .viewer-display-area {
    padding: 0.5rem 0;
    min-height: auto;
  }

  .viewer-page-container img {
    max-height: 55vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .viewer-thumbnails-bar {
    padding: 0.6rem 0.35rem;
    gap: 0.4rem;
  }

  .thumb-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }

  .v-arrow {
    display: none !important;
  }

  .wa-tooltip-text {
    display: none !important;
  }

  /* CTA Final */
  .section-cta-final {
    padding: 3.5rem 0;
  }

  .cta-final-title {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem);
    line-height: 1.25;
    text-align: center;
  }

  .cta-final-subtitle {
    font-size: 0.95rem;
    text-align: center;
  }

  .cta-left-text .btn-cta-red {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* ==================== FOOTER 100% CENTRADO EN MÓVIL ==================== */
  .main-footer {
    text-align: center;
    padding: 3rem 0 2rem 0;
  }

  .footer-content-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
  }

  .footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .footer-brand-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 0.5rem auto;
    width: auto;
  }

  .footer-official-logo {
    display: block;
    margin: 0;
    height: 40px;
  }

  .footer-tagline {
    text-align: center;
    margin: 0 auto 0.25rem auto;
    width: 100%;
  }

  .footer-ruc {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .footer-contact-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    gap: 0.85rem;
  }

  .contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    gap: 0.5rem;
    width: auto;
    max-width: 90%;
  }

  .contact-item.contact-address {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 330px;
    margin: 0 auto;
    gap: 0.5rem;
  }

  .contact-item.contact-address i {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--color-navy);
    font-size: 1.05rem;
  }

  .contact-item.contact-address span {
    display: inline-block;
    line-height: 1.45;
  }

  .footer-legal-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    gap: 0.5rem;
  }

  .footer-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    margin: 0 auto 0.5rem auto;
    gap: 0.6rem;
    width: 100%;
  }

  .copyright-text {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
}

/* SMARTPHONES PEQUEÑOS Y EXTRA PEQUEÑOS (<= 480px, 390px, 375px, 360px, 320px) */
@media (max-width: 480px) {
  .header-container {
    padding: 0.65rem 1rem;
    justify-content: space-between;
    align-items: center;
  }

  .header-brand {
    gap: 0;
  }

  .header-brand .seinpro-official-logo {
    display: none !important;
  }

  .brand-logo-text .logo-bold {
    font-size: 1.45rem;
    letter-spacing: 0.02em;
  }

  .brand-logo-text .logo-bar {
    height: 3px;
    width: 100%;
  }

  .hero-section {
    padding: 2.25rem 0;
  }

  .hero-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    text-align: center;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 290px;
    margin: 1.25rem auto 1.75rem auto;
  }

  .badge-item {
    width: 100%;
    min-width: 210px;
    justify-content: flex-start;
    margin: 0 auto;
  }

  .hero-form-card {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 340px;
    margin: 0 auto;
  }

  .service-item-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1rem 1.25rem;
  }

  .service-icon-box {
    margin-bottom: 0;
  }

  .catalog-main-title {
    font-size: 1.35rem;
    text-align: center;
  }

  .catalog-desc {
    font-size: 0.9rem;
    text-align: center;
    text-align-last: center;
  }

  .catalog-btn-group .btn-cta-red,
  .catalog-btn-group .btn-outline-dark {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  .floating-wa-btn {
    width: 54px;
    height: 54px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }

  .btn-cta-red, .btn-outline-dark {
    width: 100%;
    padding: 0.8rem 1.25rem;
  }
}
