﻿:root {
    --bg:          #0f1f0f;
    --card-bg:     #162216;
    --green-mid:   #1c2e1c;
    --gold:        #c9a84c;
    --gold-light:  #e8c96a;
    --gold-pale:   #f5e8c0;
    --text-body:   #d4c9a8;
    --text-muted:  #7a8c6a;
    --radius:      16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, #1e3a1e 0%, var(--bg) 60%);
    font-family: 'Lato', sans-serif;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* ── Page wrap (card + varieties) ── */
.page-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 960px;
    gap: 0;
}

/* ── Main card ── */
.card {
    background: linear-gradient(135deg, #1e3220 0%, #152015 50%, #0f1a0f 100%);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    opacity: 0;
    animation: fadeIn 0.9s ease 0.15s forwards;
}

/* ── Logo panel ── */
.logo-panel {
    background: linear-gradient(160deg, #1a2e1a 0%, #101a10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border-right: 1px solid rgba(201,168,76,0.12);
}

    .logo-panel img {
        width: 100%;
        max-width: 280px;
        filter: drop-shadow(0 6px 32px rgba(201,168,76,0.3));
    }

/* ── Content panel ── */
.content-panel {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.brand-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.sub-text {
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

/* ── Info box ── */
.info-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

/* ── Buttons ── */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
}

.btn {
    flex: 1 1 160px;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
    white-space: nowrap;
    text-align: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #111a11;
    box-shadow: 0 2px 16px rgba(201,168,76,0.3);
}

    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(201,168,76,0.5);
    }

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

.btn-outline {
    background: rgba(201,168,76,0.08);
    color: var(--gold-light);
    border: 1.5px solid rgba(201,168,76,0.55);
}

    .btn-outline:hover {
        background: rgba(201,168,76,0.16);
        transform: translateY(-2px);
    }

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

/* ── WhatsApp ── */
.whatsapp-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-body);
}

    .whatsapp-row a {
        color: #7ed957;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        transition: opacity 0.2s;
    }

        .whatsapp-row a:hover {
            opacity: 0.75;
        }

.wa-icon {
    width: 18px;
    height: 18px;
    fill: #7ed957;
    flex-shrink: 0;
}

/* ── Card footer ── */
.card-footer {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(201,168,76,0.1);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

    .card-footer span {
        color: rgba(201,168,76,0.4);
        margin: 0 0.3em;
    }

/* ── Variety strip ── */
.varieties {
    max-width: 900px;
    width: 100%;
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.9s ease 0.5s forwards;
}

.variety-tag {
    padding: 0.28rem 0.9rem;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--gold-pale);
    background: rgba(201,168,76,0.06);
    letter-spacing: 0.05em;
}

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,12,5,0.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

    .modal-overlay.active {
        display: flex;
    }

.modal {
    background: linear-gradient(160deg, #1e321e 0%, #111a11 100%);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius);
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 72px rgba(0,0,0,0.7);
    animation: scaleIn 0.22s ease;
    max-height: 95vh;
    overflow-y: auto;
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

    .modal-close:hover {
        color: var(--gold-light);
    }

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
    padding-right: 1.5rem;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

/* ── Form ── */
.form-group {
    margin-bottom: 0.9rem;
}

    .form-group label {
        display: block;
        font-size: 0.75rem;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 0.3rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(201,168,76,0.22);
        border-radius: 8px;
        padding: 0.65rem 0.9rem;
        color: var(--text-body);
        font-family: 'Lato', sans-serif;
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.2s, background 0.2s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--gold);
            background: rgba(201,168,76,0.05);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(168,152,112,0.45);
        }

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

/* ── reCAPTCHA wrapper ── */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 0.9rem 0;
    transform: scale(0.95);
    transform-origin: center;
}

/* ── Submit button ── */
.btn-submit {
    width: 100%;
    padding: 0.78rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #111a11;
    border: none;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: opacity 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-submit:hover {
        opacity: 0.88;
        transform: translateY(-1px);
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

/* ── Form messages (AJAX feedback) ── */
.form-message {
    text-align: center;
    padding: 0;
    margin-bottom: 0.7rem;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

    .form-message.success {
        background: rgba(39, 174, 96, 0.15);
        border: 1px solid rgba(39, 174, 96, 0.4);
        color: #6fcf97;
        padding: 0.6rem 0.8rem;
    }

    .form-message.error {
        background: rgba(235, 87, 87, 0.15);
        border: 1px solid rgba(235, 87, 87, 0.4);
        color: #eb5757;
        padding: 0.6rem 0.8rem;
    }

/* ── Loading spinner ── */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-loading::before {
        content: '';
        width: 14px;
        height: 14px;
        border: 2px solid rgba(23, 33, 24, 0.3);
        border-top-color: #172118;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Success screen (after real send) ── */
.form-success {
    display: none;
    text-align: center;
    padding: 1.5rem 0;
}

    .form-success .check-icon {
        font-size: 2.5rem;
        margin-bottom: 0.6rem;
    }

    .form-success p {
        color: var(--gold-pale);
        font-size: 0.93rem;
        line-height: 1.65;
    }

/* ── Animations ── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .card {
        grid-template-columns: 1fr;
    }

    .logo-panel {
        border-right: none;
        border-bottom: 1px solid rgba(201,168,76,0.12);
        padding: 2.5rem 2rem 1.5rem;
    }

        .logo-panel img {
            max-width: 160px;
        }

    .content-panel {
        padding: 2rem 1.5rem;
    }

    .headline {
        font-size: 2rem;
    }

    .btn-row {
        flex-direction: column;
    }

    .btn {
        flex: unset;
        width: 100%;
    }

    .recaptcha-wrapper {
        transform: scale(0.85);
    }
}
