/* Contacto: dos vías claras y una cotización que se abre a petición del cliente. */
.contact-page [hidden] { display: none !important; }
.contact-page .contact-hero { border-bottom: 0; padding-bottom: 0; }
.contact-heading { max-width: 900px; margin: 6px auto 34px; text-align: center; }
.contact-heading .page-eyebrow { justify-content: center; margin-bottom: 16px; }
.contact-page .contact-heading h1 { font-size: clamp(34px, 3.6vw, 49px); line-height: 1.17; letter-spacing: -.035em; margin-bottom: 21px; }
.contact-heading .page-lead { max-width: 690px; margin: auto; font-size: 20px; line-height: 1.6; }
.contact-credentials { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 23px; padding: 0; margin: 23px 0 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--heading); }
.contact-credentials li { display: flex; align-items: center; gap: 8px; }
.contact-credentials li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.contact-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1030px; margin: 0 auto; }
.contact-choice { display: flex; flex-direction: column; min-width: 0; padding: 30px 34px 27px; border-radius: 15px; border: 1px solid var(--surface-line); box-shadow: 0 10px 32px #03113306; }
.contact-choice-quote { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.contact-choice-whatsapp { background: #fff; }
.contact-choice-top { display: flex; gap: 16px; align-items: center; }
.contact-choice-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid #03113330; border-radius: 12px; color: var(--navy); }
.contact-choice-icon svg { width: 29px; height: 29px; }
.contact-choice-whatsapp .contact-choice-icon { background: #eaf9f0; border-color: #d0ecdc; color: #075e54; }
.contact-choice-label { text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: .08em; line-height: 1.5; }
.contact-choice h2 { margin: 23px 0 13px; color: var(--navy); font-size: clamp(23px, 2.2vw, 28px); letter-spacing: -.025em; }
.contact-choice > p { margin: 0 0 24px; font-size: 18px; line-height: 1.6; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 53px; padding: 13px 20px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; font-size: 17px; line-height: 1.4; text-align: center; transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.contact-button > svg { width: 23px; height: 23px; flex-shrink: 0; }
.contact-button > span:last-child[aria-hidden] { margin-left: auto; font-size: 20px; line-height: 1; }
.contact-button:hover { text-decoration: none; }
.contact-button-navy { color: #fff; background: var(--navy); }
.contact-button-navy:hover { background: #103265; color: #fff; }
.contact-button-whatsapp { background: #25d366; color: #063b22; }
.contact-button-whatsapp:hover { background: #20c45e; color: #063b22; }
.contact-choice .contact-button { width: 100%; margin-top: auto; justify-content: flex-start; }
.contact-choice-note { display: block; margin-top: 12px; font-size: 13px; line-height: 1.45; text-align: center; }
.contact-urgent { display: flex; align-items: center; gap: 20px; max-width: 1030px; margin: 26px auto 0; padding: 23px 28px; background: var(--navy); border-radius: 12px; color: #dce5f4; }
.contact-urgent-icon { flex-shrink: 0; width: 36px; color: var(--yellow); }
.contact-urgent-icon svg { display: block; width: 30px; height: 30px; }
.contact-urgent h2 { margin: 0 0 5px; color: #fff; font-size: 19px; letter-spacing: -.01em; }
.contact-urgent p { margin: 0; font-size: 15px; line-height: 1.5; }
.contact-urgent > a { flex-shrink: 0; display: flex; flex-direction: column; gap: 1px; margin-left: auto; padding: 1px 0 1px 22px; border-left: 1px solid #ffffff30; color: #fff; font-size: 13px; line-height: 1.45; }
.contact-urgent > a strong { color: var(--yellow); font-size: 20px; }
.contact-information { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 68px 0 70px; max-width: 1030px; }
.contact-information h2 { color: var(--navy); font-size: 28px; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 20px; }
.contact-area p:not(.page-eyebrow) { font-size: 18px; line-height: 1.7; }
.contact-inline-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; min-height: 44px; }
.contact-faq { padding-left: 34px; border-left: 1px solid var(--surface-line); }
.contact-faq h2 { font-size: 22px; margin-bottom: 10px; }
.contact-faq details { border-bottom: 1px solid var(--surface-line); }
.contact-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; padding: 19px 0; color: var(--heading); font-size: 17px; line-height: 1.45; font-weight: 650; }
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary::after { content: '+'; font-size: 23px; color: var(--blue); font-weight: 400; }
.contact-faq details[open] summary::after { content: '−'; }
.contact-faq details p { font-size: 16px; line-height: 1.65; padding: 0 16px 0 0; margin: 0 0 20px; }

html.quote-modal-open { overflow: hidden; scrollbar-gutter: stable; }
.contact-dialog { padding: 0; width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 40px); max-height: min(880px, calc(100dvh - 40px)); border: 0; border-top: 5px solid var(--yellow); border-radius: 16px; background: #fff; color: var(--body-copy); box-shadow: 0 30px 100px #0005; overflow-y: auto; overscroll-behavior: contain; }
.contact-dialog[open] { animation: quote-entrance 420ms cubic-bezier(.16, 1, .3, 1) both; }
.contact-dialog::backdrop { background: #031133b8; backdrop-filter: blur(5px); animation: quote-backdrop 220ms ease both; }
.contact-dialog-head { position: sticky; top: 0; z-index: 2; padding: 27px 34px 20px; background: #fff; border-bottom: 1px solid var(--surface-line); }
.contact-dialog .contact-dialog-close { display: grid; place-items: center; top: 15px; right: 17px; width: 38px; height: 38px; padding: 0; border-radius: 50%; color: var(--navy); background: #f2f5f9; font-size: 27px; line-height: 1; }
.contact-dialog-close:hover { background: #e7edf5; }
.contact-dialog .page-eyebrow { margin: 0 40px 12px 0; font-size: 11px; }
.contact-dialog h2 { margin: 0 30px 9px 0; color: var(--navy); font-size: 29px; line-height: 1.25; letter-spacing: -.025em; }
.contact-dialog h2:focus { outline: none; }
.contact-dialog #contact-quote-description { margin: 0; max-width: 570px; font-size: 15px; line-height: 1.5; }
.contact-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; list-style: none; margin: 18px 0 0; padding: 0; font-size: 13px; }
.contact-steps li { display: flex; align-items: center; gap: 8px; color: #68768a; }
.contact-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f0f3f8; font-size: 12px; }
.contact-steps li[aria-current] { color: var(--navy); font-weight: 700; }
.contact-steps li[aria-current] span { background: var(--yellow); }
.contact-dialog-body { padding: 25px 34px 28px; }
.contact-client-type { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.contact-client-type legend { padding: 0; margin-bottom: 10px; font-size: 15px; color: var(--navy); font-weight: 650; }
.contact-client-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-client-options label { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid #d4ddeb; background: #fff; border-radius: 7px; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--heading); }
.contact-client-options input { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; flex-shrink: 0; accent-color: var(--navy); }
.contact-client-options label:has(input:checked) { border-color: var(--blue); background: #f1f6ff; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.contact-field { min-width: 0; }
.contact-field-full { grid-column: 1 / -1; }
#contact-company-field { margin-bottom: 18px; }
.contact-field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; line-height: 1.4; font-weight: 650; }
.contact-field label span { font-weight: 400; color: #68768a; font-size: 12px; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; border: 1px solid #cbd5e3; border-radius: 7px; background: #fafbfd; color: var(--navy); min-height: 46px; padding: 10px 12px; font-size: 16px; line-height: 1.45; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { background: #fff; border-color: var(--blue); outline: 2px solid #044cd730; outline-offset: 1px; }
.contact-field textarea { min-height: 96px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #788398; }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.contact-form-footer > span { font-size: 12px; }
.contact-dialog .contact-form-note { font-size: 12px; line-height: 1.55; color: #68768a; margin: 14px 0 0; }
.contact-review-intro { margin: 0 0 16px; }
#contact-message-preview { margin: 0 0 22px; padding: 22px; background: #f6f8fc; border: 1px solid var(--surface-line); border-radius: 9px; font-size: 16px; line-height: 1.65; max-height: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-review-actions .contact-button { flex: 1 1 230px; }
.contact-edit { display: block; min-height: 44px; margin: 20px auto 0; padding: 8px 12px; background: transparent; border: 0; color: var(--heading); font-weight: 650; font-size: 15px; }
.contact-edit:hover { color: var(--blue); text-decoration: underline; }
@keyframes quote-entrance { from { opacity: 0; transform: translateY(32px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes quote-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) { .contact-button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px #03113315; } }
@media (max-width: 991px) {
  .contact-choice { padding: 26px 25px 24px; }
  .contact-heading { margin-top: 0; }
  .contact-page .contact-heading h1 { font-size: 38px; }
  .contact-urgent { gap: 14px; padding: 22px; }
  .contact-urgent-icon { display: none; }
  .contact-urgent > a { padding-left: 16px; }
  .contact-urgent > a strong { font-size: 18px; }
  .contact-information { gap: 38px; padding-top: 50px; padding-bottom: 50px; }
  .contact-faq { padding-left: 28px; }
}
@media (max-width: 700px) {
  .contact-choices { grid-template-columns: 1fr; max-width: 510px; gap: 19px; }
  .contact-urgent { max-width: 510px; flex-wrap: wrap; padding: 25px; gap: 18px; }
  .contact-urgent > a { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin: 0; padding: 15px 0 0; border-left: 0; border-top: 1px solid #ffffff30; width: 100%; }
  .contact-information { grid-template-columns: 1fr; gap: 35px; max-width: 510px; }
  .contact-faq { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--surface-line); }
  .contact-area h2 br { display: none; }
}
@media (max-width: 600px) {
  .contact-heading { margin-bottom: 27px; text-align: left; }
  .contact-heading .page-eyebrow { justify-content: flex-start; }
  .contact-page .contact-heading h1 { font-size: 31px; line-height: 1.2; }
  .contact-heading h1 br, .contact-desktop-break { display: none; }
  .contact-heading .page-lead { font-size: 18px; }
  .contact-credentials { justify-content: flex-start; gap: 7px 15px; font-size: 12px; margin-top: 20px; }
  .contact-choice { padding: 26px 24px 24px; }
  .contact-choice-label { font-size: 10px; }
  .contact-choice h2 { font-size: 24px; }
  .contact-choice > p { font-size: 17px; }
  .contact-choice .contact-button { font-size: 16px; padding-left: 15px; padding-right: 15px; }
  .contact-information { padding-top: 40px; padding-bottom: 45px; }
  .contact-information h2 { font-size: 25px; }
  .contact-faq h2 { font-size: 21px; }
  .contact-dialog { width: calc(100% - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 13px; }
  .contact-dialog-head { padding: 23px 21px 17px; }
  .contact-dialog h2 { font-size: 25px; }
  .contact-dialog .page-eyebrow { font-size: 10px; margin-bottom: 10px; }
  .contact-dialog #contact-quote-description { font-size: 14px; }
  .contact-dialog-body { padding: 22px 21px 24px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-client-options { gap: 8px; }
  .contact-client-options label { font-size: 13px; padding: 10px; gap: 7px; }
  .contact-form-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-form-footer .contact-button { width: 100%; }
  .contact-dialog .contact-dialog-close { top: 12px; right: 12px; }
  #contact-message-preview { padding: 17px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open], .contact-dialog::backdrop { animation: none; }
  .contact-button { transition: none; }
  .contact-button:hover { transform: none; }
}
