/* Contact page styles; shared navigation and footer retain their own styles. */
.contact-page {
  --contact-ink: #173d2b;
  --contact-green: #187541;
  --contact-muted: #5c6961;
  --contact-line: #dce5df;
  color: var(--contact-ink);
  background: #fff;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 { color: var(--contact-ink); }

.contact-page p {
  /* Override the legacy global paragraph color and weight. */
  color: var(--contact-muted) !important;
  font-size: 17px;
  font-weight: 400 !important;
  line-height: 1.65;
}

.contact-page a { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.contact-page a:focus-visible { outline: 3px solid var(--contact-green); outline-offset: 5px; }
.contact-page a:hover { color: var(--contact-green); }
.contact-intro { padding: 155px 0 70px; background: #f5f7f2; }
.contact-intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: end; padding-bottom: 55px; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--contact-green); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.contact-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.contact-intro h1 { margin: 22px 0 0; font-size: clamp(56px, 6.4vw, 88px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.contact-intro h1 em { color: var(--contact-green); font-style: normal; }
.contact-intro-copy { max-width: 395px; padding-bottom: 5px; }
.contact-intro-copy p { margin: 0 0 22px; font-size: 19px; }
.contact-text-link { display: inline-flex; gap: 22px; align-items: center; padding: 8px 0; color: var(--contact-ink); font-size: 18px; font-weight: 600; }
.contact-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-section-label { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #d6dfd7; padding: 22px 0; color: #58685d; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--contact-line); border-radius: 12px; }
.contact-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
.contact-icon { display: inline-flex; flex-shrink: 0; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--contact-green); border-radius: 50%; background: #eef4ed; font-size: 20px; }
.contact-card-category { font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.contact-card h2 { margin: 0 0 12px; font-size: 29px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.contact-card p { flex-grow: 1; margin: 0 0 25px; font-size: 16px; }
.contact-detail { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 0 23px; color: var(--contact-ink); font-size: clamp(21px, 2vw, 27px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.contact-detail > i { font-size: 17px; flex-shrink: 0; }
.contact-email { font-size: clamp(19px, 1.8vw, 24px); overflow-wrap: anywhere; }
.contact-card-actions { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--contact-line); }
.contact-page .contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 16px; color: var(--contact-ink); background: transparent; border: 1px solid #c9d8cc; border-radius: 5px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.contact-button > i:last-child { margin-left: auto; font-size: 15px; }
.contact-page .contact-button:hover { color: var(--contact-ink); background: #edf4ed; border-color: var(--contact-green); }
.contact-small-link, .contact-card-note { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; color: var(--contact-muted); font-size: 15px; }
.contact-small-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card-sales { background: #173d2b; border-color: #173d2b; color: #fff; }
.contact-card-sales h2, .contact-card-sales .contact-detail { color: #fff; }
.contact-card-sales p, .contact-card-sales .contact-small-link { color: #d3e0d4; }
.contact-card-sales p { color: #d3e0d4 !important; }
.contact-card-sales .contact-card-category { color: #d3e0d4; }
.contact-card-sales .contact-icon { color: #cdeec2; background: #ffffff12; }
.contact-card-sales .contact-card-actions { border-color: #ffffff26; }
.contact-card-sales a:hover { color: #d8f3c6; }
.contact-page .contact-button-whatsapp { background: #d8f3c6; border-color: #d8f3c6; }
.contact-page .contact-button-whatsapp:hover { background: #c2e7a9; border-color: #c2e7a9; }
.contact-card-sales a:focus-visible { outline-color: #d8f3c6; }
.contact-office { padding: 80px 0 95px; scroll-margin-top: 105px; }
.contact-office-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.contact-office-heading h2 { margin: 15px 0 0; font-size: clamp(36px, 4vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.contact-office-heading p { margin: 0; }
.contact-office-grid { display: grid; grid-template-columns: .8fr 1.5fr; border: 1px solid var(--contact-line); border-radius: 12px; overflow: hidden; }
.contact-office-info { display: flex; flex-direction: column; align-items: start; padding: 36px; background: #f8faf6; }
.contact-office-pin { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 25px; border: 1px solid #d5e0d5; border-radius: 50%; color: var(--contact-green); font-size: 22px; }
.contact-office-label { display: block; color: var(--contact-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; margin-bottom: 8px; }
.contact-office-info h3 { font-size: 30px; margin: 0 0 18px; font-weight: 600; letter-spacing: -.02em; }
.contact-office-info address { font-family: var(--font-body); color: var(--contact-muted); font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
.contact-office-info address strong { color: var(--contact-ink); font-weight: 600; }
.contact-page .contact-directions { justify-content: space-between; width: 100%; gap: 24px; }
.contact-office-info .contact-visit-note { margin: 20px 0 0; font-size: 14px; line-height: 1.6; }
.contact-visit-note a { color: var(--contact-green); text-decoration: underline; text-underline-offset: 3px; }
.contact-map { position: relative; min-height: 480px; background: #e8eee5; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.contact-map-link { position: absolute; right: 18px; bottom: 28px; display: inline-flex; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid var(--contact-line); border-radius: 5px; background: #fff; color: var(--contact-ink); font-size: 15px; box-shadow: 0 3px 12px #173d2b12; }

@media (max-width: 1199px) {
  .contact-card { padding: 22px; }
  .contact-cards { gap: 14px; }
  .contact-card-top { gap: 10px; }
  .contact-card-category { font-size: 9px; }
  .contact-office-info { padding: 28px; }
}

@media (max-width: 991px) {
  .contact-intro { padding-top: 130px; }
  .contact-intro-grid { gap: 35px; }
  .contact-intro h1 { font-size: 62px; }
  .contact-intro-copy p { font-size: 17px; }
  .contact-cards { grid-template-columns: 1fr; gap: 18px; }
  .contact-card { padding: 28px; }
  .contact-card-top { margin-bottom: 20px; }
  .contact-card-category { font-size: 11px; }
  .contact-detail { font-size: 28px; }
  .contact-card p { max-width: 540px; }
  .contact-office-grid { grid-template-columns: 1fr 1.1fr; }
}

@media (max-width: 767px) {
  .contact-intro { padding: 115px 0 45px; }
  .contact-intro-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .contact-intro h1 { font-size: clamp(48px, 10.8vw, 68px); margin-top: 20px; }
  .contact-intro-copy { max-width: 460px; padding: 0; }
  .contact-intro-copy p { margin-bottom: 12px; }
  .contact-section-label { padding: 20px 0; }
  .contact-section-label > span:last-child { display: none; }
  .contact-office { padding: 48px 0 60px; }
  .contact-office-heading { flex-direction: column; align-items: start; gap: 18px; }
  .contact-office-heading p br { display: none; }
  .contact-office-grid { grid-template-columns: 1fr; }
  .contact-office-info { padding: 28px; }
  .contact-map, .contact-map iframe { min-height: 360px; height: 360px; }
}

@media (max-width: 359px) {
  .contact-card, .contact-office-info { padding: 22px; }
  .contact-detail { font-size: 24px; }
  .contact-email { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page a { transition: none; }
}
