/* ═══════════════════════════════════════════════
   DELTA EVENTOS — Design System
   Dark premium theme with red accents
   ═══════════════════════════════════════════════ */

:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --bg-elevated: #1a1a1a;

    --red-primary: #e53935;
    --red-dark: #b71c1c;
    --red-glow: rgba(229, 57, 53, 0.15);
    --red-glow-strong: rgba(229, 57, 53, 0.3);

    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-red: rgba(229, 57, 53, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --navbar-height: 72px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ RESET ═══ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

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

/* ═══ PRELOADER ═══ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader.hidden {
    display: none;
}

.preloader-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Prevent scrolling while preloader is visible */
body.loading {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul { list-style: none; }

/* --- Team photo frames --- */
.equipo-foto-frame {
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    border-radius: 16px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.35s var(--ease-smooth);
}
.equipo-foto-frame:hover {
    border-color: var(--red-primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 26px rgba(229, 57, 53, 0.3);
}
.equipo-foto {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: background 0.3s var(--ease-smooth),
                box-shadow 0.3s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s var(--ease-smooth);
}

.navbar-logo:hover {
    transform: scale(1.03);
}

.navbar-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-nav a {
    display: block;
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--text-secondary);
    transition: color 0.25s var(--ease-smooth);
    position: relative;
    white-space: nowrap;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--red-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-smooth);
}

.navbar-nav a:hover {
    color: var(--text-primary);
}

.navbar-nav a:hover::after {
    transform: scaleX(1);
}

.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 2px;
    opacity: 0.6;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #b0b0b0 0%, #f5f5f5 25%, #8e8e8e 50%, #f5f5f5 75%, #b0b0b0 100%);
    background-size: 250% 250%;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    animation: silver-shine 4s ease-in-out infinite;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: skewX(-20deg);
    animation: btn-shine-sweep 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes silver-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes btn-shine-sweep {
    0% { left: -150%; }
    55% { left: 150%; }
    100% { left: 150%; }
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-cta:active {
    transform: translateY(0);
}

.cta-icon {
    font-size: 1rem;
}

.navbar-cta {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 0.72rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-smooth);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--navbar-height);
    overflow: hidden;
    background: var(--bg-primary);
}

/* Hero: full image banner (added) */
.hero.hero--image {
    min-height: auto;
    display: block;
    padding-top: 0;
    overflow: visible;
}

.hero-full-image {
    padding-top: var(--navbar-height);
    animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.hero-full-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ PAGE HEADER as full image (servicios.html etc.) ============ */
.page-header.page-header--image {
    padding: 0;
    min-height: auto;
    overflow: visible;
}

.page-header-img {
    display: block;
    width: 100%;
    height: auto;
    padding-top: var(--navbar-height);
    animation: fadeInUp 0.8s var(--ease-smooth) both;
}

/* ============ SERVICES HERO — banner recreado en HTML/CSS ============ */
.services-hero {
    position: relative;
    padding: calc(var(--navbar-height) + 48px) 32px 64px;
    background: #060606;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/ChatGPT Image 15 jul 2026, 15_12_49 (1).png') center center / cover no-repeat;
    opacity: 0.92;
    pointer-events: none;
}

/* Variantes de encuadre del fondo por sección */
.services-hero.bgpos-left::before { background-position: left center; }
.services-hero.bgpos-right::before { background-position: right center; }
.services-hero.bgpos-bottom::before { background-position: center bottom; }
.services-hero.bgpos-mid::before { background-position: 70% center; }

.services-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #060606 0%, rgba(6,6,6,0.96) 38%, rgba(6,6,6,0.6) 68%, rgba(6,6,6,0.4) 100%),
        linear-gradient(0deg, #060606 0%, transparent 22%),
        linear-gradient(115deg, transparent 55%, rgba(229,57,53,0.07) 62%, transparent 70%),
        radial-gradient(ellipse 26% 42% at 82% 22%, rgba(229,57,53,0.3) 0%, transparent 70%),
        radial-gradient(ellipse 20% 30% at 93% 60%, rgba(229,57,53,0.26) 0%, transparent 70%),
        radial-gradient(ellipse 30% 18% at 72% 85%, rgba(229,57,53,0.18) 0%, transparent 70%),
        radial-gradient(ellipse at 8% 30%, rgba(229,57,53,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.sh-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: center;
}

.sh-left {
    text-align: center;
    animation: fadeInUp 0.9s var(--ease-smooth) both;
}

.sh-logo {
    max-width: 300px;
    width: 100%;
    filter: drop-shadow(0 16px 36px rgba(229, 57, 53, 0.25)) drop-shadow(0 6px 14px rgba(0,0,0,0.5));
    transition: transform 0.6s var(--ease-smooth);
}

.sh-logo:hover {
    transform: scale(1.04) rotate(1deg);
    animation: electric-glow 1.4s ease-in-out infinite;
}

.sh-tagline {
    margin-top: 10px;
    font-size: 0.78rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sh-tagline strong {
    color: #ffffff;
    font-weight: 700;
}

.sh-minibadges {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sh-minibadge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.4;
}

.sh-minibadge svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.sh-right {
    text-align: center;
    animation: fadeInUp 0.9s var(--ease-smooth) 0.15s both;
}

.sh-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--red-primary);
    margin-bottom: 10px;
    position: relative;
}

.sh-tag::before,
.sh-tag::after {
    content: '/';
    opacity: 0.6;
    margin: 0 10px;
}

.sh-title {
    font-family: 'Oswald', var(--font-main);
    font-size: clamp(3rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.sh-title .t-silver {
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d4 35%, #8f8f8f 58%, #ececec 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
}

.sh-title .t-red {
    background: linear-gradient(180deg, #ff7a6e 0%, var(--red-primary) 42%, var(--red-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(229,57,53,0.35));
}

.sh-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--red-primary);
    font-size: 0.9rem;
    margin: 12px 0 16px;
}

.sh-divider span {
    height: 2px;
    width: 110px;
    background: linear-gradient(90deg, transparent, var(--red-primary));
}

.sh-divider span:last-child {
    background: linear-gradient(90deg, var(--red-primary), transparent);
}

.sh-sub {
    font-size: 0.88rem;
    letter-spacing: 3.5px;
    color: #eaeaea;
    line-height: 1.8;
    margin-bottom: 36px;
}

.sh-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 38px;
}

.sh-card {
    position: relative;
    background: linear-gradient(160deg, rgba(34,34,34,0.92) 0%, rgba(12,12,12,0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 28px 16px 22px;
    text-align: center;
    transition: transform 0.35s var(--ease-smooth), border-color 0.35s, box-shadow 0.35s;
}

.sh-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), transparent);
}

.sh-card:hover {
    transform: translateY(-7px);
    border-color: var(--border-red);
    box-shadow: 0 16px 38px rgba(229, 57, 53, 0.2);
}

.sh-card-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.35s, box-shadow 0.35s;
}

.sh-card:hover .sh-card-icon {
    border-color: var(--red-primary);
    box-shadow: 0 0 18px rgba(229, 57, 53, 0.4);
}

.sh-card-icon svg {
    width: 30px;
    height: 30px;
}

.sh-card h3 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sh-card p {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.sh-cta-row {
    text-align: center;
}

.sh-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #ef5350 0%, var(--red-primary) 40%, #8e1512 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 3px;
    padding: 17px 64px;
    border: 1px solid rgba(255, 130, 120, 0.55);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    box-shadow: 0 0 26px rgba(229, 57, 53, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.3s var(--ease-smooth), filter 0.3s, box-shadow 0.3s;
}

.sh-cta:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
    box-shadow: 0 0 44px rgba(229, 57, 53, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}

.sh-cta-bolt {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .sh-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sh-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-hero::before {
        background-size: cover;
        opacity: 0.22;
    }
}

@media (max-width: 560px) {
    .sh-cards {
        grid-template-columns: 1fr;
    }
    .sh-cta {
        padding: 15px 36px;
    }
    .sh-title {
        letter-spacing: 2px;
    }
}



/* ============ HERO Iteration 3: layered original-content images + cropped photo ============ */
.hero-content-imgs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin-bottom: -30px;
    animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.hero-headline-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin-top: -40px;
    margin-bottom: -60px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.1s both;
}

.hero-desc-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin-top: -20px;
    margin-bottom: -30px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero-btn-link {
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s var(--ease-smooth), filter 0.3s var(--ease-smooth);
    animation: fadeInUp 0.8s var(--ease-smooth) 0.3s both;
}

.hero-btn-link img {
    display: block;
    height: 64px;
    width: auto;
}

.hero-btn-link:hover {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 10px 24px rgba(229, 57, 53, 0.5)) brightness(1.08);
}

.hero-btn-link:active {
    transform: translateY(-1px) scale(0.99);
}

.hero-photo-col {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    min-height: 460px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-red);
    animation: fadeInRight 0.9s var(--ease-smooth) both;
}

.hero-photo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% center;
    display: block;
}

.hero-photo-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    max-width: 300px;
    z-index: 2;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 20px 40px rgba(229, 57, 53, 0.15)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s var(--ease-smooth);
    cursor: pointer;
}

.hero-photo-logo-overlay:hover {
    transform: translate(-50%, -50%) scale(1.05) rotate(1deg);
    animation: electric-glow 1.4s ease-in-out infinite;
}

.hero-badges-imgwrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 10px 32px 60px;
}

.hero-badges-imgwrap img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.4s both;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 24px 30px;
    }
    .hero-photo-col {
        aspect-ratio: 16 / 9;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .hero-tag-img,
    .hero-headline-img,
    .hero-desc-img {
        max-width: 100%;
    }
    .hero-badges-imgwrap img {
        max-width: 100%;
    }
}



.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(229, 57, 53, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(229, 57, 53, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 80px 32px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--red-primary);
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.1s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--red-primary);
}

.hero-description {
    font-size: 1.05rem;
    color: #f0f0f0;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both, fluorescent-flicker 1.8s linear 0.9s 1 forwards;
    text-align: justify;
    text-align-last: left;
    text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0px 3px rgba(0,0,0,0.85), 0 0 8px rgba(255,255,255,0.5), 0 0 18px rgba(229,57,53,0.4);
}

@keyframes fluorescent-flicker {
    0%   { opacity: 0.2; text-shadow: none; }
    4%   { opacity: 1; text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 18px rgba(229,57,53,0.6); }
    8%   { opacity: 0.3; text-shadow: none; }
    12%  { opacity: 1; text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 18px rgba(229,57,53,0.6); }
    18%  { opacity: 0.25; text-shadow: none; }
    24%  { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.95), 0 0 20px rgba(229,57,53,0.7); }
    30%  { opacity: 0.4; text-shadow: 0 0 4px rgba(255,255,255,0.4); }
    36%  { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.95), 0 0 20px rgba(229,57,53,0.7); }
    100% { opacity: 1; text-shadow: 0 1px 5px rgba(0,0,0,0.9), 0 0px 2px rgba(0,0,0,0.7), 0 0 8px rgba(255,255,255,0.45), 0 0 18px rgba(229,57,53,0.4); }
}

.hero-cta {
    animation: fadeInUp 0.8s var(--ease-smooth) 0.3s both;
    padding: 16px 32px;
    font-size: 0.85rem;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s var(--ease-smooth) 0.3s both;
}

.hero-logo-img {
    max-width: 420px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(229, 57, 53, 0.15))
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s var(--ease-smooth);
}

.hero-logo-img:hover {
    transform: scale(1.03) rotate(1deg);
    animation: electric-glow 1.4s ease-in-out infinite;
}

@keyframes electric-glow {
    0%, 100% {
        filter: drop-shadow(0 20px 40px rgba(229, 57, 53, 0.15)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 6px rgba(229, 57, 53, 0.35));
    }
    50% {
        filter: drop-shadow(0 20px 40px rgba(229, 57, 53, 0.15)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 36px rgba(229, 57, 53, 0.8));
    }
}

/* Hero Badges */
.hero-badges {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.5s both;
}

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

.badge-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-glow);
    border-radius: 8px;
    border: 1px solid var(--border-red);
}

.badge-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
    line-height: 1.3;
    background: linear-gradient(100deg, var(--text-secondary) 35%, #ffffff 50%, var(--text-secondary) 65%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: badge-shine 4s ease-in-out infinite;
}

@keyframes badge-shine {
    0% { background-position: 220% 0; }
    100% { background-position: -220% 0; }
}

.badge-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* Hero: wordmark lockup (added) */
.hero-wordmark {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.hero-wordmark .wm-delta {
    color: var(--text-primary, #ffffff);
}

.hero-wordmark .wm-eventos {
    color: var(--red-primary);
}

.hero-wordmark .wm-cl {
    color: var(--text-muted, #666666);
    font-size: 0.55em;
    font-weight: 700;
}

.hero-wordmark-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    margin-bottom: 26px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.1s both;
}

.hero-wordmark-divider .divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.hero-wordmark-divider .divider-bolt {
    color: var(--red-primary);
    font-size: 0.9rem;
    line-height: 1;
}

/* Hero: tagline (added) */
.hero-tagline {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.18;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.15s both;
}

.hero-tagline .tagline-white {
    display: block;
    color: var(--text-primary, #ffffff);
}

.hero-tagline .tagline-red {
    display: block;
    color: var(--red-primary);
}

/* Hero: feature icons row (added) */
.hero-features-row {
    display: flex;
    gap: 26px;
    margin-bottom: 34px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.25s both;
}

.hero-feature-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 190px;
}

.hero-feature-icon-circle {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-glow, rgba(229,57,53,0.1));
    border: 1.5px solid var(--border-red, var(--red-primary));
    transition: all 0.3s var(--ease-smooth);
}

.hero-feature-icon-circle svg {
    width: 24px;
    height: 24px;
    color: var(--red-primary);
    transition: color 0.3s var(--ease-smooth);
}

.hero-feature-col:hover .hero-feature-icon-circle {
    background: var(--red-primary);
    box-shadow: 0 0 20px var(--red-glow, rgba(229,57,53,0.4));
}

.hero-feature-col:hover .hero-feature-icon-circle svg {
    color: #ffffff;
}

.hero-feature-col-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hero-feature-col-desc {
    font-size: 0.78rem;
    color: var(--text-secondary, #b0b0b0);
    line-height: 1.4;
}

/* Hero: angular CTA buttons (added) */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.btn-chevron {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px 16px 26px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
    transition: all 0.3s var(--ease-smooth);
    animation: fadeInUp 0.8s var(--ease-smooth) 0.35s both;
}

.btn-chevron--solid {
    background: linear-gradient(135deg, var(--red-dark, #b71c1c) 0%, var(--red-primary, #e53935) 100%);
    color: #ffffff;
}

.btn-chevron--solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(229,57,53,0.4);
}

.btn-chevron--outline {
    background: transparent;
    color: var(--text-primary, #ffffff);
    border: 1.5px solid rgba(255,255,255,0.4);
    animation-delay: 0.45s;
}

.btn-chevron--outline:hover {
    border-color: var(--red-primary);
    background: rgba(229,57,53,0.1);
    transform: translateY(-2px);
}

/* Hero: 4-badge trust row, circular icons (added) */
.badge-icon {
    color: var(--red-primary);
    border-radius: 50%;
}

.badge-icon svg {
    width: 18px;
    height: 18px;
}

/* ═══════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════ */
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--red-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-tag--center {
    display: block;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 56px;
    color: var(--text-primary);
}

.section-title--center {
    text-align: center;
}

/* ═══════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════ */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

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

.service-card {
    background: var(--bg-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    transition: all 0.4s var(--ease-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-red);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 30px var(--red-glow);
}

.service-card-img {
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.service-card-img img:not(.service-icon-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card-img--red {
    background: linear-gradient(135deg, var(--red-dark) 0%, #2a0a0a 100%);
}

.service-icon-img {
    width: 80px;
    height: auto;
    opacity: 0.6;
    transition: all 0.4s var(--ease-smooth);
}

.service-card:hover .service-icon-img {
    opacity: 0.9;
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
}

.service-card-body {
    padding: 28px;
}

.service-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: justify;
    text-align-last: left;
}

.service-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--red-primary);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s var(--ease-smooth);
}

.service-link span {
    transition: transform 0.3s var(--ease-smooth);
}

.service-link:hover {
    color: #f44336;
}

.service-link:hover span {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════
   VALUES SECTION
   ═══════════════════════════════════════════════ */
.values {
    padding: var(--section-padding);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.values-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.values-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 8px;
}

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

.value-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 32px 24px;
    border: 1px solid var(--border-card);
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
}

.value-card:hover {
    border-color: var(--border-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-glow);
    border-radius: 12px;
    border: 1px solid var(--border-red);
    color: var(--red-primary);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

/* ═══════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════ */
.projects {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.projects-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.placeholder-card {
    height: 260px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px dashed var(--border-card);
    position: relative;
    overflow: hidden;
}

.placeholder-card::after {
    content: '[ texto en blanco ]';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   CERTIFICATIONS SECTION
   ═══════════════════════════════════════════════ */
.certifications {
    padding: var(--section-padding);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

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

.cert-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 40px 28px;
    border: 1px solid var(--border-card);
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.cert-card:hover::before {
    left: 125%;
}

.cert-card:hover {
    border-color: var(--border-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 30px rgba(229, 57, 53, 0.35), 0 0 60px rgba(229, 57, 53, 0.15);
}

.cert-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cert-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
}

/* ═══════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════ */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 32px;
    text-align: justify;
    text-align-last: left;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.contact-item-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-glow);
    border-radius: 10px;
    border: 1px solid var(--border-red);
    flex-shrink: 0;
    color: var(--red-primary);
}
.contact-item-icon svg {
    width: 19px;
    height: 19px;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-smooth);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 280px;
    text-align: justify;
    text-align-last: left;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.25s var(--ease-smooth);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.footer-credit {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    margin-top: 6px;
    opacity: 0.85;
}

.footer-credit a {
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-smooth);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 32px 30px;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        margin: 0 auto;
    }

    .hero-image {
        order: -1;
    }

    .hero-logo-img {
        max-width: 300px;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features-row {
        justify-content: center;
    }

    .hero-feature-col {
        align-items: center;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-wordmark-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }

    .container {
        padding: 0 20px;
    }

    /* Mobile Navbar */
    .navbar-container {
        padding: 0 20px;
    }

    .navbar-logo {
        height: 36px;
    }

    .navbar-nav {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - var(--navbar-height));
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 32px 20px;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .navbar-nav a {
        padding: 18px 0;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .navbar-nav a::after {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
    }

    .hero-container {
        padding: 40px 20px 20px;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .hero-logo-img {
        max-width: 220px;
    }

    .hero-badges {
        padding: 0 20px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .badge-divider {
        display: none;
    }

    .hero-features-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 24px;
    }

    .hero-feature-col {
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-cta-group .btn-chevron {
        justify-content: center;
        width: 100%;
    }

    /* Sections */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 36px;
    }

    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .values {
        padding: 60px 0;
    }

    .values-title {
        font-size: 1.6rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 24px;
    }

    .value-icon {
        margin: 0;
        flex-shrink: 0;
    }

    @media (max-width: 480px) {
        .value-card {
            flex-direction: column;
            text-align: center;
        }

        .value-icon {
            margin: 0 0 4px 0;
        }
    }

    .projects {
        padding: 60px 0;
    }

    .projects-placeholder {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .placeholder-card {
        height: 160px;
    }

    .certifications {
        padding: 60px 0;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 1.6rem;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ═══════════════════════════════════════════════
   SMALL MOBILE
   ═══════════════════════════════════════════════ */
@media (max-width: 420px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-logo-img {
        max-width: 180px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}


/* ═══════════════════════════════════════════════
   CUSTOM VISUALS — hero + service imagery (added)
   ═══════════════════════════════════════════════ */
.hero {
    background-image: url('hero-bg.svg');
    background-size: cover;
    background-position: center;
}

.service-icon-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0;
    transition: transform 0.5s var(--ease-smooth);
}

.service-card:hover .service-icon-img {
    transform: scale(1.06);
}

.service-card:nth-child(1) .service-icon-img { content: url('servicio-certificacion.svg'); }
.service-card:nth-child(2) .service-icon-img { content: url('servicio-proyectos.svg'); }
.service-card:nth-child(3) .service-icon-img { content: url('servicio-tableros.svg'); }

.placeholder-card::after {
    content: none;
}

.placeholder-card {
    height: auto;
    min-height: 200px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-style: solid;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
}

.placeholder-card h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.placeholder-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
}


.hero-bg-overlay {
    background-image: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 28%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.05) 68%, rgba(10,10,10,0) 80%);
}

/* ═══════════════ MULTI-PAGE ADDITIONS ═══════════════ */

/* --- Active nav link (current page) --- */
.navbar-nav a.active { color: #e53935; }
.navbar-nav a.active::after { width: 100%; }

/* --- New minimalist preloader (replaces video preloader) --- */
.preloader-logo-new {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1); }
}

/* --- Sub-page header banner --- */
.page-header {
    position: relative;
    padding: 150px 0 64px;
    background: linear-gradient(135deg, #0a0a0a 0%, #161616 55%, #0d0d0d 100%);
    text-align: center;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(229,57,53,0.20), transparent 62%);
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: #fff;
    margin: 14px 0 12px;
    line-height: 1.15;
}
.page-header p {
    color: #b0b0b0;
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.6;
}
.breadcrumb {
    margin-top: 20px;
    font-size: 0.82rem;
    color: #7d7d7d;
    letter-spacing: 0.03em;
}
.breadcrumb a { color: #cfcfcf; text-decoration: none; }
.breadcrumb a:hover { color: #e53935; }

/* --- Trust bar (ferias / eventos certificados) --- */
.stats-bar {
    padding: 46px 0;
    background: var(--bg-secondary, #111111);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item {
    text-align: center;
    padding: 0 16px;
}
.stat-number {
    display: block;
    font-family: monospace;
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--red-primary, #e53935);
    margin-bottom: 8px;
}
.stat-label {
    display: block;
    color: var(--text-secondary, #b0b0b0);
    font-size: 0.85rem;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

.trust-bar {
    padding: 36px 0;
    background: #111111;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.trust-bar p {
    text-align: center;
    color: #7d7d7d;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 30px;
}
.trust-list span {
    color: #d5d5d5;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0.82;
    letter-spacing: 0.02em;
}

/* --- Service detail rows (Servicios page) --- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail.reverse .service-detail-body { order: 1; }
.service-detail-media {
    border-radius: 12px;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    aspect-ratio: 4 / 3;
}
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-detail-media--split {
    aspect-ratio: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}
.service-detail-media--split .service-detail-frame {
    border-radius: 12px;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    aspect-ratio: 4 / 3;
}
.service-detail-media--split .service-detail-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-detail-frame--captioned { position: relative; }
.service-detail-frame--captioned .frame-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    color: var(--text-secondary, #b0b0b0);
    font-size: 0.8rem;
    text-align: center;
    letter-spacing: 0.02em;
}
.service-detail-body .section-tag { margin-bottom: 14px; display: inline-block; }
.service-detail-body h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.25;
}
.service-detail-body p {
    color: #b0b0b0;
    line-height: 1.75;
    margin-bottom: 18px;
    text-align: justify;
    text-align-last: left;
}
.service-detail-list { list-style: none; }
.service-detail-list li {
    color: #cfcfcf;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.5;
}
.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 6px rgba(229, 57, 53, 0.6);
}

/* --- Generic content section spacing helper for sub-pages --- */
.content-section { padding: 80px 0; }
.content-section--alt { background: #111111; }
.content-lead {
    max-width: 780px;
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.02rem;
    margin: 0 auto 20px;
    text-align: justify;
    text-align-last: left;
}
.content-lead strong { color: #e6e6e6; }

/* --- Team / owner card (Empresa page) --- */
.owner-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 40px;
    margin-top: 40px;
}
.owner-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e1e1e, #0d0d0d);
    border: 2px solid #e53935;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 800;
    color: #e53935;
}
.owner-info h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.owner-info .owner-role { color: #e53935; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.owner-info p { color: #b0b0b0; line-height: 1.7;
    text-align: justify;
    text-align-last: left;
}

/* --- TE-1 process steps (Certificaciones page) --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 46px;
}
.process-step {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px 24px;
    position: relative;
}
.process-step {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--border-red, var(--red-primary));
    background: #1c1c1c;
    box-shadow: 0 20px 44px rgba(0,0,0,0.4), 0 0 30px var(--red-glow, rgba(229,57,53,0.35));
}
.process-step:hover .process-step-num {
    color: var(--red-primary);
}
.process-step-num {
    font-family: var(--font-main);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--red-primary);
    opacity: 0.9;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}
.process-step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { color: #a8a8a8; font-size: 0.92rem; line-height: 1.6;
    text-align: left;
}

/* --- Scope grid (what TE-1 covers) --- */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.scope-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #141414;
    border: 1px solid rgba(229, 57, 53, 0.4);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(229, 57, 53, 0.25), inset 0 0 12px rgba(229, 57, 53, 0.08);
    animation: neon-flicker 3.5s infinite;
    transition: all 0.3s ease;
}
.scope-item:hover {
    box-shadow: 0 0 18px rgba(229, 57, 53, 0.6), 0 0 36px rgba(229, 57, 53, 0.35), inset 0 0 16px rgba(229, 57, 53, 0.15);
    border-color: rgba(229, 57, 53, 0.9);
}
.scope-item span.label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 0 6px rgba(229, 57, 53, 0.8), 0 0 14px rgba(229, 57, 53, 0.5), 0 0 2px rgba(255,255,255,0.8);
}
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        box-shadow: 0 0 8px rgba(229, 57, 53, 0.25), inset 0 0 12px rgba(229, 57, 53, 0.08);
        opacity: 1;
    }
    20%, 22%, 24%, 55% {
        box-shadow: 0 0 2px rgba(229, 57, 53, 0.1);
        opacity: 0.85;
    }
}

/* --- Contact page direct info block --- */
.contact-direct {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}
.contact-direct a.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.12);
    color: #e6e6e6;
    padding: 12px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.25s ease;
}
.contact-direct a.contact-pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--red-primary);
}
.contact-direct a.contact-pill:hover {
    border-color: #e53935;
    color: #e53935;
}

/* --- Responsive: stack service-detail & owner-card & process-steps on mobile --- */
@media (max-width: 860px) {
    .service-detail, .service-detail.reverse {
        grid-template-columns: 1fr;
    }
    .service-detail.reverse .service-detail-media,
    .service-detail.reverse .service-detail-body { order: initial; }
    .owner-card { grid-template-columns: 1fr; text-align: center; padding: 30px; }
    .owner-avatar { margin: 0 auto; }
    .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .process-steps { grid-template-columns: 1fr; }
    .page-header { padding: 130px 0 50px; }
}


/* --- Mobile menu background fix (solid, no blend with page) --- */
@media (max-width: 768px) {
    .navbar-nav.active {
        background: #0a0a0a;
        z-index: 999;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    }
}


/* --- Trust bar as links with monogram marks --- */
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d5d5d5;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0.82;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.trust-item:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateY(-2px);
}
.trust-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: visible;
    padding: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.trust-mark::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 10px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.55) 0%, rgba(229, 57, 53, 0) 70%);
    filter: blur(6px);
    z-index: -1;
    animation: trust-backlight 3s ease-in-out infinite;
}
@keyframes trust-backlight {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 0.9; transform: scale(1.15); }
}
.trust-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* --- Real photos: service detail media override --- */
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Real photos: proyectos.html placeholder cards --- */
.placeholder-photo { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; display: block; }

/* --- Real photos: certificaciones.html gallery strip --- */
.cert-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cert-gallery-item { border-radius: 12px; overflow: hidden; background: #141414; border: 1px solid rgba(255,255,255,0.1); }
.cert-gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.cert-gallery-item figcaption { padding: 12px 16px; color: #d5d5d5; font-weight: 600; font-size: 0.9rem; text-align: center; }
@media (max-width: 768px) { .cert-gallery { grid-template-columns: 1fr; } }


/* --- Tablero rental gallery (Arriendo de Tableros) --- */
.tablero-gallery {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}
.tablero-gallery-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #fff;
    margin-bottom: 24px;
    font-weight: 600;
}
.tablero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.tablero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}
.tablero-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-red);
}
.tablero-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.tablero-card-info {
    padding: 14px 16px;
}
.tablero-model {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.tablero-price {
    display: block;
    color: var(--red-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- Proyectos: experience stats block --- */
.stats-block {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--red-primary);
    margin-bottom: 8px;
    line-height: 1;
}
.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

/* ============ HERO wordmark-style (mockup 2026-07) — overrides ============ */
.hero-wordmark {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    letter-spacing: 1px;
}

.hero-tagline .tagline-top {
    display: block;
    font-weight: 500;
    font-size: 0.72em;
    letter-spacing: 4px;
    color: #e2e2e2;
    margin-bottom: 2px;
}

.hero-tagline .tagline-white {
    letter-spacing: 3px;
}

.hero-badges--line {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding-top: 26px;
    flex-wrap: wrap;
}

.hero-badges--line .badge-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .hero-features-row {
        gap: 18px;
    }
    .hero-cta-group {
        flex-wrap: wrap;
    }
}


/* Ajustes finos hero mockup */
.hero-tagline {
    font-size: clamp(1.15rem, 1.9vw, 1.7rem);
}

.hero-features-row {
    gap: 18px;
    flex-wrap: nowrap;
}

.hero-feature-col {
    max-width: 160px;
}

@media (max-width: 900px) {
    .hero-features-row {
        flex-wrap: wrap;
    }
}


/* ============ Photo strip (right edge, crops out baked text) ============ */
.sh-photo-strip {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24%;
    overflow: hidden;
    pointer-events: none;
}

.sh-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    filter: grayscale(80%) brightness(0.5) contrast(1.15);
    opacity: 0.55;
    display: block;
}

.sh-photo-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #060606 0%, rgba(6,6,6,0.3) 50%, rgba(6,6,6,0.55) 100%);
}

@media (max-width: 1024px) {
    .sh-photo-strip { display: none; }
}

/* ============ PAGE HERO (encabezados Nosotros/Certificaciones/Proyectos/Contacto) ============ */
.page-hero .sh-container {
    grid-template-columns: 1.25fr 340px;
}

.page-hero .ph-left {
    text-align: left;
    animation: fadeInUp 0.9s var(--ease-smooth) both;
}

.page-hero .ph-right {
    text-align: center;
    animation: fadeInRight 0.9s var(--ease-smooth) 0.15s both;
}

.page-hero .sh-title {
    text-align: left;
    font-size: clamp(2.4rem, 4.6vw, 3.7rem);
    margin-bottom: 4px;
}

.page-hero .sh-divider {
    justify-content: flex-start;
    margin: 10px 0 16px;
}

.page-hero .sh-divider span {
    width: 90px;
}

.ph-wm {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important;
    margin-bottom: 6px !important;
}

.ph-wm-underline {
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, var(--red-primary), transparent);
    margin: 2px 0 20px;
}

.ph-wm-tag {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin: 0 0 16px;
}

.ph-sub {
    font-size: 1.06rem;
    color: #e0e0e0;
    line-height: 1.65;
    max-width: 540px;
    margin-bottom: 30px;
}

.ph-sub strong { color: #ffffff; }
.ph-sub .ph-red { color: var(--red-primary); }

.page-hero .hero-features-row {
    margin-bottom: 32px;
}

.page-hero .hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.ph-badgesbar {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 34px auto 0;
    padding: 24px 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ph-badgesbar .sh-minibadges {
    margin-top: 0;
    justify-content: center;
    gap: 30px;
}

.page-hero .sh-logo {
    max-width: 320px;
}

@media (max-width: 1024px) {
    .page-hero .sh-container { grid-template-columns: 1fr; }
    .page-hero .sh-title { text-align: left; }
}


/* ============ Botones unificados: estilo plateado (COTIZA AHORA) ============ */
.sh-cta,
.btn-chevron,
.btn-chevron--solid,
.btn-chevron--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #b0b0b0 0%, #f5f5f5 25%, #8e8e8e 50%, #f5f5f5 75%, #b0b0b0 100%);
    background-size: 250% 250%;
    color: #1a1a1a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 6px;
    border: none;
    clip-path: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
    animation: silver-shine 4s ease-in-out infinite;
}

.sh-cta::after,
.btn-chevron::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: skewX(-20deg);
    animation: btn-shine-sweep 2.8s ease-in-out infinite;
    pointer-events: none;
}

.sh-cta:hover,
.btn-chevron:hover,
.btn-chevron--solid:hover,
.btn-chevron--outline:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    color: #1a1a1a;
    border: none;
}

.sh-cta-bolt { display: none; }


/* ============ Sin iconos de rayo decorativos ============ */
.sh-divider { gap: 0; }
.hero-wordmark-divider { gap: 0; }
.divider-bolt { display: none; }
.sh-cta-bolt { display: none; }


/* ============ Landings: sin logo, sin wordmark, sin iconos circulares, contenido centrado ============ */
.hero-feature-icon-circle { display: none; }

.page-hero .ph-wm,
.page-hero .ph-wm-underline,
.page-hero .ph-right { display: none; }

.page-hero .sh-container { grid-template-columns: 1fr; }

.page-hero .ph-left {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.page-hero .sh-title { text-align: center; }
.page-hero .sh-divider { justify-content: center; }
.page-hero .ph-sub { margin-left: auto; margin-right: auto; }
.page-hero .ph-wm-tag { letter-spacing: 3px; }
.page-hero .hero-features-row { justify-content: center; flex-wrap: wrap; }
.page-hero .hero-feature-col { align-items: center; text-align: center; }
.page-hero .hero-cta-group { justify-content: center; }

/* Servicios: sin logo, columna única centrada, tagline y sellos debajo */
.services-hero:not(.page-hero) .sh-logo { display: none; }
.services-hero:not(.page-hero) .sh-container { grid-template-columns: 1fr; }
.services-hero:not(.page-hero) .sh-left { order: 2; }


/* ============ Tipografia del logo oficial (Chakra Petch) en el inicio ============ */
.hero-wordmark {
    font-family: 'Chakra Petch', var(--font-main);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-tagline {
    font-family: 'Chakra Petch', var(--font-main);
    font-weight: 600;
}


/* ============ Inicio: fondo exacto con la imagen tech subida ============ */
.hero {
    background: #050505 url('img/ChatGPT Image 15 jul 2026, 15_12_49 (1).png') center center / cover no-repeat;
}

.hero .hero-bg-overlay {
    background: linear-gradient(90deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.25) 40%, transparent 70%);
}


/* Numeros de estadisticas: tipografia moderna (la del logo) */
.stat-number {
    font-family: 'Chakra Petch', var(--font-main);
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* Landings: fila de 3 puntos bien separados con divisores */
.page-hero .hero-features-row {
    gap: 0;
    align-items: flex-start;
}

.page-hero .hero-feature-col {
    max-width: 230px;
    padding: 0 32px;
    position: relative;
    gap: 8px;
}

.page-hero .hero-feature-col + .hero-feature-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 75%;
    min-height: 34px;
    background: linear-gradient(180deg, transparent, rgba(229, 57, 53, 0.65), transparent);
}

.page-hero .hero-feature-col-title {
    white-space: nowrap;
}

.page-hero .hero-feature-col:has(.hero-feature-col-desc) .hero-feature-col-title {
    white-space: normal;
}

@media (max-width: 700px) {
    .page-hero .hero-features-row { flex-direction: column; align-items: center; gap: 14px; }
    .page-hero .hero-feature-col + .hero-feature-col::before { display: none; }
    .page-hero .hero-feature-col-title { white-space: normal; }
}


/* Sin filas de mini-sellos (iconos + texto) */
.sh-minibadges,
.ph-badgesbar,
.hero-badges--line { display: none; }


/* Tarjetas de servicios: sin iconos, texto centrado */
.sh-card-icon { display: none; }

.sh-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 18px 26px;
}


/* ═══════════ RESPONSIVE GLOBAL (tablet + movil) ═══════════ */
@media (max-width: 1024px) {
    .hero {
        background-position: 28% center;
        min-height: auto;
        padding-bottom: 30px;
    }
    .hero-bg-overlay {
        background: rgba(5, 5, 5, 0.55) !important;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 60px 24px 30px;
        text-align: center;
    }
    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-wordmark { justify-content: center; }
    .hero-features-row { justify-content: center; }
    .hero-cta-group { justify-content: center; }
    .hero-image { order: -1; }
    .hero-logo-img { max-width: 240px; }
    .services-hero {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 768px) {
    .hero-features-row {
        flex-wrap: wrap;
        gap: 20px 28px;
    }
    .hero-feature-col {
        max-width: 44%;
        align-items: center;
        text-align: center;
    }
    .btn-chevron, .sh-cta, .btn-cta {
        padding: 13px 24px;
        font-size: 0.78rem;
        letter-spacing: 1px;
    }
    .services-hero {
        padding-top: calc(var(--navbar-height) + 30px);
        padding-bottom: 44px;
    }
    .page-hero .ph-sub {
        font-size: 0.95rem;
    }
    .sh-title { letter-spacing: 1.5px; }
    .sh-sub { letter-spacing: 2px; font-size: 0.8rem; }
    .sh-cards { gap: 12px; }
    .stat-number { font-size: 1.7rem; }
    .sh-divider span { width: 60px; }
}

@media (max-width: 560px) {
    .hero-wordmark { font-size: 2.1rem; }
    .hero-tagline { font-size: 1.05rem; }
    .hero-feature-col { max-width: 100%; }
    .hero-cta-group {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    .hero-cta-group .btn-chevron,
    .hero-cta-group .sh-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .hero-logo-img { max-width: 190px; }
    .sh-title { font-size: 2rem; }
    .page-hero .ph-wm-tag { letter-spacing: 2px; font-size: 0.6rem; }
    .stats-grid { gap: 22px 10px; }
    .stat-number { font-size: 1.45rem; }
    .stat-label { font-size: 0.72rem; }
    .services-hero { padding-left: 16px; padding-right: 16px; }
    .sh-card { padding: 22px 14px 20px; }
    .sh-card h3 { font-size: 0.78rem; }
    .sh-card p { font-size: 0.73rem; }
}


/* Certificaciones: recuadros de cobertura centrados */
.scope-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.scope-item {
    text-align: center;
    min-width: 230px;
}

.scope-item .label {
    display: block;
    text-align: center;
}


/* Centrado definitivo del texto en recuadros de cobertura */
.scope-item {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
}

.scope-item .label {
    width: 100%;
    text-align: center !important;
}
