@import url("base-TLbALmX.css");

/* Shared tokens/reset/header/footer moved to base.css:
   root, html, body, img, a, site-header, header-inner, logo, main-nav, header-actions, site-footer, footer-inner, footer-brand, footer-logo, footer-column, footer-bottom
*/

/* ========================================================
   NORDISKA — CONTACT
======================================================== */


/* ========================================================
   RESET
======================================================== */

* {
  box-sizing: border-box;
}


button,
input,
textarea,
select {
  font: inherit;
}


/* ========================================================
   HEADER
======================================================== */


.main-nav a,
.header-actions a {

  position: relative;

}


.main-nav a.active::after {

  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -8px;

  height: 1px;

  background: var(--dark);

}


/* ========================================================
   HERO
======================================================== */

.contact-hero {

  width: min(calc(100% - 80px), var(--container));

  margin: auto;

  padding: 70px 0 125px;

}


.contact-hero-top {

  display: flex;

  justify-content: space-between;

  padding-bottom: 20px;

  border-bottom: 1px solid var(--border);

  color: var(--muted);

  font-size: 9px;

  letter-spacing: .14em;

  text-transform: uppercase;

}


.contact-hero-content {

  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 80px;

  align-items: end;

  padding-top: 85px;

}


.contact-hero h1 {

  max-width: 950px;

  margin: 0;

  font-family: var(--serif);

  font-size: clamp(80px, 11vw, 160px);

  font-weight: 400;

  line-height: .78;

  letter-spacing: -.065em;

}


.contact-hero h1 em {

  color: #89877f;

}


.contact-hero-content > p {

  max-width: 350px;

  margin: 0 0 5px;

  color: #62645f;

  font-size: 12px;

  line-height: 1.75;

}


/* ========================================================
   CONTACT SECTION
======================================================== */

.contact-section {

  width: min(calc(100% - 80px), var(--container));

  margin: auto;

  display: grid;

  grid-template-columns: 1.5fr .7fr;

  gap: 150px;

  padding-bottom: 160px;

}


.section-label {

  color: var(--muted);

  font-size: 9px;

  letter-spacing: .14em;

  text-transform: uppercase;

}


/* ========================================================
   FORM
======================================================== */

.contact-form-wrapper {

  max-width: 760px;

}


.contact-form {

  margin-top: 65px;

}


.form-field {

  position: relative;

  padding: 23px 0;

  border-bottom: 1px solid var(--border);

}


.form-field label {

  display: block;

  margin-bottom: 12px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: .13em;

  text-transform: uppercase;

}


.form-field input,
.form-field select,
.form-field textarea {

  width: 100%;

  border: 0;

  outline: 0;

  padding: 0;

  background: transparent;

  color: var(--dark);

  font-size: 13px;

}


.form-field input,
.form-field select {

  height: 30px;

}


.form-field textarea {

  min-height: 130px;

  padding-top: 5px;

  line-height: 1.7;

  resize: vertical;

}


.form-field input::placeholder,
.form-field textarea::placeholder {

  color: #aaa79f;

}


.form-field select {

  appearance: none;

  cursor: pointer;

}


.form-field:has(select)::after {

  content: "⌄";

  position: absolute;

  right: 0;

  bottom: 28px;

  color: var(--muted);

  pointer-events: none;

}


/* ========================================================
   CHECKBOX
======================================================== */

.form-checkbox {

  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-top: 25px;

  color: var(--muted);

  font-size: 9px;

  line-height: 1.5;

  cursor: pointer;

}


.form-checkbox input {

  appearance: none;

  flex: 0 0 auto;

  width: 14px;

  height: 14px;

  margin: 0;

  border: 1px solid #aaa79f;

  background: transparent;

  cursor: pointer;

}


.form-checkbox input:checked {

  border-color: var(--dark);

  background: var(--dark);

}


.form-checkbox input:checked::after {

  content: "✓";

  display: flex;

  align-items: center;

  justify-content: center;

  height: 100%;

  color: var(--ivory);

  font-size: 8px;

}


/* ========================================================
   SUBMIT
======================================================== */

.submit-button {

  display: flex;

  justify-content: space-between;

  align-items: center;

  width: 100%;

  margin-top: 45px;

  padding: 18px 0;

  border: 0;

  border-bottom: 1px solid var(--dark);

  background: transparent;

  color: var(--dark);

  cursor: pointer;

  font-size: 9px;

  letter-spacing: .13em;

  text-align: left;

  text-transform: uppercase;

}


.submit-button span {

  font-size: 18px;

  transition:
    transform .25s ease;

}


.submit-button:hover span {

  transform: translateX(7px);

}


.form-note {

  margin-top: 15px;

  color: var(--muted);

  font-size: 8px;

}


/* ========================================================
   CONTACT INFORMATION
======================================================== */

.contact-info {

  padding-top: 0;

}


.info-block {

  padding: 0 0 45px;

  margin-bottom: 45px;

  border-bottom: 1px solid var(--border);

}


.info-block--last {

  border-bottom: 0;

  margin-bottom: 0;

}


.info-label {

  margin-bottom: 18px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: .13em;

  text-transform: uppercase;

}


.info-main {

  display: inline-block;

  font-family: var(--serif);

  font-size: 26px;

  line-height: 1;

  letter-spacing: -.02em;

  /* E-mail na najwęższych telefonach (320px) -- inline-block bierze szerokość z najdłuższego
     nierozdzielnego ciągu, więc `break-word` z body tu nie wystarcza. */
  overflow-wrap: anywhere;

}


.info-text {

  margin: 0;

  color: #62645f;

  font-size: 11px;

  line-height: 1.7;

}


.text-link {

  display: inline-flex;

  gap: 18px;

  margin-top: 20px;

  padding-bottom: 5px;

  border-bottom: 1px solid var(--dark);

  font-size: 8px;

  letter-spacing: .12em;

  text-transform: uppercase;

}


.text-link span {

  font-size: 12px;

}


.social-links {

  display: flex;

  flex-direction: column;

  gap: 8px;

}


.social-links a {

  font-family: var(--serif);

  font-size: 22px;

}


/* ========================================================
   IMAGE
======================================================== */

.contact-image {

  width: min(calc(100% - 80px), var(--container));

  margin: 0 auto 170px;

  position: relative;

}


.contact-image img {

  width: 100%;

  height: 650px;

  object-fit: cover;

}


.image-caption {

  display: flex;

  justify-content: space-between;

  padding-top: 14px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: .12em;

  text-transform: uppercase;

}


/* ========================================================
   FAQ
======================================================== */

.contact-faq {

  width: min(calc(100% - 80px), var(--container));

  margin: auto;

  padding-bottom: 180px;

  display: grid;

  grid-template-columns: 1fr 1.4fr;

  gap: 120px;

}


.faq-intro h2 {

  max-width: 500px;

  margin: 50px 0 0;

  font-family: var(--serif);

  font-size: clamp(50px, 5vw, 75px);

  font-weight: 400;

  line-height: .88;

  letter-spacing: -.045em;

}


.faq-list {

  border-top: 1px solid var(--border);

}


.faq-list details {

  border-bottom: 1px solid var(--border);

}


.faq-list summary {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 25px 0;

  cursor: pointer;

  list-style: none;

  font-family: var(--serif);

  font-size: 25px;

  line-height: 1.1;

}


.faq-list summary::-webkit-details-marker {

  display: none;

}


.faq-list summary span {

  color: var(--muted);

  font-family: var(--sans);

  font-size: 17px;

  font-weight: 300;

  transition:
    transform .25s ease;

}


.faq-list details[open] summary span {

  transform: rotate(45deg);

}


.faq-answer {

  max-width: 500px;

  padding: 0 0 28px;

}


.faq-answer p {

  margin: 0;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.75;

}


/* ========================================================
   NEWSLETTER
======================================================== */

.newsletter {

  padding: 140px 0;

  background: var(--dark);

  color: var(--ivory);

}


.newsletter-label {

  width: min(calc(100% - 80px), var(--container));

  margin: auto;

  color: var(--muted-on-dark);

  font-size: 9px;

  letter-spacing: .14em;

  text-transform: uppercase;

}


.newsletter-content {

  width: min(calc(100% - 80px), 900px);

  margin: 65px auto 0;

  text-align: center;

}


.newsletter-content h2 {

  margin: 0;

  font-family: var(--serif);

  font-size: clamp(65px, 9vw, 125px);

  font-weight: 400;

  line-height: .8;

  letter-spacing: -.055em;

}


.newsletter-content h2 em {

  color: #85867f;

}


.newsletter-content p {

  max-width: 420px;

  margin: 45px auto;

  color: #92938e;

  font-size: 12px;

  line-height: 1.7;

}


.newsletter-form {

  display: flex;

  max-width: 500px;

  margin: auto;

  border-bottom: 1px solid #656660;

}


.newsletter-form input {

  flex: 1;

  min-width: 0;

  padding: 18px 0;

  border: 0;

  outline: none;

  background: transparent;

  color: var(--ivory);

  font-size: 11px;

}


.newsletter-form input::placeholder {

  color: var(--muted-on-dark);

}


.newsletter-form button {

  border: 0;

  background: transparent;

  color: var(--ivory);

  cursor: pointer;

  font-size: 9px;

  letter-spacing: .12em;

  text-transform: uppercase;

}


.newsletter-form button span {

  margin-left: 20px;

  font-size: 15px;

}


/* ========================================================
   FOOTER
======================================================== */


.footer-brand p {

  margin-top: 20px;

  color: #92938e;

  font-family: var(--serif);

  font-size: 22px;

  line-height: 1.05;

}


.footer-column h3 {

  margin: 0 0 12px;

  color: var(--muted-on-dark);

  font-size: 9px;

  font-weight: 400;

  letter-spacing: .14em;

  text-transform: uppercase;

}


.footer-column a {

  font-size: 12px;

}


/* ========================================================
   MOBILE
======================================================== */

@media (max-width: 700px) {

  .header-inner,
  .contact-hero,
  .contact-section,
  .contact-image,
  .contact-faq,
  .newsletter-label,
  .newsletter-content,
  .footer-inner,
  .footer-bottom {

    width: calc(100% - 32px);

  }


  /* HERO */

  .contact-hero {

    padding: 55px 0 80px;

  }


  .contact-hero-top {

    font-size: 8px;

  }


  .contact-hero-content {

    display: block;

    padding-top: 70px;

  }


  .contact-hero h1 {

    font-size: 19vw;

  }


  .contact-hero-content > p {

    margin-top: 60px;

  }


  /* FORM + INFO */

  .contact-section {

    display: block;

    padding-bottom: 100px;

  }


  .contact-form {

    margin-top: 50px;

  }


  .contact-info {

    margin-top: 100px;

  }


  .info-main {

    font-size: 24px;

  }


  /* IMAGE */

  .contact-image {

    margin-bottom: 100px;

  }


  .contact-image img {

    height: 500px;

  }


  .image-caption {

    display: block;

    line-height: 1.8;

  }


  /* FAQ */

  .contact-faq {

    display: block;

    padding-bottom: 110px;

  }


  .faq-intro h2 {

    margin-top: 35px;

    font-size: 55px;

  }


  .faq-list {

    margin-top: 70px;

  }


  .faq-list summary {

    font-size: 21px;

  }


  /* NEWSLETTER */

  .newsletter {

    padding: 100px 0;

  }


  .newsletter-content h2 {

    font-size: 19vw;

  }


  .newsletter-form {

    display: block;

  }


  .newsletter-form input {

    width: 100%;

  }


  .newsletter-form button {

    width: 100%;

    padding: 15px 0;

    text-align: left;

  }


  /* FOOTER */


}


/* Nie w mockupie (statyczna makieta nie symuluje stanu po wysłaniu) -- komunikaty flash po
   przesłaniu formularza (ContactUsController) */
.form-alert {
  margin-bottom: 25px;
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.6;
}

.form-alert--success {
  background: var(--ivory-dark);
  color: var(--dark);
  border: 1px solid var(--border);
}

.form-alert--error {
  background: #f6e9e6;
  color: #7a2e20;
  border: 1px solid #e0b6ac;
}
