/* =========================================
   HOJA DE ESTILOS: PÁGINA CONTACTO
   ========================================= */

.ct-page {
    --ct-primary: #2579cc;
    --ct-primary-dark: #124d86;
    --ct-primary-light: #eaf3fc;
    --ct-orange: #d0774a;
    --ct-orange-dark: #b96339;
    --ct-white: #ffffff;
    --ct-text: #2c3e50;
    --ct-muted: #596a7a;
    --ct-bg: #f4f7fc;
    --ct-radius: 16px;
    --ct-shadow: 0 12px 35px rgba(27, 63, 99, 0.09);

    width: 100%;
    overflow: hidden;
    color: var(--ct-text);
    background: var(--ct-white);
    font-family: inherit;
}

.ct-page *, .ct-page *::before, .ct-page *::after {
    box-sizing: border-box;
}

.ct-page img {
    display: block;
    max-width: 100%;
}

.ct-page a {
    text-decoration: none;
    color: var(--ct-primary);
}

.ct-page a:hover {
    text-decoration: underline;
}

.ct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.contactoWhatsapp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 99;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contactoWhatsapp:hover { transform: scale(1.12); }
.contactoWhatsapp img { width: 55px; height: 55px; }


/* =========================================
   1. HERO / CABECERA
   ========================================= */
.ct-hero {
    position: relative;
    padding: 100px 24px;
    background-size: cover;
    background-position: center;
    color: var(--ct-white);
    text-align: center;
}

.ct-hero-container {
    max-width: 820px;
    margin: 0 auto;
}

.ct-badge {
    display: inline-block;
    padding: 7px 18px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.ct-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.ct-hero p {
    margin: 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}


/* =========================================
   2. SECCIÓN PRINCIPAL (GRID 2 COLUMNAS)
   ========================================= */
.ct-section {
    padding: 85px 0;
}

.ct-main-section {
    background: var(--ct-bg);
}

.ct-section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.ct-sub-tag {
    display: inline-block;
    color: var(--ct-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ct-section-heading h2 {
    margin: 5px 0 12px;
    font-size: clamp(2rem, 3vw, 2.4rem);
    color: var(--ct-primary-dark);
}

.ct-section-heading p {
    margin: 0;
    color: var(--ct-muted);
    font-size: 1.05rem;
}

.ct-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: flex-start;
}


/* =========================================
   3. COLUMNA IZQUIERDA (INFO Y MAPA)
   ========================================= */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ct-text-card {
    background: var(--ct-white);
    padding: 28px;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow);
    color: var(--ct-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.ct-map-card {
    border-radius: var(--ct-radius);
    overflow: hidden;
    box-shadow: var(--ct-shadow);
    background: var(--ct-white);
    height: 340px;
}

.ct-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ct-contact-links {
    background: var(--ct-white);
    padding: 24px;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-phone-link, .ct-address-link {
    font-weight: 700;
    color: var(--ct-primary-dark);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ct-phone-link:hover, .ct-address-link:hover {
    color: var(--ct-orange);
    text-decoration: none;
}


/* =========================================
   4. COLUMNA DERECHA (FORMULARIO)
   ========================================= */
.ct-form-col {
    background: var(--ct-white);
    padding: 40px;
    border-radius: var(--ct-radius);
    box-shadow: var(--ct-shadow);
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-field label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ct-primary-dark);
}

.ct-field label b {
    color: var(--ct-orange);
}

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="file"],
.ct-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--ct-text);
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-field input:focus, .ct-field textarea:focus {
    outline: none;
    border-color: var(--ct-primary);
    background: var(--ct-white);
    box-shadow: 0 0 0 3px rgba(37, 121, 204, 0.15);
}

.ct-radio-group {
    background: var(--ct-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e8f5;
}

.ct-radio-options {
    display: flex;
    gap: 25px;
    margin-top: 5px;
}

.ct-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.ct-radio-item input {
    accent-color: var(--ct-primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.ct-checkboxes {
    background: var(--ct-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e8f5;
    gap: 12px;
}

.ct-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ct-check-row input {
    margin-top: 4px;
    accent-color: var(--ct-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.ct-check-row label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--ct-muted);
    line-height: 1.4;
}

.ct-legal-text {
    font-size: 0.8rem;
    color: var(--ct-muted);
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--ct-primary);
    line-height: 1.5;
}

.ct-recaptcha-wrapper {
    display: flex;
    justify-content: center;
}

.ct-submit-wrap {
    text-align: center;
    margin-top: 10px;
}

.ct-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    background: var(--ct-orange);
    color: var(--ct-white);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(208, 119, 74, 0.35);
    transition: background 0.25s ease, transform 0.25s ease;
}

.ct-submit-btn:hover {
    background: var(--ct-orange-dark);
    transform: translateY(-2px);
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .ct-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .ct-section {
        padding: 55px 0;
    }
    .ct-form-col {
        padding: 25px 20px;
    }
}