/* contact.css */

.contact-page {
  padding-top: 120px;
  background-color: #fff;
  color: #000;
  overflow-x: clip;
}

/* Chrome Header (overriding default hero-chrome styles) */
.contact-chrome {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.contact-chrome .news-bar {
  background-color: #fff;
  border-bottom: 1px solid #eaeaea;
  color: #000;
}
.contact-chrome .news-bar__label,
.contact-chrome .news-ticker,
.contact-chrome .news-bar__link {
  color: #000;
}
.contact-chrome .news-bar__sep {
  color: #000;
}
.contact-chrome .navbar {
  background-color: #fff;
  border-bottom: 1px solid #eaeaea;
}
.contact-chrome .navbar__logo {
  color: #000;
}
.contact-chrome .nav-link {
  color: #000;
}
.contact-chrome .navbar__toggle-bar {
  background-color: #000;
}

/* Hero Section */
.contact-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(2rem, 4.5vw, 4rem);
  width: 100%;
}

.contact-hero__left {
  flex: 1;
}

.contact-hero__title {
  font-family: var(--font-display, Archivo, sans-serif);
  font-stretch: 125%;
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #0c0c0c;
  text-transform: uppercase;
}

.contact-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  max-width: 650px;
}

.contact-hero__right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.contact-map-img {
  max-width: 100%;
  width: 500px;
  opacity: 0.15;
}

/* Main Content Area */
.contact-content-wrapper {
  border-top: 1px solid #eaeaea;
  width: 100%;
  overflow: hidden;
}

.contact-content {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: clamp(28px, 3.5vw, 48px);
  padding-block: clamp(2.5rem, 4.5vw, 4.5rem);
  width: 100%;
  align-items: start;
}

/* Fast Action Buttons */
.contact-fast-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid #111;
  border-radius: 4px;
  background: #ffffff;
  color: #111;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-action-btn--primary {
  background: #111;
  color: #fff;
}

.contact-action-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.contact-select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #eaeaea;
  padding: 12px 0;
  font-size: 0.86rem;
  color: #0c0c0c;
  background: transparent;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

/* Left Column */
.contact-sidebar {
  width: 100%;
}

.contact-sidebar__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 24px;
  display: block;
}

.contact-sidebar__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-block__title {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.64rem;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.info-block__text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0c0c0c;
  line-height: 1.45;
}

.info-block__text a {
  color: #0c0c0c;
  text-decoration: none;
}

/* Middle Column (Form) */
.contact-content__center {
  min-width: 0;
}

.form-section__title {
  font-family: var(--font-display, Archivo, sans-serif);
  font-stretch: 115%;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #0c0c0c;
  letter-spacing: -0.01em;
}

.form-section__subtitle {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #555;
  margin-bottom: 32px;
  max-width: 600px;
}

.form-group {
  margin-bottom: 36px;
}

.form-group__title {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0c0c0c;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.84rem;
  color: #333;
  line-height: 1.4;
  word-break: break-word;
}

.radio-label input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin-top: 2px;
  border: 1px solid #ccc;
  border-radius: 50%;
  outline: none;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.radio-label input[type="radio"]:checked {
  border-color: #0c0c0c;
}

.radio-label input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background-color: #0c0c0c;
  border-radius: 50%;
}

.form-divider {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 32px 0;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.input-grid .full-width {
  grid-column: 1 / -1;
}

.input-field {
  width: 100%;
  border: none;
  border-bottom: 1px solid #eaeaea;
  padding: 12px 0;
  font-size: 0.86rem;
  color: #0c0c0c;
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.input-field::placeholder {
  color: #999;
}

.input-field:focus {
  border-bottom-color: #0c0c0c;
}

textarea.input-field {
  resize: vertical;
  min-height: 90px;
}

/* Right Column (Locations) */
.contact-content__right {
  min-width: 0;
}

.locations__title {
  font-family: var(--font-display, Archivo, sans-serif);
  font-stretch: 112.5%;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #0c0c0c;
}

.locations__divider {
  border: none;
  border-top: 1px solid #eaeaea;
  margin-bottom: 26px;
}

.location-block {
  margin-bottom: 26px;
}

.location-block__title {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.64rem;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.location-block__address {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #0c0c0c;
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .contact-content {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
  }
  .contact-content__right {
    grid-column: 1 / -1;
    border-top: 1px solid #eaeaea;
    padding-top: 36px;
    margin-top: 8px;
  }
  .contact-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
  .contact-locations .locations__title,
  .contact-locations .locations__divider {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
}

@media (max-width: 880px) {
  .contact-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-block: 28px 16px;
  }
  .contact-hero__right {
    display: none;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-content__center {
    order: 1;
  }
  .contact-content__left {
    order: 2;
    border-top: 1px solid #eaeaea;
    padding-top: 36px;
  }
  .contact-content__right {
    order: 3;
  }
}

@media (max-width: 580px) {
  .contact-page {
    padding-top: 100px;
  }
  .input-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-action-btn {
    width: 100%;
    justify-content: center;
  }
  .radio-grid {
    grid-template-columns: 1fr;
  }
}
