/* =========================
   VARIABLES & RESET
========================= */

:root {
    --bg-main: #050816;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --border-subtle: rgba(148, 163, 184, 0.25);
    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 40%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* =========================
   LAYOUT BASE
========================= */

.page-wrapper {
    min-height: 100vh;
}

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 96px 20px;
}

section {
    margin-bottom: 120px;
}

/* =========================
   NAVBAR
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(15px);
    background: rgba(2, 6, 23, 0.85);
    border-bottom: 1px solid var(--border-subtle);
}
.logo-img {
    height: 48px;        /* Ajusta tamaño */
    width: auto;
    display: block;
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* La imagen se ajusta sin recortarse */
    object-position: center;
    display: block;
    padding: 5px; /* opcional, para darle respiro visual */
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #22c55e, #3b82f6, #0ea5e9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-text-main {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.logo-text-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-green));
    transition: 0.2s ease;
}

.nav-link:hover::after {
    width: 18px;
}

.nav-cta {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    text-transform: uppercase;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-toggle {
    display: none;
    background: none;
    font-size: 1.5rem;
    color: white;
    border: none;
    cursor: pointer;
}

/* Mobile nav */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 70px;
        right: 20px;
        background: rgba(10, 15, 28, 0.95);
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        padding: 16px;
        flex-direction: column;
        gap: 16px;
        display: none;
    }

    nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

/* =========================
   SECTION LABELS
========================= */

.section-label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
}

/* =========================
   HERO
========================= */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-title span {
    background: linear-gradient(120deg, #3b82f6, #22c55e);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.badge {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-primary {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: white;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost {
    padding: 10px 16px;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    border-radius: 999px;
    display: inline-flex;
    gap: 6px;
    font-size: 0.85rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

/* Hero visual */

.hero-visual {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 0, #0ea5e9, transparent 60%),
    radial-gradient(circle at 80% 10%, #22c55e, transparent 60%),
    radial-gradient(circle at 50% 100%, #1d4ed8, transparent 60%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}



.hero-visual-racket {
    position: absolute;
    width: 220px;
    height: 300px;
    background: radial-gradient(circle at 50% 30%, #ffffff50, transparent 60%),
    radial-gradient(circle at 50% 80%, #0f172a, #020617);
    border-radius: 50% 50% 45% 45%;
    border: 1px solid rgba(255,255,255,0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);
}

.hero-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    font-size: 0.75rem;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
}

/* Mobile hero */
@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CONTACT CARD
========================= */

.contact-card {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================
   CONTACT TWO COLUMN
========================= */

.contact-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;

    padding: 32px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(12px);
}

/* LISTA IZQUIERDA */
.contact-list {
    list-style: none;
    display: grid;
    gap: 18px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

/* IMAGEN DERECHA */
.contact-right img {
    width: 60%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    display: block;
    margin-left: auto;
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-right img {
        max-width: 80%;
        margin: 0 auto;
    }
}


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}
