/*
Theme Name: VS Inversiones Luxury
Theme URI: https://srcomunicaciones.net/vittorio/
Author: Agencia Creativa
Description: Theme de lujo cinematografico para VS Inversiones Inmobiliarias.
Version: 3.2.4
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vs-inversiones
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --text: #F4F1EA;
  --muted: #9A958A;
  --accent: #C5A059;
  --line: rgba(197, 160, 89, 0.15);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; width: 100%; }
body { background: var(--bg); color: var(--text); font-family: 'Manrope', sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: all 0.4s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 5vw; }
section { padding: 120px 0; position: relative; }

/* HEADER */
.site-header { 
    position: fixed; top: 0; width: 100%; z-index: 100; 
    padding: 20px 5vw; 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--line); transition: all 0.4s var(--ease); 
    gap: 20px; flex-wrap: wrap; /* Permite que los elementos bajen de línea si no caben */
}
.site-header.scrolled { padding: 15px 5vw; background: rgba(10,10,10,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.site-logo img { height: 60px; transition: transform 0.4s var(--ease); } 
.site-logo:hover img { transform: scale(1.05); }
.main-nav { display: flex; gap: 32px; flex-grow: 1; justify-content: center; }
.main-nav a { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.4s var(--ease); }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

/* Botón específico del header */
.site-header .btn { padding: 12px 20px; margin: 0; white-space: nowrap; flex-shrink: 0; font-size: 11px; }

/* BOTONES GENERALES */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; padding: 18px 36px; 
    background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 600; 
    letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--accent); 
    border-radius: 8px; 
    transition: all 0.5s var(--ease); cursor: pointer; position: relative; overflow: hidden; 
    margin-right: 16px; margin-bottom: 16px; text-align: center;
}
.btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.btn:hover::before { width: 300px; height: 300px; }
.btn:hover { background: #D4B06A; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(197,160,89,0.3); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-wa { background: #25D366; border-color: #25D366; color: white; }
.btn-wa:hover { background: #128C7E; box-shadow: 0 10px 25px rgba(37,211,102,0.3); }

/* HERO */
.hero-cinematic { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    position: relative; 
    overflow: hidden; 
    padding-top: 160px; 
    padding-bottom: 100px;
}
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.9) 100%); z-index: 1; }
.hero-grid { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 80px; 
    align-items: start; 
    position: relative; 
    z-index: 2; 
}
.kicker { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.3em; margin-bottom: 24px; display: flex; align-items: center; gap: 16px; font-weight: 600; }
.kicker::before { content: ''; width: 40px; height: 1px; background: var(--accent); }
.hero-cinematic h1 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: clamp(42px, 5vw, 68px); 
    font-weight: 300; 
    line-height: 1.1; 
    margin-bottom: 32px; 
    letter-spacing: -0.02em; 
    overflow-wrap: break-word; 
    word-wrap: break-word;
    word-break: break-word; /* Fuerza a romper palabras muy largas */
}
.hero-cinematic h1 em { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-cinematic p { font-size: 17px; color: var(--muted); max-width: 480px; margin-bottom: 40px; font-weight: 300; }

/* Contenedor de la foto de Vittorio */
.hero-img-frame { 
    position: relative; 
    padding: 12px; 
    padding-bottom: 80px; /* Damos espacio abajo para que la caja 300+ no se corte */
    border: 1px solid var(--line); 
    border-radius: 8px; 
    overflow: hidden; 
    margin-top: 8px; 
}
.hero-img-frame img { 
    width: 100%; 
    aspect-ratio: 3/4; 
    object-fit: cover; 
    object-position: center 15%; 
    filter: grayscale(20%); 
    transition: filter 0.8s var(--ease), transform 1.2s var(--ease); 
    border-radius: 4px;
}
.hero-img-frame:hover img { filter: grayscale(0%); transform: scale(1.05); }

/* Caja de 300+ */
.hero-stat { 
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); 
    background: rgba(17,17,17,0.95); backdrop-filter: blur(12px); 
    padding: 20px 30px; border: 1px solid var(--line); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-radius: 8px; 
    text-align: center; width: 85%; 
}
.hero-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--accent); line-height: 1; font-weight: 600; }
.hero-stat .label { font-size: 13px; color: var(--text); margin-top: 8px; letter-spacing: 0.05em; }

.hero-scroll-cue { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2; }
.hero-scroll-cue span { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.hero-scroll-cue .line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--accent), transparent); animation: vsScrollCue 2s infinite; }
@keyframes vsScrollCue { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.4); opacity: .4; } }

/* HERO IMAGEN ESTÁTICA */
.hero-static .hero-bg-img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.hero-static .hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 50%, rgba(10,10,10,0.92) 100%); }

/* TRUST STRIP */
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }

/* Cambiamos de 4 a 5 columnas */
.trust-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    text-align: center; 
    align-items: start; /* Para que todos los bloques se alineen arriba */
}

.trust-num { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 46px; /* Bajamos un poquito el tamaño (de 52 a 46) para que respiren mejor los 5 */
    color: var(--accent); 
    font-weight: 400; 
    margin-bottom: 8px; 
    line-height: 1;
}

.trust-label { 
    font-size: 12px; /* Bajamos de 13px a 12px para que el texto largo quepa bien */
    color: var(--muted); 
    text-transform: uppercase; 
    letter-spacing: 0.1em; /* Reducimos un poco el espaciado entre letras */
    line-height: 1.4;
}

/* RESPONSIVE: Para que en tablets se vea en 3 columnas y en móviles en 2 */
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
       /* .trust-grid { grid-template-columns: 1fr 1fr; gap: 40px; }  <-- ELIMINA O COMENTA ESTA LÍNEA */
    /* Hacemos que el 5º elemento ocupe toda la fila en móvil para que no quede solo a la izquierda */
    .trust-grid > div:last-child { 
        grid-column: 1 / -1; 
        margin-top: 15px;
    }
}

/* MARQUEE */
.vs-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; background: var(--bg); }
.vs-marquee-track { display: flex; gap: 60px; width: max-content; animation: vsMarquee 40s linear infinite; font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 44px); color: var(--accent); font-style: italic; font-weight: 300; }
.vs-marquee-track .dot { color: var(--muted); font-style: normal; }
@keyframes vsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* RUTAS */
.routes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.route-card { background: var(--bg); padding: 56px 24px; text-align: center; transition: all 0.6s var(--ease); position: relative; }
.route-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform 0.6s var(--ease); transform-origin: left; }
.route-card:hover { background: var(--surface); transform: translateY(-8px); }
.route-card:hover::after { transform: scaleX(1); }
.route-card h3 { font-family: 'Manrope', sans-serif; font-size: 32px; font-weight: 700; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
.route-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.route-link { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; }

/* PILARES */
.pillars-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.pillars-sticky { position: relative; }
.pillar-item { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr; gap: 24px; transition: all 0.4s var(--ease); position: relative; }
.pillar-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.6s var(--ease); }
.pillar-item:hover::after { width: 100%; }
.pillar-item:hover { padding-left: 16px; }
.pillar-num { font-family: 'Cormorant Garamond', serif; font-size: 56px; color: var(--accent); font-style: italic; line-height: 1; opacity: 0.8; }
.pillar-item h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.pillar-item p { font-size: 16px; color: var(--muted); line-height: 1.7; }

/* FOOTER */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 80px 0 60px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 32px; }
.footer-brand img { height: 60px; opacity: 0.9; } 
.footer-brand img.logo-remax { 
    background-color: #ffffff; 
    padding: 12px 20px; 
    border-radius: 8px; 
    opacity: 1; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}
.footer-copy { font-size: 14px; color: var(--muted); line-height: 1.8; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }
.footer-links a:hover { color: var(--accent); }

/* WHATSAPP FLOTANTE */
.float-wa { position: fixed; bottom: 32px; right: 32px; background: #25D366; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(37,211,102,0.4); z-index: 999; transition: all 0.4s var(--ease); border: 2px solid var(--bg); animation: pulse-wa 2s infinite; }
.float-wa:hover { animation: none; transform: scale(1.15) translateY(-4px); }
.float-wa svg { width: 30px; height: 30px; fill: white; }
@keyframes pulse-wa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* REVEAL */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* SPLIT TEXT */
.split-line { overflow: hidden; }
[data-split] { visibility: visible; }

/* SECTION TITLE */
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); font-weight: 300; text-align: center; margin-bottom: 56px; letter-spacing: -0.02em; }

/* PROPIEDADES */
.vs-property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.vs-property-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .6s var(--ease), border-color .4s ease; }
.vs-property-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.vs-property-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.vs-property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s ease; filter: grayscale(15%); }
.vs-property-card:hover .vs-property-img img { transform: scale(1.08); filter: grayscale(0%); }
.vs-lazy { opacity: 0; transition: opacity .6s ease; }
.vs-lazy.is-loaded { opacity: 1; }
.vs-property-body { padding: 32px; }
.vs-property-price { font-family: 'Cormorant Garamond', serif; color: var(--accent); font-size: 28px; margin-bottom: 8px; font-weight: 600; }
.vs-property-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; margin-bottom: 16px; line-height: 1.3; }
.vs-property-meta { display: flex; gap: 20px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }

/* SINGLE PROPIEDAD */
.vs-single-hero { min-height: 85vh; position: relative; display: flex; align-items: flex-end; padding: 180px 0 80px; overflow: hidden; }
.vs-single-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.5) saturate(.9); }
.vs-single-hero-content { position: relative; z-index: 2; width: 100%; }
.vs-single-price { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3vw, 42px); color: var(--accent); margin-top: 20px; }
.vs-meta-bar { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.vs-meta-bar-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 32px; text-align: center; }
.vs-meta-item .label { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 8px; }
.vs-meta-item .value { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--text); }
.vs-single-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: start; }
.vs-single-content { font-size: 17px; line-height: 1.9; color: var(--muted); }
.vs-single-content h2, .vs-single-content h3 { font-family: 'Cormorant Garamond', serif; color: var(--text); font-weight: 400; margin: 32px 0 16px; }
.vs-cta-card { background: var(--surface); border: 1px solid var(--line); padding: 40px; border-radius: 8px; position: sticky; top: 120px; }
.vs-cta-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; margin-bottom: 16px; color: var(--text); }
.vs-cta-card p { color: var(--muted); margin-bottom: 32px; }
.vs-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.vs-gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; }
.vs-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vs-gallery-item:hover img { transform: scale(1.08); }

/* ARCHIVE */
.vs-archive-hero { padding: 200px 0 80px; text-align: center; border-bottom: 1px solid var(--line); }
.vs-archive-hero .kicker { justify-content: center; }
.vs-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; justify-content: center; }
.vs-filter { padding: 10px 20px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); letter-spacing: .1em; transition: all .4s var(--ease); }
.vs-filter:hover, .vs-filter.is-active { border-color: var(--accent); color: var(--accent); background: rgba(197,160,89,.08); }
.vs-pagination { text-align: center; margin-top: 80px; }
.vs-pagination ul { list-style: none; display: flex; gap: 8px; justify-content: center; }
.vs-pagination a, .vs-pagination span { padding: 10px 16px; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; }
.vs-pagination .current { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* CTA FINAL */
.vs-cta { padding: 160px 0; }

/* SERVICIOS */
.vs-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }
.vs-service-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: all 0.5s var(--ease); position: relative; overflow: hidden; }
.vs-service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-100%); transition: transform 0.8s var(--ease); }
.vs-service-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.vs-service-card:hover::before { transform: translateX(100%); }
.vs-service-num { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--accent); letter-spacing: 0.2em; display: block; margin-bottom: 12px; }
.vs-service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 10px; color: var(--text); }
.vs-service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* 3 PASOS */
.vs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }
.vs-step { padding: 40px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; position: relative; transition: all 0.5s var(--ease); }
.vs-step:hover { border-color: var(--accent); transform: translateY(-6px); }
.vs-step-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--accent); display: block; margin-bottom: 16px; font-weight: 700; line-height: 1; }
.vs-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--text); margin-bottom: 16px; line-height: 1.3; }
.vs-step p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* TESTIMONIOS */
.vs-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 56px; }
.vs-testimonial { background: var(--surface); border: 1px solid var(--line); padding: 40px 32px; border-radius: 8px; position: relative; transition: all 0.5s var(--ease); }
.vs-testimonial:hover { border-color: var(--accent); transform: translateY(-4px); }
.vs-quote { font-family: 'Cormorant Garamond', serif; font-size: 72px; color: var(--accent); line-height: 0.8; margin-bottom: 16px; font-style: italic; }
.vs-testimonial > p { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.vs-testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.vs-testimonial-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.vs-testimonial-author strong { display: block; font-size: 15px; color: var(--text); }
.vs-testimonial-author span { font-size: 13px; color: var(--muted); }

/* FAQ */
.vs-faq { margin-top: 24px; }
.vs-faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.vs-faq-item summary { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--text); cursor: pointer; list-style: none; position: relative; padding-right: 40px; transition: color 0.3s ease; }
.vs-faq-item summary::-webkit-details-marker { display: none; }
.vs-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 28px; font-weight: 300; transition: transform 0.4s var(--ease); }
.vs-faq-item[open] summary { color: var(--accent); }
.vs-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.vs-faq-answer { padding-top: 16px; font-size: 16px; color: var(--muted); line-height: 1.8; }

/* FORMULARIO LEAD */
.vs-lead-form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.vs-lead-form input, .vs-lead-form select { padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 8px; font-family: inherit; font-size: 15px; transition: all 0.4s var(--ease); }
.vs-lead-form input:focus, .vs-lead-form select:focus { outline: none; border-color: var(--accent); background: rgba(197,160,89,.04); box-shadow: 0 0 0 3px rgba(197,160,89,.1); }
.vs-lead-form input::placeholder { color: var(--muted); }
.vs-form-check { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.vs-form-check input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.vs-form-check a { color: var(--accent); text-decoration: underline; }
.vs-form-msg { font-size: 14px; color: var(--accent); text-align: center; min-height: 20px; }
.vs-form-msg.error { color: #ff5c5c; }
.vs-form-msg.success { color: #4ade80; }
.vs-lead-form button:disabled { opacity: 0.6; cursor: not-allowed; }

#vs-preloader, .vs-cursor, .vs-cursor-dot { display: none !important; }

/* ==========================================
   MEDIA QUERIES (CORRECCIONES PARA MÓVILES)
   ========================================== */

@media (max-width: 1024px) {
    .site-header { padding: 15px 5vw; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .site-logo { order: 1; }
    .site-logo img { height: 45px; } 
    
    /* Botón del header ajustado para que no se salga */
    .site-header .btn { order: 2; padding: 10px 15px; margin: 0; font-size: 10px; }
    
    .main-nav { display: flex; order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px; } 
    .main-nav a { font-size: 11px; }
    .routes-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) { 
    .hero-cinematic { padding-top: 200px; padding-bottom: 60px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; } 
    
    /* Texto del hero: Forzado a no salirse de la pantalla */
    .hero-cinematic h1 { 
        font-size: clamp(30px, 7vw, 42px); 
        overflow-wrap: break-word;
        word-break: break-word; 
        padding: 0 10px;
    }
    
    .hero-cinematic p { margin: 0 auto 40px; font-size: 16px; padding: 0 10px; } 
    .kicker { justify-content: center; } 
    .hero-img-frame { margin-top: 0; max-width: 100%; margin: 0 auto; } 
    .hero-stat { left: 50%; transform: translateX(-50%); bottom: 10px; width: 90%; } 
    
    /* Botones al 100% y sin desbordar */
    .hero-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 0 10px; }
    .hero-actions .btn { 
        width: 100%; 
        max-width: 100%;
        margin: 0; 
        padding: 16px 10px; /* Menos padding lateral */
        font-size: 11px;
        white-space: normal; /* Permite que el texto baje de línea si no cabe */
        line-height: 1.4;
    }

    /* Pilares sin superposición */
    .pillars-grid { display: flex; flex-direction: column; gap: 40px; } 
    .pillars-sticky { position: static !important; transform: none !important; margin-bottom: 20px; } 
    .pillar-item { grid-template-columns: 50px 1fr; gap: 16px; padding: 20px 0; }
    .pillar-num { font-size: 40px; }
}

@media (max-width: 768px) { 
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 40px; } 
    .footer-inner { flex-direction: column; text-align: center; } 
    .footer-brand { flex-direction: column; gap: 20px; } 
    .vs-single-layout { grid-template-columns: 1fr; gap: 40px; } 
    .vs-single-hero { min-height: 70vh; padding: 140px 0 60px; } 
}

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

/* Forzar el color dorado en los puntitos */
.swiper-pagination-bullet {
    background: #888 !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    background: #c9a227 !important; /* Tu color dorado */
    opacity: 1 !important;
}