:root {
    --primary: #0f172a;       /* Azul oscuro profundo */
    --accent: #c5a059;        /* Dorado elegante */
    --accent-hover: #b08d46;
    --bg: #f8fafc;            /* Gris ultra claro y limpio */
    --surface: #ffffff;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Header & Navegación */
header {
    background: var(--primary);
    padding: 1.25rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--surface);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--accent);
}

/* Layout General */
.page-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Sección Inicio (Hero) */
.hero-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    color: var(--accent);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h2 {
    font-size: 2.75rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Botones */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--surface);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Tabla Estilizada */
.table-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.2rem 1.5rem;
    text-align: left;
}

th {
    background: var(--primary);
    color: var(--surface);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

td {
    border-bottom: 1px solid var(--border);
}

tr:last-child td {
    border-bottom: none;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Formulario Moderno */
.form-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 480px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

input {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

/* Feedback Formulario */
#mensaje-respuesta {
    margin-top: 1.25rem;
    padding: 0.85rem;
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.9rem;
    text-align: center;
}

.mensaje-exito {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.mensaje-hidden {
    display: none;
}

/* Footer */
footer {
    background: var(--primary);
    color: #94a3b8;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }

    .hero-content h2 {
        font-size: 2.1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}