/* Exclusivo de contacto. Reglas originales en orden y alcance local sin aumentar especificidad. */
:where(.contact-view) :is(h1,h2,h3) { font-size: inherit; font-weight: inherit; }
/* Reset efectivo de controles y placeholders; sin dependencia de Tailwind. */
:where(.contact-view) :is(input,select,textarea) { font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; }
:where(.contact-view) :is(input,textarea)::placeholder { opacity: 1; }
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
  :where(.contact-view) :is(input,textarea)::placeholder { color: currentcolor; }
  @supports (color: color-mix(in lab, red, red)) {
    :where(.contact-view) :is(input,textarea)::placeholder { color: color-mix(in oklab, currentcolor 50%, transparent); }
  }
}
*:where(.contact-view, .contact-view *) { box-sizing: border-box; }
button:where(.contact-view, .contact-view *), input:where(.contact-view, .contact-view *), select:where(.contact-view, .contact-view *), textarea:where(.contact-view, .contact-view *) { font: inherit; }
button:where(.contact-view, .contact-view *) { color: inherit; }
button:focus-visible:where(.contact-view, .contact-view *), input:focus-visible:where(.contact-view, .contact-view *), select:focus-visible:where(.contact-view, .contact-view *), textarea:focus-visible:where(.contact-view, .contact-view *) { outline: 2px solid var(--black); outline-offset: 3px; }
.button:where(.contact-view, .contact-view *) { min-height: 48px; border: 1px solid var(--black); background: var(--black); color: var(--white); padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: background .2s, color .2s; }
.button:hover:where(.contact-view, .contact-view *) { background: var(--dark); border-color: var(--dark); }
h1:where(.contact-view, .contact-view *), h2:where(.contact-view, .contact-view *), p:where(.contact-view, .contact-view *) { margin-top: 0; }
h1:where(.contact-view, .contact-view *), h2:where(.contact-view, .contact-view *) { letter-spacing: -.045em; line-height: 1.03; }
h1:where(.contact-view, .contact-view *), h2:where(.contact-view, .contact-view *) { font-weight: 300; }
h1:where(.contact-view, .contact-view *) { font-size: clamp(46px, 6vw, 96px); }
h2:where(.contact-view, .contact-view *) { font-size: clamp(34px, 4vw, 66px); }
.contact-layout:where(.contact-view, .contact-view *) { display: grid; grid-template-columns: 42% 58%; min-height: 850px; }
.contact-aside:where(.contact-view, .contact-view *) { background: var(--dark); color: white; padding: 8vw 6vw; }
.contact-aside h1:where(.contact-view, .contact-view *) { font-size: clamp(48px, 6vw, 88px); }
.contact-data:where(.contact-view, .contact-view *) { margin: 60px 0; border-top: 1px solid #4d4c4c; }
.contact-data a:where(.contact-view, .contact-view *) { display: flex; align-items: flex-start; gap: 10px; padding: 18px 0; border-bottom: 1px solid #4d4c4c; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-data a > span:where(.contact-view, .contact-view *) { min-width: 0; }
.contact-data svg:where(.contact-view, .contact-view *) { flex: 0 0 auto; width: 25px; margin-top: 4px; }
.contact-form:where(.contact-view, .contact-view *) { padding: 7vw; }
.form-heading:where(.contact-view, .contact-view *) { margin-bottom: 45px; }
.form-heading h2:where(.contact-view, .contact-view *) { font-size: 34px; margin: 14px 0; }
.contact-form label:where(.contact-view, .contact-view *) { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; font-size: 12px; font-weight: 700; }
.contact-form input:where(.contact-view, .contact-view *), .contact-form select:where(.contact-view, .contact-view *), .contact-form textarea:where(.contact-view, .contact-view *) { border: 1px solid var(--line); border-radius: 0; background: white; padding: 15px; font-weight: 400; }
.contact-form input:focus:where(.contact-view, .contact-view *), .contact-form select:focus:where(.contact-view, .contact-view *), .contact-form textarea:focus:where(.contact-view, .contact-view *) { border-color: var(--black); }
.contact-form textarea:where(.contact-view, .contact-view *) { resize: vertical; }
.field-row:where(.contact-view, .contact-view *) { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .checkbox:where(.contact-view, .contact-view *) { flex-direction: row; align-items: center; font-weight: 400; }

@media (max-width: 650px) {
  h1:where(.contact-view, .contact-view *) { font-size: 45px; }
  h2:where(.contact-view, .contact-view *) { font-size: 34px; }
  .contact-layout:where(.contact-view, .contact-view *) { grid-template-columns: 1fr; }
  .contact-aside:where(.contact-view, .contact-view *) { padding: 75px 5vw; }
  .contact-form:where(.contact-view, .contact-view *) { padding: 65px 5vw; }
  .field-row:where(.contact-view, .contact-view *) { grid-template-columns: 1fr; gap: 0; }
  .contact-form .button:where(.contact-view, .contact-view *) { width: 100%; }
}

button:where(.contact-view, .contact-view *), a:where(.contact-view, .contact-view *), input:where(.contact-view, .contact-view *), select:where(.contact-view, .contact-view *), textarea:where(.contact-view, .contact-view *) {
  border-radius: 0;
}

.button:where(.contact-view, .contact-view *) {
  min-height: 52px;
  padding-inline: 24px;
  letter-spacing: .035em;
}

h1:where(.contact-view, .contact-view *), h2:where(.contact-view, .contact-view *) {
  letter-spacing: -.055em;
  line-height: .98;
}

h1:where(.contact-view, .contact-view *) {
  font-size: clamp(58px, 7.2vw, 112px);
}

h2:where(.contact-view, .contact-view *) {
  font-size: clamp(40px, 4.6vw, 70px);
}

.contact-layout:where(.contact-view, .contact-view *) {
  grid-template-columns: 44% 56%;
  min-height: 920px;
}

.contact-aside:where(.contact-view, .contact-view *) {
  padding: clamp(90px, 9vw, 144px) clamp(42px, 6vw, 96px);
}

.contact-aside h1:where(.contact-view, .contact-view *) {
  margin-bottom: 34px;
  font-size: clamp(56px, 6.4vw, 96px);
}

.contact-data:where(.contact-view, .contact-view *) {
  margin-block: 72px;
}

.contact-data span:where(.contact-view, .contact-view *) {
  padding-block: 22px;
}

.contact-form:where(.contact-view, .contact-view *) {
  padding: clamp(80px, 9vw, 144px) clamp(42px, 8vw, 128px);
}

.form-heading:where(.contact-view, .contact-view *) {
  margin-bottom: 56px;
}

.form-heading h2:where(.contact-view, .contact-view *) {
  max-width: 620px;
  margin-block: 18px 22px;
  font-size: clamp(34px, 3.5vw, 52px);
}

.contact-form label:where(.contact-view, .contact-view *) {
  gap: 12px;
  margin-bottom: 28px;
}

.contact-form input:where(.contact-view, .contact-view *), .contact-form select:where(.contact-view, .contact-view *), .contact-form textarea:where(.contact-view, .contact-view *) {
  min-height: 54px;
  padding: 16px 18px;
  border-color: var(--line);
  background: var(--white);
}

.contact-form textarea:where(.contact-view, .contact-view *) {
  min-height: 150px;
}

.field-row:where(.contact-view, .contact-view *) {
  gap: 24px;
}

@media (max-width: 650px) {

  h1:where(.contact-view, .contact-view *) {
    font-size: 46px;
  }

  h2:where(.contact-view, .contact-view *) {
    font-size: 36px;
  }

  .contact-layout:where(.contact-view, .contact-view *) {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-aside:where(.contact-view, .contact-view *) {
    padding: 88px 5vw;
  }

  .contact-aside h1:where(.contact-view, .contact-view *) {
    font-size: 52px;
  }

  .contact-form:where(.contact-view, .contact-view *) {
    padding: 72px 5vw 88px;
  }
}
.contact-view.contact-layout:where(.contact-view, .contact-view *) {
  grid-template-columns: 43% 57%;
  min-height: 1020px;
}

.contact-view .contact-aside:where(.contact-view, .contact-view *) {
  display: flex;
  flex-direction: column;
  padding: clamp(88px, 8vw, 132px) clamp(42px, 6vw, 96px) clamp(80px, 8vw, 120px);
  background: var(--dark);
  color: var(--white);
}

.contact-view .contact-intro:where(.contact-view, .contact-view *) {
  max-width: 650px;
}

.contact-view .contact-intro h1:where(.contact-view, .contact-view *) {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: clamp(52px, 5.6vw, 80px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.contact-view .contact-intro > p:where(.contact-view, .contact-view *) {
  max-width: 560px;
  margin: 0;
  color: var(--line);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.contact-view .contact-data:where(.contact-view, .contact-view *) {
  max-width: 610px;
  margin: clamp(56px, 7vw, 88px) 0 0;
  border-top-color: var(--mid);
}

.contact-view .contact-data a:where(.contact-view, .contact-view *) {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom-color: var(--mid);
  font-size: 14px;
  line-height: 1.5;
}

.contact-view .contact-data svg:where(.contact-view, .contact-view *) {
  width: 18px;
  margin: 0;
  justify-self: center;
  color: var(--line);
}

.contact-view .contact-data__address:where(.contact-view, .contact-view *) {
  align-items: start;
  padding-block: 18px;
  color: var(--line);
}

.contact-view .contact-data__address svg:where(.contact-view, .contact-view *) {
  margin-top: 3px;
}

.contact-view .contact-data__direct:where(.contact-view, .contact-view *) {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.contact-view .contact-form:where(.contact-view, .contact-view *) {
  padding: clamp(86px, 8vw, 124px) clamp(48px, 8vw, 128px) clamp(96px, 9vw, 136px);
  background: var(--white);
}

.contact-view .form-heading:where(.contact-view, .contact-view *) {
  max-width: 680px;
  margin-bottom: 52px;
}

.contact-view .form-heading h2:where(.contact-view, .contact-view *) {
  max-width: 650px;
  margin: 0 0 20px;
  color: var(--dark);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.contact-view .form-heading p:where(.contact-view, .contact-view *) {
  max-width: 590px;
  margin: 0;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.65;
}

.contact-view .contact-form label:where(.contact-view, .contact-view *) {
  gap: 11px;
  margin-bottom: 27px;
  color: var(--dark);
  font-size: 12px;
}

.contact-view .field-label:where(.contact-view, .contact-view *) {
  display: block;
  line-height: 1.5;
}

.contact-view .optional-label:where(.contact-view, .contact-view *) {
  margin-left: 4px;
  color: var(--mid);
  font-weight: 400;
}

.contact-view .contact-form input:where(.contact-view, .contact-view *), .contact-view .contact-form select:where(.contact-view, .contact-view *), .contact-view .contact-form textarea:where(.contact-view, .contact-view *) {
  min-height: 56px;
  padding: 16px 18px;
  border-color: var(--line);
  background: var(--white);
  color: var(--dark);
}

.contact-view .contact-form textarea:where(.contact-view, .contact-view *) {
  min-height: 170px;
  line-height: 1.6;
}

.contact-view .contact-form select {
  appearance: none;
  line-height: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23162139' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
}

@media (forced-colors: active) {
  .contact-view .contact-form select {
    appearance: auto;
    background-image: none;
  }
}

.contact-view .field-row:where(.contact-view, .contact-view *) {
  gap: 22px;
}

.contact-view .contact-form .checkbox:where(.contact-view, .contact-view *) {
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 30px;
  color: var(--mid);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-view .checkbox input:where(.contact-view, .contact-view *) {
  width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
}

.contact-view .privacy-link:where(.contact-view, .contact-view *) {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .contact-view.contact-layout:where(.contact-view, .contact-view *) {
    grid-template-columns: 44% 56%;
  }

  .contact-view .contact-aside:where(.contact-view, .contact-view *) {
    padding-inline: 6vw;
  }

  .contact-view .contact-intro h1:where(.contact-view, .contact-view *) {
    font-size: clamp(48px, 6vw, 64px);
  }

  .contact-view .contact-form:where(.contact-view, .contact-view *) {
    padding-inline: 6vw;
  }

  .contact-view .field-row:where(.contact-view, .contact-view *) {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 650px) {
  .contact-view.contact-layout:where(.contact-view, .contact-view *) {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-view .contact-aside:where(.contact-view, .contact-view *) {
    display: contents;
  }

  .contact-view .contact-intro:where(.contact-view, .contact-view *) {
    order: 1;
    max-width: none;
    padding: 76px 5vw 58px;
    background: var(--dark);
    color: var(--white);
  }

  .contact-view .contact-intro h1:where(.contact-view, .contact-view *) {
    font-size: 48px;
  }

  .contact-view .contact-form:where(.contact-view, .contact-view *) {
    order: 2;
    padding: 68px 5vw 80px;
  }

  .contact-view .contact-data:where(.contact-view, .contact-view *) {
    order: 3;
    max-width: none;
    margin: 0;
    padding: 44px 5vw 72px;
    border-top: 1px solid var(--mid);
    background: var(--dark);
    color: var(--white);
  }

  .contact-view .form-heading:where(.contact-view, .contact-view *) {
    margin-bottom: 44px;
  }

  .contact-view .form-heading h2:where(.contact-view, .contact-view *) {
    font-size: 36px;
  }

  .contact-view .contact-form .button:where(.contact-view, .contact-view *) {
    width: 100%;
  }
}

.button:where(.contact-view, .contact-view *), .button svg:where(.contact-view, .contact-view *) {
  transition: background-color var(--motion-fast) ease-out,
    border-color var(--motion-fast) ease-out, color var(--motion-fast) ease-out,
    opacity var(--motion-fast) ease-out, transform var(--motion-state) var(--motion-ease);
}
.button:not(:disabled):active:where(.contact-view, .contact-view *) { transform: translateY(1px); }
.button:not(:disabled):focus-visible svg:where(.contact-view, .contact-view *) { transform: translateX(5px); }
a:focus-visible:where(.contact-view, .contact-view *) {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}
.contact-form :is(input, select, textarea):where(.contact-view, .contact-view *), .contact-data a:where(.contact-view, .contact-view *) {
  transition: border-color var(--motion-fast) ease-out, color var(--motion-fast) ease-out,
    box-shadow var(--motion-state) var(--motion-ease);
}
.contact-form :is(input:not([type="checkbox"]), select, textarea):focus-visible:where(.contact-view, .contact-view *) {
  box-shadow: inset 2px 0 0 var(--black);
}
.contact-data a:focus-visible:where(.contact-view, .contact-view *) { color: var(--line); }

@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover svg:where(.contact-view, .contact-view *) { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  *:where(.contact-view, .contact-view *), *:where(.contact-view, .contact-view *)::before, *:where(.contact-view, .contact-view *)::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .button:not(:disabled):active:where(.contact-view, .contact-view *) { transform: none !important; }
}

.contact-form .contact-notice {
  padding: .75rem 1rem;
  border-inline-start: 3px solid currentColor;
  color: #174c37;
}

.contact-form .contact-notice--error { color: #8e2323; }
.contact-form .contact-notice ul { padding-inline-start: 1.25rem; }
.contact-form .privacy-link:focus-visible,
.site-footer .footer-bottom a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
