/*
Theme Name: TI-Impulso Theme
Theme URI: https://ti-impulso.cl
Author: TI-Impulso Tech Team
Author URI: https://ti-impulso.cl
Description: Tema corporativo de alto rendimiento para TI-Impulso. Con soporte responsive total, formulario interactivo de servicios y logo maximizado.
Version: 1.6.1
License: GNU General Public License v2 or later
Text Domain: ti-impulso
*/

/* ==========================================================================
   DESIGN SYSTEM & COLOR TOKENS
   ========================================================================== */
:root {
  --purple-primary: #7C5CFC;
  --indigo-accent: #3B38A6;
  --bg-card: #151C2E;
  --bg-dark: #0B0F19;
  
  --grad-cta: linear-gradient(135deg, #7C5CFC, #3B38A6);
  --grad-turquoise: linear-gradient(135deg, #06b6d4, #0ea5e9);

  /* Fondos Oscuros para Tarjetas de Equipo */
  --purple-card-bg: linear-gradient(135deg, #3b0764, #4c1d95);
  --turquoise-card-bg: linear-gradient(135deg, #075985, #0369a1);

  /* Fondos Claros para Frescura */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;

  --text-light-main: #f8fafc;
  --text-light-muted: #94a3b8;
  --text-dark-main: #0f172a;
  --text-dark-muted: #475569;

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-card: rgba(124, 92, 252, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(124, 92, 252, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(124, 92, 252, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(124, 92, 252, 0.6);
  filter: brightness(1.1);
}

.btn-turquoise {
  background: var(--grad-turquoise);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.4);
}

.btn-turquoise:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(6, 182, 212, 0.6);
  filter: brightness(1.1);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: var(--transition);
}

.btn-circle:hover {
  background: var(--purple-primary);
  color: #ffffff;
  border-color: var(--purple-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVEGACIÓN CON LOGO OFICIAL
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0;
  transition: all 0.3s ease;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 120px;
}

.header-brand,
.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* LOGO DE LA PARTE SUPERIOR IZQUIERDA (EL TRIPLE DE GRANDE: 120px de alto, 400px de ancho máx) */
.site-header .brand-logo-img,
.site-header .custom-logo,
.site-header .header-brand img,
.site-header .custom-logo-link img {
  height: 120px !important;
  max-height: 120px !important;
  width: auto !important;
  max-width: 400px !important;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

/* LOGO EN EL PIE DE PÁGINA (MANTIENE TAMAÑO EQUILIBRADO) */
.site-footer .brand-logo-img,
.site-footer .header-brand img,
.footer-col-about .brand-logo-img {
  height: 48px !important;
  max-height: 52px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link,
.nav-menu li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  position: relative;
  padding: 0.4rem 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  color: #ffffff;
}

.nav-link.active::after,
.nav-link:hover::after,
.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after,
.nav-menu li.current_page_item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--purple-primary);
  border-radius: 2px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-left: auto;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle.active {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: #ffffff;
}

/* ==========================================================================
   HERO / INICIO CENTRADO CON FONDO DE INFORMÁTICA
   ========================================================================== */
.hero-centered-section {
  position: relative;
  padding: 7rem 0 6rem;
  background: var(--bg-dark) url('./assets/images/ti_hero_bg.png') center/cover no-repeat;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.hero-centered-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 15, 25, 0.75) 0%, rgba(11, 15, 25, 0.95) 85%);
  z-index: 1;
}

.hero-centered-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(124, 92, 252, 0.15);
  border: 1px solid rgba(124, 92, 252, 0.4);
  color: #a78bfa;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.hero-centered-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-centered-title .highlight {
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-centered-desc {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  max-width: 750px;
  line-height: 1.7;
}

.hero-centered-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section-light {
  padding: 5.5rem 0;
  background-color: var(--bg-light);
  color: var(--text-dark-main);
}

.section-white {
  padding: 5.5rem 0;
  background-color: var(--bg-white);
  color: var(--text-dark-main);
}

.section-dark {
  padding: 5.5rem 0;
  background-color: var(--bg-dark);
  color: #ffffff;
}

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

.section-tag {
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--purple-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title-dark {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark-main);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title-light {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle-dark {
  font-size: 1.1rem;
  color: var(--text-dark-muted);
}

.section-subtitle-light {
  font-size: 1.1rem;
  color: #94a3b8;
}

/* ==========================================================================
   SERVICIOS DISPOSICIÓN CAPTURA 4 (TARJETAS GRANDES ALTERNADAS #151C2E)
   ========================================================================== */
.services-container-capture4 {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-card-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border-card);
}

.service-card-block.reverse {
  direction: rtl;
}

.service-card-block.reverse > * {
  direction: ltr;
}

.service-card-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: bottom center;
  background-color: var(--bg-card);
}

.service-card-content {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
}

.service-card-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.service-card-text {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-me-interesa {
  background: var(--grad-cta);
  color: #ffffff;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.35);
}

.btn-me-interesa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 92, 252, 0.55);
}

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  border: 2px solid rgba(124, 92, 252, 0.35);
  background: var(--bg-card);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.about-text {
  color: var(--text-dark-muted);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   NUESTRO EQUIPO (TARJETAS PROFUNDAS SIN FRANJA BLANCA)
   ========================================================================== */
.team-subsection-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 3.5rem 0 1.75rem;
  color: var(--text-dark-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.team-card-photo {
  height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.team-card-ti .team-card-info {
  background: var(--purple-card-bg);
  padding: 1.35rem 1.5rem;
  margin: 0;
  border-top: none;
}

.team-card-collab .team-card-info {
  background: var(--turquoise-card-bg);
  padding: 1.35rem 1.5rem;
  margin: 0;
  border-top: none;
}

.team-member-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.team-member-role {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  line-height: 1.4;
}

.team-motivation-box {
  margin-top: 5rem;
  margin-bottom: 6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-motivation-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.team-motivation-text {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto 2.25rem;
}

/* ==========================================================================
   NUESTROS CLIENTES - TARJETA CENTRAL EN PÚRPURA CON MÁXIMA LEGIBILIDAD
   ========================================================================== */
.carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 1.35rem);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.35;
  transform: scale(0.9);
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.client-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark-main);
  margin-bottom: 0.35rem;
}

.client-category {
  font-size: 0.88rem;
  color: var(--text-dark-muted);
}

/* TARJETA CENTRAL ACTIVA: RESALTADO EN PÚRPURA VIBRANTE CON TEXTO BLANCO 100% LEGIBLE */
.carousel-slide.active {
  opacity: 1;
  transform: scale(1.06);
  background: linear-gradient(135deg, #7C5CFC, #3B38A6) !important;
  border: 1px solid #7C5CFC !important;
  box-shadow: 0 18px 40px rgba(124, 92, 252, 0.45) !important;
  color: #ffffff !important;
}

.carousel-slide.active .brand-title,
.carousel-slide.active .brand-title span,
.carousel-slide.active .client-name,
.carousel-slide.active .client-category {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.carousel-slide.active .brand-title span {
  color: #a78bfa !important;
}

.client-slide-img {
  max-width: 140px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.carousel-slide.active .client-slide-img {
  filter: brightness(1.15) contrast(1.05);
}

/* ==========================================================================
   PÁGINA NUESTROS CLIENTES - LISTA DE TARJETAS
   ========================================================================== */
.clients-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.client-showcase-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.client-showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-primary);
  box-shadow: 0 20px 40px rgba(124, 92, 252, 0.15);
}

.client-showcase-img-wrap {
  width: 100%;
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.client-showcase-img {
  max-width: 85%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.client-showcase-card:hover .client-showcase-img {
  transform: scale(1.04);
}

.client-showcase-info {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.client-showcase-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark-main);
  margin-bottom: 0.4rem;
}

.client-showcase-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.client-showcase-desc {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   FOOTER (CON LOGO OFICIAL)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--purple-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom-col {
  display: flex;
  align-items: center;
  flex: 1;
}

.footer-col-left {
  justify-content: flex-start;
}

.footer-col-center {
  flex: 2;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #cbd5e1;
}

.footer-col-right {
  justify-content: flex-end;
}

.footer-badge-img {
  height: 36px;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: var(--transition);
  opacity: 0.95;
}

.footer-badge-img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ==========================================================================
   SISTEMA RESPONSIVE INTEGRAL PARA TODOS LOS DISPOSITIVOS
   ========================================================================== */

/* 1. PANTALLAS GRANDES Y LAPTOPS (Hasta 1200px) */
@media (max-width: 1200px) {
  .site-header .brand-logo-img,
  .site-header .custom-logo,
  .site-header .header-brand img,
  .site-header .custom-logo-link img {
    height: 100px !important;
    max-height: 100px !important;
    max-width: 330px !important;
  }
  .header-wrapper {
    min-height: 100px;
  }
  .nav-menu {
    gap: 1.25rem;
  }
  .hero-centered-title {
    font-size: 2.7rem;
  }
}

/* 2. TABLETS Y DISPOSITIVOS MEDIANOS (Hasta 992px) */
@media (max-width: 992px) {
  .site-header .brand-logo-img,
  .site-header .custom-logo,
  .site-header .header-brand img,
  .site-header .custom-logo-link img {
    height: 85px !important;
    max-height: 85px !important;
    max-width: 280px !important;
  }
  .header-wrapper {
    min-height: 85px;
    position: relative;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    z-index: 9999;
  }
  .header-nav.active {
    display: flex !important;
    animation: fadeInDown 0.25s ease forwards;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.15rem;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 0.4rem 0;
    display: block;
    text-align: center;
    width: 100%;
  }
  .header-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
  }
  .hero-centered-title {
    font-size: 2.4rem;
  }
  .service-card-block,
  .service-card-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .service-card-block.reverse > * {
    direction: ltr !important;
  }
  .service-card-image {
    min-height: 240px;
    max-height: 340px;
  }
  .service-card-content {
    padding: 2.5rem 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .carousel-slide {
    flex: 0 0 calc(50% - 1rem);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .contact-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 3. CELULARES Y PANTALLAS PEQUEÑAS (Hasta 768px) */
@media (max-width: 768px) {
  .site-header .brand-logo-img,
  .site-header .custom-logo,
  .site-header .header-brand img,
  .site-header .custom-logo-link img {
    height: 70px !important;
    max-height: 70px !important;
    max-width: 230px !important;
  }
  .header-wrapper {
    min-height: 70px;
  }
  .hero-centered-section {
    padding: 4.5rem 0 3.5rem;
  }
  .hero-centered-title {
    font-size: 2.05rem;
    line-height: 1.3;
  }
  .hero-centered-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  .hero-centered-buttons .btn {
    width: 100%;
    text-align: center;
  }
  .carousel-slide {
    flex: 0 0 100%;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }
  .footer-bottom-col {
    justify-content: center !important;
    width: 100%;
  }
  .footer-col-left { order: 1; }
  .footer-col-center { order: 2; }
  .footer-col-right { order: 3; }
}

/* 4. CELULARES COMPACTOS (Hasta 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .site-header .brand-logo-img,
  .site-header .custom-logo,
  .site-header .header-brand img,
  .site-header .custom-logo-link img {
    height: 55px !important;
    max-height: 55px !important;
    max-width: 190px !important;
  }
  .header-wrapper {
    min-height: 55px;
  }
  .hero-centered-title {
    font-size: 1.75rem;
  }
  .section-white,
  .section-light,
  .section-dark {
    padding: 3.5rem 0;
  }
  .section-title-dark,
  .section-title-light {
    font-size: 1.75rem;
  }
  .service-card-content {
    padding: 1.75rem 1.25rem;
  }
  .service-card-title {
    font-size: 1.35rem;
  }
  .btn-me-interesa {
    width: 100%;
    justify-content: center;
  }
  .native-contact-form-wrapper {
    padding: 24px 16px;
  }
  .contact-form-card-title {
    font-size: 1.5rem;
  }
  .native-contact-form.with-icons input,
  .native-contact-form.with-icons select,
  .native-contact-form.with-icons textarea {
    padding: 12px 14px 12px 42px;
    font-size: 0.95rem;
  }
  .native-contact-form .input-icon {
    left: 12px;
    font-size: 20px;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PÁGINA DE CONTACTO (ESTILO NATIVO 2 COLUMNAS - REF. TRANSPORTES OLIVARES)
   ========================================================================== */
.contact-page-wrapper {
  padding: 80px 0 100px;
  background-color: var(--bg-light);
  min-height: 70vh;
}

.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form-column {
  width: 100%;
}

.native-contact-form-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border-light);
}

.contact-form-card-title {
  text-align: center;
  margin-bottom: 28px;
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--text-dark-main);
}

.contact-alert-success {
  background-color: #d1fae5;
  color: #065f46;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #a7f3d0;
}

.contact-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #fecaca;
}

.native-contact-form .form-group {
  position: relative;
  margin-bottom: 20px;
}

.native-contact-form .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple-primary);
  pointer-events: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.native-contact-form.with-icons input, 
.native-contact-form.with-icons select,
.native-contact-form.with-icons textarea {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: var(--transition);
  box-sizing: border-box;
}

.native-contact-form select,
.native-contact-form.with-icons select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237C5CFC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}

.native-contact-form select option {
  color: #0f172a;
  background-color: #ffffff;
  padding: 10px 14px;
}

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

.native-contact-form input:focus,
.native-contact-form select:focus,
.native-contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.15);
}

.native-contact-form .btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #7C5CFC, #3B38A6);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.35);
  transition: var(--transition);
}

.native-contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 92, 252, 0.55);
  filter: brightness(1.08);
}

.contact-wa-divider {
  margin-top: 28px;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.contact-wa-text {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark-muted);
}

.btn-whatsapp-direct {
  background-color: #25D366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-direct:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

/* Columna Derecha de Información */
.contact-info-column {
  width: 100%;
}

.contact-info-content {
  padding: 10px 0;
}

.contact-info-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark-main);
  margin-bottom: 24px;
  position: relative;
}

.contact-info-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--purple-primary);
  border-radius: 2px;
}

.contact-info-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin-bottom: 30px;
  margin-top: 20px;
}

.contact-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason-icon {
  background: rgba(124, 92, 252, 0.12);
  color: var(--purple-primary);
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
}

.reason-desc h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark-main);
  margin: 0 0 6px 0;
}

.reason-desc p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark-muted);
  margin: 0;
}

/* Canales Directos en Columna Derecha */
.contact-direct-channels {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  background: rgba(124, 92, 252, 0.08);
  color: var(--purple-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.channel-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-dark-muted);
}

.channel-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark-main);
}

/* Responsividad para la Página de Contacto */
@media (max-width: 992px) {
  .contact-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-info-title {
    text-align: center;
  }
  .contact-info-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .contact-info-lead {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .native-contact-form-wrapper {
    padding: 28px 20px;
  }
}

