:root {
    --naranja: #FF8C00;
    --naranja-claro: #FFF4E6;
    --naranja-hover: #E67E00;
    --gris-oscuro: #2D2D2D;
    --gris-medio: #4A4A4A;
    --gris-fondo: #F8F9FA;
    --blanco: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--gris-medio);
    background-color: var(--blanco);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3 { color: var(--gris-oscuro); font-weight: 700; display: block}
p { margin-bottom: 1.5rem; text-align: justify; }

/* --- Header --- */
header {
    background: var(--naranja);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--gris-oscuro); width: 100px;}
.logo span { color: var(--naranja); }

.btn-phone {
    background: var(--gris-oscuro);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 480px) {
    header { padding: 1rem 3%; }
    .btn-phone { padding: 8px 15px; font-size: 0.9rem; }
    .logo { width: 85px; }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1506015391300-4802dc74de2e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 5%;
    color: white;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 100px 5% 60px; }
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text { text-align: center; }
    .hero-description { margin: 0 auto 1.5rem; text-align: center; }
}

.hero-text { text-align: left; }
.hero-subtitle { color: var(--naranja); font-weight: 800; letter-spacing: 2.5px; font-size: 0.85rem; margin-bottom: 1rem; text-transform: uppercase; }
.hero-text h1 { color: white; font-size: 5.5rem; line-height: 0.85; margin-bottom: 1.5rem; font-weight: 900; letter-spacing: -2px; }

@media (max-width: 768px) {
    .hero-text h1 { font-size: 4rem; margin-bottom: 1rem; }
    .hero-description { font-size: 1.15rem; line-height: 1.3; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 3.2rem; }
}

.hero-description { font-size: 1.3rem; opacity: 0.9; max-width: 550px; line-height: 1.4; color: rgba(255,255,255,0.85); text-align: left;}

.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 3.5rem;
    border-radius: 40px;
    color: var(--gris-oscuro);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
}

@media (max-width: 640px) {
    .hero-form-card { padding: 2rem 1.5rem; border-radius: 30px; }
    .hero-form-card h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
}

.hero-form-card h2 { border: none; padding: 0; font-size: 2.2rem; margin-bottom: 2.5rem; font-weight: 800; color: var(--gris-oscuro); }

/* Form Styling */
#buscador .formulario { display: flex; flex-direction: column; gap: 1.2rem; }
#buscador .row { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; margin: 0; }
#buscador .field-group { display: flex; flex-direction: column; gap: 0.5rem; }
#buscador .date-time-group { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; }

@media (max-width: 480px) {
    #buscador .date-time-group { grid-template-columns: 1fr; }
}

#buscador label { font-size: 0.75rem; font-weight: 800; color: #999; text-transform: uppercase; letter-spacing: 1px; display: block; margin-left: 5px; margin-bottom: 5px;}

#buscador .input-wrapper { position: relative; display: flex; align-items: center; }
#buscador .input-wrapper i { position: absolute; left: 1.2rem; color: var(--naranja); font-size: 1.1rem; }

#buscador input, #buscador select { 
    width: 100%; 
    background: #f4f6f8; 
    border: 2px solid transparent;
    padding: 1.2rem 1rem 1.2rem 3.2rem; 
    border-radius: 20px; 
    font-weight: 700; 
    color: var(--gris-oscuro);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}
#buscador input:focus, #buscador select:focus { border-color: var(--naranja); background: white; }

#buscador .submit {
    background: linear-gradient(to right, #FF8C00, #FFB24D);
    color: white;
    border: none;
    width: 100%;
    padding: 1.4rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}
#buscador .submit:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(255, 140, 0, 0.5); }

.form-disclaimer { font-size: 0.85rem; color: #aaa; text-align: center; margin-top: 2rem; font-style: italic; font-weight: 600; }

/* --- Content Sections --- */
.section-container { max-width: 1100px; margin: 0 auto; padding: 4rem 5%; }

.img-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.img-text-grid.reverse { direction: rtl; }
.img-text-grid.reverse .text-box { direction: ltr; }

.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 15px 15px 0 var(--naranja-claro);
}

@media (max-width: 640px) {
    .image-box img { box-shadow: 10px 10px 0 var(--naranja-claro); }
}

h2 { font-size: 2.3rem; margin-bottom: 1.5rem; color: var(--gris-oscuro); border-left: 6px solid var(--naranja); padding-left: 20px; line-height: 1.2; }

/* --- Why Choose Us Section --- */
.why-us {
    background: var(--gris-fondo);
    padding: 4rem 5%;
    border-radius: 20px;
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .why-us { padding: 3rem 1.5rem; border-radius: 15px; margin-bottom: 3rem; }
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

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

.why-card i { font-size: 2.5rem; color: var(--naranja); margin-bottom: 1.2rem; display: block; }

.why-card h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--gris-oscuro); }

/* --- Accordions --- */
.accordion { margin: 2rem 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.05); }

.accordion-item { border-bottom: 1px solid #eee; background: white; }

.accordion-header {
    padding: 1.4rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--gris-oscuro);
    transition: 0.3s;
}

.accordion-header:hover { background: var(--naranja-claro); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 0 1.4rem;
    background: white;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 1.5rem 1.4rem;
}

.accordion-header i { 
    color: var(--naranja); 
    transition: 0.4s;
    font-size: 1.2rem;
}
.accordion-item.active .accordion-header { border-bottom: 1px solid #f0f0f0; color: var(--naranja); }
.accordion-item.active i { transform: rotate(180deg); }

/* --- Final CTA --- */
.cta-box {
    background: linear-gradient(135deg, var(--naranja), var(--naranja-hover));
    color: white;
    padding: 5rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin: 5rem auto;
    width: 100%;
}

@media (max-width: 768px) {
    .cta-box { padding: 3.5rem 1.5rem; margin: 3rem auto; border-radius: 20px; }
    .cta-box h2 { font-size: 1.8rem; }
}

.cta-box h2 { color: white; border: none; padding: 0; margin-bottom: 1.5rem; }

/* --- Footer --- */
footer { background: var(--gris-oscuro); color: #ddd; padding: 5rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; }

@media (max-width: 768px) {
    footer { padding: 4rem 5% 2rem; }
    .footer-grid { gap: 2.5rem; }
}
.footer-logo { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 1.5rem; }
.footer-logo span { color: var(--naranja); }
.footer-bottom { text-align: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #444; font-size: 0.9rem; }

@media (max-width: 768px) {
    .img-text-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .img-text-grid.reverse { direction: ltr; }
    .hero h1 { font-size: 2.2rem; display: block}
    h2 { font-size: 1.8rem; }
    .section-container { padding: 3rem 5%; }
}
