/* LARHub - Landing Page & Registro Multi-Paso */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;700&display=swap');

:root {
    --wine: #722F37;
    --wine-dark: #4A1C22;
    --gold: #D4AF37;
    --dark: #1C1C1C;
    --gray: #4A4A4A;
    --light-bg: #F9F7F6;
    --white: #FFFFFF;

    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    line-height: 1.6;
    background-color: var(--white);
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1.5rem 2rem;
    /* Un poco más de altura para envolver el logo grande sin cortarlo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    height: 110px;
    /* Mantiene su tamaño grande */
    margin: -20px -30px;
    /* Ajuste sutil para que encaje perfecto */
    mix-blend-mode: multiply;
    filter: contrast(1.2) brightness(1.08);
    /* clip-path eliminado para que no se vea mocho */
}

/* Footer logo settings moved to bottom */

.nav-btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--wine);
    color: var(--white);
    border: 2px solid var(--wine);
}

.btn-primary:hover {
    background: var(--wine-dark);
    border-color: var(--wine-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--wine);
    border: 2px solid var(--wine);
}

.btn-outline:hover {
    background: var(--wine);
    color: var(--white);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.04) 0%, rgba(212, 175, 55, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #9C7D1E;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight-larhub {
    color: var(--wine);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.highlight-larhub::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Doves Animation */
.doves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bird {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg');
    background-size: auto 100%;
    width: 88px;
    height: 125px;
    will-change: background-position;
    animation-name: fly-cycle;
    animation-timing-function: steps(10);
    animation-iteration-count: infinite;
    /* Invert to make it white, and add drop shadow */
    filter: invert(100%) drop-shadow(0 5px 15px rgba(114, 47, 55, 0.25));
}

.bird-container {
    position: absolute;
    transform: scale(0);
    will-change: transform;
    animation-name: fly-right;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.bird-1 {
    top: 15%;
    left: -10%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.bird-1 .bird {
    animation-duration: 1s;
    animation-delay: -0.5s;
    transform: scale(0.6);
    opacity: 0.9;
}

.bird-2 {
    top: 40%;
    left: -10%;
    animation-duration: 25s;
    animation-delay: 6s;
}

.bird-2 .bird {
    animation-duration: 1.2s;
    animation-delay: -0.2s;
    transform: scale(0.45);
    opacity: 0.7;
}

.bird-3 {
    top: 65%;
    left: -10%;
    animation-duration: 22s;
    animation-delay: 2s;
}

.bird-3 .bird {
    animation-duration: 1.1s;
    animation-delay: 0s;
    transform: scale(0.55);
    opacity: 0.85;
}

@keyframes fly-cycle {
    100% {
        background-position: -900px 0;
    }
}

@keyframes fly-right {
    0% {
        transform: translateX(-10vw) scale(1) translateY(0);
    }

    20% {
        transform: translateX(20vw) scale(1.05) translateY(-20px);
    }

    40% {
        transform: translateX(40vw) scale(1) translateY(10px);
    }

    60% {
        transform: translateX(60vw) scale(0.95) translateY(-10px);
    }

    80% {
        transform: translateX(80vw) scale(1) translateY(15px);
    }

    100% {
        transform: translateX(110vw) scale(1) translateY(0);
    }
}

/* Registration Section */
.registration-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
    display: flex;
    justify-content: center;
}

.registration-container {
    width: 100%;
    max-width: 750px;
}

.registration-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.registration-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* Wizard Header */
.wizard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    padding: 0 1rem;
}

.wizard-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: #EBE5E1;
    z-index: 1;
    transform: translateY(-50%);
}

.step-indicator {
    background: var(--white);
    border: 3px solid #EBE5E1;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #999;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    cursor: default;
}

.step-indicator.active {
    border-color: var(--wine);
    color: var(--wine);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(114, 47, 55, 0.1);
}

/* Form Wrapper */
.form-wrapper {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--wine);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EBE5E1;
}

/* Step Content Transitions */
.step-content {
    display: none;
    animation: slideUp 0.4s ease forwards;
}

.step-content.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

input,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #D1D1D1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #FAFAFA;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--wine);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.15);
}

/* Radio Cards */
.radio-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.radio-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-card .card-content {
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    border: 2px solid #EBE5E1;
    border-radius: 10px;
    background: #FAFAFA;
    transition: var(--transition);
    height: 100%;
}

.radio-card:hover .card-content {
    border-color: var(--wine);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(114, 47, 55, 0.1);
}

.radio-card input[type="radio"]:checked~.card-content {
    border-color: var(--wine);
    background: rgba(114, 47, 55, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(114, 47, 55, 0.15);
}

.card-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
    font-size: 1rem;
    display: block;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    display: block;
}

.radio-card input[type="radio"]:checked~.card-content .card-title {
    color: var(--wine);
}

/* Step Actions */
.step-actions {
    margin-top: 2rem;
    display: flex;
    padding-top: 1.5rem;
    border-top: 1px solid #EBE5E1;
}

.step-actions.right {
    justify-content: flex-end;
}

.step-actions.split {
    justify-content: space-between;
}

/* Dynamic Branches */
.extra-branch {
    background: #FAFAFA;
    padding: 1.5rem;
    border: 1px solid #EBE5E1;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    position: relative;
    animation: slideUp 0.3s ease;
}

.extra-branch h4 {
    color: var(--wine);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.remove-branch-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #FF4D4D;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.remove-branch-btn:hover {
    text-decoration: underline;
}

/* Footer */
.footer-area {
    background: rgba(114, 47, 55, 0.25);
    /* Color vino más subido de tono */
    color: var(--wine-dark);
    /* Texto en color vino oscuro para legibilidad */
    padding: 3rem 2rem;
    text-align: center;
    border-top: 5px solid var(--wine);
    /* Acento elegante */
}

.footer-logo {
    height: 140px;
    /* Logo grande y visible */
    margin-top: -25px;
    margin-bottom: -15px;
    /* Reducción de espacio muerto */
    opacity: 1;
    mix-blend-mode: multiply;
    /* Quita el recuadro blanco */
    filter: contrast(1.2) brightness(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero {
        padding: 5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .radio-options {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 2rem 1.5rem;
    }

    .wizard-header {
        flex-direction: column;
        gap: 1rem;
    }

    .wizard-header::before {
        display: none;
    }

    .step-indicator {
        text-align: center;
    }
}

/* Dropdown Menu Item Hover */
.dropdown-menu-item {
    color: var(--dark);
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #EBE5E1;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-menu-item:last-child {
    border-bottom: none;
}

.dropdown-menu-item:hover {
    background: #FAFAFA;
    color: var(--wine) !important;
    outline: 2px solid var(--wine);
    outline-offset: -2px;
}

/* Hamburger Button & Hover Effect */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    transition: transform 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hamburger-btn:hover span {
    background-color: var(--wine);
}

/* Marketplace Button Custom Colors */
.btn-marketplace {
    border: 2px solid var(--wine);
    background-color: transparent;
    color: var(--wine);
    transition: all 0.3s ease;
}

.btn-marketplace:hover {
    background-color: var(--wine);
    color: var(--white) !important;
}

/* Main Navigation Links Hover Effect */
.nav-main-link {
    text-decoration: none;
    color: var(--dark);
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-main-link:hover {
    transform: scale(1.05);
    color: var(--wine);
}

.nav-main-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--wine);
    transition: width 0.3s ease;
}

.nav-main-link:hover::after {
    width: 100%;
}