/* Base común: variables, estructura de página, encabezado, tarjetas y botones.
   Cada página sólo declara lo que tiene distinto. */

:root {
    --primary: #1e293b;
    --accent: #3b82f6;
    --bg-page: #f1f5f9;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --whatsapp: #25D366;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0 0 40px 0;
    background-color: var(--bg-page);
    color: var(--text-main);
}

.app-header {
    background-color: var(--primary);
    color: white;
    padding: 25px 20px 45px 20px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    text-align: center;
}

.header-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.header-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 600px;
    margin: -25px auto 0 auto;
    padding: 0 16px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer {
    margin-top: 30px;
    text-align: center;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row {
    margin-bottom: 10px;
}

.label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
}

.phone-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f5f9;
}

.wa-btn {
    color: var(--whatsapp);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 4px;
}

.btn-submit:active {
    transform: scale(0.97);
    box-shadow: none;
}

.content {
    flex-grow: 1;
    min-width: 0;
}

/* Componentes compartidos */

.btn:active { transform: scale(0.98); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }

.options-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.option-card {
            background: var(--card-bg);
            padding: 16px 20px;
            border-radius: 18px;
            text-decoration: none;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
            border: 1px solid rgba(226, 232, 240, 0.8);
            transition: transform 0.2s, background-color 0.2s;
        }

.option-card:active {
            transform: scale(0.97);
            background-color: #f8fafc;
        }

.bg-success { background: linear-gradient(135deg, #10b981, #059669); }

.bg-danger { background: linear-gradient(135deg, #ef4444, #dc2626); }

.option-content { flex: 1; }

.option-title { font-weight: 700; font-size: 1.1rem; margin: 0; }

.option-desc { font-size: 0.8rem; color: var(--text-muted); }

.address { font-size: 0.85rem; color: var(--text-muted); display: block; line-height: 1.3; }

.task-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.bg-rose { background: linear-gradient(135deg, #fb7185, #e11d48); color: #e11d48; }
