:root {
    --bg: #0b0b0c;
    --card: #121214;
    --text: #f3f3f3;
    --muted: #b9b9b9;
    --brand: #d6b36a;
    --line: rgba(255, 255, 255, .08);
    --shadow: 0 14px 40px rgba(0, 0, 0, .35);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
    padding-top: 80px;
}

@media (max-width: 860px) {
    body {
        padding-top: 70px;
    }
}

/* Fondo con imagen optimizada + overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("img_blend.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .22;
    transform: scale(1.02);
}

@supports not (background-image: url("fondocaporal.webp")) {
    body::before {
        background-image: url("fondocaporal.png");
    }
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 600px at 20% 10%, rgba(214, 179, 106, .18), transparent 55%),
        radial-gradient(900px 600px at 80% 0%, rgba(255, 255, 255, .06), transparent 55%),
        linear-gradient(to bottom, rgba(11, 11, 12, .92), rgba(11, 11, 12, .94));
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1240px, 94vw);
    margin: 0 auto
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(11, 11, 12, .8);
    border-bottom: 1px solid var(--line);
}



.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    min-width: 220px;
}

.brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    color: var(--muted);
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    transition: all .2s ease;
}

nav a:hover,
nav a.active {
    color: var(--text);
    background: rgba(255, 255, 255, .06)
}

@media (max-width: 480px) {
    .brand {
        min-width: auto;
        gap: 8px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform .12s ease, background .2s ease, border-color .2s ease;
}

@media (max-width: 600px) {
    .btn {
        white-space: normal;
        text-align: center;
        width: 100%;
    }
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .09)
}

.btn-primary {
    background: linear-gradient(145deg, rgba(214, 179, 106, .95), rgba(214, 179, 106, .55));
    color: #14110a;
    border-color: rgba(214, 179, 106, .55);
}

.btn-primary:hover {
    background: linear-gradient(145deg, rgba(214, 179, 106, 1), rgba(214, 179, 106, .65))
}

.btn svg {
    width: 18px;
    height: 18px
}

/* Mobile menu */
.burger {
    display: none
}

@media (max-width: 860px) {
    nav ul {
        display: none
    }

    .burger {
        display: inline-flex
    }

    .brand {
        min-width: auto
    }
}

.mobile {
    display: none;
    border-top: 1px solid var(--line);
    padding: 10px 0 16px 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile a {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 700;
}

.mobile a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text)
}

.mobile.show {
    display: block
}

/* Hero */
.hero {
    padding: 64px 0 26px;
}

/* Gesha Hero specific */
.hero.gesha-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(214, 106, 106, .25), transparent 55%);
    /* Redder tint for Gesha fruit? or keep gold */
    background: radial-gradient(circle at 30% 30%, rgba(214, 179, 106, .45), transparent 60%);
    /* Extra Gold */
}

.hero.pacamara-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(210, 122, 62, .45), transparent 60%);
    /* Copper/Orange */
}

.hero.kenya-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(176, 25, 46, .45), transparent 60%);
    /* Red */
}

.hero.bourbon-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(140, 90, 43, .45), transparent 60%);
    /* Bronze */
}

.hero.pacas-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(107, 142, 35, .45), transparent 60%);
    /* Green */
}

/* Blends */
.hero.dinastia-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(108, 74, 161, .45), transparent 60%);
    /* Purple */
}

.hero.furia-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(30, 111, 92, .45), transparent 60%);
    /* Emerald */
}

.hero.presidencial-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(31, 60, 136, .45), transparent 60%);
    /* Royal Blue */
}

.hero.volcan-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(240, 162, 2, .45), transparent 60%);
    /* Amber */
}

.hero.coloso-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(80, 80, 80, .55), transparent 60%);
    /* Dark Gray */
}

.hero.imperial-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(218, 165, 32, .55), transparent 60%);
    /* Goldenrod */
}

.hero.legado-hero .hero-card:before {
    background: radial-gradient(circle at 30% 30%, rgba(184, 115, 51, .45), transparent 60%);
    /* Bronze */
}

.grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 960px) {
    .hero {
        padding-top: 44px
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .side {
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .tile {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-card {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 16px;
    }

    h1 {
        font-size: 24px;
    }
}

.hero-card {
    background: rgba(18, 18, 20, .78);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card:before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 30%, rgba(214, 179, 106, .35), transparent 55%);
    transform: rotate(20deg);
    pointer-events: none;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

h1 {
    margin: 14px 0 10px 0;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -.5px;
}

.lead {
    margin: 0 0 18px 0;
    color: var(--muted);
    font-size: 16px;
    max-width: 70ch;
}

.hero-actions {
    flex-wrap: wrap;
    margin-top: 18px;
    align-items: center;
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.stats-hero {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 520px) {
    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .stat {
        padding: 10px;
    }

    .stat b {
        font-size: 13px;
    }

    .stat span {
        font-size: 12px;
    }
}

.stat {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: 16px;
    padding: 12px 14px;
}

.stat b {
    display: block;
    font-size: 14px;
    color: var(--text)
}

.stat span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px
}

.side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tile {
    background: rgba(18, 18, 20, .65);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.tile h3 {
    margin: 0 0 8px 0;
    font-size: 16px
}

.tile p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

/* Sections */
section {
    padding: 28px 0
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.section-title h2 {
    margin: 0;
    font-size: 22px;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    max-width: 78ch;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

@media (max-width: 960px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background: rgba(18, 18, 20, .6);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
}

.card h3 {
    margin: 10px 0 6px 0;
    font-size: 16px
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.cta {
    margin: 20px 0 8px;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(214, 179, 106, .28);
    background: linear-gradient(145deg, rgba(214, 179, 106, .16), rgba(255, 255, 255, .03));
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .cta {
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.cta h3 {
    margin: 0;
    font-size: 18px
}

.cta p {
    margin: 6px 0 0 0;
    color: var(--muted);
    font-size: 14px;
    max-width: 78ch
}

.socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Floating WhatsApp */
.float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    gap: 10px;
    align-items: center;
}

.float .hint {
    display: none;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(11, 11, 12, .72);
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

@media (min-width: 980px) {
    .float .hint {
        display: block
    }
}

footer {
    padding: 26px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .footer-grid {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .footer-grid>div {
        width: 100%;
    }
}

/* ===== Recomendador ===== */
.reco-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

@media (max-width: 960px) {
    .reco-wrap {
        grid-template-columns: 1fr;
    }
}

.panel {
    background: rgba(18, 18, 20, .68);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.panel h3 {
    margin: 0 0 6px 0;
    font-size: 16px
}

.panel p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    color: var(--text);
}

select {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    outline: none;
}

select option {
    background: #141416;
}

.hintline {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.result {
    margin-top: 12px;
    border: 1px solid rgba(214, 179, 106, .25);
    background: rgba(214, 179, 106, .08);
    border-radius: 16px;
    padding: 14px;
}

.result-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-weight: 900;
    font-size: 12px;
}

@media (max-width: 600px) {
    .badge {
        white-space: normal;
        height: auto;
        border-radius: 12px;
        line-height: 1.4;
    }
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(214, 179, 106, .12);
}

.mini {
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
}

.sep {
    height: 1px;
    background: var(--line);
    margin: 12px 0;
}

/* Dropdown Support */
.has-dropdown {
    position: relative;
    padding-bottom: 0;
    /* Align fix */
    cursor: default;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(11, 11, 12, .95);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(12px);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu a {
    display: block;
    width: 100%;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    transform: translateX(2px);
}