/* Surowy Detailing: główna podstrona kontaktowa. */

.layout-contact {
  --contact-ink: #080909;
  --contact-surface: #101111;
  --contact-surface-raised: #151616;
  --contact-paper: #eeeae1;
  --contact-muted: #aaa9a2;
  --contact-gold: #d7b56d;
  --contact-gold-dark: #a88749;
  --contact-line: rgba(255, 255, 255, .14);
  --contact-ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--contact-ink);
  color: var(--contact-paper);
}

.layout-contact .site-header {
  background: rgba(8, 9, 9, .62);
}

.layout-contact .header-cta[aria-current="page"] {
  border-color: var(--contact-gold);
  color: var(--contact-gold);
}

.contact-page {
  overflow: clip;
  background: var(--contact-ink);
}

.contact-kicker {
  margin: 0;
  color: var(--contact-gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-hero {
  position: relative;
  height: 560px;
  padding-top: 96px;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.contact-hero-media {
  position: absolute;
  z-index: -1;
  top: 276px;
  left: 50%;
  width: min(1140px, 120vw);
  transform: translate(-50%, -48%);
  pointer-events: none;
}

.contact-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-hero-inner {
  height: 100%;
  padding-top: 150px;
  text-align: center;
}

.contact-hero-copy {
  width: 100%;
}

.contact-section-heading h2,
.contact-form-heading h2,
.contact-visit-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .012em;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--body);
  font-size: 80px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-hero-copy h1 em {
  display: block;
  margin-top: 24px;
  font-size: 52px;
  letter-spacing: .02em;
  line-height: 1.2;
}

.contact-hero-copy h1 em,
.contact-form-heading h2 em,
.contact-visit-copy h2 em {
  color: var(--contact-gold);
  font-style: normal;
}

.contact-essentials {
  position: relative;
  padding: 56px 0 clamp(96px, 9vw, 150px);
  background: #000;
}

.contact-section-heading {
  margin-bottom: clamp(40px, 5vw, 72px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-section-heading h2 {
  margin-top: 14px;
  font-size: clamp(54px, 6vw, 92px);
  line-height: .9;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
  border-top: 1px solid rgba(215, 181, 109, .56);
  border-bottom: 1px solid var(--contact-line);
}

.contact-primary-detail {
  position: relative;
  min-height: 380px;
  padding: clamp(36px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--contact-gold);
  color: #090a0a;
  transition: background .25s ease;
}

.contact-primary-detail:hover,
.contact-primary-detail:focus-visible {
  background: #e2c37f;
}

.contact-primary-detail > span,
.contact-fact > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-primary-detail strong {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: .86;
}

.contact-primary-detail small {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 550;
}

.contact-primary-detail i {
  position: absolute;
  right: clamp(28px, 4vw, 58px);
  bottom: clamp(28px, 4vw, 52px);
  font-size: 32px;
  font-style: normal;
}

.contact-facts {
  border-left: 1px solid var(--contact-line);
}

.contact-fact {
  min-height: 126px;
  padding: 24px clamp(26px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(130px, .58fr) minmax(0, 1.42fr);
  gap: 8px 24px;
  align-content: center;
  border-bottom: 1px solid var(--contact-line);
}

.contact-fact:last-child {
  border-bottom: 0;
}

a.contact-fact {
  transition: background .24s ease, color .24s ease;
}

a.contact-fact:hover,
a.contact-fact:focus-visible {
  background: rgba(215, 181, 109, .07);
}

.contact-fact > span {
  color: var(--contact-gold);
}

.contact-fact strong {
  color: #fff;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.contact-fact small {
  grid-column: 2;
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.45;
}

.contact-conversion {
  padding: clamp(96px, 9vw, 152px) 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
  background: var(--contact-surface);
}

.contact-conversion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  border: 1px solid rgba(215, 181, 109, .5);
}

.contact-form-panel {
  padding: clamp(36px, 5vw, 76px);
  border-right: 1px solid rgba(215, 181, 109, .34);
  background: #0b0c0c;
}

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

.contact-form-heading h2,
.contact-visit-copy h2 {
  margin-top: 16px;
  font-size: clamp(54px, 5.7vw, 86px);
  line-height: .88;
}

.contact-form-heading > p:last-child,
.contact-visit-copy > p:not(.contact-kicker) {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-form-status {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(215, 181, 109, .65);
  background: rgba(215, 181, 109, .09);
  color: var(--contact-paper);
  font-size: 13px;
  line-height: 1.6;
}

.contact-form-status.is-error {
  border-color: rgba(207, 90, 71, .7);
  background: rgba(207, 90, 71, .08);
}

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

.contact-page-form label {
  display: grid;
  gap: 9px;
}

.contact-page-form label > span {
  color: rgba(255, 255, 255, .78);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-page-form label > span small {
  color: var(--contact-muted);
  font: inherit;
  letter-spacing: inherit;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  outline: 0;
  background: var(--contact-surface-raised);
  color: #fff;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-page-form input,
.contact-page-form select {
  min-height: 58px;
  padding: 0 17px;
}

.contact-page-form textarea {
  min-height: 142px;
  padding: 15px 17px;
  resize: vertical;
}

.contact-page-form input:hover,
.contact-page-form select:hover,
.contact-page-form textarea:hover {
  border-color: rgba(215, 181, 109, .5);
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  border-color: var(--contact-gold);
  background: #191a1a;
  box-shadow: 0 0 0 3px rgba(215, 181, 109, .1);
}

.contact-page-form option {
  background: #151616;
  color: #fff;
}

.contact-page-form ::placeholder {
  color: rgba(255, 255, 255, .34);
}

.contact-page-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-page-form .contact-form-consent {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-page-form .contact-form-consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--contact-gold);
}

.contact-page-form .contact-form-consent > span {
  color: var(--contact-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}

.contact-form-consent a {
  color: var(--contact-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-submit {
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--contact-gold);
  border-radius: 0;
  background: var(--contact-gold);
  color: #090a0a;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .24s ease, border-color .24s ease, opacity .24s ease;
}

.contact-form-submit:hover,
.contact-form-submit:focus-visible {
  border-color: #e7c985;
  background: #e7c985;
}

.contact-form-submit:disabled {
  cursor: wait;
  opacity: .68;
}

.contact-visit-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(390px, 1fr);
  background: #070808;
}

.contact-visit-copy {
  padding: clamp(36px, 4vw, 62px);
}

.contact-visit-copy h2 {
  font-size: clamp(46px, 4.4vw, 72px);
}

.contact-visit-copy > a {
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 7px;
  display: inline-flex;
  gap: 14px;
  border-bottom: 1px solid var(--contact-gold-dark);
  color: var(--contact-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-page-map {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-top: 1px solid rgba(215, 181, 109, .34);
  background: #101111;
}

.contact-page-map iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(.72);
  opacity: 0;
  transition: opacity .45s ease;
}

.contact-page-map.is-loaded iframe {
  opacity: .88;
}

.contact-page-map .access-map-loader {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  background: #101111;
  color: var(--contact-muted);
  text-align: center;
  transition: opacity .3s ease, visibility .3s ease;
}

.contact-page-map.is-loaded .access-map-loader {
  opacity: 0;
  visibility: hidden;
}

.contact-page-map .access-map-loader span {
  width: 34px;
  height: 34px;
  margin-inline: auto;
  border: 1px solid rgba(215, 181, 109, .25);
  border-top-color: var(--contact-gold);
  border-radius: 50%;
  animation: contact-map-spin .9s linear infinite;
}

.contact-page-map .access-map-loader p {
  margin: 0;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-page-map .access-map-activate,
.contact-page-map .access-map-lock {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(215, 181, 109, .68);
  border-radius: 0;
  background: rgba(8, 9, 9, .9);
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-page-map .access-map-activate {
  inset: 0;
  display: none;
  place-items: center;
  border: 0;
  background: rgba(8, 9, 9, .4);
}

.contact-page-map .access-map-activate span {
  padding: 14px 18px;
  border: 1px solid var(--contact-gold);
  background: #080909;
}

.contact-page-map .access-map-lock {
  right: 12px;
  bottom: 12px;
  display: none;
  padding: 11px 13px;
}

.contact-page-map .access-map-noscript {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 20px;
  padding: 12px 16px;
  background: #080909;
  color: var(--contact-gold);
  transform: translateX(-50%);
}

.contact-footer {
  border-top-color: rgba(255, 255, 255, .1);
}

.contact-mobile-bar {
  display: none;
}

@keyframes contact-map-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
  .contact-details-grid,
  .contact-conversion-grid { grid-template-columns: 1fr; }
  .contact-primary-detail { min-height: 330px; }
  .contact-facts { border-top: 1px solid var(--contact-line); border-left: 0; }
  .contact-form-panel { border-right: 0; border-bottom: 1px solid rgba(215, 181, 109, .34); }
  .contact-visit-panel { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); grid-template-rows: minmax(430px, auto); }
  .contact-page-map { min-height: 430px; border-top: 0; border-left: 1px solid rgba(215, 181, 109, .34); }
}

@media (max-width: 820px) {
  .contact-fact { grid-template-columns: minmax(112px, .48fr) minmax(0, 1.52fr); }
  .contact-visit-panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(420px, 1fr); }
  .contact-page-map { border-top: 1px solid rgba(215, 181, 109, .34); border-left: 0; }
  .contact-page-map iframe { pointer-events: none; }
  .contact-page-map:not(.is-interactive) .access-map-activate { display: grid; }
  .contact-page-map.is-interactive iframe { pointer-events: auto; }
  .contact-page-map.is-interactive .access-map-lock { display: block; }
}

@media (max-width: 680px) {
  .layout-contact { padding-bottom: 62px; }
  .contact-hero { height: clamp(310px, 80vw, 400px); padding-top: 68px; }
  .contact-hero-media { top: 65px; width: 100%; max-width: 570px; transform: translateX(-50%); }
  .contact-hero-inner { padding-top: clamp(86px, 22vw, 145px); }
  .contact-hero-copy h1 { font-size: clamp(36px, 10.5vw, 64px); }
  .contact-hero-copy h1 em { margin-top: 16px; font-size: clamp(27px, 7.4vw, 42px); }
  .contact-essentials { padding: 28px 0 78px; }
  .contact-conversion { padding: 78px 0; }
  .contact-section-heading { margin-bottom: 34px; display: block; }
  .contact-section-heading h2 { margin-top: 12px; font-size: 54px; }
  .contact-details-grid { display: block; }
  .contact-primary-detail { min-height: 258px; padding: 28px 22px; }
  .contact-primary-detail strong { margin-top: 22px; font-size: clamp(54px, 17vw, 72px); }
  .contact-primary-detail small { margin-top: 20px; }
  .contact-primary-detail i { right: 22px; bottom: 22px; }
  .contact-fact { min-height: 0; padding: 25px 22px; display: block; }
  .contact-fact strong { margin-top: 10px; display: block; font-size: 16px; }
  .contact-fact small { margin-top: 8px; display: block; }
  .contact-conversion-grid { width: 100%; border-right: 0; border-left: 0; }
  .contact-form-panel,
  .contact-visit-copy { padding: 34px 16px; }
  .contact-form-heading { margin-bottom: 30px; }
  .contact-form-heading h2 { font-size: 57px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 22px; }
  .contact-page-form { gap: 20px; }
  .contact-page-form input,
  .contact-page-form select { min-height: 56px; }
  .contact-form-submit { min-height: 60px; }
  .contact-visit-copy h2 { font-size: 52px; }
  .contact-page-map { min-height: 390px; }
  .contact-mobile-bar {
    position: fixed;
    z-index: 96;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(215, 181, 109, .62);
    background: #080909;
  }
  .contact-mobile-bar a {
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .contact-mobile-bar a:first-child { background: var(--contact-gold); color: #080909; }
  .contact-mobile-bar a + a { border-left: 1px solid rgba(215, 181, 109, .42); color: #fff; }
  body.menu-open .contact-mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-primary-detail,
  .contact-form-submit,
  .contact-page-map iframe,
  .contact-page-map .access-map-loader {
    transition: none;
  }
  .contact-page-map .access-map-loader span { animation: none; border-color: var(--contact-gold); }
}
