body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('fondo.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

/* HEADER CONTENEDOR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px; /* más alto */
  background-color: #0a0f2c;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
}

/* CONTENEDOR GENERAL */
.container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

/* LOGO IZQUIERDA */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 200px;
}

.logo span {
  color: white;
  font-size: 1.8rem; /* tamaño aumentado */
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* MENÚ DE NAVEGACIÓN */
.menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #1a73e8;
}

/* BOTÓN LOGIN */
.btn-login {
  background-color: #1a73e8;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #1255a4;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #0a0f2c;
    position: absolute;
    top: 100px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* Hero original */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  min-height: 90vh;
  background-image: url('ruta/a/tu/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 30, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 1s ease forwards;
}

/* Animación base */
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay por elementos */
.animate-delay-1 {
  animation-delay: 0.5s;
}

.animate-delay-2 {
  animation-delay: 1s;
}

.animate-delay-3 {
  animation-delay: 1.5s;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #cccccc;
}

.hero-btn {
  background-color: #007bff;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.titulo-seccion {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #1a73e8;
}

.subtitulo-seccion {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #cccccc;
}

.servicio h3 {
  font-size: 1.4rem;
  color: #1a73e8;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servicio p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}


/* Animación general */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.animate-show {
  animation: fadeUp 0.8s ease forwards;
}

.animate-delay-0 { animation-delay: 0s; }
.animate-delay-1 { animation-delay: 0.3s; }
.animate-delay-2 { animation-delay: 0.6s; }
.animate-delay-3 { animation-delay: 0.9s; }

/* Portfolio */

.portfolio {
  text-align: center;
  padding: 60px 20px;
  background-color: #0a0f2c;
  color: white;
}

.portfolio h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #1e90ff;
}

.portfolio-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.portfolio-gallery img {
  width: 300px;
  height: auto;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s;
}

.portfolio-gallery img:hover {
  transform: scale(1.05);
}

.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
}

.carousel {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  width: max-content;
  padding: 0 10px;
}

.card {
  flex: 0 0 auto;
  width: 280px;
  background: #10152e;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  border-radius: 15px 15px 0 0;
  height: 180px;
  object-fit: cover;
}

.card p {
  padding: 15px;
  font-size: 16px;
  color: #e0e0e0;
}

.card:hover {
  transform: scale(1.03);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* Tesetimonios */

.testimonios {
  background-color: #0a0f2c;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.testimonios h2 {
  font-size: 2.5em;
  color: #1e90ff;
  margin-bottom: 40px;
}

.testimonios-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonio {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #1e90ff;
  border-radius: 12px;
  padding: 25px;
  max-width: 320px;
  transition: transform 0.3s ease;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.testimonio:hover {
  transform: translateY(-5px);
}

.testimonio img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #1e90ff;
}

.testimonio .texto {
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonio .cliente {
  font-size: 0.95em;
  font-weight: bold;
  color: #87cefa;
}

/* Animación fade-in-up */
@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contactos */

.contacto {
  padding: 4rem 2rem;
  background-color: #0d132b;
  text-align: center;
  color: white;
}

.contenedor-contacto h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a73e8;
  animation: fadeInUp 1s ease;
}

.contenedor-contacto p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.3s ease;
}

.medios-contacto {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  animation: fadeInUp 1.6s ease;
}

.medios-contacto a {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  background-color: #1a73e8;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.medios-contacto a:hover {
  background-color: #135abe;
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */

footer {
  background: linear-gradient(135deg, #0a0f2c, #1a1f3d);
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
  margin-top: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-simple .eslogan {
  font-size: 1.2rem;
  font-style: italic;
  color: #1a73e8;
  margin-bottom: 0.5rem;
}

.footer-simple .copyright {
  font-size: 0.9rem;
  color: #ccc;
}

/* ====== OVERRIDES PRO ====== */
:root { --azul:#0a0f2c; --azul-accent:#1a73e8; --navbar-h:80px; }
html { scroll-behavior: smooth; }

/* Usa Poppins que ya cargaste en <head> */
body { 
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--azul);
  background-image: url('fondo.png');
}

/* Mostrar el contenido principal al salir del splash */
#mainContent { display: block; }
#splash.hidden { display: none; }

/* NAVBAR: altura coherente + logo más chico */
.navbar { 
  height: var(--navbar-h);
  background: linear-gradient(180deg, #0a0f2c 0%, #101638 100%);
}
.logo img { height: 56px; }      /* antes 200px rompía el header */
.logo span { font-size: 1.1rem; font-weight: 600; }

/* Menú mobile alineado a la nueva altura */
@media (max-width: 768px) {
  .menu { top: var(--navbar-h); }
}

/* HERO: padding considerando navbar + tipografía flexible */
.hero-section {
  padding-top: calc(var(--navbar-h) + 40px);
  background: linear-gradient(180deg, rgba(8,12,34,0.65), rgba(8,12,34,0.65)),
              url('fondo.png') center/cover no-repeat fixed;
}
.hero-section::before { background: transparent; } /* ya aplicamos overlay arriba */

.hero-content h1 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3.2rem);
  line-height: 1.2;
}
.hero-content p {
  max-width: 820px;
  margin-inline: auto;
}

.hero-btn {
  background-color: var(--azul-accent);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
}
.hero-btn:hover { transform: translateY(-2px); }

/* Evitar jank en mobile con fondos fijos */
@media (max-width: 768px) {
  .hero-section { background-attachment: scroll; }
}

/* ================= SERVICIOS v2 (aislado) ================= */
.svc{ 
  position:relative; 
  padding:96px 24px; 
  background:
    radial-gradient(800px 360px at 12% 12%, rgba(26,115,232,.14), transparent 60%),
    radial-gradient(720px 340px at 100% 82%, rgba(111,66,193,.10), transparent 60%),
    linear-gradient(180deg,#0c1133 0%,#0a0f2c 100%);
  color:#fff;
}
.svc::before,.svc::after{content:none;}

.svc *::before,
.svc *::after{ content:none !important; display:none !important; } /* mata overlays heredados */

.svc-container{ max-width:1200px; margin:0 auto; }

/* Título */
.svc-title{
  margin:0 0 28px;
  font-size:clamp(2.2rem, 2.8vw + 1rem, 3.6rem);
  line-height:1.15;
  background:linear-gradient(180deg,#a8cbff 0%, #1a73e8 70%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Grid con FLEX WRAP: 3 / 2 / 1 */
.svc-grid{
  display:flex; flex-wrap:wrap; gap:26px; align-items:stretch;
}

/* Card base (con reset fuerte para evitar que “herede” cosas raras) */
.svc-card{
  all: unset;                 /* limpia TODO lo heredado */
  box-sizing: border-box;
  display:flex; flex-direction:column; justify-content:space-between;
  gap:12px;
  flex: 0 1 calc(33.333% - 26px);     /* 3 por fila */
  max-width: calc(33.333% - 26px);
  min-height: 320px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(16,23,59,.96), rgba(14,20,45,.90));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.svc-card *{ all: revert; }  /* vuelve a estilos normales dentro de la card */
.svc-card:hover{ box-shadow:0 18px 44px rgba(0,0,0,.6); }

/* Título de la card */
.svc-card__title{
  margin:0;
  font-weight:700;
  font-size:1.18rem;
  text-transform:uppercase; letter-spacing:.5px;
  background:linear-gradient(180deg,#a6c9ff 0%, #1a73e8 70%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Texto (clamp para que ninguna card se estire más) */
.svc-card__text{
  color:#d6dbea; line-height:1.6; margin:0;
  display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden;
}

/* Botón */
.svc-btn{
  align-self:flex-start;
  background:#1a73e8; color:#fff; text-decoration:none;
  padding:10px 16px; border-radius:10px; font-weight:700;
  box-shadow:0 6px 16px rgba(26,115,232,.25);
  transition:background .2s, transform .2s, box-shadow .2s;
}
.svc-btn:hover{ background:#135abe; transform:translateY(-2px); }

/* Breakpoints */
@media (max-width:1100px){
  .svc-card{ flex-basis: calc(50% - 26px); max-width: calc(50% - 26px); } /* 2 por fila */
}
@media (max-width:680px){
  .svc{ padding:72px 18px; }
  .svc-card{ flex-basis:100%; max-width:100%; min-height:unset; }
  .svc-card__text{ -webkit-line-clamp:unset; }
}

/* ======== PORTFOLIO v2 — grid 3×N + hover + lightbox pro ======== */
.portfolio{
  padding: 90px 24px;
  background:#0a0f2c;
  color:#fff;
}
.portfolio h2{
  max-width:1200px; margin:0 auto 28px;
  font-size: clamp(2rem,2.4vw + 1rem,3rem);
  line-height:1.15;
  background:linear-gradient(180deg,#a8cbff 0%, #1a73e8 70%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-align:center;
}

/* contenedor centrado */
.portfolio .carousel-container{ max-width:1200px; margin:0 auto; overflow:visible; }

/* convertimos el “carousel” en grilla responsive */
.portfolio .carousel{
  display:grid !important;
  grid-template-columns: repeat(3, minmax(280px,1fr));
  gap:24px;
  width:100%;
  padding:0;
}

/* card moderna */
.portfolio .card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#10152e;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
  transition:transform .25s ease, box-shadow .25s ease;
  aspect-ratio: 16 / 10;         /* todas parejitas */
}
.portfolio .card:hover{
  transform: translateY(-6px);
  box-shadow:0 20px 44px rgba(0,0,0,.6);
}

/* imagen */
.portfolio .card img{
  width:100%; height:100%; object-fit:cover; display:block;
  cursor: zoom-in;
}

/* caption como overlay */
.portfolio .card p{
  position:absolute; inset:auto 0 0 0;
  margin:0; padding:12px 14px;
  font-size:15px; color:#e7ecf7;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65) 40%, rgba(0,0,0,.85));
  backdrop-filter: blur(2px);
}

/* ===== Lightbox mejorado ===== */
#lightbox{
  display:none; position:fixed; inset:0; z-index:9999;
  background: rgba(3,6,20,.88);
  align-items:center; justify-content:center;
  padding:24px;
}
#lightbox.show{ display:flex; }
#lightbox img{
  max-width:min(92vw,1200px);
  max-height: 86vh;
  border-radius:10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}

/* caption dentro del lightbox (lo crea el JS) */
#lightbox-caption{
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
  max-width: min(92vw,1200px);
  color:#dfe7ff; font-size:15px;
  background: rgba(0,0,0,.45);
  padding:8px 12px; border-radius:8px;
}

/* botones prev/next (los crea el JS) */
#lb-prev,#lb-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  font-size:28px; color:#fff; cursor:pointer; user-select:none;
}
#lb-prev{ left:24px; }
#lb-next{ right:24px; }
#lb-prev:hover,#lb-next:hover{ background: rgba(255,255,255,.16); }

/* responsive */
@media (max-width:1100px){
  .portfolio .carousel{ grid-template-columns: repeat(2, minmax(260px,1fr)); }
}
@media (max-width:640px){
  .portfolio .carousel{ grid-template-columns: 1fr; }
  #lb-prev,#lb-next{ width:42px; height:42px; font-size:24px; }
}

/* ===== TESTIMONIOS v2 — grid 3×N, look pro y consistente ===== */

/* Contenedor y título */
section.testimonios#testimonios{
  padding: 90px 24px !important;
  background: #0a0f2c !important;
  color: #fff;
}
section.testimonios#testimonios > h2{
  max-width: 1200px; margin: 0 auto 28px !important; text-align: center;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  line-height: 1.15;
  background: linear-gradient(180deg,#a8cbff 0%, #1a73e8 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Grid */
section.testimonios#testimonios .testimonios-contenedor{
  max-width: 1200px; margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

/* Card */
section.testimonios#testimonios .testimonio{
  position: relative !important;
  display: flex !important; flex-direction: column !important; gap: 12px;
  padding: 22px !important; min-height: 240px;
  background: linear-gradient(180deg, rgba(16,23,59,.96), rgba(14,20,45,.90)) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.45) !important;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
section.testimonios#testimonios .testimonio:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0,0,0,.6) !important;
}

/* Comillas decorativas */
section.testimonios#testimonios .testimonio::before{
  content: "“";
  position: absolute; left: 16px; top: -6px;
  font-size: 64px; line-height: 1; pointer-events: none;
  color: rgba(26,115,232,.28);
}

/* Avatar */
section.testimonios#testimonios .testimonio > img{
  width: 64px; height: 64px; object-fit: cover; border-radius: 999px;
  border: 2px solid #1a73e8; background: #0f1434;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}

/* Texto */
section.testimonios#testimonios .testimonio .texto{
  margin: 4px 0 4px; color: #d6dbea; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* Cliente */
section.testimonios#testimonios .testimonio .cliente{
  margin: 0; font-size: .98rem; font-weight: 700;
  color: #87cefa;
}

/* (Opcional) Estrellas si agregás <div class="estrellas">★★★★★</div> en cada testimonio */
section.testimonios#testimonios .testimonio .estrellas{
  font-size: 16px; letter-spacing: 2px; line-height: 1;
  color: #ffd166; text-shadow: 0 2px 8px rgba(255,209,102,.35);
}

/* Responsive */
@media (max-width: 1100px){
  section.testimonios#testimonios .testimonios-contenedor{
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  }
}
@media (max-width: 640px){
  section.testimonios#testimonios{ padding: 72px 18px !important; }
  section.testimonios#testimonios .testimonios-contenedor{
    grid-template-columns: 1fr !important;
  }
  section.testimonios#testimonios .testimonio .texto{ -webkit-line-clamp: unset; }
}

/* ===== CONTACTO (.ctc) — look consistente con el sitio ===== */
.ctc{ padding: 90px 24px; background:#0d132b; color:#fff; }
.ctc-container{ max-width:1200px; margin:0 auto; }
.ctc-title{
  margin:0 0 8px; text-align:center;
  font-size:clamp(2rem,2.4vw + 1rem,3rem);
  background:linear-gradient(180deg,#a8cbff 0%, #1a73e8 70%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.ctc-sub{ text-align:center; color:#d6dbea; margin:0 0 28px; }

.ctc-grid{
  display:grid; gap:26px;
  grid-template-columns: 380px 1fr;  /* canales a la izquierda, form a la derecha */
  align-items:start;
}
@media (max-width: 980px){
  .ctc-grid{ grid-template-columns: 1fr; }
}

/* Cards */
.ctc-card{
  background: linear-gradient(180deg, rgba(16,23,59,.96), rgba(14,20,45,.9));
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
  padding:22px;
}

/* Canales */
.ctc-btn{
  display:flex; align-items:center; gap:.6rem;
  padding:12px 16px; border-radius:10px; font-weight:700; text-decoration:none;
  color:#fff; margin-bottom:12px; box-shadow:0 6px 16px rgba(26,115,232,.25);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.ctc-btn--wa{ background:#1a73e8; }
.ctc-btn--mail{ background:#22315e; }
.ctc-btn:hover{ transform: translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.4); }
.ctc-btn i{ font-size:1.1rem; }
.ctc-link{
  display:flex; align-items:center; gap:.5rem; color:#a9c4ff; text-decoration:none;
  margin-top:10px; font-weight:600;
}
.ctc-link:hover{ color:#fff; text-decoration:underline; }

/* Form */
.ctc-form{ display:grid; grid-template-columns: repeat(2,1fr); gap:16px 18px; }
.ctc-field{ display:flex; flex-direction:column; gap:8px; }
.ctc-field--full{ grid-column: 1 / -1; }

.ctc-form label{ font-size:.95rem; color:#cfe1ff; }
.ctc-form input[type="text"],
.ctc-form input[type="email"],
.ctc-form input[type="tel"],
.ctc-form select,
.ctc-form textarea{
  background:#0f1537; color:#e9f0ff;
  border:1px solid rgba(255,255,255,.08); border-radius:10px;
  padding:12px 12px; outline:none; transition:border .2s, box-shadow .2s;
}
.ctc-form input:focus, .ctc-form select:focus, .ctc-form textarea:focus{
  border-color:#1a73e8; box-shadow:0 0 0 3px rgba(26,115,232,.25);
}

.ctc-check{ grid-column:1 / -1; display:flex; align-items:center; gap:.6rem; color:#cfe1ff; }
.ctc-hp{ position:absolute; left:-10000px; opacity:0; } /* honeypot oculto */

.ctc-submit{
  grid-column:1 / -1; justify-self:start;
  background:#1a73e8; color:#fff; border:none; border-radius:10px;
  padding:12px 18px; font-weight:700; cursor:pointer;
  box-shadow:0 6px 16px rgba(26,115,232,.25); transition: transform .2s, background .2s;
}
.ctc-submit:hover{ background:#135abe; transform: translateY(-2px); }

.ctc-result{ margin:8px 0 0; color:#a9c4ff; font-weight:600; }
.ctc-result.ok{ color:#28e07a; }
.ctc-result.err{ color:#ff7b7b; }

/* ===== FOOTER (.ft) ===== */
.ft{ background:linear-gradient(135deg,#0a0f2c,#10183d); color:#fff; padding:32px 24px 18px; }
.ft-container{ max-width:1200px; margin:0 auto; display:grid; gap:24px;
  grid-template-columns: 1.2fr 1fr 1fr; align-items:center; }
@media (max-width:980px){ .ft-container{ grid-template-columns:1fr; text-align:center; } }

.ft-brand{ display:flex; align-items:center; gap:14px; }
.ft-brand img{ height:36px; width:auto; }
.ft-brand p{ margin:0; color:#a9c4ff; }

.ft-links{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
.ft-links a{ color:#cfe1ff; text-decoration:none; font-weight:600; }
.ft-links a:hover{ color:#fff; text-decoration:underline; }

.ft-social{ display:flex; gap:10px; justify-content:flex-end; }
@media (max-width:980px){ .ft-social{ justify-content:center; } }
.ft-ico{ width:44px; height:44px; display:grid; place-items:center; border-radius:12px;
  background:#121a44; color:#fff; text-decoration:none; transition:transform .2s, box-shadow .2s, background .2s; }
.ft-ico:hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(0,0,0,.35); }
.ft-ico.wa{ background:#25d366; } .ft-ico.wa:hover{ background:#1db757; }
.ft-ico.ig{ background:#E1306C; } .ft-ico.ig:hover{ background:#c2285b; }
.ft-ico.fb{ background:#1877f2; } .ft-ico.fb:hover{ background:#145fc3; }
.ft-ico.ln{ background:#0a66c2; } .ft-ico.ln:hover{ background:#09539b; }
.ft-ico.ml{ background:#22315e; } .ft-ico.ml:hover{ background:#2a3c74; }
.ft-ico i{ font-size:18px; }

.ft-bottom{ margin-top:18px; padding-top:14px; border-top:1px solid rgba(255,255,255,.08);
  text-align:center; color:#9db6ff; font-size:.95rem; }

  /* ===== Mini bloque de confianza (.tr) ===== */
.tr{ padding:72px 24px; background:#0a0f2c; color:#fff; }
.tr-container{ max-width:1200px; margin:0 auto; }
.tr-title{
  margin:0 0 26px; text-align:center;
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.6rem);
  background: linear-gradient(180deg,#a8cbff 0%, #1a73e8 70%);
  -webkit-background-clip: text; background-clip:text; color:transparent;
}
.tr-grid{
  display:grid; gap:20px;
  grid-template-columns: repeat(3, minmax(260px,1fr));
}
@media (max-width:1100px){ .tr-grid{ grid-template-columns: repeat(2, minmax(240px,1fr)); } }
@media (max-width:640px){ .tr-grid{ grid-template-columns: 1fr; } }

.tr-item{
  background: linear-gradient(180deg, rgba(16,23,59,.96), rgba(14,20,45,.9));
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
  padding:20px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
  display:grid; gap:8px; align-content:start;
}
.tr-item:hover{ transform:translateY(-4px); box-shadow:0 20px 44px rgba(0,0,0,.6); }

.tr-ico{
  width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center;
  background:#1a73e8; color:#fff;
  box-shadow:0 6px 16px rgba(26,115,232,.25);
  margin-bottom:6px;
}
.tr-ico i{ font-size:18px; }
.tr-item h3{ margin:0; font-size:1.05rem; color:#e9f1ff; }
.tr-item p{ margin:0; color:#cdd8ff; line-height:1.55; }

/* FAQ simple dentro de .tr */
.tr .faq{
  margin:12px 0; padding:14px 16px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
}
.tr .faq summary{
  cursor:pointer; font-weight:700; color:#e9f1ff; outline:none;
}
.tr .faq p{ margin:10px 0 0; color:#cdd8ff; }

/* ===== NAVBAR MOBILE FIX ===== */
@media (max-width: 768px){
  /* Header más compacto en mobile */
  .navbar{
    height: 64px !important;
    z-index: 2000 !important;
  }
  .logo img{ height: 40px !important; }
  .logo span{ font-size: 1.2rem !important; }

  /* Botón hamburguesa siempre visible y clickeable */
  .menu-toggle{
    display:block !important;
    position: relative;
    z-index: 2001; /* por encima del menú */
    font-size: 1.8rem;
    line-height: 1;
    padding: 8px 6px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Menú desplegable como capa fija (no queda “encerrado”) */
  .menu{
    position: fixed !important;
    top: 64px !important;   /* coincide con la altura del header mobile */
    left: 0; right: 0;
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    background: #0a0f2c !important;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 10px 12px !important;
    z-index: 2000 !important;
  }
  .menu.active{ display: flex !important; }

  .menu li{ margin: 0 !important; border-bottom: 1px solid rgba(255,255,255,.06); }
  .menu li a{
    display: block !important;
    padding: 12px 8px !important;
    color: #fff !important;
  }

  /* Evitar scroll del body cuando el menú está abierto */
  body.menu-open{ overflow: hidden; }
}

/* Desplazamiento correcto a secciones con header fijo */
[id]{ scroll-margin-top: 88px; }
@media (max-width: 768px){ [id]{ scroll-margin-top: 72px; } }











