/* El pico del tejado, justo bajo el header superpuesto: centrada solo se veían árboles. */
@media (min-width: 901px) {
    .phero--contact .phero__pic img { object-position: 50% 20%; }
}

.contact-intro { padding: 56px 0 40px; }
.contact-intro .eyebrow, .contact-intro .section-title { text-align: center; }
.contact-intro__lead { margin: 0; color: #6b6b6b; text-align: left; }

.cinfo { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.cinfo__item { display: flex; align-items: flex-start; gap: 14px; color: #6b6b6b; font-size: 16px; min-width: 0; }
.cinfo__item a { color: #6b6b6b; }
.cinfo__item a:hover { color: var(--orange); }
.cinfo__addr { line-height: 1.4; }
.cinfo__ico {
    flex: none; width: 26px; height: 26px; margin-top: 1px;
    background-color: #4a4a4a;
    -webkit-mask: var(--m) center / contain no-repeat;
            mask: var(--m) center / contain no-repeat;
}
.cinfo__ico--email { --m: url('/assets/img/icono_email_negro.svg'); }
.cinfo__ico--phone { --m: url('/assets/img/icono_telefono_negro.svg'); }
.cinfo__ico--addr  { --m: url('/assets/img/icono_direccion.svg'); }

.contact-form { background: var(--gray-bg); }
.cform-wrap { max-width: 1180px; margin: 0 auto; }
.cform { display: flex; flex-direction: column; gap: 22px; }
.cform[hidden] { display: none; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cform__field { display: flex; flex-direction: column; min-width: 0; }

.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cform__input {
    width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
    background: #fbfbfb; border: 1px solid #e3e3e3; border-radius: 10px;
    padding: 18px 20px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.cform__input::placeholder { color: #9a9a9a; }
.cform__input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,126,45,.15); }
.cform__input[aria-invalid="true"] { border-color: var(--orange); }
.cform__textarea { resize: vertical; min-height: 150px; line-height: 1.5; }

.cform__spam { flex-flow: row wrap; align-items: center; column-gap: 12px; row-gap: 8px; }
.cform__spam-label { font-size: 14px; color: #6b6b6b; }
.cform__input--sum { max-width: 75px; }
.cform__spam .cform__err { flex-basis: 100%; }

.cform__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink); }
.cform__consent input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); }
.cform__consent a { color: var(--orange); }
.cform__consent a:hover { color: var(--orange-dark); }
.cform__consent.has-error label { color: var(--orange); }

.cform__err { color: var(--orange); font-size: 13px; margin-top: 6px; }
.cform__status { color: #d9534f; font-weight: 700; text-align: center; margin: 0; }

.cform__actions { text-align: center; margin-top: 4px; }
.cform__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 40px; font-size: 1rem; font-family: inherit; min-width: 160px; min-height: 48px; }
.cform__arrow { flex: none; }

.cform__dots { display: none; align-items: center; gap: 7px; }
.cform__submit.is-loading { background: var(--orange-dark); cursor: default; pointer-events: none; }
.cform__submit.is-loading:hover { background: var(--orange-dark); color: #fff; box-shadow: none; }
.cform__submit.is-loading .cform__submit-label,
.cform__submit.is-loading .cform__arrow { display: none; }
.cform__submit.is-loading .cform__dots { display: inline-flex; }
.cform__dots i { width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .35; animation: cformDots 1s infinite ease-in-out; }
.cform__dots i:nth-child(2) { animation-delay: .18s; }
.cform__dots i:nth-child(3) { animation-delay: .36s; }
@keyframes cformDots { 0%, 100% { opacity: .35; transform: scale(.7); } 40% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cform__dots i { animation: none; opacity: .75; } }

.cform__success {
    text-align: center; background: var(--white); border: 1px solid #e3e3e3;
    border-radius: 16px; padding: 48px 28px; max-width: 560px; margin: 0 auto;
}
.cform__success-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--orange); color: #fff; margin-bottom: 18px;
}
.cform__success-title { color: var(--orange); }
.cform__success-text { color: var(--ink); margin: 0; }

.contact-map { padding-top: 24px; }
.cmap__svg { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; }

.cgmap { width: 100%; }
.cgmap__facade { position: relative; height: 525px; width: 100%; }
.cgmap__btn {
    width: 100%; height: 100%; border: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px; padding: 24px; text-align: center; color: var(--ink);
    font-family: inherit;
    background: #eaeeea;
    background-image:
        radial-gradient(circle at 22% 28%, rgba(240,126,45,.08), transparent 42%),
        radial-gradient(circle at 80% 72%, rgba(46,52,54,.06), transparent 45%);
    transition: background-color .2s ease;
}
.cgmap__btn:hover { background-color: #e2e7e2; }
.cgmap__pin { color: var(--orange); line-height: 0; }
.cgmap__cta {
    display: inline-block; background: var(--orange); color: #fff;
    padding: 12px 30px; border-radius: 999px; font-weight: 700;
    transition: background-color .2s ease;
}
.cgmap__btn:hover .cgmap__cta { background: var(--orange-dark); }
.cgmap__note { font-size: 14px; font-weight: 400; color: #6b6b6b; }
.cgmap__frame { display: block; width: 100%; height: 525px; border: 0; }

@media (max-width: 720px) {
    .contact-intro { padding: 40px 0 32px; }
    .cinfo { flex-direction: column; align-items: flex-start; gap: 26px; text-align: left; margin-top: 32px; }
    .cinfo__addr { max-width: none; }
    .contact-map .container { padding-left: 0; padding-right: 0; }
    .cmap__svg { max-width: none; }
    .cform__row { gap: 14px; }
    .cform__input { padding: 14px 16px; font-size: 15px; }
    .cform__textarea { min-height: 130px; }
    .cgmap__facade, .cgmap__frame { height: 380px; }
}
@media (max-width: 340px) {
    .cform__row { grid-template-columns: 1fr; }
}
