/* Page styles: contact.css */

/* Contact page */
.contact-page {
  background: #f6f5f0;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page .display,
.contact-page .section-label {
  font-family: 'Syne', sans-serif;
  letter-spacing: 0;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  padding: calc(var(--nav-height) + 64px) 0 82px;
  color: var(--ink-2);
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.94) 0%, rgba(17, 19, 24, 0.86) 58%, rgba(17, 19, 24, 0.96) 100%),
    url('../images/hero-contact.jpg') center / cover no-repeat;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 940px);
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.contact-hero-copy {
  min-width: 0;
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: 0;
}

.contact-breadcrumb {
  justify-content: center;
  margin-bottom: 52px;
}

.contact-breadcrumb a,
.contact-breadcrumb span {
  color: rgba(248, 248, 245, 0.66);
}

.contact-hero .section-label {
  justify-content: center;
  margin-bottom: 18px;
  color: rgba(248, 248, 245, 0.58);
}

.contact-hero .section-label::before {
  background: #8ba4d4;
}

.contact-hero h1 { 
  margin: 0 auto;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
}

.contact-hero-copy p {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(248, 248, 245, 0.72);
  font-size: 17px;
  line-height: 1.72;
}

.contact-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.contact-hero-points > span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(248, 248, 245, 0.18);
  border-radius: 999px;
  background: rgba(248, 248, 245, 0.08);
  color: rgba(248, 248, 245, 0.86);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.36s ease, background 0.36s ease;
}

.contact-hero-points .material-symbols-rounded {
  color: #dbe7ff;
  font-size: 18px;
}

.contact-page .material-symbols-rounded {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  line-height: 1;
  text-align: center;
  transform-origin: center;
}

.contact-page .section-label .material-symbols-rounded {
  width: 24px;
  height: 24px;
}

.contact-hero-points .material-symbols-rounded {
  width: 22px;
  height: 22px;
}

.contact-submit .material-symbols-rounded {
  width: 19px;
  height: 19px;
}

.contact-map-link .material-symbols-rounded {
  width: 18px;
  height: 18px;
}

.contact-page .section-label .material-symbols-rounded,
.contact-hero-points .material-symbols-rounded,
.contact-submit .material-symbols-rounded,
.contact-info-card .material-symbols-rounded,
.contact-map-link .material-symbols-rounded,
.contact-brief-step .material-symbols-rounded,
.contact-brief-note .material-symbols-rounded {
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.contact-page .section-label:hover .material-symbols-rounded,
.contact-hero-points > span:hover .material-symbols-rounded,
.contact-submit:hover .material-symbols-rounded,
.contact-info-card:hover .material-symbols-rounded,
.contact-map-link:hover .material-symbols-rounded,
.contact-brief-step:hover .material-symbols-rounded,
.contact-brief-note:hover .material-symbols-rounded {
  transform: scale(1.08);
}

.contact-scroll-section {
  position: relative;
  min-height: 138vh;
  overflow: visible;
  background: #111318;
  color: #fff;
}

.contact-scroll-shell {
  position: sticky;
  top: 0;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
}

.contact-scroll-media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  width: min(58vw, 920px);
  height: 46vh;
  border: 1px solid rgba(248, 248, 245, 0.16);
  border-radius: 8px;
  background: #252931;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  transform-origin: center center;
  will-change: transform, border-radius, box-shadow;
}

.contact-scroll-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.66) 0%, rgba(7, 10, 18, 0.08) 42%, rgba(7, 10, 18, 0.7) 100%),
    linear-gradient(90deg, rgba(7, 10, 18, 0.42) 0%, rgba(7, 10, 18, 0.08) 48%, rgba(7, 10, 18, 0.38) 100%);
  pointer-events: none;
}

.contact-scroll-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.contact-scroll-copy {
  position: absolute;
  z-index: 2;
  max-width: min(560px, 42vw);
  color: rgba(248, 248, 245, 0.88);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
}

.contact-scroll-copy-left {
  top: 12vh;
  left: max(28px, 8vw);
}

.contact-scroll-copy-right {
  right: max(28px, 8vw);
  bottom: 11vh;
  text-align: right;
}

.contact-scroll-copy span {
  display: block;
  margin-bottom: 18px;
  color: #8ba4d4;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.contact-scroll-copy strong {
  display: block;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.95rem, 3.2vw, 3.55rem);
  line-height: 1;
}

.contact-scroll-copy p {
  margin: 18px 0 0;
  color: rgba(248, 248, 245, 0.58);
  font-size: 15px;
  line-height: 1.75;
}

.contact-form-section {
  padding: 96px 0 106px;
  background: #fff;
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(520px, 0.92fr);
  align-items: start;
  gap: 54px;
}

.contact-form-intro {
  position: sticky;
  top: calc(var(--nav-height) + 34px);
}

.contact-form-intro .display {
  margin: 0;
  max-width: 520px;
}

.contact-form-intro p {
  max-width: 470px;
  margin: 22px 0 0;
  color: var(--ink-60);
  font-size: 16px;
  line-height: 1.75;
}

.contact-form-panel {
  overflow: hidden;
  border: 1px solid rgba(248, 248, 245, 0.18);
  border-radius: 8px;
  background: rgba(248, 248, 245, 0.96);
  color: var(--ink-100);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.contact-form-panel-lower {
  border-color: rgba(14, 14, 14, 0.09);
  background: #f8f8f5;
  box-shadow: 0 30px 78px rgba(14, 14, 14, 0.12);
  backdrop-filter: none;
}

.contact-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: #fff;
  background: #111318;
}

.contact-form-head span {
  color: rgba(248, 248, 245, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form-head strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  line-height: 1.1;
}

.contact-rfq-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  color: var(--ink-60);
  font-size: 12px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(14, 14, 14, 0.12);
  border-radius: 6px;
  background: #fff;
  color: var(--ink-100);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input,
.contact-field select {
  padding: 0 14px;
}

.contact-field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(14, 14, 14, 0.48) 50%),
    linear-gradient(135deg, rgba(14, 14, 14, 0.48) 50%, transparent 50%);
  background-position:
    calc(100% - 23px) 50%,
    calc(100% - 17px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.contact-field select::-ms-expand {
  display: none;
}

.contact-field textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.contact-field textarea::placeholder {
  color: rgba(14, 14, 14, 0.38);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(30, 58, 138, 0.62);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
  background-color: #fff;
}

.contact-submit {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.contact-submit .material-symbols-rounded {
  font-size: 19px;
}

.contact-form-success {
  color: var(--blue-deep);
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.16);
}

.contact-info-section {
  padding: 72px 0;
  background: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-info-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(14, 14, 14, 0.09);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 58, 138, 0.22);
  box-shadow: 0 18px 44px rgba(14, 14, 14, 0.08);
}

.contact-info-card .material-symbols-rounded {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 21px;
}

.contact-info-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.contact-info-card p {
  margin: 0;
  color: var(--ink-60);
  font-size: 14px;
  line-height: 1.7;
}

.contact-info-card a {
  color: var(--blue);
  font-weight: 700;
}

.contact-map-section {
  scroll-margin-top: calc(var(--nav-height) + 24px);
  padding: 76px 0 88px;
  background: #f8f8f5;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 36px;
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}

.contact-map-copy .display {
  max-width: 560px;
  margin: 0;
}

.contact-map-copy p {
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.75;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 16px;
  border: 1px solid rgba(30, 58, 138, 0.22);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-map-link:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 58, 138, 0.36);
  box-shadow: 0 16px 38px rgba(14, 14, 14, 0.08);
}

.contact-map-link .material-symbols-rounded {
  font-size: 18px;
}

.contact-map-frame {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(14, 14, 14, 0.1);
  border-radius: 8px;
  background: #e8e8e2;
  box-shadow: 0 28px 72px rgba(14, 14, 14, 0.12);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(0.08) contrast(1.03);
}

.contact-brief-section {
  scroll-margin-top: calc(var(--nav-height) + 24px);
  padding: 88px 0 96px;
}

.contact-brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 42px;
}

.contact-brief-heading {
  position: sticky;
  top: calc(var(--nav-height) + 34px);
}

.contact-brief-heading .display {
  max-width: 560px;
  margin: 0;
}

.contact-brief-heading p {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.75;
}

.contact-brief-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-brief-step {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  min-height: 226px;
  padding: 24px;
  border: 1px solid rgba(14, 14, 14, 0.09);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-brief-step::after {
  content: attr(data-step);
  position: absolute;
  right: 18px;
  bottom: -10px;
  color: rgba(30, 58, 138, 0.07);
  font-family: 'Syne', sans-serif;
  font-size: 5.2rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.contact-brief-step:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: 0 18px 44px rgba(14, 14, 14, 0.08);
}

.contact-brief-step .material-symbols-rounded {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 21px;
}

.contact-brief-step small {
  margin-bottom: 8px;
  color: var(--blue);
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-brief-step h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 1.16rem;
  line-height: 1.18;
}

.contact-brief-step p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--ink-60);
  font-size: 14px;
  line-height: 1.7;
}

.contact-brief-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42px auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 20px 24px;
  border-radius: 8px;
  color: #fff;
  background: #111318;
}

.contact-brief-note .material-symbols-rounded {
  width: 42px;
  height: 42px;
  color: #111318;
  background: #f8f8f5;
  border-radius: 50%;
  font-size: 21px;
}

.contact-brief-note strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.04rem;
  line-height: 1.18;
}

.contact-brief-note p {
  margin: 0;
  color: rgba(248, 248, 245, 0.64);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .contact-hero-grid,
  .contact-map-grid,
  .contact-brief-layout,
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    min-height: 0;
  }

  .contact-scroll-section {
    min-height: 132vh;
    padding: 0;
  }

  .contact-scroll-shell {
    position: sticky;
    min-height: 100vh;
    padding: 0;
  }

  .contact-scroll-copy,
  .contact-scroll-copy-right {
    max-width: min(500px, calc(100vw - 56px));
  }

  .contact-scroll-media {
    width: min(74vw, 760px);
    height: 46vh;
  }

  .contact-map-copy {
    min-height: 0;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 380px;
  }

  .contact-brief-heading {
    position: static;
  }

  .contact-form-intro {
    position: static;
  }

  .contact-form-panel {
    max-width: 760px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: calc(var(--nav-height) + 34px) 0 52px;
  }

  .contact-breadcrumb {
    margin-bottom: 34px;
  }

  .contact-hero h1 {
    font-size: 2.8rem;
  }

  .contact-hero-copy p {
    font-size: 15px;
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .contact-rfq-form {
    padding: 20px;
  }

  .contact-form-section {
    padding: 72px 0 82px;
  }

  .contact-form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map-section {
    padding: 64px 0 72px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 330px;
  }

  .contact-brief-section {
    padding: 72px 0 82px;
  }

  .contact-brief-board {
    grid-template-columns: 1fr;
  }

  .contact-brief-step {
    min-height: 0;
  }

  .contact-brief-note {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
  }

  .contact-brief-note p {
    grid-column: 2;
  }

  .contact-scroll-section {
    min-height: 124vh;
    padding: 0;
  }

  .contact-scroll-shell {
    min-height: 100vh;
    padding: 0;
  }

  .contact-scroll-media {
    width: 82vw;
    height: 44vh;
    border-radius: 8px;
  }

  .contact-scroll-copy {
    left: 22px;
    right: 22px;
    max-width: none;
  }

  .contact-scroll-copy-left {
    top: 54px;
    bottom: auto;
  }

  .contact-scroll-copy-right {
    top: auto;
    bottom: 64px;
    text-align: left;
  }

  .contact-scroll-copy strong {
    font-size: 1.95rem;
  }

  .contact-scroll-copy p {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .contact-hero h1 {
    font-size: 2.35rem;
  }

  .contact-hero-points > span {
    width: 100%;
  }

  .contact-map-link {
    width: 100%;
    justify-content: center;
  }

  .contact-brief-note {
    grid-template-columns: 1fr;
  }

  .contact-brief-note p {
    grid-column: auto;
  }
}

