@import url("styles.css");

.contact-page {
  padding: 92px 0 0;
  background: #ffffff;
  overflow: hidden;
}

.contact-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 54px clamp(24px, 7vw, 104px);
  background:
    linear-gradient(110deg, rgba(0, 63, 125, 0.96) 0%, rgba(0, 90, 168, 0.92) 44%, rgba(255, 213, 74, 0.7) 100%),
    url("../assets/images/Ambiente/Evento_8.png") center/cover;
  color: #ffffff;
}

.contact-hero > * {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 9px;
  color: #ffd54a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.contact-hero h1 span {
  display: block;
}

.contact-hero h1 span:last-child {
  color: #ffd54a;
}

.contact-hero-copy > p {
  width: min(100%, 520px);
  max-width: 100%;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-channel-card {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 430px);
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(0, 90, 168, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 54px rgba(0, 63, 125, 0.16);
  backdrop-filter: blur(8px);
}

.contact-channel-card .card-kicker {
  margin: 0;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-channel-card h2 {
  margin: 0 0 6px;
  color: var(--brown-deep);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
}

.contact-channel-card a {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 90, 168, 0.14);
  color: var(--brown-deep);
}

.contact-channel-card small,
.contact-channel-card strong {
  display: block;
}

.contact-channel-card small {
  color: var(--copper);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-channel-card strong {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-channel-card b {
  color: var(--copper);
  font-size: 22px;
  line-height: 1;
}

.contact-form-section {
  width: min(100% - 40px, 720px);
  margin: 44px auto 0;
}

.contact-form-heading {
  margin-bottom: 16px;
}

.contact-form-heading h2,
.contact-hours h2 {
  margin: 0;
  color: #003f7d;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: #244f7a;
  font-size: 12px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfe3f8;
  border-radius: 3px;
  background: #ffffff;
  color: #003f7d;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  min-height: 38px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #ffffff 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #ffffff 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    #003f7d;
  color: #ffffff;
}

.contact-submit {
  justify-self: start;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  background: #005aa8;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid #cfe3f8;
  border-bottom: 1px solid #cfe3f8;
  background: #f7fbff;
}

.contact-info-grid article {
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 56px);
  border-right: 1px solid #cfe3f8;
}

.contact-info-grid article:last-child {
  border-right: 0;
}

.contact-info-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: #005aa8;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-grid h3 {
  margin: 0 0 4px;
  color: #005aa8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-info-grid p {
  margin: 0;
  color: #244f7a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 310px;
  background: #cfe3f8;
}

.contact-hours {
  padding: 46px clamp(24px, 6vw, 76px);
  background: #ffffff;
}

.contact-hours dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 0;
}

.contact-hours dt {
  color: #005aa8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-hours dd {
  margin: 6px 0 0;
  color: #003f7d;
  font-size: 16px;
  font-weight: 900;
}

.map-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #003f7d;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0, 63, 125, 0.16);
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 310px;
  display: block;
  border: 0;
  filter: saturate(0.82);
}

.main-nav a[aria-current="page"] {
  color: var(--gold);
}

@media (max-width: 980px) {
  .contact-page {
    padding-top: 0;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-channel-card {
    justify-self: start;
  }

  .contact-info-grid,
  .contact-map-section {
    grid-template-columns: 1fr;
  }

  .contact-info-grid article {
    border-right: 0;
    border-bottom: 1px solid #cfe3f8;
  }

  .contact-info-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  body,
  .site-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .contact-page,
  .contact-hero,
  .contact-hero-copy,
  .contact-channel-card,
  .contact-form-section,
  .contact-info-grid,
  .contact-map-section,
  .contact-hours,
  .contact-map {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-header {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    transform: none;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "nav nav";
    overflow: hidden;
  }

  .appointment-actions {
    display: none;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 2px;
  }

  .main-nav a {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-page {
    padding-top: 0;
  }

  .contact-hero {
    padding: 38px 18px;
  }

  .contact-hero h1 {
    font-size: clamp(32px, 11vw, 42px);
  }

  .contact-hero-copy > p {
    width: min(100%, 320px);
  }

  .contact-primary-button,
  .contact-submit {
    width: 100%;
  }

  .contact-channel-card {
    padding: 20px 18px;
  }

  .contact-form-section {
    width: calc(100% - 32px);
    margin-top: 34px;
  }

  .form-grid,
  .contact-hours dl {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    margin-top: 34px;
  }

  .contact-info-grid article {
    padding: 20px 18px;
  }

  .contact-hours {
    padding: 38px 18px;
  }
}
