/* ==========================================================
   CIUDAD HOME - CONTACTO
   CSS exclusivo del shortcode [contact-form]
   Color principal: #ff3e0c
   ========================================================== */

#contact.chct,
#contact.chct * {
    box-sizing: border-box !important;
}

#contact.chct {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 24px 20px 76px !important;
    color: #262626 !important;
    font-family: inherit !important;
}

#contact.chct h1,
#contact.chct h2,
#contact.chct p {
    max-width: none !important;
    margin-top: 0 !important;
}

#contact.chct a {
    text-decoration: none !important;
}

/* Portada */

#contact.chct .chct-hero {
    position: relative !important;
    width: 100% !important;
    padding: 68px 54px 64px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 50% -25%, rgba(255, 62, 12, 0.17), rgba(255, 62, 12, 0) 46%),
        #f8f7f5 !important;
    border: 1px solid #e7e4e0 !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 38px rgba(20, 20, 20, 0.055) !important;
    text-align: center !important;
}

#contact.chct .chct-hero::after {
    content: "" !important;
    position: absolute !important;
    right: 10% !important;
    bottom: 0 !important;
    left: 10% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255, 62, 12, 0.58), transparent) !important;
}

#contact.chct .chct-eyebrow,
#contact.chct .chct-section-label {
    display: block !important;
    margin: 0 0 12px !important;
    color: #ff3e0c !important;
    font-size: 0.73rem !important;
    font-weight: 850 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

#contact.chct .chct-hero .chct-eyebrow {
    text-align: center !important;
}

#contact.chct .chct-hero h1 {
    max-width: 850px !important;
    margin: 0 auto 21px !important;
    color: #171717 !important;
    font-size: clamp(2.2rem, 4.3vw, 3.7rem) !important;
    font-weight: 850 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.052em !important;
    text-align: center !important;
    text-wrap: balance !important;
}

#contact.chct .chct-hero > p {
    max-width: 790px !important;
    margin: 0 auto !important;
    color: #525252 !important;
    font-size: 1.05rem !important;
    line-height: 1.78 !important;
    text-align: center !important;
}

#contact.chct .chct-topics {
    display: flex !important;
    width: 100% !important;
    margin: 30px auto 0 !important;
    align-items: stretch !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

#contact.chct .chct-topics span {
    display: inline-flex !important;
    min-height: 38px !important;
    padding: 8px 15px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #464646 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #dedbd7 !important;
    border-radius: 999px !important;
    font-size: 0.77rem !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

/* Contenedor principal */

#contact.chct .chct-contact-card {
    display: grid !important;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr) !important;
    width: 100% !important;
    margin-top: 26px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 18px !important;
    box-shadow: 0 13px 36px rgba(20, 20, 20, 0.05) !important;
}

#contact.chct .chct-info,
#contact.chct .chct-form-inner {
    min-width: 0 !important;
    padding: 48px 46px 50px !important;
}

#contact.chct .chct-info {
    position: relative !important;
    background: #f7f7f6 !important;
    border-right: 1px solid #e5e5e5 !important;
}

#contact.chct .chct-info::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: #ff3e0c !important;
}

#contact.chct .chct-info h2,
#contact.chct .chct-form h2 {
    margin: 0 0 14px !important;
    color: #181818 !important;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem) !important;
    font-weight: 820 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.035em !important;
    text-transform: none !important;
    text-wrap: balance !important;
}

#contact.chct .chct-intro,
#contact.chct .chct-form-intro {
    margin: 0 !important;
    color: #5d5d5d !important;
    font-size: 0.96rem !important;
    line-height: 1.72 !important;
}

/* Canales */

#contact.chct .chct-items {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
    margin-top: 31px !important;
}

#contact.chct .chct-item {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    min-width: 0 !important;
    min-height: 76px !important;
    padding: 13px 14px !important;
    align-items: center !important;
    gap: 14px !important;
    color: #262626 !important;
    background: #ffffff !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 18px rgba(20, 20, 20, 0.025) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

#contact.chct a.chct-item:hover {
    color: #262626 !important;
    border-color: #ffb7a4 !important;
    box-shadow: 0 9px 24px rgba(255, 62, 12, 0.09) !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

#contact.chct a.chct-item:focus-visible {
    outline: 3px solid rgba(255, 62, 12, 0.26) !important;
    outline-offset: 2px !important;
}

#contact.chct .chct-icon {
    display: flex !important;
    width: 46px !important;
    height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff3e0c !important;
    background: #fff1ed !important;
    border-radius: 11px !important;
}

#contact.chct .chct-icon svg {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

#contact.chct .chct-item-copy {
    display: block !important;
    min-width: 0 !important;
}

#contact.chct .chct-item-label {
    display: block !important;
    margin-bottom: 3px !important;
    color: #8b8b8b !important;
    font-size: 0.69rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.075em !important;
    text-transform: uppercase !important;
}

#contact.chct .chct-item-copy strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #242424 !important;
    font-size: 0.91rem !important;
    font-weight: 760 !important;
    line-height: 1.4 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#contact.chct .chct-item-arrow {
    display: inline-flex !important;
    width: 28px !important;
    height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a2a2a2 !important;
    border: 1px solid #dfdfdf !important;
    border-radius: 50% !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
}

#contact.chct a.chct-item:hover .chct-item-arrow {
    color: #ff3e0c !important;
    border-color: #ffb7a4 !important;
}

#contact.chct .chct-item:not(a) .chct-item-arrow {
    display: none !important;
}

#contact.chct .chct-tip {
    display: flex !important;
    gap: 11px !important;
    margin-top: 23px !important;
    padding: 16px 17px !important;
    align-items: flex-start !important;
    background: #fff6f3 !important;
    border: 1px solid #ffd8cd !important;
    border-radius: 11px !important;
}

#contact.chct .chct-tip-icon {
    display: flex !important;
    width: 25px !important;
    height: 25px !important;
    flex: 0 0 25px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff3e0c !important;
}

#contact.chct .chct-tip-icon svg {
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

#contact.chct .chct-tip p {
    margin: 1px 0 0 !important;
    color: #71301e !important;
    font-size: 0.82rem !important;
    font-weight: 620 !important;
    line-height: 1.58 !important;
}

/* Formulario */

#contact.chct .chct-form {
    min-width: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
}

#contact.chct .chct-form-inner {
    height: 100% !important;
    background: #ffffff !important;
}

#contact.chct .chct-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 16px !important;
    margin-top: 28px !important;
}

#contact.chct .chct-field {
    min-width: 0 !important;
    margin: 0 !important;
}

#contact.chct .chct-field--full {
    grid-column: 1 / -1 !important;
}

#contact.chct .chct-field label,
#contact.chct .chct-math-group > label {
    display: flex !important;
    min-height: 20px !important;
    margin: 0 0 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    color: #383838 !important;
    font-size: 0.79rem !important;
    font-weight: 780 !important;
    line-height: 1.35 !important;
}

#contact.chct .chct-field label > span {
    color: #ff3e0c !important;
}

#contact.chct .chct-field label small {
    color: #979797 !important;
    font-size: 0.68rem !important;
    font-weight: 650 !important;
    margin-left: auto !important;
}

#contact.chct .chct-form .form-control {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    color: #202020 !important;
    background: #fafafa !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    outline: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#contact.chct .chct-form textarea.form-control {
    min-height: 142px !important;
    height: auto !important;
    resize: vertical !important;
}

#contact.chct .chct-form .form-control::placeholder {
    color: #a0a0a0 !important;
    opacity: 1 !important;
}

#contact.chct .chct-form .form-control:hover {
    border-color: #c8c8c8 !important;
}

#contact.chct .chct-form .form-control:focus {
    color: #202020 !important;
    background: #ffffff !important;
    border-color: #ff6b45 !important;
    box-shadow: 0 0 0 3px rgba(255, 62, 12, 0.12) !important;
}

#contact.chct .chct-captcha,
#contact.chct .chct-math-group {
    margin: 20px 0 0 !important;
}

#contact.chct .chct-captcha {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

#contact.chct .chct-alert,
#contact.chct .alert {
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 9px !important;
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
}

#contact.chct .alert-success {
    color: #25633b !important;
    background: #eff9f2 !important;
    border: 1px solid #bfe5ca !important;
}

#contact.chct .alert-danger {
    color: #8a2f2f !important;
    background: #fff2f2 !important;
    border: 1px solid #efc4c4 !important;
}

#contact.chct .chct-actions {
    display: flex !important;
    margin-top: 22px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

#contact.chct .chct-submit {
    display: inline-flex !important;
    min-width: 174px !important;
    min-height: 48px !important;
    padding: 12px 22px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: #ff3e0c !important;
    border: 1px solid #ff3e0c !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

#contact.chct .chct-submit:hover {
    color: #ffffff !important;
    background: #dc3509 !important;
    border-color: #dc3509 !important;
    transform: translateY(-1px) !important;
}

#contact.chct .chct-submit:focus-visible {
    outline: 3px solid rgba(255, 62, 12, 0.3) !important;
    outline-offset: 3px !important;
}

#contact.chct .chct-submit:disabled {
    cursor: wait !important;
    opacity: 0.72 !important;
    transform: none !important;
}

#contact.chct .chct-actions > span {
    color: #929292 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-align: right !important;
}

/* Tablet */

@media (max-width: 980px) {
    #contact.chct .chct-contact-card {
        grid-template-columns: 1fr !important;
    }

    #contact.chct .chct-info {
        border-right: 0 !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }

    #contact.chct .chct-items {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    #contact.chct .chct-item {
        grid-template-columns: 44px minmax(0, 1fr) !important;
        min-height: 116px !important;
        align-content: center !important;
    }

    #contact.chct .chct-item-arrow {
        display: none !important;
    }
}

/* Celulares */

@media (max-width: 680px) {
    #contact.chct {
        max-width: 100% !important;
        padding: 12px 12px 56px !important;
    }

    #contact.chct .chct-hero {
        padding: 39px 22px 38px !important;
        border-radius: 15px !important;
    }

    #contact.chct .chct-eyebrow,
    #contact.chct .chct-section-label {
        margin-bottom: 9px !important;
        font-size: 0.68rem !important;
    }

    #contact.chct .chct-hero h1 {
        margin-bottom: 16px !important;
        font-size: 2rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.042em !important;
    }

    #contact.chct .chct-hero > p {
        font-size: 0.93rem !important;
        line-height: 1.68 !important;
    }

    #contact.chct .chct-topics {
        display: grid !important;
        grid-template-columns: 1fr !important;
        margin-top: 23px !important;
        gap: 7px !important;
    }

    #contact.chct .chct-topics span {
        min-height: 36px !important;
    }

    #contact.chct .chct-contact-card {
        margin-top: 14px !important;
        border-radius: 14px !important;
    }

    #contact.chct .chct-info,
    #contact.chct .chct-form-inner {
        padding: 31px 22px 33px !important;
    }

    #contact.chct .chct-info h2,
    #contact.chct .chct-form h2 {
        margin-bottom: 12px !important;
        font-size: 1.6rem !important;
    }

    #contact.chct .chct-intro,
    #contact.chct .chct-form-intro {
        font-size: 0.91rem !important;
        line-height: 1.68 !important;
    }

    #contact.chct .chct-items {
        grid-template-columns: 1fr !important;
        margin-top: 25px !important;
    }

    #contact.chct .chct-item {
        grid-template-columns: 44px minmax(0, 1fr) auto !important;
        min-height: 72px !important;
        padding: 12px 13px !important;
        align-content: initial !important;
        gap: 12px !important;
    }

    #contact.chct .chct-icon {
        width: 44px !important;
        height: 44px !important;
    }

    #contact.chct a.chct-item .chct-item-arrow {
        display: inline-flex !important;
    }

    #contact.chct .chct-tip {
        margin-top: 19px !important;
        padding: 15px !important;
    }

    #contact.chct .chct-fields {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 24px !important;
    }

    #contact.chct .chct-field,
    #contact.chct .chct-field--full {
        grid-column: 1 !important;
    }

    #contact.chct .chct-form .form-control {
        height: 48px !important;
        font-size: 16px !important;
    }

    #contact.chct .chct-form textarea.form-control {
        min-height: 136px !important;
    }

    #contact.chct .chct-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 11px !important;
    }

    #contact.chct .chct-submit {
        width: 100% !important;
    }

    #contact.chct .chct-actions > span {
        text-align: center !important;
    }
}

@media (max-width: 390px) {
    #contact.chct {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    #contact.chct .chct-hero,
    #contact.chct .chct-info,
    #contact.chct .chct-form-inner {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    #contact.chct .chct-item-copy strong {
        font-size: 0.84rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #contact.chct .chct-item,
    #contact.chct .chct-submit {
        transition: none !important;
    }

    #contact.chct a.chct-item:hover,
    #contact.chct .chct-submit:hover {
        transform: none !important;
    }
}

#contact .generic-form {
  border: 0px solid !important;
}