:root {
    --bg: #0d0f10;
    --panel: #111417;
    --text: #f2f3f4;
    --muted: #b7bec4;
    --accent: #8CF63F;
    --accent-2: #66d72e;
    --max: 1200px;
    --radius: 18px;
    --shadow: 0 10px 40px rgba(0, 0, 0, .35);

    /* Tipografía fluida */
    --fs-hero: clamp(32px, 7vw, 60px);
    --fs-sub: clamp(18px, 3.5vw, 36px);
    --fs-body: clamp(15px, 1.6vw, 18px);
    --fs-small: clamp(12px, 1.3vw, 14px);

    /* Espacios fluidos */
    --px: clamp(14px, 3.2vw, 24px);
    --py-hero: clamp(36px, 6vw, 64px);
    --gap-lg: clamp(18px, 3vw, 40px);
    --gap-md: clamp(12px, 2.4vw, 26px);
    --gap-sm: clamp(8px, 1.8vw, 16px);
    --btn-py: clamp(10px, 1.5vw, 12px);
    --btn-px: clamp(14px, 2.2vw, 18px);
    --radius-btn: clamp(10px, 2vw, 12px);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    font-size: var(--fs-body);
    line-height: 1.5;
    letter-spacing: .2px;
    background:
        radial-gradient(1200px 600px at 10% -20%, rgba(140, 246, 63, .06), transparent 40%),
        radial-gradient(900px 500px at 110% 10%, rgba(140, 246, 63, .05), transparent 45%),
        var(--bg);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.container {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding-inline: var(--px)
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(to bottom, rgba(13, 15, 16, .9), rgba(13, 15, 16, .65) 40%, rgba(13, 15, 16, 0));
    backdrop-filter: blur(6px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: clamp(12px, 2vw, 18px);
    gap: var(--gap-sm);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: clamp(18px, 2.2vw, 22px);
    letter-spacing: .2px
}

.brand .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px var(--accent)
}

nav ul {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap
}

nav a {
    color: #dfe5ea;
    font-weight: 600;
    opacity: .9
}

nav a:hover {
    opacity: 1
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--btn-py) var(--btn-px);
    border-radius: var(--radius-btn);
    font-weight: 700;
    border: 1px solid transparent;
    background: var(--accent);
    color: #0b0d0e;
    box-shadow: var(--shadow);
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
    min-height: 42px;
}

.btn:hover {
    background: var(--accent-2);
    transform: translateY(-1px)
}

.btn.ghost {
    background: transparent;
    color: var(--text);
    border-color: #242a2f;
    box-shadow: none
}

.btn.ghost:hover {
    border-color: #323a41
}

.menu-btn {
    display: none
}

/* Hero */
.hero {
    padding-block: var(--py-hero) clamp(24px, 3vw, 36px)
}

.hero-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
}

@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: 1.1fr .9fr;
    }
}

.eyebrow {
    font-weight: 900;
    font-size: var(--fs-hero);
    line-height: 1.02;
    letter-spacing: .6px
}

.eyebrow .muted {
    color: #e9ecef;
    font-weight: 900;
    opacity: .9
}

.eyebrow .accent {
    color: var(--accent)
}

.sub {
    margin-top: clamp(14px, 2.2vw, 26px);
    font-size: var(--fs-sub);
    font-weight: 700;
    color: #e9ecef
}

.desc {
    margin-top: clamp(8px, 1.6vw, 12px);
    color: var(--muted);
    max-width: 65ch
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    align-items: center;
    margin-top: clamp(14px, 2.2vw, 26px)
}

.hero-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #0f1214;
    border: 1px solid #1a1f24;
    box-shadow: var(--shadow)
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/11;
    /* más panorámico en móvil */
    filter: saturate(.9) contrast(1.05) brightness(.95);
}

/* Band */
.band {
    margin: clamp(24px, 4vw, 40px) 0 clamp(36px, 6vw, 64px);
    background: linear-gradient(180deg, #111417, #0f1214);
    border: 1px solid #1a1f24;
    border-radius: 20px;
    padding: clamp(16px, 2.2vw, 22px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}

.band p {
    margin: 0;
    color: #dfe5ea;
    font-weight: 600
}

/* Two cards (About) */
#about .grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-md);
}

@media (min-width: 820px) {
    #about .grid2 {
        grid-template-columns: 1fr 1fr;
    }
}

.card {
    background: #101316;
    border: 1px solid #1a1f24;
    border-radius: 18px;
    padding: clamp(16px, 2vw, 22px)
}

/* Contact */
#contact .grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-md);
}

@media (min-width: 980px) {
    #contact .grid2 {
        grid-template-columns: 1.05fr .95fr;
    }
}

.form-card {
    padding: clamp(18px, 2.2vw, 24px)
}

label {
    display: block;
    margin: clamp(10px, 1.8vw, 14px) 0 4px
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #1a1f24;
    background: #0f1214;
    color: var(--text);
    min-width: 0;
    /* evita overflow en layouts estrechos */
}

textarea {
    resize: vertical
}

.contact-info {
    margin-top: clamp(12px, 1.8vw, 18px);
    color: var(--muted);
    font-size: var(--fs-small)
}

.contact-info strong {
    color: #e9ecef
}

/* Footer */
footer {
    border-top: 1px solid #1a1f24;
    padding-block: clamp(24px, 4vw, 60px)
}

.fgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-sm);
    align-items: center;
}

@media (min-width:720px) {
    .fgrid {
        grid-template-columns: 1fr auto;
    }
}

.credits {
    color: #98a3ad;
    font-size: var(--fs-small)
}

.social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #13181c;
    border: 1px solid #1a1f24
}

.social a:hover {
    border-color: #273038
}

/* WhatsApp FAB */
.wa-fab {
    position: fixed;
    right: clamp(12px, 2.4vw, 22px);
    bottom: clamp(12px, 2.4vw, 22px);
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #25D366;
    color: #0b0d0e;
    box-shadow: var(--shadow);
    border: 1px solid #1a1f24
}

.wa-fab:hover {
    transform: translateY(-1px)
}

/* Nav responsive */
@media (max-width: 860px) {
    nav ul {
        display: none
    }

    .menu-btn {
        display: inline-flex
    }
}

/* Accesibilidad / reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .wa-fab:hover {
        transform: none
    }
}

#info {
    margin-top: 50px;
}