:root {
    /* Paleta deLiébana */
    --color-ink: #2A1D16;
    --color-ink-2: #5B4B40;
    --color-cream: #F6EFE8;
    --color-cream-soft: #FCF7F0;
    --color-mustard: #DFAE5A;
    --color-cta: #C75B35;
    --color-orange: #EB6A45;
    --color-brown: #8B4E34;
    --color-brown-700: #6B3924;

    /* Variables funcionales */
    --primary: var(--color-ink);
    --accent: var(--color-cta);
    --bg: var(--color-cream);
    --text: var(--color-ink);
    --text-light: var(--color-ink-2);
    --white: #fff;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 10px 25px rgba(42, 29, 22, 0.08);
    --shadow-hover: 0 15px 35px rgba(42, 29, 22, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
header {
    display: none; /* Eliminado el header anterior */
}

.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 30px 20px;
    max-width: 500px; /* Limitar ancho para estética vertical limpia */
}

.hero {
    text-align: center;
    padding: 20px 0 40px;
}

.hero h1 {
    font-size: 2rem;
    color: var(--color-brown-700);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-logo {
    max-width: 220px;
    height: auto;
    filter: brightness(0) invert(1); /* Logo blanco para fondo oscuro */
}



.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-ink-2);
    margin: 0;
    font-weight: 300;
}

.service-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.btn-service {
    background: var(--white);
    border: 1px solid rgba(139, 78, 52, 0.1);
    padding: 24px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: row; /* Icono al lado del texto para compacto vertical */
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.btn-service:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-mustard);
}

.btn-service .icon {
    margin-right: 20px;
    margin-bottom: 0;
    color: var(--color-cta);
    display: flex;
    align-items: center;
}

.btn-service .icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5px;
}

.btn-service:hover .icon {
    transform: scale(1.1);
    color: var(--color-orange);
}

.btn-service .label {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-ink);
}

.footer-brand {
    margin-top: auto;
    padding: 40px 0 20px;
    text-align: center;
    opacity: 0.6;
}

.footer-logo {
    max-width: 100px;
    filter: grayscale(1) brightness(0.5); /* Discreto como se pidió */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 29, 22, 0.6);
    backdrop-filter: blur(8px);
    overflow-y: auto; /* Habilitar scroll para contenido largo */
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background: var(--white);
    margin: 20px auto; /* Reducir margen superior */
    padding: 30px 20px; /* Padding más compacto */
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    margin-bottom: 40px; /* Margen inferior para que no pegue al borde al hacer scroll */
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-ink-2);
    transition: var(--transition);
}

.close:hover {
    color: var(--color-cta);
}

#modalTitle {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--color-brown-700);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-ink);
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #eee;
    background: var(--color-cream-soft);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    box-sizing: border-box;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-mustard);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(223, 174, 90, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(199, 91, 53, 0.3);
}

.btn-submit:hover {
    background: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 91, 53, 0.4);
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.status-success { color: var(--color-brown); }
.status-error { color: var(--color-cta); }

.captcha {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

/* ── Selector de precio (paso 1 alojamiento) ─────────────────────── */
.price-selector {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 6px 0 10px;
}

.btn-price {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 20px 22px;
    background: var(--color-cream-soft);
    border: 2px solid rgba(139, 78, 52, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: inherit;
    box-sizing: border-box;
}

.btn-price:hover {
    background: var(--white);
    border-color: var(--color-mustard);
    box-shadow: var(--shadow-hover);
    transform: translateX(4px);
}

.btn-price:active {
    transform: scale(0.98);
}

.price-emoji {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-brown-700);
    line-height: 1.2;
}

.price-sub {
    font-size: 0.88rem;
    color: var(--color-ink-2);
    font-weight: 300;
    margin-top: 3px;
}

.btn-price:hover .price-label {
    color: var(--color-cta);
}

/* ── Grid de actividades (paso 1 actividad) ──────────────────────── */
.actividad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 4px 0 10px;
}

.actividad-grid .btn-actividad:last-child:nth-child(odd) {
    grid-column: span 2;
}

.btn-actividad {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: var(--color-cream-soft);
    border: 2px solid rgba(139, 78, 52, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
    min-height: 80px;
}

.btn-actividad:hover {
    background: var(--white);
    border-color: var(--color-mustard);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-actividad:active {
    transform: scale(0.97);
}

.act-emoji {
    font-size: 1.6rem;
    line-height: 1;
}

.act-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-brown-700);
    line-height: 1.2;
}

.btn-actividad:hover .act-label {
    color: var(--color-cta);
}

/* ── Hint en labels de formulario ────────────────────────────────── */
.field-hint {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--color-ink-2);
}


/* Desktop override: Centrar la app en pantallas grandes */
@media (min-width: 769px) {
    body {
        display: flex;
        justify-content: center;
        background: var(--color-cream-soft);
    }
    .app-layout {
        background: var(--bg);
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
        margin: 40px 0;
        border-radius: var(--radius-lg);
        min-height: auto;
    }
}
