.contact-page {
  --contact-shell-width: min(1440px, calc(100% - 48px));
  background: var(--white);
}

.contact-shell {
  width: var(--contact-shell-width);
  margin-inline: auto;
}

.contact-page .nav-links > a.is-active,
.contact-page .nav-submenu a.is-active {
  color: var(--green-strong);
}

.contact-page svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 86%, rgba(124, 171, 83, 0.22), transparent 26%),
    radial-gradient(circle at 86% 5%, rgba(108, 150, 93, 0.14), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 50, 0.96), rgba(6, 28, 50, 0.9));
  background-position: center, center, center, center, center;
  background-size: auto, auto, 128px 128px, 128px 128px, auto;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 54px 56px;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.2;
}

.contact-breadcrumb a:hover {
  color: var(--white);
}

.contact-breadcrumb__current {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(131, 174, 72, 0.18);
  color: var(--green);
  font-weight: 600;
}

.contact-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(38px, 2.5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-hero__copy {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(14px, 0.8333vw, 16px);
  line-height: 1.5;
}

.contact-main {
  padding: 80px 0 88px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 5vw, 86px);
}

.contact-copy .eyebrow {
  color: var(--green-strong);
  text-transform: uppercase;
}

.contact-copy h2 {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(38px, 2.5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.45;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.contact-item {
  min-height: 60px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 24px;
}

.contact-item__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.contact-item small,
.contact-item strong,
.contact-item div > span,
.contact-item a {
  display: block;
}

.contact-item small {
  color: rgba(113, 117, 134, 0.54);
  font-size: 12px;
  line-height: 1;
}

.contact-item strong,
.contact-item a {
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(14px, 0.9375vw, 18px);
  font-weight: 800;
  line-height: 1.25;
}

.contact-item div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: clamp(12px, 0.7292vw, 14px);
  line-height: 1.35;
}

.contact-item > .contact-item__icon {
  display: grid;
  margin-top: 0;
  color: var(--green);
}

.contact-item a:hover {
  color: var(--green-strong);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.contact-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: clamp(13px, 0.8333vw, 16px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-button:hover {
  transform: translateY(-1px);
}

.contact-button--primary {
  min-width: 168px;
  padding: 0 10px 0 24px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(116, 161, 58, 0.22);
}

.contact-button--primary:hover {
  background: var(--green-strong);
}

.contact-button__arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 25, 45, 0.2);
  color: var(--white);
  font-size: 17px;
}

.contact-button--whatsapp {
  min-width: 186px;
  padding: 0 24px;
  background: linear-gradient(180deg, #60d669 0%, #1faf38 100%);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(31, 175, 56, 0.2);
}

.contact-button--whatsapp .whatsapp-mark {
  width: 20px;
  height: 20px;
}

.contact-map-card {
  overflow: hidden;
  border: 1px solid #e6ebf1;
  border-radius: 12px;
  background: #f7fafb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.contact-map__media {
  aspect-ratio: 448 / 330;
  overflow: hidden;
  background: #dbeadf;
}

.contact-map__media img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.contact-map__caption {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 20px;
  color: var(--muted);
}

.contact-map__caption svg {
  margin-top: 2px;
  color: var(--green);
  font-size: 24px;
  stroke-width: 1.7;
}

.contact-map__caption strong {
  display: block;
  color: var(--ink);
  font-size: clamp(14px, 0.8333vw, 16px);
  font-weight: 700;
  line-height: 1.3;
}

.contact-map__caption span {
  display: block;
  margin-top: 4px;
  font-size: clamp(12px, 0.7292vw, 14px);
  line-height: 1.4;
}

.contact-page .footer-newsletter {
  min-height: 144px;
}

.contact-page .subscribe-form[data-status="success"] button {
  background: var(--green-strong);
}

@media (min-width: 1920px) {
  .contact-page {
    --contact-shell-width: min(75vw, 1920px);
  }
}

@media (min-width: 1280px) and (max-width: 1919.98px) {
  .contact-page {
    --contact-shell-width: min(1440px, calc(100% - clamp(192px, 20vw, 360px)));
  }
}

@media (max-width: 1279.98px) {
  .contact-page {
    --contact-shell-width: min(960px, calc(100% - 48px));
  }

  .contact-hero,
  .contact-hero__inner {
    min-height: 300px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-map-card {
    width: min(560px, 100%);
  }
}

@media (max-width: 767.98px) {
  .contact-page {
    --contact-shell-width: calc(100% - 40px);
  }

  .contact-hero,
  .contact-hero__inner {
    min-height: 280px;
  }

  .contact-hero__inner {
    padding-block: 40px;
  }

  .contact-hero h1,
  .contact-copy h2 {
    font-size: 32px;
  }

  .contact-main {
    padding: 56px 0 64px;
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-list {
    gap: 18px;
  }

  .contact-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .contact-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    font-size: 22px;
  }

  .contact-item__icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-actions {
    align-items: stretch;
    gap: 12px;
  }

  .contact-button {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .contact-hero h1,
  .contact-copy h2 {
    font-size: 30px;
  }

  .contact-breadcrumb {
    margin-bottom: 16px;
  }

  .contact-map__caption {
    padding: 16px;
  }
}
