/* VARIABLES GLOBALES */
:root {
    --ink: #0b0c0e;
    --ink2: #131418;
    --ink3: #1c1d22;
    --ink4: #26272d;
    --orange: #e5612a;
    --orange-dim: rgba(229,97,42,0.15);
    --orange-border: rgba(229,97,42,0.35);
    --white: #ffffff;
    --muted: rgba(255,255,255,0.45);
    --muted2: rgba(255,255,255,0.12);
    --serif: 'Georgia', 'Times New Roman', serif;
    --sans: 'Franklin Gothic Heavy','Arial Black','Arial Narrow',Arial,sans-serif;
    --body: 'Segoe UI','Helvetica Neue',Arial,sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--ink);
    color: var(--white);
    font-family: var(--body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ANIMACIONES */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to   {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 68px;
    background: rgba(11,12,14,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--muted2);
}
.nav-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    text-decoration: none;
}
.nav-logo strong {
    font-weight: 800;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--white);
}
.nav-cta {
    background: var(--orange);
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
}
.nav-cta:hover {
    background: #cc5022 !important;
}

/* Enlace "Back" */
.nav-back-link {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-back-link:hover {
    color: var(--white);
}

/* CLASES UTILITARIAS */
.relative-z2 {
    position: relative;
    z-index: 2;
}
.highlight-orange {
    font-style: normal;
    color: var(--orange);
}
.inline-block-mt32 {
    display: inline-block;
    margin-top: 32px;
}
.inline-block-mb24 {
    display: inline-block;
    margin-bottom: 24px;
}
.split-desc-text {
    font-size: 15px;
    color: var(--muted);
    margin-top: 20px;
    max-width: 380px;
    line-height: 1.75;
}
.contact-link-email {
    display: inline-block;
    font-size: 18px;
    color: var(--orange);
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid var(--orange-border);
    padding-bottom: 4px;
    margin-top: 10px;
}
.regions-wrapper {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.region-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.region-value {
    font-family: var(--sans);
    font-size: 18px;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(229,97,42,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(229,97,42,0.06) 0%, transparent 60%);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--orange);
}
.hero-headline {
    font-family: var(--sans);
    font-size: clamp(56px, 8vw, 112px);
    line-height: 0.92;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--white);
    max-width: 900px;
    animation: fadeUp 0.7s 0.1s ease both;
}
.hero-headline em {
    font-style: normal;
    color: var(--orange);
}
.hero-sub {
    margin-top: 32px;
    font-size: 17px;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 44px;
    animation: fadeUp 0.7s 0.3s ease both;
}

/* Botones */
.btn-primary {
    background: var(--orange);
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none; cursor: pointer;
}
.btn-primary:hover {
    background: #cc5022;
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    transition: border-color 0.2s, transform 0.15s;
    cursor: pointer;
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* Estadísticas Flotantes */
.floating-stats-container {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 3;
    animation: fadeUp 0.8s 0.4s ease both;
    opacity: 0;
    animation-fill-mode: forwards;
}
.stat-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.stat-pill.orange-bg {
    background: rgba(229,97,42,0.1);
    border: 1px solid rgba(229,97,42,0.3);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
.stat-pill-icon {
    width: 18px;
    height: 18px;
    fill: var(--orange);
    flex-shrink: 0;
}
.stat-pill-icon.white-icon {
    fill: rgba(255,255,255,0.6);
}
.stat-pill-title {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.stat-pill-value {
    font-family: var(--sans);
    font-size: 22px;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* TICKER Y SECCIONES GLOBALES */
.ticker {
    background: var(--orange);
    overflow: hidden;
    height: 44px;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    animation: scroll 22s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.ticker-item::after {
    content: '◆';
    font-size: 6px;
    opacity: 0.6;
}

section {
    padding: 100px 60px;
}
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px; gap: 40px;
}
.section-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--sans);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 0.95;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.section-desc {
    max-width: 360px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    padding-bottom: 6px;
}

/* GRID SERVICES & SPLIT */
.services {
    background: var(--ink2);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--muted2);
    border: 1px solid var(--muted2);
    border-radius: 8px;
    overflow: hidden;
}
.service-card {
    background: var(--ink2);
    padding: 40px 32px;
    transition: background 0.25s;
    position: relative;
}
.service-card:hover {
    background: var(--ink3);
}
.svc-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--orange-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.svc-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--orange);
}
.svc-num {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 10px;
}
.svc-name {
    font-family: var(--sans);
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 12px; line-height: 1.1;
}
.svc-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.advertisers {
    background: var(--ink);
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-visual {
    background: var(--ink3);
    border: 1px solid var(--muted2);
    border-radius: 12px;
    padding: 40px;
}
.offer-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--muted2);
}
.offer-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--orange-dim);
    border: 1px solid var(--orange-border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer-badge svg {
    width: 20px;
    height: 20px;
    fill: var(--orange);
}
.offer-title {
    font-family: var(--sans);
    font-size: 16px;
    text-transform: uppercase;
}
.offer-detail {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

/* STATS */
.stats { background: var(--ink3); padding: 60px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--muted2);
    border: 1px solid var(--muted2);
    border-radius: 8px;
    overflow: hidden;
}
.stat-box {
    background: var(--ink3);
    padding: 40px 32px;
    text-align: center;
}
.stat-num {
    font-family: var(--sans);
    font-size: 52px;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -2px;
}
.stat-unit { font-size: 22px; }
.stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 10px;
}

/* PARTNERS / LOOK FOR */
.partners { background: var(--ink2); }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.partner-card {
    background: var(--ink3);
    border: 1px solid var(--muted2);
    border-radius: 10px;
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.25s, transform 0.2s;
}
.partner-card:hover {
    border-color: var(--orange-border);
    transform: translateY(-3px);
}
.partner-icon {
    width: 52px;
    height: 52px;
    background: var(--orange-dim);
    border: 1px solid var(--orange-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.partner-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
}
.partner-name {
    font-family: var(--sans);
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.partner-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* GLOBAL REACH */
.global-reach {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}
.global-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}
.world-svg-wrap {
    position: relative;
}
.world-svg-wrap svg {
    width: 100%;
    height: auto;
    opacity: 0.85;
}

/* CONTACT & FORMS (Source 2) */
.type-selector-wrap {
    background: var(--ink2);
    padding: 120px 60px 0;
    border-bottom: 1px solid var(--muted2);
}
.ts-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ts-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--orange);
}
.ts-headline {
    font-family: var(--sans);
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.ts-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 36px;
}
.type-tabs {
    display: flex;
    gap: 0;
}
.type-tab {
    padding: 16px 32px;
    font-family: var(--sans);
    font-size: 14px;
    text-transform: uppercase;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}
.type-tab.active {
    color: var(--white);
    background: var(--ink);
    border-color: var(--muted2);
}
.contact-area {
    flex: 1;
}
.contact-panel {
    display: none;
}
.contact-panel.active {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: calc(100vh - 185px);
}
.contact-info {
    background: var(--ink2);
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--muted2);
    position: relative;
}
.ci-type-badge {
    background: var(--orange-dim);
    border: 1px solid var(--orange-border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 24px;
    width: fit-content;
}
.ci-headline {
    font-family: var(--sans);
    font-size: 52px;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.contact-form-wrap {
    background: var(--ink);
    padding: 64px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-grid { display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group.full {
    grid-column: 1 / -1;
}
input, select, textarea {
    background: var(--ink3);
    border: 1px solid var(--muted2);
    border-radius: 6px;
    padding: 12px 15px;
    color: var(--white);
    outline: none;
    width: 100%;
    font-family: var(--body);
}
.traffic-chip {
    background: var(--ink3);
    border: 1px solid var(--muted2);
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
}
.traffic-chip.chip-active {
    background: var(--orange-dim);
    border-color: var(--orange-border);
    color: var(--white);
}
.traffic-chip input[type=checkbox] {
    display: none;
}

label {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
}
label span {
    color: var(--orange);
    margin-left: 2px;
}
input::placeholder, textarea::placeholder {
    color: rgba(255,255,255,0.2);
}
input:focus, select:focus, textarea:focus {
    border-color: var(--orange-border);
    background: var(--ink4);
}
select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
select option {
    background: #1c1d22;
    color: #fff;
}
textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.6;
}
.teams-field {
    position: relative;
}
.teams-field input {
    padding-left: 46px;
}
.teams-prefix {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.traffic-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}
.form-submit {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.btn-submit {
    background: var(--orange);
    color: #fff;
    padding: 14px 36px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: var(--body);
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-submit:hover {
    background: #cc5022;
    transform: translateY(-2px);
}
.btn-submit:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}
.btn-submit svg {
    width: 15px;
    height: 15px;
    fill: #fff;
}
.form-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 260px;
}
.msg {
    display: none;
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 14px;
}
.msg.success {
    background: rgba(76,175,80,0.12);
    border: 1px solid rgba(76,175,80,0.3);
    color: #81c784;
}
.msg.error {
    background: rgba(229,97,42,0.1);
    border: 1px solid var(--orange-border);
    color: #ffb06e;
}

/* CONTACT (Página index) */
.contact {
    background: var(--ink3);
    text-align: center;
    padding: 100px 60px;
    border-top: 1px solid var(--muted2);
}
.contact-headline {
    font-family: var(--sans);
    font-size: clamp(40px, 5vw, 72px);
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 0.95;
    max-width: 700px;
    margin: 0 auto 16px;
}
.contact-headline em {
    font-style: normal;
    color: var(--orange);
}
.contact-sub {
    font-size: 15px;
    color: var(--muted);
    margin: 0 auto 40px;
    max-width: 400px;
}
.contact-email {
    display: inline-block;
    font-size: 18px;
    color: var(--orange);
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid var(--orange-border);
    padding-bottom: 4px;
    margin-top: 10px;
}

/* FOOTER */
footer {
    background: var(--ink);
    padding: 32px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--muted2);
    font-size: 12px;
    color: var(--muted);
    margin-top: auto;
}
.footer-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}
.footer-logo strong { font-weight: 800; }
.footer-links a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--white);
}

/* MEDIA QUERIES (PC, Tablet, Mobile) */
/* Tablet (Max 992px) */
@media (max-width: 992px) {
    section {
        padding: 80px 40px;
    }
    .ci-icon{
        width: 30%;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split, .global-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .floating-stats-container {
        display: none;
    }
    .contact-panel.active {
        grid-template-columns: 1fr;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--muted2);
        padding: 40px;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    .hero-headline{
        font-size: 45px;
    }
    nav {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding: 100px 20px 60px;
    }
    section {
        padding: 60px 20px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        padding: 40px 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-box {
        padding: 30px 20px;
    }
    .stat-num {
        font-size: 42px;
    }
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .partner-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    .type-selector-wrap {
        padding: 100px 20px 0;
    }
    .type-tabs {
        flex-wrap: wrap;
    }
    .type-tab {
        width: 50%;
        justify-content: center;
        font-size: 12px;
        padding: 12px;
    }
    .contact-form-wrap {
        padding: 40px 20px;
    }
    footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 32px 20px;
    }
}

/* Ajuste extra para móviles pequeños */
@media (max-width: 480px) {
    .stat-num {
        font-size: 36px;
    }
    .ci-icon{
        width: 50%;
    }
    .stat-unit {
        font-size: 18px;
    }
}