@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-dark: #070404;
    --bg-card: rgba(22, 14, 14, 0.55);
    --wine-primary: #540c18;
    --wine-glow: #7a1120;
    --wine-light: #ab1f34;
    --gold-primary: #cfab34;
    --gold-hover: #edd57a;
    --gold-muted: rgba(207, 171, 52, 0.35);
    --text-main: #fcf9f9;
    --text-muted: #bab0b1;
    --glass-border: rgba(255, 255, 255, 0.04);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Layouts */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(207, 171, 52, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 4, 4, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
}

.logo-brand {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.logo-brand span {
    color: var(--gold-primary);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--wine-primary) 0%, var(--wine-glow) 100%);
    color: #fff;
    border: 1px solid rgba(207, 171, 52, 0.2);
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(84, 12, 24, 0.4);
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(84, 12, 24, 0.6);
    border-color: var(--gold-primary);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Section con viñedos argentinos */
.hero-vineyard-wrapper {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(7, 4, 4, 0.5) 0%, rgba(7, 4, 4, 0.95) 100%), url('/static/img/vineyards/mendoza-valle-uco.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.hero-content-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.hero-text .bajada-secundaria {
    font-size: 0.95rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2.5rem;
    display: block;
}

/* Mockup Wine Card */
.mockup-card {
    background: rgba(18, 10, 10, 0.75);
    border: 1px solid var(--gold-muted);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(84, 12, 24, 0.25);
    transform: rotateY(-3deg) rotateX(3deg);
    transition: var(--transition);
}

.mockup-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(84, 12, 24, 0.4);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.mockup-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    font-weight: 600;
}

.mockup-match {
    background: rgba(129, 199, 132, 0.15);
    border: 1px solid #81c784;
    color: #81c784;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mockup-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.6rem;
}

.mockup-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}

.mockup-meta strong {
    color: #fff;
}

/* Titles */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: #fff;
    text-align: center;
    margin-bottom: 4.5rem;
    font-weight: 600;
}

.section-title span {
    color: var(--gold-primary);
}

/* Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-item {
    padding: 2.5rem;
    height: 100%;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
    display: block;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Dato curioso Badges */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2rem;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.badge-pill:hover {
    color: #fff;
    border-color: var(--gold-primary);
    background: rgba(207, 171, 52, 0.05);
}

/* Steps */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(207, 171, 52, 0.08);
}

/* Solutions & Demos */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cta-final-vineyard {
    background-image: linear-gradient(to bottom, rgba(7, 4, 4, 0.9) 0%, rgba(7, 4, 4, 0.6) 50%, rgba(7, 4, 4, 0.95) 100%), url('/static/img/vineyards/mendoza-valle-uco.jpg');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.cta-final-box {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--gold-muted);
    background: rgba(18, 10, 10, 0.85);
}

.cta-final-box h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.cta-final-box p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 6rem 1.5rem 3rem 1.5rem;
    background: #040202;
    text-align: center; /* Centrar todo el texto del footer */
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.footer-grid > div {
    flex: 1;
    min-width: 250px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--gold-primary);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 0.9rem;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Mobile First adjustments */
@media (max-width: 950px) {
    .hero-content-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
        padding-bottom: 6rem;
        gap: 4rem;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .nav-links {
        display: none; /* Simplificado para landing comercial */
    }
    .section-container {
        padding: 5rem 1.5rem;
    }
}

/* B2B Contact Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.form-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 12px rgba(207, 171, 52, 0.2);
}

.form-select option {
    background: #120a0a;
    color: #fff;
}

