:root {
  --contact-ink: #092b22;
  --contact-green: #103b2f;
  --contact-green-deep: #061f19;
  --contact-orange: #ee711b;
  --contact-orange-dark: #bd4e0b;
  --contact-cream: #f7f1e8;
  --contact-paper: #fffdf9;
  --contact-muted: #61706b;
  --contact-line: #e7ded2;
}

.jb-page-contact,
.jb-page-contact * { box-sizing: border-box; }

.jb-page-contact { overflow-x: hidden; background: var(--contact-paper); }
.contact-page { color: var(--contact-ink); background: var(--contact-paper); }
.contact-page a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 116px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 22%, rgba(238, 113, 27, .2), transparent 25%),
    radial-gradient(circle at 12% 105%, rgba(255, 255, 255, .08), transparent 28%),
    linear-gradient(128deg, var(--contact-green-deep), var(--contact-green));
}

.contact-hero::before {
  position: absolute;
  top: 66px;
  right: -18px;
  color: rgba(255, 255, 255, .025);
  content: "CONTACTO";
  font-size: clamp(100px, 17vw, 270px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .85;
  pointer-events: none;
}

.contact-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .62fr);
  align-items: center;
  gap: clamp(54px, 7vw, 108px);
}

.contact-hero__content { max-width: 780px; }

.contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--contact-orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-eyebrow--light { color: #ffac70; }
.contact-hero h1,
.contact-section-heading h2,
.contact-faq h2 { margin: 0; color: var(--contact-ink); font-weight: 900; letter-spacing: -.045em; }
.contact-hero h1 { color: #fff; font-size: clamp(48px, 6vw, 78px); line-height: .98; }

.contact-hero__lead {
  max-width: 665px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.contact-actions,
.contact-form-card__actions,
.contact-visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions { margin-top: 34px; }

.contact-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.contact-btn:hover { transform: translateY(-2px); text-decoration: none; }
.contact-btn--primary { color: #fff; background: var(--contact-orange); box-shadow: 0 14px 30px rgba(238, 113, 27, .22); }
.contact-btn--primary:hover { color: #fff; background: #d95e0d; box-shadow: 0 17px 34px rgba(238, 113, 27, .3); }
.contact-btn--glass { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .08); }
.contact-btn--glass:hover { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .14); }
.contact-btn--outline { color: var(--contact-ink); border-color: #c9cfc9; background: transparent; }
.contact-btn--outline:hover { color: var(--contact-ink); border-color: var(--contact-ink); background: #fff; }

.contact-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 26px 75px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
}

.contact-hero-card::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 140px;
  height: 140px;
  border: 28px solid rgba(238, 113, 27, .16);
  border-radius: 50%;
  content: "";
}

.contact-hero-card__status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bfe6d6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-hero-card__status span { width: 8px; height: 8px; border-radius: 50%; background: #70df9f; box-shadow: 0 0 0 5px rgba(112, 223, 159, .12); }
.contact-hero-card > h2 { position: relative; z-index: 1; max-width: 410px; margin: 16px 0 25px; color: #fff; font-size: clamp(25px, 2.25vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.contact-hero-card__rows { position: relative; z-index: 1; display: grid; gap: 2px; }
.contact-hero-card__rows > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 13px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-hero-card__rows > div > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; color: #ffc095; background: rgba(255, 255, 255, .09); }
.contact-hero-card__rows p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.contact-hero-card__rows small { color: rgba(255, 255, 255, .56); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-hero-card__rows strong { color: #fff; font-size: 13px; line-height: 1.4; }

.contact-channels {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: -48px;
  border: 1px solid var(--contact-line);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(9, 43, 34, .12);
}

.contact-channel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 130px;
  padding: 26px 22px;
  color: var(--contact-ink);
  border-right: 1px solid var(--contact-line);
  text-decoration: none;
}

.contact-channel:last-child { border-right: 0; }
.contact-channel:hover { color: var(--contact-ink); background: #fff9f3; text-decoration: none; }
.contact-channel:hover > .fas { transform: translateX(3px); }
.contact-channel__icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 15px; color: var(--contact-orange-dark); background: #fff0e5; font-size: 18px; }
.contact-channel > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.contact-channel small { color: var(--contact-muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.contact-channel strong { color: var(--contact-ink); font-size: 15px; }
.contact-channel em { overflow: hidden; color: var(--contact-muted); font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.contact-channel > .fas { color: var(--contact-orange); font-size: 11px; transition: transform .2s ease; }
.contact-channel > b { position: absolute; top: 10px; right: 12px; padding: 4px 8px; border-radius: 999px; color: #fff; background: var(--contact-orange); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }

.contact-compose { padding: 115px 0; }
.contact-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .42fr); align-items: end; gap: 55px; margin-bottom: 42px; }
.contact-section-heading > div { max-width: 750px; }
.contact-section-heading h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.03; }
.contact-section-heading > p { margin: 0 0 4px; color: var(--contact-muted); font-size: 14px; line-height: 1.7; }

.contact-compose__layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .58fr); align-items: start; gap: 24px; }
.contact-form-card,
.contact-help__card { border: 1px solid var(--contact-line); border-radius: 27px; }
.contact-form-card { padding: clamp(25px, 3.8vw, 48px); background: #fff; box-shadow: 0 20px 60px rgba(9, 43, 34, .07); }
.contact-form-card__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--contact-line); }
.contact-form-card__heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 15px; color: #fff; background: var(--contact-green); }
.contact-form-card__heading small { display: block; margin-bottom: 3px; color: var(--contact-muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-form-card__heading h3 { margin: 0; color: var(--contact-ink); font-size: 21px; font-weight: 900; letter-spacing: -.025em; }
.contact-form-card__heading p { margin: 0; color: var(--contact-muted); font-size: 12px; line-height: 1.45; }

.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.contact-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label,
.contact-field__label-row { color: var(--contact-ink); font-size: 11px; font-weight: 900; letter-spacing: .035em; }
.contact-field__label-row { display: flex; justify-content: space-between; gap: 15px; }
.contact-count { color: var(--contact-muted); font-size: 10px; font-weight: 700; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d8ddd8;
  border-radius: 13px;
  outline: 0;
  color: var(--contact-ink);
  background: #fbfcfa;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.contact-field input,
.contact-field select { height: 52px; padding: 0 15px; }
.contact-field textarea { min-height: 150px; padding: 15px; line-height: 1.6; resize: vertical; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #9ba59f; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: var(--contact-orange); background: #fff; box-shadow: 0 0 0 4px rgba(238, 113, 27, .11); }
.contact-select { position: relative; }
.contact-select::after { position: absolute; top: 50%; right: 15px; color: var(--contact-muted); content: "\f078"; font-family: "Font Awesome 5 Free"; font-size: 10px; font-weight: 900; pointer-events: none; transform: translateY(-50%); }
.contact-select select { padding-right: 38px; appearance: none; }
.contact-form-card__actions { align-items: center; margin-top: 26px; }
.contact-form-card__actions .contact-btn { border: 0; cursor: pointer; }
.contact-form-card__privacy { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: var(--contact-muted); font-size: 10px; line-height: 1.5; }
.contact-form-card__privacy i { margin-top: 2px; color: var(--contact-green); }

.contact-help { display: grid; gap: 16px; }
.contact-help__card { padding: clamp(24px, 3vw, 35px); background: var(--contact-cream); }
.contact-help__card--dark { color: #fff; border-color: transparent; background: var(--contact-green); box-shadow: 0 20px 50px rgba(9, 43, 34, .14); }
.contact-help__card h3 { margin: 0 0 13px; color: inherit; font-size: 22px; font-weight: 900; letter-spacing: -.025em; }
.contact-help__card p { margin: 0; color: var(--contact-muted); font-size: 12px; line-height: 1.65; }
.contact-help__card--dark p { color: rgba(255, 255, 255, .7); }
.contact-help__card ul { display: grid; gap: 13px; margin: 23px 0 0; padding: 0; list-style: none; }
.contact-help__card li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: rgba(255, 255, 255, .84); font-size: 12px; line-height: 1.5; }
.contact-help__card li i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--contact-orange); font-size: 8px; }
.contact-help__link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; color: var(--contact-ink); border: 1px solid var(--contact-line); border-radius: 17px; background: #fff; font-size: 12px; font-weight: 900; text-decoration: none; }
.contact-help__link:hover { color: var(--contact-ink); border-color: #d6c5b2; background: #fff9f2; text-decoration: none; transform: translateY(-2px); }

.contact-visit { padding: 108px 0; background: var(--contact-cream); }
.contact-visit__grid { display: grid; grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr); overflow: hidden; min-height: 515px; border: 1px solid #ddd2c4; border-radius: 28px; background: #fff; box-shadow: 0 24px 65px rgba(9, 43, 34, .1); }
.contact-visit__info { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 54px); }
.contact-info-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--contact-line); }
.contact-info-row:first-child { padding-top: 0; }
.contact-info-row > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: var(--contact-orange-dark); background: #ffe8d7; }
.contact-info-row div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.contact-info-row small { color: var(--contact-muted); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.contact-info-row strong { color: var(--contact-ink); font-size: 14px; line-height: 1.55; }
.contact-info-row em { color: var(--contact-muted); font-size: 11px; font-style: normal; line-height: 1.45; }
.contact-visit__actions { margin-top: 25px; }
.contact-map { min-width: 0; min-height: 515px; background: #ddd; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 515px; border: 0; }

.contact-faq { padding: 108px 0 116px; background: #fff; }
.contact-faq__layout { display: grid; grid-template-columns: minmax(280px, .58fr) minmax(0, 1fr); align-items: start; gap: clamp(50px, 8vw, 125px); }
.contact-faq__intro { position: sticky; top: 112px; }
.contact-faq h2 { max-width: 470px; font-size: clamp(35px, 4vw, 54px); line-height: 1.04; }
.contact-faq__intro > p:last-child { max-width: 430px; margin: 20px 0 0; color: var(--contact-muted); font-size: 14px; line-height: 1.7; }
.contact-faq__list { border-top: 1px solid var(--contact-line); }
.contact-faq details { border-bottom: 1px solid var(--contact-line); }
.contact-faq summary { position: relative; padding: 25px 50px 25px 0; color: var(--contact-ink); cursor: pointer; font-size: 15px; font-weight: 900; list-style: none; }
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary::after { position: absolute; top: 21px; right: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--contact-green); background: var(--contact-cream); content: "+"; font-size: 20px; font-weight: 500; transition: transform .2s ease, background-color .2s ease; }
.contact-faq details[open] summary::after { color: #fff; background: var(--contact-orange); transform: rotate(45deg); }
.contact-faq details p { max-width: 720px; margin: -5px 45px 24px 0; color: var(--contact-muted); font-size: 13px; line-height: 1.7; }

.contact-page :focus-visible { outline: 3px solid rgba(238, 113, 27, .45); outline-offset: 3px; }

@media (max-width: 1199.98px) {
  .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-channel:nth-child(2) { border-right: 0; }
  .contact-channel:nth-child(-n + 2) { border-bottom: 1px solid var(--contact-line); }
}

@media (max-width: 991.98px) {
  .contact-hero__layout,
  .contact-section-heading,
  .contact-compose__layout,
  .contact-visit__grid,
  .contact-faq__layout { grid-template-columns: 1fr; }
  .contact-hero__layout { gap: 46px; }
  .contact-hero-card { max-width: 650px; }
  .contact-section-heading { align-items: start; gap: 18px; }
  .contact-section-heading > p { max-width: 650px; }
  .contact-help { grid-template-columns: 1fr 1fr; }
  .contact-help__card--dark { grid-column: 1 / -1; }
  .contact-map,
  .contact-map iframe { min-height: 410px; }
  .contact-faq__intro { position: static; }
}

@media (max-width: 575.98px) {
  .contact-hero { padding: 126px 0 92px; }
  .contact-hero::before { top: 90px; right: -5px; font-size: 105px; }
  .contact-hero h1 { font-size: 41px; line-height: 1.01; }
  .contact-hero__lead { margin-top: 21px; font-size: 15px; }
  .contact-actions,
  .contact-form-card__actions,
  .contact-visit__actions { align-items: stretch; flex-direction: column; width: 100%; }
  .contact-btn { width: 100%; }
  .contact-hero-card { padding: 25px 20px; border-radius: 22px; }
  .contact-hero-card > h2 { font-size: 25px; }
  .contact-channels { grid-template-columns: 1fr; width: calc(100% - 30px); margin-top: -35px; border-radius: 19px; }
  .contact-channel { min-height: 108px; padding: 20px 17px; border-right: 0; border-bottom: 1px solid var(--contact-line); }
  .contact-channel:nth-child(3) { border-bottom: 1px solid var(--contact-line); }
  .contact-channel:last-child { border-bottom: 0; }
  .contact-channel__icon { width: 43px; height: 43px; }
  .contact-compose,
  .contact-visit,
  .contact-faq { padding: 76px 0; }
  .contact-section-heading { margin-bottom: 28px; }
  .contact-section-heading h2,
  .contact-faq h2 { font-size: 35px; }
  .contact-form-card { padding: 24px 18px; border-radius: 21px; }
  .contact-form-card__heading { align-items: flex-start; }
  .contact-fields { grid-template-columns: 1fr; gap: 17px; }
  .contact-field--wide { grid-column: auto; }
  .contact-help { grid-template-columns: 1fr; }
  .contact-help__card--dark { grid-column: auto; }
  .contact-visit__grid { border-radius: 21px; }
  .contact-visit__info { padding: 26px 19px 29px; }
  .contact-info-row > span { width: 40px; height: 40px; }
  .contact-map,
  .contact-map iframe { min-height: 320px; }
  .contact-faq__layout { gap: 36px; }
  .contact-faq summary { padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
  .contact-faq summary::after { top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
