/* ================================================================
   HERO V2 — Primera impresión remasterizada
   Conserva paleta navy/gold y tipografía Inter del sitio.
   Solo afecta a .hero-v2 — el resto de la página es intocado.
   ================================================================ */

.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
}

/* Layered backdrop: image + gradient + animated orbs */
.hero-v2 .hv2-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(8, 18, 35, 0.82) 0%, rgba(14, 28, 55, 0.62) 50%, rgba(10, 20, 40, 0.18) 100%),
        url('../img/hero_bg.png');
    background-size: cover;
    background-position: center right;
}

.hero-v2 .hv2-orbs::before,
.hero-v2 .hv2-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: hv2Float 14s ease-in-out infinite alternate;
}

.hero-v2 .hv2-orbs::before {
    width: 50vw;
    height: 50vw;
    max-width: 720px;
    max-height: 720px;
    top: -10%;
    right: -10%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 166, 35, 0.55), transparent 65%);
}

.hero-v2 .hv2-orbs::after {
    width: 42vw;
    height: 42vw;
    max-width: 600px;
    max-height: 600px;
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle at 70% 70%, rgba(52, 152, 219, 0.4), transparent 65%);
    animation-delay: 4s;
}

@keyframes hv2Float {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(20px, -15px) scale(1.05); }
    100% { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-v2 .hv2-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-v2 .hv2-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
    pointer-events: none;
}

/* ---------- Content layout: pinned to the left ---------- */
.hero-v2 > .container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-v2 .hv2-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 0 3rem;
    max-width: 580px;
    margin-left: 0;
    margin-right: auto;
}

.hero-v2 .hv2-text {
    animation: hv2RiseLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-v2 .hv2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.32);
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.75rem;
}

.hero-v2 .hv2-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.8);
    animation: hv2Pulse 2.4s ease-in-out infinite;
}

@keyframes hv2Pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero-v2 h1 {
    font-size: clamp(2rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-v2 h1 .highlight {
    color: var(--gold);
    position: relative;
    white-space: nowrap;
}

.hero-v2 h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left center;
    animation: hv2Underline 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes hv2Underline {
    to { transform: scaleX(1); }
}

.hero-v2 .hv2-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 2rem;
}

.hero-v2 .hv2-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hv2-stats-bottom {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: auto;
    padding-bottom: 2rem;
}

.hero-v2 .hv2-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 800px;
}

.hero-v2 .hero-services-mini {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    justify-content: flex-start;
    margin-left: -2rem;
}

.hero-v2 .hero-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.3s ease;
}

.hero-v2 .hero-service-item:hover {
    transform: translateY(-4px);
}

.hero-v2 .hero-service-item .mini-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.25);
}

.hero-v2 .hero-service-item span {
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    white-space: nowrap;
}

.hero-v2 .hv2-stat-num {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hero-v2 .hv2-stat-label {
    margin-top: 0.4rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

/* ---------- Hero CTA buttons ---------- */
.hero-v2 .hv2-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.hero-v2 .hv2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #f5a623 0%, #e8920f 100%);
    color: #0e1920;
    border: none;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4), 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.hero-v2 .hv2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 166, 35, 0.55), 0 2px 6px rgba(0,0,0,0.2);
}

.hero-v2 .hv2-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(245, 166, 35, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(127, 87, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.hero-v2 .hv2-btn-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-v2 .hv2-btn-whatsapp svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.5));
    color: #25d366;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.hero-v2 .hv2-btn-whatsapp:hover {
    transform: translateY(-2px);
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.22), 0 2px 8px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-v2 .hv2-btn-whatsapp:hover svg {
    filter: drop-shadow(0 0 7px rgba(37, 211, 102, 0.8));
    transform: scale(1.1);
}

/* Scroll indicator (reuse existing .scroll-indicator) keeps the same look. */

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero-v2 .hv2-stats { padding-top: 1.25rem; }
    .hero-v2 .hv2-content { max-width: 100%; }
}

@media (max-width: 600px) {
    .hero-v2 .hero-services-mini {
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .hero-v2 .hv2-btn-primary,
    .hero-v2 .hv2-btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}
