/* Estilos generales y reseteo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* Contenedor principal de pantalla completa */

/* =========================
   HERO CORREGIDO
   ========================= */

.hero {
    position: relative;
    width: 100%;
    height: 50vw;
    min-height: 340px;
    max-height: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* BOTÓN DE IDIOMA */

.lang-container {
    position: absolute;
    top: 22px;
    right: 38px;
    z-index: 20;
}

.btn-lang {
    background: #ffffff;
    color: #222;
    border: none;
    padding: 12px 24px;
    min-width: 112px;
    height: 44px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-lang:hover {
    background: #f2f2f2;
    transform: translateY(-1px);
}

.btn-lang:active {
    transform: translateY(0);
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 52, 86, 0.62);
    z-index: -1;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px 55px;
    z-index: 1;
}

.logo-container {
    text-align: left;
}

.logo-png {
    max-width: 175px;
    height: auto;
}

.hero-text-box {
    max-width: 360px;
    color: #ffffff;
    margin-top: 55px;
    margin-bottom: 0;
}

.main-title {
    font-size: 3rem;
    font-weight: normal;
    line-height: 1.08;
    color: #e2c094;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.sub-title {
    max-width: 310px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.45;
}

/* --- SECCIÓN NUESTRA MISIÓN --- */
.mission-section {
    padding: 80px 20px;
    background-color: #fcfbf7; /* Tono beige/hueso muy claro idéntico a la captura */
    text-align: center;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: normal;
    color: #2b303e;
    margin-bottom: 35px;
}

.mission-text {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- SECCIÓN PROCESO DE CALIDAD --- */
.quality-section {
    position: relative;
    width: 100%;
    
    padding: 100px;
    text-align: center;
}

/* Imagen fija de fondo */
.quality-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/proceso.png'); /* Pon aquí el nombre de tu imagen PNG o JPG */
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Capa oscura traslúcida para legibilidad de textos blancos/dorados */
.quality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aumentado de 0.65 a 0.85 (85% oscuridad) */
    background: rgba(0, 0, 0, 0.85); 
    z-index: -1;
}

.quality-content {
    max-width: 1100px;
}

.quality-main-title {
    font-size: 2.2rem;
    font-weight: normal;
    color: #e2c094; /* Color ocre corporativo */
    letter-spacing: 2px;
    margin-bottom: 60px;
}

/* Grid responsivo de 3 columnas */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Estilo exacto de los recuadros del video */
.card-box {
    border: 1px solid #e2c094; /* Borde delgado dorado */
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.03); /* Fondo sutilmente visible */
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(2px); /* Efecto cristal ligero moderno */
}

.card-box h3 {
    font-size: 1.4rem;
    font-weight: normal;
    color: #e2c094;
    margin-bottom: 15px;
}

.card-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* --- SECCIÓN VOZ ACTIVA, SU MEJOR OPCIÓN --- */
.best-option-section {
    padding: 80px 20px;
    background-color: #fcfbf7; /* Mismo fondo claro que la misión */
    text-align: center;
}

.option-main-title {
    font-size: 2.2rem;
    font-weight: normal;
    color: #2b303e;
    margin-bottom: 25px;
}

.option-description {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* --- SECCIÓN ATENCIÓN PERSONALIZADA (FONDO CORREGIDO) --- */
.attention-section {
    position: relative;
    width: 100%;
    min-height: 60vh; /* Asegura un alto mínimo considerable */
    padding: 100px 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Forzar a la imagen a cubrir absolutamente todo el fondo */
.attention-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/atencion.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.attention-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 34, 45, 0.75); 
    z-index: -1;
}

.attention-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: flex-start; 
}

.attention-content-box {
    max-width: 750px;
    color: #ffffff;
    text-align: left; 
    padding-left: 40px;
}

.attention-main-title {
    font-size: 3.2rem;
    font-weight: normal;
    color: #e2c094; 
    margin-bottom: 35px;
    letter-spacing: -1px;
}

.attention-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #f5f5f5;
}

.text-highlight {
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0;
}

.cards-section-wrapper {
    background-color: #f3ede2;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.fondo {
    background-color: #E8E0D5;
    margin: 0;
    padding: 0 0 50px;
}


/* --- ESTILOS TARJETA 1: SU MEJOR OPCIÓN --- */
.option-card {
    background-color: #ebdcc5; /* Color beige/arena exacto de la tarjeta */
    width: 100%;
    max-width: 940px; /* Ancho exacto como se ve en tu editor */
    padding: 40px 50px;
    border-radius: 8px; /* Bordes redondeados sutiles */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.option-title {
    font-size: 2rem;
    color: #232a38; /* Azul marino oscuro de tu tipografía */
    font-weight: normal;
    margin-bottom: 30px;
}

.option-text {
    font-size: 1.1rem;
    color: #444c5a;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.option-text:last-child {
    margin-bottom: 0;
}

.attention-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 940px;
    min-height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/img/atencion.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
}

.attention-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 52, 86, 0.68);
    z-index: 0;
}

.attention-card-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 34px 28px;
    color: #ffffff;
    text-align: center;
}

.attention-title {
    font-size: 2rem;
    color: #e3c49e;
    font-weight: normal;
    margin-bottom: 14px;
    line-height: 1.15;
}

.attention-desc {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 14px;
    color: #f3f3f3;
}

.attention-desc.highlight {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
}

.faq-container {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 940px;
    margin: 40px auto 0;
    padding: 55px 38px;
    background-image: url('/img/preguntas.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.faq-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 240, 0.52);
    z-index: 0;
}

.faq-title,
.faq-block {
    position: relative;
    z-index: 1;
}

.faq-title {
    font-size: 2.05rem;
    font-weight: 500;
    color: #1a1e28;
    margin-bottom: 28px;
    width: 100%;
}

.faq-block {
    width: 100%;
    max-width: 760px;
    margin-bottom: 20px;
}

.faq-block:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1e28;
    margin-bottom: 6px;
    text-align: center;
}

.faq-answer {
    font-size: 1rem;
    font-weight: 400;
    color: #1a1e28;
    line-height: 1.4;
    text-align: center;
}

/* --- ESTILOS TARJETA 4: PRESUPUESTO Y PAGO --- */
.budget-card {
    max-width: 940px;
    margin: 50px auto;
    background-color: #ebdcc5; /* Mismo color arena/beige que la primera tarjeta */
    padding: 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.budget-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: #1a1e28;
}

.payment-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1e28;
    margin-bottom: 15px;
}

.budget-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: #1a1e28;
    max-width: 750px;
    line-height: 1.5;
    margin-bottom: 45px; /* Espacio grande hacia el siguiente elemento */
}

/* Quitar margen inferior al último texto para que el padding actúe bien */
.no-margin {
    margin-bottom: 0;
}

/* Contenedor del botón/icono */
.upload-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-bottom: 45px; /* Mismo margen para que quede simétrico */
    transition: transform 0.2s ease;
}

/* Efecto sutil al pasar el mouse sobre tu icono */
.upload-btn:hover {
    transform: scale(1.05);
}

/* Tamaño de tu imagen PNG/JPG (puedes ajustarlo si lo ves muy grande/chico) */
.upload-icon {
    width: 85px; 
    height: auto;
    display: block;
}

/* --- PIE DE PÁGINA (FOOTER) --- */
.main-footer {
    width: 100%;
    padding: 60px 20px 80px 20px; /* Espacio extra abajo para que no quede pegado al borde */
    color: #1a1e28;
}

.footer-container {
    max-width: 940px; /* El mismo ancho que las tarjetas para que quede alineado perfecto */
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    flex-wrap: wrap; /* Permite que en móviles se ponga uno abajo del otro */
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Solo empujamos un poco la columna derecha para alineación visual idéntica a tu captura */
.right-col {
    padding-left: 10%;
}

.footer-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #1a1e28;
}

/* Lista de Contacto */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 300;
    color: #1a1e28;
    line-height: 1.4;
}

.contact-icon {
    width: 22px; /* Tamaño de los iconos dorados pequeños */
    height: auto;
    margin-right: 15px;
    margin-top: 2px;
}

/* Horario */
.hours-block {
    margin-bottom: 25px;
}

.hours-day {
    font-size: 1.1rem;
    font-weight: 400;
    color: #cca474; /* Color ocre exacto */
    margin-bottom: 5px;
}

.hours-time {
    font-size: 1.05rem;
    font-weight: 300;
    color: #1a1e28;
}

/* Redes y Logo en el centro */
.footer-bottom {
    text-align: center;
}

.social-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #1a1e28;
    margin-bottom: 35px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.social-icons img {
    width: 55px; /* Tamaño de los botones de redes */
    height: auto;
    transition: transform 0.2s ease;
}

/* Pequeño efecto de animación al pasar el ratón */
.social-icons img:hover {
    transform: translateY(-4px);
}

.footer-logo {
    max-width: 250px;
    height: auto;
}

/* --- ESTILOS DE FORMULARIO INTEGRADO A LA MARCA --- */
.elegant-form-card {
    background-color: #ebdcc5; /* El mismo beige de tus tarjetas */
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #232a38; /* Tu azul marino corporativo */
}

.form-main-title {
    font-size: 2.2rem;
    font-weight: normal;
    color: #232a38;
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 1.1rem;
    color: #444c5a;
    text-align: center;
    margin-bottom: 40px;
}

/* Sistema de grillas para organizar los campos limpiamente */
.form-row {
    display: flex;
    gap: 30px;
}
.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    color: #232a38;
    margin-bottom: 12px;
}

.label-note {
    font-size: 0.9rem;
    color: #5c6473;
    font-weight: 300;
}

/* Inputs de texto limpios con solo borde inferior */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #cca474; /* Borde inferior en el ocre de tu marca */
    padding: 8px 0;
    font-size: 1.05rem;
    color: #232a38;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-bottom: 2px solid #232a38; /* Resalta en azul al escribir */
}

.textarea-custom {
    resize: vertical;
}

/* Grillas para los botones de radio (Para que no se vea como lista interminable) */
.radio-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.radio-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.radio-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.custom-radio {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #444c5a;
}
.custom-radio input[type="radio"] {
    accent-color: #cca474; /* Color corporativo en la selección */
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Botón de subir archivo elegante */
.file-upload-box {
    margin-top: 10px;
}
.btn-file-custom {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid #cca474;
    color: #cca474;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-file-custom:hover {
    background: #cca474;
    color: #ffffff;
}
.icon-small {
    width: 18px;
    margin-right: 8px;
}

/* Botón de envío final */
.form-submit-row {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(204, 164, 116, 0.3);
    padding-top: 25px;
}

.btn-solid-submit {
    background-color: #232a38;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-solid-submit:hover {
    background-color: #cca474; /* Cambia al dorado al pasar el mouse */
}

.telefono{
    display: flex;
    flex-direction: column;
}

.telefono a{
    text-decoration: none;
    color: #000;
}

svg{
    margin: .5rem;
}
/* =========================================
   DISEÑO RESPONSIVO (TABLETAS Y TELÉFONOS)
   ========================================= */

/* --- TABLETAS (Hasta 992px) --- */
@media (max-width: 992px) {
    .main-title { font-size: 3.2rem; }
    .logo-png { max-width: 200px; }
    .hero-content { padding: 40px; }

    .quality-section, .cards-section-wrapper, .faq-container, .budget-card {
        padding: 60px 30px;
    }

    .option-card, .attention-card { max-width: 100%; }
    .faq-container { padding: 60px 40px; }
    .budget-card { padding: 60px 40px; }

    .footer-top { gap: 30px; }
    .right-col { padding-left: 0; }
}

/* --- TELÉFONOS (Hasta 768px) --- */
@media (max-width: 768px) {
    /* Hero */
    .hero-content { padding: 30px 20px; }
    .main-title { font-size: 2.5rem; }
    .sub-title { font-size: 1.1rem; }
    .logo-png { max-width: 160px; }
    .lang-container { top: 20px; right: 20px; }
    .btn-lang { padding: 8px 16px; font-size: 0.9rem; }

    /* Títulos y Textos Generales */
    .section-title, .quality-main-title, .option-title, .attention-title, .faq-title, .budget-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .mission-text, .option-text, .attention-desc, .faq-answer, .budget-text {
        font-size: 1rem;
    }

    /* Espaciados de secciones */
    .mission-section { padding: 50px 20px; }
    .quality-section { padding: 50px 20px; }
    .cards-section-wrapper { padding: 40px 15px; gap: 30px; }
    .fondo {
        margin: 0;
        padding: 0 15px 40px;
    }

    /* Tarjetas */
    .option-card { padding: 30px 20px; }
    .attention-card { min-height: 350px; }
    .attention-card-content { padding: 30px 20px; }
    .faq-container { padding: 40px 20px; margin: 30px auto; }
    .budget-card { padding: 50px 20px; }

    /* Icono de subida */
    .upload-icon { width: 65px; }
    .payment-title { font-size: 1.5rem; }

    /* Footer */
    .main-footer { padding: 40px 20px 50px 20px; }
    .footer-top { flex-direction: column; gap: 40px; text-align: center; }
    
    /* Centrar elementos de contacto en el móvil */
    .contact-list li { 
        justify-content: center; 
        text-align: center; 
        flex-direction: column; 
        align-items: center; 
    }
    .contact-icon, svg { margin: 0 0 10px 0; } 
    
    .social-title { font-size: 1.4rem; }
    .social-icons img { width: 45px; }
    .social-icons { gap: 15px; }
}

/* --- TELÉFONOS PEQUEÑOS (Hasta 480px) --- */
@media (max-width: 480px) {
    .main-title { font-size: 2rem; }
    .section-title, .quality-main-title, .option-title, .attention-title, .faq-title, .budget-title {
        font-size: 1.5rem;
    }
    .btn-lang { padding: 6px 12px; font-size: 0.85rem; }
    .logo-png { max-width: 140px; }
}

@media (max-width: 768px) {
    .hero {
        height: 360px;
        min-height: 360px;
        max-height: none;
    }

    .hero-content {
        padding: 18px 22px;
    }

    .hero-text-box {
        margin-top: 55px;
        max-width: 280px;
    }

    .main-title {
        font-size: 2.35rem;
    }

    .sub-title {
        font-size: 0.92rem;
        max-width: 250px;
    }

    .lang-container {
        top: 18px;
        right: 18px;
    }

    .btn-lang {
        min-width: 98px;
        height: 40px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .quality-section {
        padding: 55px 18px;
    }

    .grid-cards {
        grid-template-columns: 1fr;
    }

    .cards-section-wrapper {
        padding: 40px 15px;
    }

    .option-card,
    .attention-card,
    .faq-container,
    .budget-card {
        max-width: 100%;
    }

    .attention-card {
        min-height: 260px;
    }

    .faq-container {
        padding: 45px 20px;
        margin: 25px auto 0;
    }

    .budget-card {
        padding: 55px 22px;
        margin: 35px auto;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .contact-list li {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 330px;
        min-height: 330px;
    }

    .logo-png {
        max-width: 130px;
    }

    .hero-text-box {
        margin-top: 52px;
    }

    .main-title {
        font-size: 2rem;
    }

    .sub-title {
        font-size: 0.85rem;
    }

    .section-title,
    .quality-main-title,
    .option-title,
    .attention-title,
    .faq-title,
    .budget-title {
        font-size: 1.55rem;
    }
}