/*========================================
=               Banner                   =
========================================*/

@media only screen and (min-width: 0rem) {
  #banner-2285 {
    padding: var(--sectionPadding);
    padding-top: clamp(11.875rem, 25vw, 17.5rem);
    padding-bottom: 0rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #banner-2285 .cs-container {
    text-align: center;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #banner-2285 .cs-int-title {
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 600;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 30rem;
    margin: 0 0 1rem;
    color: var(--white);
    position: relative;
  }
  #banner-2285 .cs-text {
    text-align: inherit;
    margin-bottom: clamp(3.75rem, 7vw, 7.5rem);
    max-width: 27rem;
    color: var(--white);
  }
  #banner-2285 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #banner-2285 .cs-background:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--dark);
    opacity: 0.72;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #banner-2285 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
  }
}

/*========================================
=               Formulär                 =
========================================*/

@media only screen and (min-width: 0rem) {
  #contact-323 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #contact-323 .cs-container {
    width: 100%;
    max-width: 50rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3.25rem;
  }
  #contact-323 .cs-left-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  #contact-323 .cs-content {
    text-align: center;
  }
  #contact-323 .cs-text {
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
    max-width: 30rem;
  }
  #contact-323 .form {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 60rem;
  }
  #contact-323 .tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  #contact-323 .tab {
    padding: .7rem 2rem;
    background: #e5e5e5;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    font-weight: 600;
    transition: .25s ease;
  }
  #contact-323 .tab.active {
    background: var(--primary);
    color: #fff;
  }
  #contact-323 form {
    display: grid;
    gap: 1.2rem;
  }
  #contact-323 .label {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: 1rem;
  }
  #contact-323 .input {
    background: #efefef;
    border-radius: .5rem;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
  }
  #contact-323 .input::placeholder {
    color: #7d799c;
    opacity: 0.6;
  }
  #contact-323 .textarea {
    min-height: 7.5rem;
    padding-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: inherit;
    resize: vertical;
    max-height: 15rem;
    overflow-y: auto;
  }
  #service-checkboxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin-top: .7rem;
    padding: .5rem 0;
  }
  #service-checkboxes label {
    display: flex;
    align-items: center;
    gap: .8rem;
    cursor: pointer;
    padding: .7rem 1rem;
    background: #f5f5f5;
    border-radius: .5rem;
    transition: .2s;
    border: 1px solid #ddd;
  }
  #service-checkboxes label:hover {
    background: #ededed;
    border-color: var(--primary);
  }
  #service-checkboxes input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary);
  }
  #contact-323 .cs-button-solid {
    border: none;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    margin: 1rem auto 0 auto;
    display: block;
    padding: 0.2rem 2rem;
    grid-column: 1 / -1;
  }
  #contact-323 .cs-map {
    width: 100%;
    max-width: 610px;
    height: 300px;
    min-height: 300px;
  }
  #contact-323 .cs-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    border: 0;
  }
}

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

@media (min-width: 47rem) and (max-width: 64.9rem) {
  #contact-323 .cs-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  #contact-323 form {
    grid-template-columns: repeat(2, 1fr);
  }
  #contact-323 textarea,
  #contact-323 .label:nth-child(1),
  #contact-323 .label:nth-child(4),
  #contact-323 .label:nth-child(5) {
    grid-column: 1 / 3;
  }
  #service-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
  #contact-323 .cs-map {
    width: 100%;
    max-width: 1000px;
  }
  #contact-323 .cs-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}

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

@media only screen and (min-width: 65rem) {

  #contact-323 .cs-container {
    max-width: 80rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "left form"
      "map  form";
    gap: 3.25rem;
    align-items: stretch;
  }
  #contact-323 .cs-left-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
  }
  #contact-323 .cs-content {
    max-width: 40rem;
  }
  #contact-323 .cs-title,
  #contact-323 .cs-topper,
  #contact-323 .cs-text {
    text-align: left;
    margin-left: 0;
  }
  #contact-323 .cs-title {
    max-width: 35rem;
  }
  #contact-323 .cs-email,
  #contact-323 .cs-phone {
    width: 47%;
  }
  #contact-323 .cs-button-solid {
    border: none;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    margin: 1rem auto 0 auto;
    display: block;
    padding: 0.2rem 2rem;
    grid-column: 1 / -1;
  }
  #contact-323 .form {
    flex: 1;
    max-width: 60rem;
    padding: 3rem;
  }
  #contact-323 form {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  #contact-323 .label:nth-child(1),
  #contact-323 .label:nth-child(4),
  #contact-323 .label:nth-child(5) {
    grid-column: 1 / -1;
  }
  #service-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
  #contact-323 .cs-map {
    width: 100%;
    max-width: 1500px;
    flex-grow: 1;
    height: 100%;
    min-height: 70%;
    border-radius: 1.5rem;
  }
  #contact-323 .cs-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  #contact-323 .cs-left-column { grid-area: left; }
  #contact-323 .form           { grid-area: form; }
  #contact-323 .cs-map         { grid-area: map; }
}

@media (max-width: 64.9rem) {
  #contact-323 .cs-container {
    display: flex;
    flex-direction: column;
    gap: 3.25rem;
  }
  #contact-323 .cs-left-column { order: 1; }
  #contact-323 .form { order: 2; }
  #contact-323 .cs-map { order: 3; }
}

/*======= EXTREMT SMÅ SKÄRMAR 360px =======*/

@media (max-width: 25rem) {
  #contact-323 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  #contact-323 .form {
    padding: 1rem;
  }
  #contact-323 .input,
  #contact-323 .textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }
  #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 - 1024px =======*/

@media only screen and (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 only screen and (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;
  }
}
