/* ==========================================================================
   Motomarine v3 · Contact
   Info panel with form, contact cards, full width map,
   centered form, copy with map. Forms use the atoms in forms.css.
   ========================================================================== */

/* --- Contact list: icon box + label + value --- */
.cs-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.cs-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cs-contact-list li > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: var(--primary-tint-10);
    color: var(--primary);
    font-size: 18px;
    line-height: 1;
}
.cs-contact-list li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
    min-width: 0;
}
.cs-contact-list strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
}
.cs-contact-list span,
.cs-contact-list a {
    font-size: 15px;
    color: var(--body);
    overflow-wrap: anywhere;
}
.cs-contact-list a:hover {
    color: var(--primary);
}
.cs-contact-list--compact {
    gap: 12px;
}
.cs-contact-list--compact li {
    align-items: center;
}
.cs-contact-list--compact li > i {
    width: 36px;
    height: 36px;
    font-size: 15px;
}
.cs-contact-list--compact li > div {
    padding-top: 0;
}

/* --- Info panel with form: light info half + white form half in one box --- */
.cs-contact-split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--white);
    overflow: hidden;
}
.cs-contact-split__info {
    padding: 48px 40px;
    background: var(--bg-light);
    border-right: 1px solid var(--border);
}
.cs-contact-split__info .head-label {
    margin-bottom: 7px;
}
.cs-contact-split__info h2 {
    margin-bottom: 12px;
}
.cs-contact-split__info > p {
    margin: 0 0 28px;
}
.cs-contact-split__info .cs-contact-list {
    margin-bottom: 32px;
}
.cs-contact-split__form {
    padding: 48px 40px;
}
.bg-lighter .cs-contact-split {
    border: 0;
    box-shadow: var(--shadow);
}
/* On the light section the info half goes white too, the gray was blending into the page */
.bg-lighter .cs-contact-split__info {
    background: var(--white);
}
.bg-dark .cs-contact-split {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}
.bg-dark .cs-contact-split__info {
    background: rgba(255, 255, 255, .06);
    border-right-color: rgba(255, 255, 255, .12);
}
.bg-dark .cs-contact-split__info h2 {
    color: var(--white);
}
.bg-dark .cs-contact-split__info > p {
    color: rgba(255, 255, 255, .72);
}
.bg-dark .cs-contact-split__info .cs-contact-list li > i {
    background: var(--primary);
    color: var(--white);
}
.bg-dark .cs-contact-split__info .cs-contact-list strong {
    color: var(--white);
}
.bg-dark .cs-contact-split__info .cs-contact-list span,
.bg-dark .cs-contact-split__info .cs-contact-list a {
    color: rgba(255, 255, 255, .72);
}
.bg-dark .cs-contact-split__info .cs-contact-list a:hover {
    color: var(--white);
}

/* --- Map (shared by the full width map) --- */
.cs-map {
    position: relative;
    height: 100%;
    min-height: 360px;
    background: var(--light-bg);
}
.cs-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Contact cards: boxed centered teasers with a round icon --- */
.cs-contact-card .cs-teaser__icon--box i {
    font-size: 30px;
    line-height: 1;
    color: var(--primary);
}
.cs-contact-card.cs-teaser--dark .cs-teaser__icon--box i {
    color: var(--white);
}
.cs-contact-card__link {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    overflow-wrap: anywhere;
}
.cs-contact-card__link:hover {
    color: var(--primary-hover);
}
.cs-contact-card.cs-teaser--dark .cs-contact-card__link {
    color: var(--white);
}
.cs-contact-card.cs-teaser--dark .cs-contact-card__link:hover {
    color: var(--primary);
}
.cs-contact-card p {
    margin: 0;
}

/* --- Heading with a wide map underneath --- */
.cs-sechead--map {
    margin-bottom: 36px;
}
.cs-sechead--map h2 {
    margin-bottom: 0;
}
.cs-sechead--map p {
    margin-bottom: 0;
}
.cs-map--wide {
    height: 520px;
    min-height: 0;
    border-radius: 0;
    overflow: hidden;
}
.bg-dark .cs-map--wide {
    background: rgba(255, 255, 255, .04);
}

/* --- Full width map with a floating card --- */
.cs-contact-fullmap {
    position: relative;
}
.cs-contact-fullmap .cs-map {
    height: 560px;
}
.cs-contact-fullmap > .cs-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.cs-contact-fullmap__card {
    width: 380px;
    max-width: 100%;
    padding: 32px;
    border-radius: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}
.cs-contact-fullmap__card .head-label {
    margin-bottom: 7px;
}
.cs-contact-fullmap__card h3 {
    margin-bottom: 6px;
}
.cs-contact-fullmap__card > p {
    margin: 0 0 20px;
}
.cs-contact-fullmap__card .cs-contact-list {
    margin-bottom: 24px;
}

/* --- Centered form --- */
.cs-contact-center {
    max-width: 760px;
    margin: 0 auto;
}
.cs-contact-center__form {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--white);
}
.bg-lighter .cs-contact-center__form {
    border: 0;
    box-shadow: var(--shadow);
}
.bg-dark .cs-contact-center__form {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

/* --- Copy with map: copy column + round solid icons, map beside it --- */
.cs-contact-list--round {
    gap: 20px;
    margin: 32px 0 32px;
}
.cs-contact-list--round li {
    align-items: center;
    gap: 18px;
}
.cs-contact-list--round li > i {
    width: 52px;
    height: 52px;
    font-size: 20px;
}
.bg-lighter .cs-contact-list--round li > i {
    background: var(--white);
    box-shadow: rgba(0, 0, 0, .1) 0 0 5px 0, rgba(0, 0, 0, .1) 0 0 1px 0;
}
.bg-dark .cs-contact-list--round li > i {
    background: var(--primary);
    color: var(--white);
}
.cs-contact-list--round li > div {
    padding-top: 0;
}
.cs-contact-list--round strong {
    font-size: 16px;
}
.cs-map--findus {
    min-height: 450px;
    border-radius: 0;
    overflow: hidden;
}
.bg-dark .cs-contact-list--round strong {
    color: var(--white);
}
.bg-dark .cs-contact-list--round span,
.bg-dark .cs-contact-list--round a {
    color: rgba(255, 255, 255, .72);
}
.bg-dark .cs-contact-list--round a:hover {
    color: var(--white);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .cs-contact-split {
        grid-template-columns: 1fr;
    }
    .cs-contact-split__info {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .bg-dark .cs-contact-split__info {
        border-bottom-color: rgba(255, 255, 255, .12);
    }
    .cs-contact-split__info,
    .cs-contact-split__form,
    .cs-contact-center__form {
        padding: 36px 28px;
    }
    .cs-map,
    .cs-map--findus {
        min-height: 320px;
    }
    .cs-contact-fullmap .cs-map {
        height: 420px;
    }
    .cs-map--wide {
        height: 420px;
    }
    .cs-sechead--map {
        margin-bottom: 28px;
    }
    /* Card sits under the map instead of floating on it */
    .cs-contact-fullmap > .cs-container {
        position: static;
        display: block;
        margin-top: 24px;
    }
    .cs-contact-fullmap__card {
        width: 100%;
        padding: 28px;
        border: 1px solid var(--border);
        box-shadow: none;
    }
}
@media (max-width: 575px) {
    .cs-contact-split__info,
    .cs-contact-split__form,
    .cs-contact-center__form {
        padding: 28px 20px;
    }
    .cs-map,
    .cs-map--findus {
        min-height: 260px;
    }
    .cs-contact-fullmap .cs-map {
        height: 320px;
    }
    .cs-map--wide {
        height: 320px;
    }
    .cs-contact-fullmap__card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   v5 · Contact icons: round chips in a soft red tint with the icon in red
   and a faint outer ring, so the icons read clearly without shouting. On
   dark sections they switch to solid red.
   ========================================================================== */
.cs-contact-list li > i,
.bg-lighter .cs-contact-list--round li > i {
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-tint-10);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .04);
}
.bg-dark .cs-contact-list li > i,
.bg-dark .cs-contact-split__info .cs-contact-list li > i,
.bg-dark .cs-contact-list--round li > i {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .2);
}
.cs-contact-card .cs-teaser__icon--box {
    width: 72px;
    height: 72px;
    background: var(--primary-tint-10);
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .04);
}
.cs-contact-card .cs-teaser__icon--box i {
    font-size: 26px;
    color: var(--primary);
}
.cs-contact-card.cs-teaser--dark .cs-teaser__icon--box {
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .2);
}
.cs-contact-card.cs-teaser--dark .cs-teaser__icon--box i {
    color: var(--white);
}

/* ==========================================================================
   v5 · Form with info: dots fading out of the info panel's bottom corner
   ========================================================================== */
.cs-contact-split__info {
    position: relative;
    overflow: hidden;
}
.cs-contact-split__info > * {
    position: relative;
    z-index: 1;
}
.cs-contact-split__info::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
    height: 220px;
    background-image: radial-gradient(rgba(41, 64, 111, .22) 1.5px, transparent 1.6px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(315deg, #000, transparent 70%);
    mask-image: linear-gradient(315deg, #000, transparent 70%);
    pointer-events: none;
}
.bg-dark .cs-contact-split__info::after {
    background-image: radial-gradient(rgba(255, 255, 255, .2) 1.5px, transparent 1.6px);
}
@media (max-width: 575px) {
    .cs-contact-split__info::after {
        width: 130px;
        height: 130px;
    }
}

/* ==========================================================================
   v5 · Contact cards (.cs-contact-cards--modern)
   Left aligned cards: two-tone icon, red eyebrow title, the address, number
   or email set large, a note, then an action link on a hairline. Dots fade
   out of each card's top-right corner.
   ========================================================================== */
.cs-contact-cards--modern .cs-contact-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 36px 32px 28px;
    text-align: left;
    border-color: var(--border-light);
    box-shadow: rgba(0, 0, 0, .1) 0 0 5px 0, rgba(0, 0, 0, .1) 0 0 1px 0;
}
.cs-contact-cards--modern .cs-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(41, 64, 111, .22) 1.5px, transparent 1.6px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(225deg, #000, transparent 70%);
    mask-image: linear-gradient(225deg, #000, transparent 70%);
    pointer-events: none;
}
.cs-contact-cards--modern .cs-contact-card .cs-teaser__icon--box {
    width: 56px;
    height: 56px;
    margin: 0 0 24px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .12);
}
.cs-contact-cards--modern .cs-contact-card .cs-teaser__icon--box i {
    font-size: 22px;
    color: var(--white);
}
.cs-contact-cards--modern .cs-contact-card .cs-teaser__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
}
.cs-contact-cards--modern .cs-contact-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-text);
}
.cs-contact-cards--modern .cs-contact-card__link {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading);
}
.cs-contact-cards--modern .cs-contact-card__link:hover {
    color: var(--primary);
}
.cs-contact-cards--modern .cs-contact-card p {
    margin-bottom: 24px;
    font-size: 15px;
}
.cs-contact-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--heading);
}
.cs-contact-card__cta i {
    color: var(--primary);
    transition: transform .3s var(--ease-out);
}
.cs-contact-card__cta:hover {
    color: var(--primary);
}
.cs-contact-card__cta:hover i {
    transform: translateX(4px);
}
.bg-lighter .cs-contact-cards--modern .cs-contact-card {
    border-color: transparent;
}
.cs-contact-cards--modern .cs-contact-card.cs-teaser--dark {
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}
.cs-contact-cards--modern .cs-contact-card.cs-teaser--dark::before {
    background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.6px);
}
.cs-contact-cards--modern .cs-contact-card.cs-teaser--dark .cs-teaser__icon--box {
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .25);
}
.cs-contact-cards--modern .cs-teaser--dark .cs-contact-card__link {
    color: var(--white);
}
.cs-contact-cards--modern .cs-teaser--dark .cs-contact-card__link:hover {
    color: var(--primary);
}
.cs-teaser--dark .cs-contact-card__cta {
    border-top-color: rgba(255, 255, 255, .12);
    color: var(--white);
}
@media (max-width: 575px) {
    .cs-contact-cards--modern .cs-contact-card {
        padding: 28px 22px 22px;
    }
    .cs-contact-cards--modern .cs-contact-card__link {
        font-size: 18px;
    }
}

/* ==========================================================================
   v5 · Map with heading: address and phone bar floating over the map foot
   ========================================================================== */
.cs-map-info {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: -56px 40px 0;
    border: 1px solid var(--border-light);
    background: var(--white);
    box-shadow: rgba(0, 0, 0, .1) 0 0 5px 0, rgba(0, 0, 0, .1) 0 0 1px 0;
}
.cs-map-info__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 32px;
}
.cs-map-info__item + .cs-map-info__item {
    border-left: 1px solid var(--border-light);
}
.cs-map-info__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading);
}
.cs-map-info__note {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-text);
}
.cs-map-info__row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--body);
}
.cs-map-info__row i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    color: var(--primary);
    background: var(--primary-tint-10);
}
a.cs-map-info__row {
    font-weight: 600;
    color: var(--heading);
}
a.cs-map-info__row:hover {
    color: var(--primary);
}
.bg-lighter .cs-map-info {
    border-color: transparent;
}
.bg-dark .cs-map-info {
    border-color: rgba(255, 255, 255, .12);
    background: #16203a;
    box-shadow: none;
}
.bg-dark .cs-map-info__item + .cs-map-info__item {
    border-left-color: rgba(255, 255, 255, .12);
}
.bg-dark .cs-map-info__name,
.bg-dark a.cs-map-info__row {
    color: var(--white);
}
.bg-dark .cs-map-info__row {
    color: rgba(255, 255, 255, .72);
}
.bg-dark .cs-map-info__row i {
    color: var(--white);
    background: var(--primary);
}
.bg-dark a.cs-map-info__row:hover {
    color: var(--primary);
}
@media (max-width: 991px) {
    .cs-map-info {
        grid-template-columns: 1fr;
        margin: -32px 20px 0;
    }
    .cs-map-info__item + .cs-map-info__item {
        border-top: 1px solid var(--border-light);
        border-left: 0;
    }
    .bg-dark .cs-map-info__item + .cs-map-info__item {
        border-top-color: rgba(255, 255, 255, .12);
    }
}
@media (max-width: 575px) {
    .cs-map-info {
        margin: -24px 12px 0;
    }
    .cs-map-info__item {
        padding: 22px 20px;
    }
}
/* Contact cards: no dots, a thinner and lighter shadow */
.cs-contact-cards--modern .cs-contact-card::before {
    content: none;
}
.cs-contact-cards--modern .cs-contact-card {
    box-shadow: rgba(15, 23, 43, .05) 0 1px 3px 0;
}
.cs-contact-cards--modern .cs-contact-card.cs-teaser--dark {
    box-shadow: none;
}
/* Single location: icon beside a label and value */
.cs-map-info--single .cs-map-info__item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
.cs-map-info--single .cs-map-info__item > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 19px;
    color: var(--primary);
    background: var(--primary-tint-10);
}
.cs-map-info--single .cs-map-info__item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.cs-map-info--single .cs-map-info__note {
    margin-bottom: 0;
}
.cs-map-info__value {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--heading);
}
a.cs-map-info__value:hover {
    color: var(--primary);
}
.bg-dark .cs-map-info--single .cs-map-info__item > i {
    color: var(--white);
    background: var(--primary);
}
.bg-dark .cs-map-info__value {
    color: var(--white);
}
.bg-dark a.cs-map-info__value:hover {
    color: var(--primary);
}

/* ==========================================================================
   v5 · Copy with map (.cs-findus--modern)
   Contact rows sit in one hairline panel split by rules, labels as red
   eyebrows over bold values; the map runs the full column height with a
   pill link to open it in Google Maps.
   ========================================================================== */
.cs-findus--modern {
    align-items: stretch !important;
}
.cs-findus--modern > .col-lg-6:first-child {
    align-self: center;
}
.cs-findus--modern .cs-contact-list--round {
    gap: 0;
    margin: 28px 0 32px;
    border: 1px solid var(--border-light);
    background: var(--white);
    box-shadow: rgba(15, 23, 43, .05) 0 1px 3px 0;
}
.cs-findus--modern .cs-contact-list--round li {
    gap: 16px;
    padding: 18px 22px;
}
.cs-findus--modern .cs-contact-list--round li + li {
    border-top: 1px solid var(--border-light);
}
.cs-findus--modern .cs-contact-list--round li > i {
    width: 44px;
    height: 44px;
    font-size: 17px;
    color: var(--primary);
    background: var(--primary-tint-10);
    box-shadow: none;
}
.cs-findus--modern .cs-contact-list--round strong {
    display: block;
    margin-bottom: 3px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-text);
}
.cs-findus--modern .cs-contact-list--round span,
.cs-findus--modern .cs-contact-list--round a {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--heading);
}
.cs-findus--modern .cs-contact-list--round a:hover {
    color: var(--primary);
}
.cs-findus--modern .cs-map--findus {
    position: relative;
    height: 100%;
    border: 1px solid var(--border-light);
}
.cs-findus--modern .cs-map--findus iframe {
    height: 100%;
}
.cs-map__open {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--heading);
    background: var(--white);
    box-shadow: rgba(15, 23, 43, .12) 0 2px 8px 0;
}
.cs-map__open i:first-child {
    color: var(--primary);
}
.cs-map__open i:last-child {
    font-size: 11px;
}
.cs-map__open:hover {
    color: var(--primary);
}
.bg-lighter .cs-findus--modern .cs-contact-list--round {
    border-color: transparent;
}
.bg-lighter .cs-findus--modern .cs-contact-list--round li > i {
    background: var(--primary-tint-10);
    box-shadow: none;
}
.bg-dark .cs-findus--modern .cs-contact-list--round {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
}
.bg-dark .cs-findus--modern .cs-contact-list--round li + li {
    border-top-color: rgba(255, 255, 255, .12);
}
.bg-dark .cs-findus--modern .cs-contact-list--round li > i {
    color: var(--white);
    background: var(--primary);
}
.bg-dark .cs-findus--modern .cs-contact-list--round span,
.bg-dark .cs-findus--modern .cs-contact-list--round a {
    color: var(--white);
}
.bg-dark .cs-findus--modern .cs-map--findus {
    border-color: rgba(255, 255, 255, .12);
}
@media (max-width: 575px) {
    .cs-findus--modern .cs-contact-list--round li {
        padding: 16px;
    }
    .cs-findus--modern .cs-contact-list--round span,
    .cs-findus--modern .cs-contact-list--round a {
        font-size: 15px;
    }
}
