/* ============================================================
   main.css  —  CostaAir Sistema de Reservaciones
   Hoja de estilos principal (pantalla)
   ============================================================ */

/* ---- Variables de diseño ---- */
:root {
    --navy:        #0d2b5e;
    --blue:        #0e5fac;
    --sky:         #1a8fd1;
    --gold:        #f0a800;
    --gold-dark:   #c8860a;
    --light-blue:  #e8f4fd;
    --white:       #ffffff;
    --gray-light:  #f5f7fa;
    --gray:        #e0e6ef;
    --gray-dark:   #6c7a8e;
    --text:        #1a2540;
    --text-soft:   #4a5568;
    --success:     #27ae60;
    --error:       #e74c3c;
    --shadow:      0 4px 24px rgba(13,43,94,0.12);
    --shadow-sm:   0 2px 8px rgba(13,43,94,0.08);
    --radius:      12px;
    --radius-sm:   6px;
    --transition:  all 0.3s ease;
}

/* ---- Reset y base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--gray-light);
    line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--sky); }
img { max-width: 100%; }

/* ============================================================
   LANDING PAGE (index.html)
   ============================================================ */

.landing-page {
    height: 100vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.landing-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(14,95,172,0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(26,143,209,0.3) 0%, transparent 50%);
}

.landing-bg-shapes span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--gold);
    animation: float 8s ease-in-out infinite;
}
.landing-bg-shapes span:nth-child(1) { width: 400px; height: 400px; top: -100px; left: -100px; animation-delay: 0s; }
.landing-bg-shapes span:nth-child(2) { width: 250px; height: 250px; bottom: 50px; right: -50px;  animation-delay: 3s; }
.landing-bg-shapes span:nth-child(3) { width: 180px; height: 180px; top: 60%;  left: 20%;         animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%  { transform: translateY(-20px) scale(1.05); }
}

.landing-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem 2rem 9rem;
}

.landing-logo {
    font-size: 5rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: planeIn 1.2s cubic-bezier(.23,1.5,.5,1) both;
}

@keyframes planeIn {
    from { transform: translateX(-120px) rotate(-15deg); opacity: 0; }
    to   { transform: translateX(0) rotate(0);           opacity: 1; }
}

.landing-brand {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

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

.landing-tagline {
    font-size: 1.15rem;
    opacity: 0.85;
    margin: 0.5rem 0 2rem;
    letter-spacing: 0.3px;
}

.video-wrapper {
    width: min(720px, 90vw);
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0,0,0,0.5);
    margin: 0 auto 2.5rem;
    border: 3px solid rgba(240,168,0,0.4);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(240,168,0,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    margin-bottom: 50px;
}

.btn-enter:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(240,168,0,0.5);
    color: var(--navy);
}

.btn-enter .arrow { font-size: 1.3rem; }

/* ============================================================
   MAIN LAYOUT — Tres marcos (main.html)
   ============================================================ */

.main-layout {
    display: grid;
    grid-template-areas:
        "header header"
        "sidebar content";
    grid-template-rows: 70px 1fr;
    grid-template-columns: 220px 1fr;
    height: 100vh;
    overflow: hidden;
}

/* ---- Header (Marco Superior) ---- */
.site-header {
    grid-area: header;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(13,43,94,0.25);
    position: relative;
    z-index: 10;
}

.site-header .header-logo {
    font-size: 2rem;
    line-height: 1;
}

.site-header .header-brand {
    display: flex;
    flex-direction: column;
}

.site-header .brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
}

.site-header .brand-name span { color: var(--gold); }

.site-header .brand-tagline {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-divider {
    flex: 1;
}

.header-info {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-align: right;
}

/* ---- Sidebar / Marco Izquierdo ---- */
.site-sidebar {
    grid-area: sidebar;
    background: linear-gradient(180deg, var(--navy) 0%, #0a1f4a 100%);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(13,43,94,0.2);
    z-index: 5;
}

.sidebar-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1.5px;
    padding: 0 1.2rem 0.75rem;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    margin: 0.25rem 0.75rem;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: rgba(255,255,255,0.8);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.nav-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(240,168,0,0.3);
    transform: translateX(3px);
}

.nav-btn.active {
    background: linear-gradient(135deg, rgba(14,95,172,0.6), rgba(26,143,209,0.3));
    color: var(--gold);
    border-color: rgba(240,168,0,0.5);
}

.nav-btn img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.nav-btn:hover img {
    border-color: var(--gold);
    transform: scale(1.05);
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem 1.2rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.6;
}

/* ---- Marco de Contenido ---- */
.site-content {
    grid-area: content;
    overflow: hidden;
}

#content-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: var(--white);
}

/* ============================================================
   ESTILOS PARA PÁGINAS INTERNAS (pages/)
   ============================================================ */

.page-wrapper {
    min-height: 100vh;
    background: var(--gray-light);
    padding: 2rem;
    overflow-y: auto;
}

/* ---- Encabezado de página interna ---- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '✈';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    opacity: 0.08;
    line-height: 1;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.page-hero p {
    opacity: 0.8;
    font-size: 1rem;
}

/* ---- Tarjetas de contenido ---- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---- Información (info.html) ---- */
.info-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--sky);
}

.info-card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.info-card h3 {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ---- Tabla de destinos ---- */
.destinations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.destinations-table thead tr {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
}

.destinations-table th {
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.destinations-table th:first-child { border-radius: 8px 0 0 0; }
.destinations-table th:last-child  { border-radius: 0 8px 0 0; }

.destinations-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gray);
    color: var(--text);
}

.destinations-table tbody tr:hover { background: var(--light-blue); }
.destinations-table tbody tr:last-child td { border-bottom: none; }

.rate-cell {
    font-weight: 700;
    color: var(--blue);
    font-size: 1rem;
}

/* ---- Restricciones / alertas ---- */
.alert-box {
    background: linear-gradient(135deg, #fff7e6, #fff3cd);
    border: 1px solid #ffc107;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: #7d5a00;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.alert-box ul { margin: 0.5rem 0 0 1.2rem; }
.alert-box li { margin-bottom: 0.3rem; }

/* ---- Indicador de pasos ---- */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    max-width: 160px;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid var(--gray);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--gray-dark);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}

.step-connector {
    flex: 0.4;
    height: 3px;
    background: var(--gray);
    margin-top: -18px;
    margin-bottom: auto;
}

.step-item.active .step-circle {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(14,95,172,0.15);
}

.step-item.active .step-label { color: var(--blue); }

.step-item.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.step-item.completed .step-label { color: var(--success); }
.step-connector.completed        { background: var(--success); }

/* ============================================================
   CAPTCHA
   ============================================================ */

.captcha-box {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    border: 2px solid var(--sky);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 480px;
}

.captcha-display {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: 2px;
    background: var(--white);
    border: 2px dashed var(--sky);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.2rem;
    min-width: 130px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.captcha-input {
    width: 100px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.captcha-input:focus { outline: none; border-color: var(--sky); }

.captcha-refresh {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--blue);
    padding: 0.3rem;
    transition: var(--transition);
}

.captcha-refresh:hover { transform: rotate(180deg); color: var(--sky); }

.captcha-msg {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: block;
}
.captcha-msg.error   { color: var(--error); }
.captcha-msg.success { color: var(--success); }

/* ============================================================
   FORMULARIOS
   ============================================================ */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-label .required { color: var(--error); margin-left: 2px; }

.form-input,
.form-select {
    padding: 0.7rem 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(26,143,209,0.15);
}

.form-input.input-error, .captcha-input.input-error {
    border-color: var(--error);
    background: #fff5f5;
}

.form-input.input-ok, .captcha-input.input-ok {
    border-color: var(--success);
    background: #f0fff4;
}

/* Radio buttons de clase de vuelo */
.radio-group-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.6rem;
    display: block;
}

.radio-cards {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.radio-card {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

.radio-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: var(--white);
}

.radio-card label .class-icon { font-size: 1.8rem; }
.radio-card label .class-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
}
.radio-card label .class-price {
    font-size: 0.75rem;
    color: var(--gray-dark);
}

.radio-card input[type="radio"]:checked + label {
    border-color: var(--blue);
    background: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(14,95,172,0.12);
}

.radio-card input[type="radio"]:checked + label .class-name {
    color: var(--blue);
}

/* Mensajes de error de formulario */
.form-errors {
    background: #fff5f5;
    border: 1px solid var(--error);
    border-left: 4px solid var(--error);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--error);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    display: none;
}

.form-errors ul { margin: 0.3rem 0 0 1.2rem; }
.form-errors li { margin-bottom: 0.25rem; }

.ticket-limit-msg {
    font-size: 0.8rem;
    color: var(--error);
    font-weight: 600;
    min-height: 1.1rem;
}

/* ============================================================
   BOTONES
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--sky));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(14,95,172,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14,95,172,0.45);
}

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

.btn-secondary:hover {
    background: var(--light-blue);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(240,168,0,0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240,168,0,0.45);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(39,174,96,0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(39,174,96,0.45);
}

.btn-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

/* ============================================================
   GALERÍA
   ============================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--navy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,43,94,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.gallery-overlay .gallery-icon { font-size: 1.5rem; text-align: center; }
.gallery-overlay p {
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.3rem;
}

.gallery-item:hover img            { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- Lightbox ---- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,20,40,0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: min(90vw, 900px);
    max-height: 90vh;
}

.lightbox-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.lightbox-content img {
    max-height: 70vh;
    max-width: 100%;
    border-radius: var(--radius);
    display: block;
    box-shadow: 0 16px 60px rgba(0,0,0,0.6);
}

.lightbox-info {
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.lightbox-info h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.lightbox-info p  { font-size: 0.85rem; opacity: 0.75; }
.lightbox-info span { font-size: 0.75rem; opacity: 0.5; margin-top: 0.5rem; display: block; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

/* ============================================================
   RESUMEN DE RESERVACIÓN (paso3)
   ============================================================ */

.summary-wrapper { max-width: 760px; margin: 0 auto; }

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius) var(--radius) 0 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 900;
}

.summary-logo .logo-icon { font-size: 1.8rem; }
.summary-logo .logo-text span { color: var(--gold); }

.summary-title h2 { font-size: 1.2rem; font-weight: 900; }
.summary-date { font-size: 0.8rem; opacity: 0.7; }

.status-badge {
    background: rgba(39,174,96,0.25);
    border: 1px solid rgba(39,174,96,0.6);
    color: #7effc4;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.summary-section {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-left: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

.summary-section:last-of-type { border-radius: 0 0 var(--radius) var(--radius); }

.section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--light-blue);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.info-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.info-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

/* Tabla de costos */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.cost-table thead tr {
    background: var(--light-blue);
    color: var(--navy);
}

.cost-table th {
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cost-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--gray);
    color: var(--text);
}

.cost-table .surcharge-row { background: #fffbf0; }
.cost-table .price-row     { background: var(--light-blue); }
.cost-table .child-row     { background: #f0fff4; }

.cost-table .total-row {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    font-size: 1rem;
}

.cost-table .total-row td { border-bottom: none; }

.summary-notice {
    background: var(--light-blue);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1rem 2rem;
    font-size: 0.82rem;
    color: var(--text-soft);
    border: 1px solid var(--gray);
    border-top: none;
}

/* ============================================================
   INFO PAGE — Temporadas
   ============================================================ */

.season-table-wrap {
    overflow-x: auto;
}

.season-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.season-table th {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.season-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--gray);
}

.season-alta     { color: #c0392b; font-weight: 700; }
.season-baja     { color: var(--success); font-weight: 700; }
.season-especial { color: #e67e22; font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .main-layout {
        grid-template-areas:
            "header"
            "sidebar"
            "content";
        grid-template-rows: 60px auto 1fr;
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .site-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.75rem;
        gap: 0.5rem;
        box-shadow: 0 2px 8px rgba(13,43,94,0.15);
    }

    .sidebar-label { display: none; }

    .nav-btn {
        flex-direction: row;
        margin: 0;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .nav-btn img { width: 40px; height: 28px; }

    .site-content { height: 70vh; }

    .landing-brand { font-size: 2.5rem; }
    .video-wrapper { margin-bottom: 1.5rem; }

    .page-wrapper { padding: 1rem; }
    .page-hero h1 { font-size: 1.5rem; }

    .summary-header { flex-direction: column; text-align: center; }
    .steps-indicator { gap: 0.25rem; }
    .step-label { display: none; }
}
