/* ========== Variables de Color y Tema ========== */
:root {
    --primary: #2C5F8B; 
    --primary-light: #3A7CB9;
    --secondary: #E4A951; 
    --accent: #4CAF50;
    --dark: #2C3E50;
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #DEE2E6;
    --dark-gray: #6C757D;
    --white: #FFFFFF;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: 0.2s;
    --transition-medium: 0.3s;
    --transition-slow: 0.4s;
}
  

/* ========== Estilos Generales ========== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
        display: flex;
    flex-direction: column;
    min-height: 100vh;
}


body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

.container2 {
    max-width: 1000px;
    margin: 0 auto;
}

.container1 {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 30px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); 
    overflow: hidden; 
    margin-top: 20px; 
    margin-bottom: 40px;
    z-index: 2;
}

#page1 {
    flex: 1;
    margin-bottom: 0px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: transparent; 
}
#page2{
        border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
#page3 {
        border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
#page4 {
        border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.background-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  z-index: -1; 
  pointer-events: none;
}

#page1::before {
  content: '';
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  z-index: -2;
  pointer-events: none;
}

#page1::after {
  content: '';
  position: absolute;
  top: 50vh;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: -1;
}
#page1::after {
  z-index: -2; 
}

#page1 .container1 {
  background: white;
  margin: 20px auto;
  position: relative;
  z-index: 1;
}

.hero-banner,
.info-section {
  background: white;
  position: relative;
}
#page5::before {
  content: '';
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  z-index: 0;
  pointer-events: none;
}

#page5::after {
  content: '';
  position: absolute;
  top: 50vh;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 1;
}

#page5 .confirmation-card {
  background: white;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}
footer {
  position: relative;
  z-index: 5;
}

/* ========== Header ========== */
#main-header {
    background: linear-gradient(to left, #006d77, #002f36);
    color: #f9f9f9;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

#main-header.scrolled {
    background: rgba(44, 62, 80, 0.95);
    padding: 10px 0;
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 100px; 
    height: auto; 
    display: block;
}

.logo-icon {
    font-size: 28px;
    margin-right: 12px;
    color: var(--secondary);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

.quote-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--secondary);
}

.quote-btn:hover {
    background: transparent;
    color: var(--secondary);
}

.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

#language-select {
    appearance: none; 
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: border 0.3s;
}

#language-select:hover {
    border-color: #FF6B00;
}

.dropdown-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: #777;
}

#language-select option {
    background: #fff;
    color: #333;
}

@media (max-width: 768px) {
    .language-selector {
        margin: 10px 0;
    }
    #language-select {
        padding: 6px 25px 6px 10px;
    }
}
h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
}/*chekarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr*/
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
    .header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 12px;
    position: relative;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #002f36;
        z-index: 998;
        padding: 10px 0 0 10px;
    }
    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;   
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .main-nav li {
        width: 100%;
        margin: 6px 0;
    }
    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        color: #ffffff;
        border-radius: 0;
        transition: background 0.3s;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffb347;
    }

    .menu-toggle {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        color: #fff;
        padding: 10px;
        z-index: 999;
        justify-self: start;
    }

    .quote-btn {
        display: none; 
    }
    .logo {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    }
    .language-selector {
    position: absolute;
    right: 12px;
    top: 30%;
    transform: translateY(-50%);
    }

    .logo-text {
        font-size: 20px;
    }
}

/*PRIMERA SECCIÓN*/
/* Estilos Sección About */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    padding: 20px;
}

.subtitle {
    color: #FF6B00;
    font-size: 1.2rem;
    margin-bottom: 30px;
    display: block;
}

.about-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FF6B00;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.mv-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
}
.about-image {
  position: relative;
  width: 420px;  
  height: 260px;
  margin-bottom: 2rem;
}

.about-image .img1{
  position: absolute;
  right: 140px;
  top: 20px;
  width: 320px;
  height: 220px;
  z-index: 3;
  border-radius: 10px;
}

.about-image .img2{
  position: absolute;
  left: 200px;
  top: -150px;
  width: 330px;
  height: 270px;
  z-index: 2;
  border-radius: 12px;
}

.about-image .img3 {
  position: absolute;
  left: 200px;
  top: 130px;
  width: 330px;
  height: 270px;
  z-index: 1;
  border-radius: 12px;
}

.main-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    width: 80%;
    height: 80%;
    background: #FF6B00;
    opacity: 0.1;
    bottom: -20px;
    right: -20px;
    border-radius: 15px;
    z-index: 1;
}

@media (max-width: 768px) {
  .about-image {
    width: 280px;
    height: 180px;
    margin-top: 2rem;
  }

  .about-image .img1,
  .about-image .img2,
  .about-image .img3 {
    width: 180px;
    height: 140px;
  }

  .about-image .img2 {
    top: -80px;
    left: 120px;
  }

  .about-image .img3 {
    top: 80px;
    left: 120px;
  }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}
/* ========== Página de Contenido ========== */
.pages-container {
    position: relative;
    min-height: calc(100vh - 180px); 
}
.page {
    position: absolute;
    background-color: var(--white);

    overflow: hidden;
    margin-bottom: 40px;
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;    
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    margin-bottom: 30px;
    text-align: center;
    padding: 20px 25px 15px;
    background-color: var(--primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 2px solid var(--light-gray);
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
    gap: 12px;
}

.page-title .icon {
    font-size: 24px;
}

.page-subtitle {
    color: white;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* ========== Sección de Formulario ========== */
.form-section {
    padding: 25px;
    border-bottom: 1px solid var(--light-gray);
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-title .icon {
    margin-right: 12px;
    font-size: 24px;
}

/* ========== Componentes de Formulario ========== */
.form-group {
    margin-right: 20px;
    margin-bottom: 25px;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all var(--transition-fast);
}
.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 95, 139, 0.2);
}
/* ========== Selector de Fecha ========== */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: all var(--transition-medium);
    background-color: var(--white);
}

input[type="date"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 95, 139, 0.2);
}

/* ========== Botones========== */
.form-actions {
    display: flex;
    justify-content: space-between; 
    padding: 10px 10px;
    background-color: var(--light);
    border-top: 1px solid var(--light-gray);
    margin: 20px;
}

.form-actions.single {
    justify-content: flex-end;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 
    position: relative;
    overflow: hidden;
    
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary); 
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
/* Grids */
.form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    column-gap: 50px; 
    row-gap: 5px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-secondary:hover {
    background-color: rgba(44, 95, 139, 0.05); 
}
.btn-outline:hover {
    background-color: rgba(44, 95, 139, 0.05);
}

.btn .icon {
    transition: transform var(--transition-medium);
}

.btn-secondary .icon {
    margin-right: 0;
}

.btn-primary .icon {
    margin-left: 0; 
}

.btn-secondary:hover .icon {
    transform: translateX(-3px);
}

.btn-primary:hover .icon {
    transform: translateX(3px);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-actions {
        padding: 15px;
    }
}

/*PUNTOS*/
.loyalty-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid rgba(44, 95, 139, 0.1);
    justify-content: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loyalty-card .card-header {
    background-color: rgba(228, 169, 81, 0.1); 
}

.loyalty-card .card-icon {
    color: var(--secondary);
}

.beautiful-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.loyalty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.intro-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #333;
    padding: 0 10px;
}

.benefits-list {
    list-style: none;
    padding: 0 10px;
    margin-bottom: 20px;
}

.benefits-list li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #444;
}

.points-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f4ff;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    color: #0a58ca;
}

.points-value {
    font-size: 1.2rem;
}
.card-footer1 {
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center; 
    z-index: 1;
}

.btn.btn-outline {
    background-color: transparent;
    color: #0a58ca;
    border: 2px solid #0a58ca;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(10, 88, 202, 0.15);
}

.btn.btn-outline:hover {
    background-color: #0a58ca;
    color: #fff;
    transform: translateY(-2px);
}

.btn.btn-outline .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn.btn-outline:hover .icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
  .loyalty-card {
    border-radius: 17px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background-color: #fff;
    font-size: 14px;
    margin: 10px 0;
  }

  .loyalty-card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
  }

  .loyalty-card .card-body {
    padding: 8px 0;
  }

  .loyalty-card .intro-text {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .loyalty-card .benefits-list {
    padding-left: 18px;
    margin-bottom: 10px;
  }

  .loyalty-card .benefits-list li {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .points-display {
    display: flex;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
  }

  .card-footer1 {
    text-align: center;
    margin-top: 12px;
  }

  .card-footer1 .btn {
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* ========== Banner de Ruta ========== */
.route-banner {
    display: flex;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.route-info {
    flex: 1;
    padding: 25px;
    position: relative;
    z-index: 2;
}

.route-image {
    flex: 0 0 40%;
    background-image: url('img/vilcas.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    height: auto;
}

.route-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.from, .to {
    padding: 0 15px;
}

.arrow {
    font-size: 20px;
    color: var(--secondary);
}

.route-subtitle {
    font-size: 16px;
    text-align: center;
    opacity: 0.9;
    font-weight: 400;
}

/* ========== Estilos para Selección de Asientos ========== */
.seat-selection-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 25px;
}

@media (max-width: 992px) {
    .seat-selection-container {
        grid-template-columns: 1fr;
    }
}

.vehicle-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.price-info {
    color: var(--primary);
    font-weight: 600;
    margin: 10px 0 20px;
    text-align: center;
    font-size: 18px;
}

.van-layout {
    position: relative;
    margin: 30px auto;
    max-width: 500px;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.vehicle-front, .vehicle-rear {
    height: 40px;
    background-color: var(--dark);
    position: relative;
    border-radius: 20px 20px 0 0;
}

.vehicle-rear {
    border-radius: 0 0 20px 20px;
}

.windshield {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background-color: rgba(173, 216, 230, 0.3);
    border-radius: 10px 10px 0 0;
}

.rear-window {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background-color: rgba(173, 216, 230, 0.3);
    border-radius: 0 0 10px 10px;
}

.headlights, .tail-lights {
    position: absolute;
    bottom: 5px;
    width: 15px;
    height: 10px;
    background-color: #ffeb3b;
}

.headlights {
    left: 10px;
}

.tail-lights {
    right: 10px;
    background-color: #f44336;
}

.seats-grid {
    background-color: #f5f5f5;
    padding: 20px 10px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.seat-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 25px;
    position: relative;
}

.front-row {
    justify-content: center;
    padding-left: 30px;
}

.middle-row, .back-row {
    justify-content: center;
}

.back-row {
    justify-content: center;
    gap: 20px;
}

.aisle {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-gray);
    font-size: 12px;
}

.seat {
    width: 80px;
    height: 90px;
    background-color: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}

.seat-visual {
    width: 60px;
    height: 45px;
    background-color: var(--light-gray);
    border-radius: 5px 5px 0 0;
    position: relative;
    margin-bottom: 5px;
    transition: all var(--transition-medium);
}

.seat-number {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}

.seat.available .seat-visual {
    background-color: #a8e6cf;
}

.seat.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 139, 0.2);
    transform: translateY(-5px);
}

.seat.selected .seat-visual {
    background-color: var(--secondary);
}

.seat.reserved {
    cursor: not-allowed;
    opacity: 0.6;
}

.seat.reserved .seat-visual {
    background-color: #ffcccb;
}

.driver-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;

    margin-right: 30px;
}

.card-icon {
    font-size: 50px; 
    color: var(--primary);
}

.steering-wheel {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--dark);
}

.driver-label {
    font-size: 12px;
    color: var(--dark-gray);
    text-align: center;
}

.legend-container {
    margin-top: 30px;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

.legend-color.available {
    background-color: #a8e6cf;
}

.legend-color.selected {
    background-color: var(--secondary);
}

.legend-color.reserved {
    background-color: #ffcccb;
}

/* ========== Sección de Información ========== */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background-color: var(--light);
    border-bottom: 1px solid var(--light-gray);
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
}

.card-icon {
    font-size: 24px;
    margin-right: 12px;
}

.card-body {
    padding: 20px;
}

.info-row {
    display: flex;
    margin-bottom: 12px;
}

.info-label {
    font-weight: 600;
    color: var(--dark);
    min-width: 120px;
}

.info-value {
    color: var(--dark);
    flex: 1;
}

.rating {
    color: var(--secondary);
}

.rating-text {
    color: var(--dark-gray);
    font-size: 14px;
}

.driver-photo {
    height: 100px;
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    margin-top: 15px;
    background-image: url('https://randomuser.me/api/portraits/men/42.jpg');
    background-size: cover;
    background-position: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.feature-item {
    background-color: var(--light);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}

/* ========== Responsive Design CARRO ========== */
@media (max-width: 768px) {
        .seat {
        width: 50px;
        height: 60px;
    }
    
    .seat-visual {
        width: 40px;
        height: 30px;
    }
    
    .seat-row {
        gap: 10px;
    }
    
    .front-row {
        padding-left: 15px;
    }
    
    .driver-area {
        margin-right: 15px;
        width: 60px;
    }
    .middle-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aisle {
        display: none;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-label {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .seat {
        width: 40px;
        height: 50px;
    }
    
    .seat-visual {
        width: 30px;
        height: 20px;
    }
    
    .seat-number {
        font-size: 14px;
    }
    
    .driver-area {
        width: 50px;
        margin-right: 10px;
    }
    
    .steering-wheel {
        font-size: 20px;
    }
    
    .legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* ========== Página 3: Información del Pasajero ========== */
.passenger-form {
    max-width: 770px;
    margin: 0 auto;
    padding: 30px;
}

.container3{
    max-width: 850px;
    margin: 0 auto;
}

/* ========== Opciones de Fecha ========== */
.date-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.date-option {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.date-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.date-option.selected {
    border-color: var(--primary);
    background-color: rgba(44, 95, 139, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.date-option.selected .highlight {
    opacity: 1;
}

.highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.date-option .day {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.date-option .date {
    font-size: 14px;
    color: var(--dark-gray);
}

/* ========== Horarios ========== */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.time-slot {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    background-color: var(--white);
    position: relative;
    font-size: 18px;
    font-weight: 500;
    min-width: 100px;
    padding: 14px 12px;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.time-slot.selected {
    border-color: var(--primary);
    background-color: rgba(44, 95, 139, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.time-slot.selected::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.time-slot.disabled {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--light-gray);
    border-color: var(--medium-gray);
}
/* ========== Estilos específicos para Métodos de Pago ========== */
.payment-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 25px 30px 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, transparent 100%);
}

.payment-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 8px;
}

.payment-icon {
    font-size: 28px;
}

.payment-subtitle {
    opacity: 0.9;
    font-size: 16px;
    margin: 0;
}

.payment-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 30px;
}

@media (max-width: 992px) {
    .payment-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
  .payment-title {
    font-size: 18px;
  }

  .payment-icon {
    font-size: 22px;
  }

  .payment-subtitle {
    font-size: 13px;
  }
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.payment-card {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
    cursor: pointer;
    background-color: var(--white);
}

.payment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.payment-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(44, 95, 139, 0.2);
}

.payment-card.selected .payment-checkmark {
    opacity: 1;
    transform: scale(1);
}

.payment-card-inner {
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}

.payment-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(44, 95, 139, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.payment-method-icon {
    font-size: 28px;
}

.payment-method-info h3 {
    margin: 0 0 5px 0;
    color: var(--dark);
    font-size: 18px;
}

.payment-method-info p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 14px;
}

.payment-checkmark {
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-medium);
}

.payment-checkmark svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.summary-section {
    position: sticky;
    top: 20px;
}

.summary-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.summary-card-header {
    padding: 20px;
    background-color: var(--light);
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.summary-card-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 18px;
}

.summary-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, transparent 100%);
}

.summary-card-body {
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--medium-gray);
}

.summary-label {
    color: var(--dark-gray);
    font-size: 14px;
}

.summary-value {
    color: var(--dark);
    font-weight: 500;
    text-align: right;
}

.summary-row.total .summary-label {
    font-weight: 600;
    color: var(--dark);
}

.summary-row.total .summary-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--medium-gray) 50%, transparent 100%);
    margin: 20px 0;
}

.payment-actions {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid var(--light-gray);
    background-color: var(--light);
}

.btn-success {
    display: flex;
    align-items: center;
}

.btn-secondary {
    display: flex;
    align-items: center;
}

/* Efecto de selección para métodos de pago */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(44, 95, 139, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(44, 95, 139, 0); }
    100% { box-shadow: 0 0 0 0 rgba(44, 95, 139, 0); }
}

.payment-card.selected {
    animation: pulse 0.5s ease-out;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.payment-method {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
}

.payment-method:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.payment-method.selected {
    border-color: var(--primary);
    background-color: #fdf2f2;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.payment-method-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

#method-selection {
    transition: all var(--transition-medium);
}

.select-method-btn-container {
    margin-top: 25px;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid var(--light-gray);
}

.payment-form {
    padding: 20px;
    background-color: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.payment-form h4 {
    margin-top: 0;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.payment-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(44, 95, 139, 0.2);
}

#btn-continue:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: var(--dark-gray);
}

#btn-continue:disabled:hover {
    transform: none;
    box-shadow: none;
}

/*Boleto*/
.confirmation-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 700px;
    margin: 40px auto;
    font-family: 'Segoe UI', sans-serif;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-icon {
    margin-bottom: 10px;
}

.confirmation-header h2 {
    font-size: 28px;
    color: #4CAF50;
    margin-bottom: 5px;
}

.confirmation-subtitle {
    font-size: 16px;
    color: #555;
}

/* Tarjeta de boleto */
.ticket-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Marca de agua */
.ticket-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 120px;
    font-weight: bold;
    color: rgba(0,0,0,0.03);
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}

/* Información principal del boleto */
.ticket-main-info,
.ticket-passenger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
    margin-bottom: 20px;
}

.ticket-row {
    display: flex;
    flex-direction: column;
}

.ticket-label {
    font-weight: 600;
    font-size: 14px;
    color: #777;
    margin-bottom: 4px;
}

.ticket-value {
    font-size: 16px;
    padding: 8px 12px;
    background: #f4f4f4;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    font-weight: 500;
    color: #333;
}

/* Información secundaria (pasajero + QR) */
.ticket-secondary-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.ticket-qr {
    text-align: center;
}

.ticket-qr #qr-code-container {
    width: 140px;
    height: 140px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 0 auto;
}

.qr-caption {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* Pie del boleto */
.ticket-footer {
    margin-top: 30px;
    text-align: center;
    border-top: 1px dashed #ccc;
    padding-top: 15px;
}

.ticket-total {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.ticket-price {
    font-size: 20px;
    color: #4CAF50;
    font-weight: 600;
}

.ticket-thankyou {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

/* Instrucciones de pago */
.payment-instructions {
    background-color: #f0f4f8;
    border-left: 4px solid #4CAF50;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #333;
}

/* Botones */
.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.btn svg {
    vertical-align: middle;
}

.btn-success {
    background-color: #388E3C;
    color: white;
}

.btn:hover {
    filter: brightness(1.1);
}

/*BOTONES PARA EL FINAL*/
.confirmation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Aplica solo a los botones dentro de confirmation-actions */
.confirmation-actions button {
    width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

/* Efecto al pasar el cursor */
.confirmation-actions button:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

/* Colores personalizados */
.confirmation-actions .btn-primary {
    background-color: #007bff;
    color: white;
}

.confirmation-actions .btn-primary:hover {
    background-color: #0056b3;
}

.confirmation-actions .btn-success {
    background-color: #28a745;
    color: white;
}

.confirmation-actions .btn-success:hover {
    background-color: #1e7e34;
}

.confirmation-actions .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.confirmation-actions .btn-secondary:hover {
    background-color: #565e64;
}

/* IMPRESIÓN */
.print-area {
    display: none;
}

@media print {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    body * {
        visibility: hidden !important;
    }

    .print-area, .print-area * {
        visibility: visible !important;
    }

    .print-area {
        position: fixed;
        inset: 0;
        margin: 0 auto;
        background: white;
        display: block;
        width: 100%;
        max-height: 100vh;
        overflow: hidden;
        box-sizing: border-box;
        page-break-inside: avoid;
        page-break-before: avoid;
        page-break-after: avoid;
    }
}

.ticket-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 145px; 
}

#qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px; 
    height: 140px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 6px;
}

.qr-print-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 140px !important; 
    height: 140px !important;
    margin: 0 auto !important; 
    padding: 6px !important;
}

@media (max-width: 768px) {
    #qr-code-container {
        padding: 15px !important;
        min-height: 130px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    #qr-code-container img,
    #qr-code-container canvas {
        max-width: 120px !important;
        height: 120px !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    #qr-code-container > div {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    #qr-code-container > div > div {
        display: none !important;
    }
    
    #qr-code-container img:first-of-type,
    #qr-code-container canvas:first-of-type {
        display: block !important;
    }
}
/*EMAIL*/
.spinner {
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-success:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/*BOTON FINALIZAR*/
#btn-volver-inicio {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

#btn-volver-inicio:hover {
    background-color: #5a6268;
}

#btn-volver-inicio:active {
    transform: scale(0.98);
}

#btn-volver-inicio ~ * {
    pointer-events: auto !important;
}

/* ========== Tarjetas de Información ========== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 25px;
}

.weather-card, .info-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.weather-card:hover, .info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 22px 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.weather-icon, .card-icon {
    font-size: 28px;
    margin-right: 15px;
    z-index: 1;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-body {
    padding: 25px;
    flex-grow: 1;
}

.weather-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.time {
    padding: 0 10px;
    font-weight: 600;
    color: var(--dark-gray);
    width: 100px;
}

.temp {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
    width: 80px;
    text-align: center;
}

.condition {
    padding: 0 10px;
    color: var(--dark-gray);
    text-align: right;
    flex-grow: 1;
    font-weight: 500;
}

.card-footer {
    padding: 18px 25px;
    background-color: var(--secondary-light);
    border-top: 1px solid var(--light-gray);
    text-align: center;
    font-weight: 500;
    color: var(--primary);
}

.advice::before {
    content: "💡";
    margin-right: 8px;
    font-size: 1.1rem;
}

.info-card ul {
    list-style-type: none;
    padding: 5px;
    margin: 0;
}

.info-card li {
    padding: 14px 0 14px 40px;
    position: relative;
    border-bottom: 1px solid var(--light-gray);
    font-weight: 500;
    color: var(--dark-gray);
    transition: all var(--transition-fast);
}

.info-card li:hover {
    background-color: rgba(76, 149, 108, 0.05);
    transform: translateX(5px);
}

.info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.info-card li:nth-child(1)::before {
    content: "1";
}

.info-card li:nth-child(2)::before {
    content: "2";
}

.info-card li:nth-child(3)::before {
    content: "3";
}

.info-card li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
  .info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .weather-card,
  .info-card {
    font-size: 14px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    border: 1px solid #ccc; 
    border-radius: 18px;     
    background-color: #fff; 
  }

  .weather-card .card-body,
  .info-card .card-body {
    padding: 6px 0;
  }

  .weather-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
  }

  .card-footer {
    font-size: 12px;
    margin-top: 6px;
    text-align: center;
  }

  .form-actions {
    margin-top: 20px;
    text-align: center;
  }
}


/*INFO DEL CONDUCTOR PAGINA 2*/
.info-section1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: start;
}

.driver-info-card,
.vehicle-info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #eaeaea;
    height: auto; 
    display: flex;
    flex-direction: column;
}

.info-card__header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    flex-shrink: 0;
}

.driver-info-card .info-card__header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.vehicle-info-card .info-card__header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.info-card__content {
    padding: 20px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.info-card__row {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0; 
}

.info-card__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-top: auto; 
    padding-top: 15px;
}

.info-card__icon {
    font-size: 30px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.info-card__label {
    font-weight: 600;
    color: #100335;
    min-width: 120px;
    margin-right: 15px;
}

.info-card__value {
    color: #333333;
    flex: 1;
}

.info-card__feature {
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    color: #2c6e49;
    font-weight: 500;
}

.info-card__rating {
    color: #ffc107;
    font-size: 1.1rem;
}

.info-card__rating-text {
    color: #666666;
    font-size: 0.9rem;
    margin-left: 5px;
}

.loyalty-points {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--light-accent) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark);
}

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

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 8px;
}

.summary-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: bold;
    color: var(--primary);
    font-size: 18px;
    padding-top: 15px;
}

@media (max-width: 768px) {
  .info-section1 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 95%;
    margin: 0 0;
  }

  .info-card--highlight {
    border-radius: 17px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    background: #fff;
    font-size: 14px;
  }

  .info-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 8px;
  }

  .info-card__icon {
    font-size: 20px;
    color: #2c3e50;
  }

  .info-card__row {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
    font-size: 13px;
  }

  .info-card__label {
    font-weight: 600;
    color: #444;
  }

  .info-card__value {
    color: #333;
  }

  .info-card__rating {
    font-size: 13px;
    color: #f39c12;
  }

  .info-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }

  .info-card__feature {
    background-color: #eef6f9;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #006d77;
  }
}

/* ========== Indicador de Pasos========== */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-top:90px;
    position: relative;
    z-index: 5;
    padding: 20px;
}
.main-content {
    margin-top: 0;
    position: relative;
    z-index: 1;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}
.step > * {
  margin: 0;
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #90a4ae;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.step.active .step-number {
    background-color:  #fdd835;
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(44, 95, 139, 0.2);
}

.step.completed .step-number {
    background-color: #00c48c;
    color: var(--white);
}

.step-title {
    font-size: 14px;
    color: var(--white);
    text-align: center;
    font-weight: 500;
    transition: all var(--transition-medium);
}

.step.active .step-title {
    color:  #fdd835;
    font-weight: 600;
}

.step-progress {
    position: absolute;
    top: 18px;
    left: 50%;
    height: 4px;
    width: 100%;
    background-color: var(--medium-gray);
    z-index: -1;
    transform: translateX(0);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: var(--medium-gray);
    z-index: -1;
    transform: translateX(0);
}

.step.completed:not(:last-child)::after {
    background-color: var(--success);
}

.step:first-child .step-progress {
    width: 50%;
    left: 50%;
}

.step:last-child .step-progress {
    width: 50%;
    left: 0;
}

.step.completed .step-progress {
    background-color: var(--success);
}

.attraction-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.attraction-img {
    height: 150px;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark);
    font-weight: bold;
}

.attraction-content {
    padding: 15px;
}

.attraction-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--dark);
}

.attraction-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.hero-banner-split {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  gap: 3rem;
  padding: 3rem 2rem;
  background: white;
  color: #1c2541;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
  flex-wrap: wrap;
}

.video-container {
  flex: 1 1 450px;
  max-width: 500px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-radius: 16px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.text-container {
  flex: 1 1 400px;
  max-width: 600px;
}

.text-container h1 {
  font-size: 2.8rem;
  margin-bottom: 0.6rem;
}

.text-container h1 strong {
  color: #2563eb;
}

.text-container h2 {
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #4a5568;
}

.text-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.8rem;
}

.founder-quote {
  font-style: italic;
  color: #718096;
  margin-bottom: 2rem;
}

.founder-name, .founder-title {
  font-weight: 600;
  color: #2563eb;
  margin-top: 0.2rem;
}

.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #1e40af;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.7);
}

@media (max-width: 900px) {
  .hero-banner-split {
    flex-direction: column;
    text-align: center;
  }
  .video-container, .text-container {
    max-width: 100%;
    flex: unset;
  }
  .text-container h1 {
    font-size: 2.2rem;
  }
  .text-container h2 {
    font-size: 1.3rem;
  }
}

/* Estilos para secciones de información */
.info-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}
/* Fondo oscuro general */
.dark-bg {
  position: relative;
  background: linear-gradient(145deg, #1c2541 0%, #3a5068 60%, #5bc0be 100%);
  color: #e2e8f0;
  overflow: hidden;
  padding: 3rem 2rem;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
}

.dark-bg::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}


#tarjetas {
    font-size: 2.5rem;
    color: #154255;
    margin-bottom: 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}
.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

.section-header p {
  font-size: 1.2rem;
  color: #e2cd30;
  max-width: 480px;
  margin: 0 auto;
  font-style: italic;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #007acc, #004080);
  border-radius: 2px;
  margin: 0.8rem auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.service-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.solo-card {
  grid-column: span 2;
  justify-self: start;
}

/* Lista de características */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 40px auto 0;
}

.feature-item {
  background-color: #2a2a2a;
  border-left: 5px solid #3498db; 
  padding: 20px 25px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  font-size: 1.5rem;
  color: #7a7141;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 1rem;
  color: black;
}


@media (max-width: 768px) {
  .solo-card {
    grid-column: span 1;
    justify-self: center;
  }

}

.faq-section {
    position: relative;
    background-color: #f9f9f9;
    background-image: radial-gradient(#000 0.5px, transparent 1.2px);
    background-size: 20px 20px; 
    color: #333;
    padding: 60px 20px 0;
    overflow: hidden;
    min-height: 400px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1;
    margin-bottom: 0;
    
}

.faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
     background: none;
    pointer-events: none;
    z-index: 0;
}

#servicios {
    color: #100335;
}
#preguntas {
    color:#1f0e32;
}
.faq-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}


.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
    color: #FF6B00;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: #fff;
}

.faq-answer p {
    padding: 0 0 20px 0;
    margin: 0;
    color: #555;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.dark-bg .feature-item {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 60px 0;
  }
  
  .hero-banner h1 {
    font-size: 2rem;
  }
  
  .hero-banner h2 {
    font-size: 1.5rem;
  }
  
  .services-grid, .features-list {
    grid-template-columns: 1fr;
  }
}

/*FOOTERR*/
.footer {
    background-color: #0e1a17; 
    color: #f0f0f0;
    padding: 20px 20px 40px; 
    font-family: 'Arial', sans-serif;
    border-top: 1px solid #1a1a1a;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social-newsletter {
    flex: 1 1 220px;
    margin: 15px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f1c40f;
}

.footer-contact p {
    margin: 8px 0;
}

.footer-social-newsletter h4 {
    margin-bottom: 10px;
}

.social-icons a {
    color: #eee;
    margin-right: 15px;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f1c40f;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 3px 0 0 3px;
    outline: none;
}

.newsletter-form button {
    padding: 8px 15px;
    border: none;
    background-color: #f1c40f;
    color: #222;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    font-weight: bold;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #d4ac0d;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 0.9em;
    color: #777;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form {
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
}


/*VALIDACIONES*/
.form-input {
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  transition: border-color 0.3s;
}

.form-input.valid {
  border-color: #4CAF50;
}

.form-input.invalid {
  border-color: #F44336;
}

.error-message {
    display: none;
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-group.invalid .error-message {
  display: block;
}

.helper-text {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 5px;
}
#btn-confirm-payment:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}
/*VALIDACIÓN PARA TARJETA DE CRÉDITO*/
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #4285f4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-input.valid {
    border-color: #4CAF50;
}

.form-input.invalid {
    border-color: #F44336;
}

.error-message {
    color: #F44336;
    font-size: 0.75em;
    margin-top: 5px;
    display: none;
}

.form-group.invalid .error-message {
    display: block;
}

.helper-text {
    font-size: 0.75em;
    color: #666;
    margin-top: 5px;
    display: block;
}

.form-row {
    display: flex;
    gap: 15px;
}

/*MODAL LOGIN------------------*/
.particulares-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.particulares-modal.active {
  display: flex;
}

.particulares-modal-content {
  background: white;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  width: 320px;
  max-width: 90vw;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.particulares-close-btn {
  position: absolute;
  top: 12px; right: 15px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.particulares-close-btn:hover {
  color: #2563eb;
}

.particulares-modal-content input[type="email"],
.particulares-modal-content input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin: 0.6rem 0 1.2rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.particulares-modal-content .btn-login {
  width: 100%;
  background: #2563eb;
  color: white;
  font-weight: 600;
  padding: 0.7rem 0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.particulares-modal-content .btn-login:hover {
  background: #1e40af;
}

/* Estilos para el modal flotante */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.payment-modal {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-modal .payment-form {
    padding: 20px;
}

.payment-modal .payment-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.yape-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 16px;
}

.yape-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .yape-qr {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .yape-qr {
    width: 140px;
    height: 140px;
  }
}


@media (max-width: 768px) {
  .payment-actions {
    flex-direction: row; 
    gap: 10px;
    padding: 0 8px;
  }

  .payment-actions button {
    font-size: 14px;
    padding: 10px;
    flex: 1;
  }
}
/*EMAIL---------------------------*/
/* Estilos para el modal */
.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.email-modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.email-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.email-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.email-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.email-modal-body input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.email-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.email-modal-footer button {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.email-modal-cancel {
    background-color: #f0f0f0;
    color: #333;
}

.email-modal-cancel:hover {
    background-color: #e0e0e0;
}

.email-modal-submit {
    background-color: #4CAF50;
    color: white;
}

.email-modal-submit:hover {
    background-color: #3e8e41;
}

.email-modal-submit:disabled {
    background-color: #a5d6a7;
    cursor: not-allowed;
}

.email-modal-error {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 15px;
    display: none;
}

.email-modal-success {
    display: none;
    text-align: center;
    padding: 20px;
}

.email-modal-success svg {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.email-modal-success h3 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.email-modal-success p {
    color: #666;
    margin: 0;
}
/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    .seat-selection-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
  .route-banner {
    flex-wrap: nowrap;
    margin-bottom: 20px;
  }

  .route-info {
    padding: 15px;
  }

  .route-title {
    font-size: 18px;
    flex-wrap: wrap;
  }

  .route-subtitle {
    font-size: 14px;
  }

  .route-image {
    flex: 0 0 30%; 
    height: 120px;
    opacity: 0.8;
  }
    .date-options, .payment-methods, .time-slots {
        grid-template-columns: 1fr;
    }
    
    .step-title {
        font-size: 12px;
    }
        
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-actions {
        padding: 15px;
    }
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .passenger-form {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-body, .card-header {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 14px;
    }
    .page-title {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .form-input {
        padding: 12px 15px 12px 40px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .step-progress {
        height: 3px;
    }
    
    .route-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .payment-methods, .date-options, .time-slots {
        grid-template-columns: 1fr;
    }
    
    .seats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ticket-info {
        grid-template-columns: 1fr;
    }
}