/* RESET SIMPLE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

/* SECCIONES GENERALES */
main {
  margin-top: 80px;
}

.section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  background: #02081f;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-header p {
  color: #9ca3af;
}

/* =========================
   HEADER GLASS + NEÓN + SCROLL
========================= */

.header-elegante {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: padding 0.3s ease, backdrop-filter 0.3s ease, background 0.3s ease;
  padding: 16px 20px;
}

.header-scrolled {
  padding: 8px 20px !important;
  background: rgba(5, 8, 22, 0.92) !important;
  backdrop-filter: blur(16px);
}

/* Línea fosforescente */
.header-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #5cc9ff, #38bdf8, #7dd3fc);
  box-shadow: 0 0 25px #38bdf8, 0 0 45px #7dd3fc;
}

/* NAV */
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* Contenedor del logo (en el header) */
.logo {
  display: flex;
  align-items: center;
  height: 55px;               /* Altura ideal del menú */
}

/* Imagen del logo */
.logo img {
  height: 100%;               /* La imagen se adapta al alto del menú */
  width: auto;                /* Mantiene proporción */
  object-fit: contain;        /* Evita deformaciones */
  display: block;
}

.nav-menu-elegante {
  display: flex;
  gap: 22px;
}

.nav-menu-elegante a {
  color: #dbeafe;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: 0.25s;
}

/* Subrayado neón */
.nav-menu-elegante a::after {
  content: "";
  height: 2px;
  width: 0;
  background: #7dd3fc;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
  box-shadow: 0 0 12px #38bdf8;
}

.nav-menu-elegante a:hover::after {
  width: 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón REPSE */
.repse-btn {
  background: #38bdf8;
  border: none;
  padding: 8px 22px;
  border-radius: 999px;
  color: #020617;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 0 15px #38bdf8;
  cursor: pointer;
  transition: 0.3s;
}

.repse-btn:hover {
  box-shadow: 0 0 25px #7dd3fc;
  transform: scale(1.05);
}

/* Toggle móvil */
.mobile-nav-toggle {
  font-size: 26px;
  color: #7dd3fc;
  cursor: pointer;
  display: none;
}

/* MENÚ RESPONSIVE */
.mobile-nav  {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100vh;
  background: rgba(12, 18, 40, 0.65);
  backdrop-filter: blur(18px);
  padding: 120px 45px 20px;
  transition: right .55s cubic-bezier(.22, .61, .36, 1);
  box-shadow: -15px 0 45px rgba(56, 189, 248, 0.15);
  z-index: 99999;
  border-left: solid 1px rgba(255,255,255,0.1);
}





/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}


/* =========================
   TARJETAS GENÉRICAS
========================= */

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.info-card,
.service-card,
.quote-card,
.portfolio-card {
  background: #020818;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.info-card h3,
.service-card h3,
.portfolio-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.info-card ul {
  margin-left: 18px;
}

.quote-card .quote-role {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 8px;
}

.quote-card .quote-text {
  font-style: italic;
}

/* =========================
   PORTAFOLIO
========================= */

.portfolio-filters {
  text-align: center;
  margin-bottom: 20px;
}

.filter-btn {
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 6px 14px;
  margin: 0 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  cursor: pointer;
}

.filter-btn.active {
  background: #38bdf8;
  color: #020617;
}

/* =========================
   CONTACTO
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p {
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020818;
  color: #e5e7eb;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.contact-form textarea {
  border-radius: 16px;
  resize: vertical;
}

.contact-form .form-row {
  display: flex;
  gap: 10px;
}

.contact-form button {
  background: #38bdf8;
  border-radius: 999px;
  border: none;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: #020617;
  box-shadow: 0 0 15px #38bdf8;
}

.form-message {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #9ca3af;
}

.form-message .success {
  display: none; /* Aquí podrías manejar con JS real si quieres */
}

/* =========================
   FOOTER
========================= */

#footer {
  background: #020617;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-col a:hover {
  color: #e5e7eb;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 140px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020818;
  color: #e5e7eb;
  padding: 8px 10px;
}

.newsletter-form button {
  background: #38bdf8;
  border-radius: 999px;
  border: none;
  padding: 8px 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  color: #020617;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .nav-menu-elegante {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-car {
    background-attachment: scroll;
  }
}

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

  .contact-form .form-row {
    flex-direction: column;
  }

  .section {
    padding: 60px 16px;
  }
}



/* ==========================================================
   MENÚ MÓVIL PROFESIONAL
=========================================================== */

.mobile-nav-toggle:hover {
  transform: scale(1.1);
  color: #bde8ff;
}

/* Menú */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 70%;
  background: rgba(14, 18, 40, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: -8px 0 25px rgba(56, 189, 248, 0.2);
  padding: 120px 40px;
  transition: right .45s cubic-bezier(.19,1,.22,1);
  z-index: 20000;
}



/* Botón cerrar */
.close-mobile {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 32px;
  color: #7dd3fc;
  cursor: pointer;
  transition: .3s;
}

.close-mobile:hover {
  color: #bde8ff;
  transform: rotate(90deg);
}

/* ENLACES MENÚ MOVIL */
.mobile-nav a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.8px;
  margin-bottom: 32px;
  color: #e2e8f0;
  text-decoration: none;
  opacity: 0;
  transform: translateX(25px);
  animation: slideIn .6s forwards;
  position: relative;
  padding-bottom: 6px;
}

/* Delay progresivo para cada elemento */
.mobile-nav a:nth-child(2) { animation-delay: .1s; }
.mobile-nav a:nth-child(3) { animation-delay: .2s; }
.mobile-nav a:nth-child(4) { animation-delay: .3s; }
.mobile-nav a:nth-child(5) { animation-delay: .4s; }
.mobile-nav a:nth-child(6) { animation-delay: .5s; }


/* Mayor entre renglones */
.mobile-nav a:not(:last-child) {
  margin-bottom: 10px;
}

/* Subrayado neón suave */
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  height: 2px;
  border-radius: 20px;
  background: linear-gradient(90deg, #38bdf8, #9b9d9e);
  box-shadow: 0 0 10px #38bdf8;
  transition: width .3s;
}

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

/* Efecto al presionar */
.mobile-nav a:active {
  transform: translateX(5px);
  color: #7dd3fc;
}

/* REPSE en móvil */
.mobile-repse {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  letter-spacing: 1px;
  border-radius: 40px;
  background: linear-gradient(90deg,#38bdf8,#7dd3fc);
  box-shadow: 0 0 18px #38bdf8;
  color: black;
  font-weight: 700;
  font-size: 18px;
}

/* Apariencia refined en texto */
.mobile-nav a, .mobile-repse {
  opacity: 0;
  animation: fadeSlide .7s forwards;
}


@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(25px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mostrar el botón de menú solo en móvil */
@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: block;
  }
}


/* ==========================================================
   POPUP REPSE
=========================================================== */

.repse-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.repse-popup-content {
  background: rgba(10, 15, 40, .9);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px #38bdf8;
  animation: pop .4s ease;
  position: relative;
}

.close-repse {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 25px;
  color: #7dd3fc;
}

.repse-image {
  max-width: 350px;
  border-radius: 10px;
}

/* Animación */
@keyframes pop {
  from { transform: scale(.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* Mostrar ícono menú en móvil */
.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 32px;
  color: #38bdf8;
}

@media (max-width: 900px) {
  .nav-menu-elegante {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Menú móvil */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: rgba(5, 8, 22, .88);
  backdrop-filter: blur(12px);
  padding: 80px 30px;
  transition: .45s ease;
  z-index: 99999;
  box-shadow: -8px 0 25px rgba(56,189,248,.3);
}


.close-mobile {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #7dd3fc;
  font-size: 30px;
  cursor: pointer;
}


/* TIPOGRAFÍA GLOBAL */
body, button, a, nav {
  font-family: "Poppins", sans-serif !important;
}

/* BOTÓN MENÚ MÓVIL */
.mobile-nav-toggle {
  font-size: 38px;
  cursor: pointer;
  color: #7dd3fc;
  transition: .3s;
}

.mobile-nav-toggle:hover {
  transform: scale(1.15);
  text-shadow: 0 0 12px #38bdf8;
}

/* MENÚ MÓVIL ELEGANTE */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  backdrop-filter: blur(25px);
  background: rgba(10,15,40,0.70);
  box-shadow: -5px 0 25px rgba(0,200,255,0.25);
  padding: 120px 45px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: right .45s cubic-bezier(.19,1,.22,1);
  z-index: 99999;
}

/* MENÚ ACTIVO Bueno */
.mobile-nav-active {
  right: 0;
}



/* Estilo hover moderno */
.mobile-nav a:hover {
  color: #7dd3fc;
  text-shadow: 0 0 12px #38bdf8;
}

/* REPSE EN MENÚ MOVIL */
.mobile-repse {
  margin-top: 20px;
  align-self: flex-start;
}

/* Botón cerrar */
.close-mobile {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 30px;
  color: #7dd3fc;
  cursor: pointer;
  transition: .3s;
}

.close-mobile:hover {
  transform: rotate(90deg);
  color: #38bdf8;
}

/* Animación elegante */
@keyframes fadeInSlide {
  from { opacity: 0; transform: translateX(25px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   MENÚ MÓVIL PREMIUM – EFECTO IPHONE + 3D + PARTÍCULAS
============================================================ */

:root {
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
  --text-color: #e2e8f0;
  --accent: #38bdf8;
}

/* Fondo + Blur + Animación 3D */
.mobile-nav-premium {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 75%;
  backdrop-filter: blur(25px) saturate(200%);
  background: rgba(12, 18, 35, 0.55);
  box-shadow: -20px 0 60px rgba(56, 189, 248, 0.25);
  transition: transform 0.55s cubic-bezier(.19,1,.22,1), opacity .4s;
  transform: rotateY(-40deg) translateX(100%);
  transform-origin: right center;
  opacity: 0;
  z-index: 999999;
  overflow: hidden;
}

.mobile-nav-active {
  right: 0;
  transform: rotateY(0deg) translateX(0%);
  opacity: 1;
}

/* Partículas */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Contenido */
.mobile-content {
  position: relative;
  padding: 60px 35px;
  font-family: var(--font-primary);
}

.mobile-content a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  padding: 18px 0;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: .3s ease;
}

.mobile-content a i {
  font-size: 24px;
  color: var(--accent);
  transition: .3s ease;
}

.mobile-content a:hover {
  padding-left: 10px;
  color: #fff;
  text-shadow: 0 0 10px var(--accent);
}

.mobile-content a:hover i {
  transform: translateX(5px);
}

/* Botón REPSE */
.mobile-repse {
  margin-top: 35px;
  width: 100%;
  font-size: 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Botón cerrar */
.close-mobile {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
  color: var(--accent);
  z-index: 10;
}



/* ---------------------- HERO ---------------------- */
/* ---------------------- HERO ---------------------- */
/* -----------------------------------
   HERO BASE
----------------------------------- */
.hero  {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* -----------------------------------
   BACKGROUNDS ROTANDO
----------------------------------- */
.hero-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  animation: sliderZoom 10s infinite ease-in-out;
  opacity: 0;
  transition: opacity 2.4s ease;
}



/* Tres imágenes */
.hero-bg:nth-child(1) { background-image: url("car1.jpg"); animation-delay: 0s; }
.hero-bg:nth-child(2) { background-image: url("car2.jpg"); animation-delay: 3s; }
.hero-bg:nth-child(3) { background-image: url("car3.jpg"); animation-delay: 6s; }



/* Fondo cambia suave */
@keyframes sliderZoom {
  0%   { opacity: 0; transform: scale(1); }
  10%  { opacity: 1; transform: scale(1.07); }
  35%  { opacity: 1; transform: scale(1.12); }
  45%  { opacity: 0; transform: scale(1.13); }
  100% { opacity: 0; }
}
/* 3 IMÁGENES TIPO VIDEO */
.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 6s infinite;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 7s; }
.hero-slider .slide:nth-child(3) { animation-delay: 14s; }

@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1); }
  10%  { opacity: 1; }
  33%  { opacity: 1; transform: scale(1.06); }
  43%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1); }
}

/* -----------------------------------
   CAPA OSCURA
----------------------------------- */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.3);
  backdrop-filter: brightness(0.75);
  z-index: 3;
}

/* -----------------------------------
   LUZ DINÁMICA SIGUE AL MOUSE
----------------------------------- */
.mouse-light {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 4;
}

/* -----------------------------------
   TEXTO
----------------------------------- */
.hero-content {
  position: relative;
  z-index: 6;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 20px;
  margin-top: -40px;
}
/* Etiqueta FSQ PRIME */
.hero-tag {
  font-size: 16px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 14px;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.hero-tag span {
  width: 28px;
  height: 2px;
  background: #38bdf8;
}

/* TÍTULO ESTÁTICO */
.hero-title {
  font-size: 45px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 3px 10px rgba(0,255,255,0.4);
}
/* Subtítulo FIJO */
.hero-subtitle {
  font-size: 20px;
  color: #e0e0e0;
  margin-bottom: 35px;
  font-weight: 500;
}




/* BOTONES */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-premium {
  padding: 13px 32px;
  border-radius: 40px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  transition: .3s;
}

.btn-premium:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid #38bdf8;
}

/
/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .btn-premium { padding: 11px 26px; }
}

/* Texto con transición suave */
.fade-text {
  opacity: 1;
  transition: opacity .7s ease;
}

/* Fade-out */
.fade-text.fade-out {
  opacity: 0;
}

/* Evita saltos de altura */
.hero-title {
  min-height: 55px;
}

/* ==========================================
   QUIÉNES SOMOS — FONDO PREMIUM
========================================== */
/* ==============================
   SECCIÓN ABOUT
============================== */
.about-section {
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
  background: #04070f;
}

/* Fondo animado del carro */
.about-car-bg {
  position: absolute;
  inset: 0;
  background: url("car2.jpg") center/cover no-repeat;
  filter: brightness(0.35);
  opacity: 0.6;
  animation: carFloat 9s ease-in-out infinite alternate;
  z-index: -2;
}

@keyframes carFloat {
  0%   { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-18px) scale(1.03); }
}

/* Capa oscura premium */
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #04070fa0 40%, #04070f50);
  z-index: -1;
}

/* ==============================
   LAYOUT INTERNO
============================== */
.about-inner {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 55px;
  align-items: center;
}

/* ==============================
   TEXTOS
============================== */
.about-title {
  font-size: 46px;
  font-weight: 800;
  color: white;
}
.about-title span {
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  display: block;
  margin-bottom: 14px;
  border-radius: 6px;
}

.about-text {
  color: #cbd6f3;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* LISTA */
.about-list {
  list-style: none;
  padding-left: 0;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a4c7ff;
  margin-bottom: 12px;
  font-size: 18px;
  transition: 0.3s;
}
.about-list li:hover {
  color: #38bdf8;
  transform: translateX(6px);
}
.about-list i {
  font-size: 22px;
  color: #38bdf8;
}

/* ==============================
   IMAGEN DERECHA
============================== */
.about-image-area {
  display: flex;
  justify-content: center;
}
.about-img {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  background: url("car2.jpg") center/cover no-repeat;
  box-shadow: 0 0 28px rgba(0,140,255,0.4);
}

/* ==============================
   TARJETAS CONTADORAS (Abajo)
============================== */
.stats-container {
  max-width: 1250px;
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.stat-card {
  padding: 25px 32px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  width: 260px;
  transition: 0.35s;
}
.stat-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 0 40px rgba(56,189,248,0.35);
}

.stat-number {
  color: white;
  font-size: 40px;
  font-weight: 800;
}
.stat-label {
  color: #bcd6ff;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 992px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image-area { order: -1; }
  .about-list li { justify-content: center; }
  .stats-container { justify-content: center; }
}

/* ============================================
   MISION VISION Y VALORES
============================================ */
/* ============================================
   MISION VISION Y VALORES
============================================ */

.culture-section {
  position: relative;
  padding: 120px 40px;
  color: #fff;
  overflow: hidden;
  background: url("Vision.jpg") center/cover no-repeat fixed;
}

.culture-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  z-index: -1;
}

.culture-header {
  text-align: center;
  margin-bottom: 60px;
}

.culture-header span {
  display: block;
  width: 70px;
  height: 5px;
  border-radius: 4px;
  margin: 0 auto 14px auto;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.culture-header h2 {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

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

.culture-card {
  padding: 35px 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 18px rgba(0,150,255,0.07);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.culture-card::before {
  content: "";
  position: absolute;
  height: 180%;
  width: 40px;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9, transparent);
  top: -30%;
  left: -60px;
  transform: rotate(20deg);
  opacity: 0.3;
  transition: .4s ease;
}

.culture-card:hover::before {
  left: 120%;
}

.culture-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(56,189,248,0.28);
}

/* ========= Íconos ========= */
.card-icon {
  width: 70px;
  height: 70px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(14,165,233,0.25));
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  transition: .35s ease;
}

.culture-card:hover .card-icon {
  transform: scale(1.08);
}

.card-icon svg {
  width: 40px;
  height: 40px;
  color: #38bdf8;
}

/* ========= TITULOS ========= */
.culture-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ========= TEXTO ========= */
.culture-card p {
  color: #d0d8e8;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 17px;
}

/* ========= LISTA ========= */
.values-list {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 0;
}

.values-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: #bcd6ff;
  font-size: 17px;
}

.values-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-size: 14px;
}

/* ========= Animación Reveal ========= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s cubic-bezier(.19,1,.22,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================================
      📌 CORRECCIÓN PARA SEPARAR ICONO IZQUIERDA - CARRO DERECHA
======================================================= */
.card-icon.two-icons {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 10px !important;
}

.card-icon.two-icons svg {
  width: 36px !important;
  height: 36px !important;
  color: #38bdf8 !important;
}

/* ===========================
   SECCIÓN CLIENTES
=========================== */

.clients-section {
  padding: 120px 40px;
  background: linear-gradient(180deg, #05070f, #0a0f1c);
  position: relative;
  overflow: hidden;
}

/* Encabezado */
.clients-header {
  text-align: center;
  margin-bottom: 50px;
}

.clients-header span {
  width: 70px;
  height: 4px;
  background: #38bdf8;
  display: block;
  margin: 0 auto 12px auto;
  border-radius: 4px;
}

.clients-header h2 {
  color: white;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

.clients-header p {
  color: #9bb7d6;
  font-size: 18px;
  margin-top: 10px;
}

/* ===========================
   CARRUSEL DE CLIENTES
=========================== */

.clients-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  width: calc(400px * 22); /* 11 logos x 2 duplicados */
  animation: slideClients 28s linear infinite;
}

.clients-track img {
  width: 400px;
  height: 173px;
  object-fit: contain;
  filter: brightness(0.85) grayscale(30%);
  margin: 0 40px;
  transition: 0.3s ease;
  opacity: 0.9;
}

.clients-track img:hover {
  filter: brightness(1.2) grayscale(0%);
  transform: scale(1.05);
  opacity: 1;
}

/* Animación suave */
@keyframes slideClients {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .clients-track img {
    width: 250px;
    margin: 0 25px;
  }
}

@media (max-width: 600px) {
  .clients-track img {
    width: 170px;
    margin: 0 18px;
  }
}

#clients {
  background: linear-gradient(180deg, #474747 0%, #797676 50%, #d8d8d8 100%);
  padding: 110px 40px;
  position: relative;
  overflow: hidden;
}

/* ligera textura */
#clients::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://i.imgur.com/DrtZr3K.png") repeat;
  opacity: 0.04;
  z-index: 0;
}

#clients * {
  position: relative;
  z-index: 1;
}


/* =============================== */
/* SECCIÓN SERVICIOS – HÍBRIDO */
/* =============================== */

.services-section {
  padding: 120px 40px;
  position: relative;
  background: linear-gradient(180deg, #0a0f16 0%, #0e141d 100%);
  overflow: hidden;
}

/* Fondo con ondas y brillo metálico */
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://i.imgur.com/DrtZr3K.png") repeat;
  opacity: 0.06;
  animation: waveMove 28s linear infinite;
  z-index: -2;
}

@keyframes waveMove {
  0% { background-position: 0 0; }
  100% { background-position: 1600px 0; }
}

/* Título */
.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header span {
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 50px;
  margin: 0 auto 12px;
}

.services-header h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
}

.services-header p {
  color: #9ab0c7;
  font-size: 18px;
  margin-top: 10px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* TARJETAS */
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  padding: 30px 25px;
  border-radius: 20px;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Glow metálico en hover */
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 35px rgba(56,189,248,0.35);
}

/* Iconos */
.service-icon {
  width: 60px;
  height: 60px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c2633, #0f1724);
  color: #38bdf8;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 12px rgba(56,189,248,.25);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

/* Títulos */
.service-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Texto */
.service-card p {
  color: #c5d3e5;
  line-height: 1.6;
  font-size: 16px;
}

/* =============================== */
/* REVEAL SCROLL */
/* =============================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s cubic-bezier(.19,1,.22,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================== */
/* RESPONSIVE */
/* =============================== */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-header h2 {
    font-size: 32px;
  }
}




/* ==========================================================
   SECCIÓN SOLUTIONS (TABS)
========================================================== */
/* ========================= */
/* SECCIÓN GENERAL */
.solutions-section {
  padding: 90px 20px;
  background: radial-gradient(circle at top, #0b1220 0%, #020617 55%, #000 100%);
}

/* TABS */
.solutions-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.solutions-tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e5e7eb;
  cursor: pointer;
  transition: 0.25s ease;
  backdrop-filter: blur(8px);
}

.solutions-tab:hover {
  background: rgba(56,189,248,0.2);
}

.solutions-tab.active {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  color: #020617;
  box-shadow: 0 0 18px rgba(56,189,248,0.45);
}

/* PANELS */
.solutions-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
}

.solutions-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* TARJETA */
.solutions-card {
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.55);
  transition: 0.35s ease;
  max-width: 950px;
  margin: auto;
}

.solutions-card:hover {
  box-shadow: 0 0 45px rgba(56,189,248,0.45);
}

/* LAYOUT texto + imagen */
.solutions-layout {
  display: flex;
  gap: 30px;
  align-items: center;
}

.solutions-text {
  flex: 1.2;
}

.solutions-image {
  flex: 0.9;
}

.solutions-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(56,189,248,0.35);
}

/* UL elegante */
.solutions-text ul {
  margin-top: 10px;
  padding-left: 20px;
}

.solutions-text ul li {
  margin-bottom: 7px;
  color: #cfd9f0;
  position: relative;
}

.solutions-text ul li::before {
  content: "★";
  position: absolute;
  left: -20px;
  color: #38bdf8;
}

/* RESPONSIVE */
@media(max-width: 820px) {
  .solutions-layout {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================== */
/* SECCIÓN PORTAFOLIO LIMPIA */
/* ===================== */

.portfolio-section {
  padding: 100px 40px;
  background: url("car2.jpg") center/cover no-repeat;
  position: relative;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.portfolio-section * {
  position: relative;
  z-index: 2;
}

/* HEADER */
.portfolio-header {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.portfolio-header span {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,#38bdf8,#0ea5e9);
  display: block;
  border-radius: 5px;
  margin: 0 auto 15px auto;
}

.portfolio-header h2 {
  font-size: 42px;
  color: #fff;
}

.portfolio-header p {
  color: #d4e3ff;
  margin-top: 8px;
}

/* FILTROS */
.portfolio-filters {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  color: #fff;
  border-radius: 30px;
  margin: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(90deg,#38bdf8,#0ea5e9);
  color: #000;
  border-color: transparent;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 25px;
}

/* CARD */
.portfolio-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transform: translateY(0);
  transition: 0.35s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  opacity: 1;
}

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 35px rgba(56,189,248,0.4);
}

.portfolio-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.portfolio-card h3 {
  color: #fff;
  margin-top: 12px;
}

.portfolio-card p {
  color: #cbd5e1;
  margin-bottom: 15px;
}

/* FILTRO LÓGICO */
.portfolio-card.hide {
  opacity: 0 !important;
  transform: scale(0.6) !important;
  pointer-events: none !important;
  display: none !important;
}

.portfolio-card.show {
  opacity: 1 !important;
  transform: scale(1) !important;
  display: block !important;
}

/* ================================
   SECCIÓN DE CONTACTO CORPORATIVA
================================ */

.contact-section {
  position: relative;
  padding: 120px 40px;
  background: radial-gradient(circle at top, #0f172a, #020617 70%);
  color: #fff;
  overflow: hidden;
}

/* Fondo sutil animado */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.08;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header span {
  width: 80px;
  height: 5px;
  margin: 0 auto 12px auto;
  display: block;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 10px;
}

.contact-header h2 {
  font-size: 42px;
  font-weight: 800;
}

.contact-header p {
  color: #94a3b8;
  margin-top: 10px;
}

/* ======================
   GRID PRINCIPAL 
====================== */
.contact-container {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* ======================
   INFO LATERAL
====================== */
.contact-info {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(56,189,248,0.18);
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #38bdf8;
}

.contact-info p {
  margin-bottom: 20px;
  color: #cbd5e1;
}

/* ======================
   FORMULARIO
====================== */
.contact-form {
  display: grid;
  gap: 26px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(148,163,184,0.35);
  color: #fff;
  border-radius: 12px;
  transition: .3s ease;
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}

/* Label flotante */
.form-group label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  transition: .3s ease;
  pointer-events: none;
}

.form-group textarea + label {
  top: 18px;
  transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.35);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 12px;
  color: #38bdf8;
}

/* ======================
   BOTÓN
====================== */
.btn-send {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border: none;
  color: #020617;
  padding: 14px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 18px rgba(56,189,248,0.4);
}

.btn-send:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(56,189,248,0.6);
}

/* ======================
   MENSAJES
====================== */
.form-message {
  display: none;
  margin-top: 10px;
  font-size: 15px;
}

.form-message .loading {
  color: #38bdf8;
}

.form-message .success {
  color: #16a34a;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
