/*========================================
=               Banner                   =
========================================*/
#banner {
  position: relative;
  padding: var(--sectionPadding);
  background: linear-gradient(135deg, #1f1f1f 0%, #282828 100%);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20rem;
  text-align: center;
}
#banner .banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}
#banner .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-inline: 1rem;
}
#banner .container .banner-topper {
  font-size: 2rem;
  margin: 0;
}

/* Tablet */
@media (min-width: 48rem) {
  #banner {
    min-height: 25rem;
  }
  #banner .container .banner-topper {
    font-size: 3rem;
  }
}

/* Desktop */
@media (min-width: 64rem) {
  #banner {
    min-height: 30rem;
  }
  #banner .container h1 {
    font-size: 3.5rem;
  }
}
/*========================================
=             Stad kontakt               =
========================================*/

#city-contact {
  padding: var(--sectionPadding);
  position: relative;
  z-index: 1;
}

#city-contact .cs-container {
  width: 100%;
  max-width: 50rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
}

#city-contact .cs-left-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#city-contact .content {
  width: 100%;
}

#city-contact .title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

#city-contact .text {
  margin: 0 0 1rem;
  color: #333;
  line-height: 1.7;
}

/* Form */

#city-contact .form {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  background: #fff;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Form header */

#city-contact .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

#city-contact .form-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

/* Category tabs */

#city-contact .form-area {
  margin-bottom: 2rem;
}

#city-contact .area-label {
  display: block;
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#city-contact .tabs {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

#city-contact .tab {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  background: #e5e5e5;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  white-space: nowrap;
  transition: 0.25s ease;
}

#city-contact .tab.active {
  background: var(--primary);
  color: #fff;
}

#city-contact .tab:hover {
  background: #d9d9d9;
}

#city-contact .tab.active:hover {
  background: var(--primary);
}

#city-contact .tab:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Form grid */

#city-contact form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

#city-contact .label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1rem;
}

#city-contact .services-label > span {
  font-weight: 600;
}

#city-contact .services-label.is-hidden {
  display: none;
}

#city-contact .input {
  width: 100%;
  background: #efefef;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

#city-contact .input::placeholder {
  color: #7d799c;
  opacity: 0.6;
}

#city-contact .input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

#city-contact .textarea {
  min-height: 7.5rem;
  max-height: 15rem;
  padding-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  resize: vertical;
  overflow-y: auto;
}

/* Checkboxes */

#city-contact #service-checkboxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 0.7rem;
  padding: 0.5rem 0;
}

#city-contact #service-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  padding: 0.7rem 1rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  transition: 0.2s ease;
}

#city-contact #service-checkboxes label:hover {
  background: #ededed;
  border-color: var(--primary);
}

#city-contact #service-checkboxes input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--primary);
}

/* Recaptcha + submit */

#city-contact .g-recaptcha {
  grid-column: 1 / -1;
}

#city-contact .form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2rem;
  color: #8a1f1f;
  font-size: 0.95rem;
}

#city-contact .cs-button-solid {
  grid-column: 1 / -1;
  display: block;
  min-height: 3.5rem;
  margin: 1rem auto 0;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

#city-contact .cs-button-solid:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#city-contact .cs-button-solid.is-success,
#city-contact .cs-button-solid.is-success:hover {
  background: #2e8b57;
  color: #fff;
  cursor: default;
}

/* Map */

#city-contact .cs-map {
  width: 100%;
  height: 18rem;
  min-height: 18rem;
}

#city-contact .cs-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

/*======= MOBILE + TABLET ORDER =======*/

@media only screen and (max-width: 64.99rem) {
  #city-contact .cs-container {
    display: flex;
    flex-direction: column;
  }

  #city-contact .cs-left-column {
    display: contents;
  }

  #city-contact .content {
    order: 1;
  }

  #city-contact .form {
    order: 2;
  }

  #city-contact .cs-map {
    order: 3;
  }
}

/*======= TABLET =======*/

@media only screen and (min-width: 47rem) {
  #city-contact .cs-container {
    max-width: 50rem;
  }

  #city-contact form {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  #city-contact .label:first-of-type,
  #city-contact .services-label,
  #city-contact .message-label {
    grid-column: 1 / -1;
  }

  #city-contact #service-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }

  #city-contact .cs-map {
    height: 22rem;
    min-height: 22rem;
  }
}

/*======= DESKTOP =======*/

@media only screen and (min-width: 65rem) {
  #city-contact .cs-container {
    max-width: 80rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.25rem;
    align-items: start;
  }

  #city-contact .cs-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #city-contact .content {
    padding-top: 1rem;
  }

  #city-contact .form {
    margin: 0;
  }

  #city-contact .cs-map {
    height: 38rem;
    min-height: 38rem;
  }
}

/*======= LARGE DESKTOP =======*/

@media only screen and (min-width: 90rem) {
  #city-contact .cs-map {
    height: 41rem;
    min-height: 41rem;
  }
}

/*======= VERY SMALL SCREENS =======*/

@media only screen and (max-width: 25rem) {
  #city-contact {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  #city-contact .form {
    padding: 1rem;
  }

  #city-contact .tabs {
    gap: 0.5rem;
  }

  #city-contact .tab {
    padding: 0.65rem 0.4rem;
    font-size: 0.85rem;
  }

  #city-contact .input,
  #city-contact .textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  #city-contact #service-checkboxes label {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

/*======================================
=         Kontaktinformation           =
======================================*/

@media only screen and (min-width: 0rem) {
  #contact-strip-325 {
    padding: var(--sectionPadding);
    background-color: #282828;
  }
  #contact-strip-325 .cs-stat-group {
    width: 100%;
    max-width: 37.5rem;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
  }
  #contact-strip-325 .cs-item {
    list-style: none;
    width: 18.125rem;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 6rem;
  }
  #contact-strip-325 .cs-item:hover .cs-picture {
    background-color: var(--secondary);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transform: scale(1.05);
  }
  #contact-strip-325 .cs-picture {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary);
    margin-right: clamp(0.75rem, 3vw, 1.25rem);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:
      background-color 0.3s,
      box-shadow 0.3s,
      transform 0.6s;
    flex: none;
  }
  #contact-strip-325 .cs-flex-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  #contact-strip-325 .cs-header {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0 0 0.75rem 0;
    color: var(--white);
    display: block;
  }
  #contact-strip-325 .cs-link {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-decoration: none;
    color: var(--white);
    display: block;
    transition: color 0.3s;
  }
  #contact-strip-325 .cs-link:hover {
    color: var(--secondary);
  }
  #contact-strip-325 .cs-icon-wrapper {
    position: relative;
    width: 1.8rem;
    height: 1.8rem;
  }
  #contact-strip-325 .cs-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
  }
  #contact-strip-325 .cs-icon-default {
    opacity: 1;
  }
  #contact-strip-325 .cs-icon-hover {
    opacity: 0;
  }
  #contact-strip-325 .cs-item:hover .cs-icon-default {
    opacity: 0;
  }
  #contact-strip-325 .cs-item:hover .cs-icon-hover {
    opacity: 1;
  }
  #contact-strip-325 .em {
    color: white;
    text-decoration: none;
  }
  #contact-strip-325 .em:hover {
    color: var(--secondary);
  }
}

/*======= TABLET 768px =======*/

@media (min-width: 48rem) and (max-width: 63.99rem) {
  #contact-strip-325 .cs-stat-group {
    flex-direction: row;
    gap: 2rem;
  }
  #contact-strip-325 .cs-picture {
    width: 4rem;
    height: 4rem;
  }
  #contact-strip-325 .cs-header {
    font-size: 1rem;
  }
  #contact-strip-325 .cs-link {
    font-size: 0.7rem;
  }
  #contact-strip-325 .cs-stat-group > li:nth-child(3) .cs-header {
    padding-top: 1rem;
  }
}

/*======= DESKTOP 1024px =======*/

@media (min-width: 64rem) {
  #contact-strip-325 .cs-stat-group {
    flex-direction: row;
    max-width: 80rem;
    justify-content: space-evenly;
    flex-wrap: nowrap;
  }
  #contact-strip-325 .cs-stat-group > li:nth-child(3) .cs-header {
    padding-top: 1.5rem;
  }
}

@media (max-width: 48rem) {
  .mobile-hide {
    display: none;
  }
}
