:root {
    --ship-block-navy: #071d2b;
    --ship-block-navy-soft: #0d2b3c;
    --ship-block-blue: #1a7890;
    --ship-block-aqua: #7cc7c9;
    --ship-block-gold: #d5a860;
    --ship-block-cream: #f3efe7;
    --ship-block-paper: #fbfaf6;
    --ship-block-white: #ffffff;
    --ship-block-text: #18303b;
    --ship-block-muted: #6d7c82;
    --ship-block-border: rgba(7, 29, 43, 0.13);
    --ship-block-shadow: 0 24px 70px rgba(7, 29, 43, 0.12);
}

.ship-highlights-section,
.ship-highlights-section *,
.ship-contact-section,
.ship-contact-section * {
    box-sizing: border-box;
}

/* Előnyök */

.ship-highlights-section {
    position: relative;
    z-index: 5;
    padding: 0 0 90px;
    background: var(--ship-block-paper);
}

.ship-highlights-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ship-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--ship-block-border);
    border-radius: 24px;
    background: var(--ship-block-white);
    box-shadow: var(--ship-block-shadow);
}

.ship-highlight-card {
    min-width: 0;
    min-height: 195px;
    display: grid;
    align-content: start;
    gap: 22px;
    padding: 32px;
}

.ship-highlight-card + .ship-highlight-card {
    border-left: 1px solid var(--ship-block-border);
}

.ship-highlight-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ship-block-blue);
    background: rgba(124, 199, 201, 0.16);
    font-size: 21px;
}

.ship-highlight-card h3 {
    margin: 0 0 7px;
    color: var(--ship-block-navy);
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
}

.ship-highlight-card p {
    margin: 0;
    color: var(--ship-block-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Kapcsolat */

.ship-contact-section {
    padding: 25px 0 120px;
    background: var(--ship-block-cream);
}

.ship-contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ship-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    overflow: hidden;
    border-radius: 34px;
    color: var(--ship-block-white);
    background: var(--ship-block-navy-soft);
    box-shadow: 0 25px 75px rgba(7, 29, 43, 0.14);
}

.ship-contact-content {
    padding: clamp(44px, 6vw, 80px);
}

.ship-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--ship-block-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ship-contact-eyebrow::before {
    content: "";
    width: 35px;
    height: 1px;
    background: currentColor;
}

.ship-contact-content h2 {
    max-width: 590px;
    margin: 0;
    color: var(--ship-block-white);
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.ship-contact-description {
    max-width: 540px;
    margin: 23px 0 36px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    line-height: 1.75;
}

.ship-contact-list {
    display: grid;
    gap: 17px;
}

.ship-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--ship-block-white);
    text-decoration: none;
}

a.ship-contact-item {
    transition: transform 0.2s ease;
}

a.ship-contact-item:hover {
    transform: translateX(4px);
    color: var(--ship-block-white);
    text-decoration: none;
}

.ship-contact-item-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ship-block-gold);
    background: rgba(255, 255, 255, 0.07);
    font-size: 16px;
}

.ship-contact-item small {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ship-contact-item strong {
    display: block;
    color: var(--ship-block-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.ship-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 38px;
}

.ship-contact-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.ship-contact-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.ship-contact-button-primary {
    color: var(--ship-block-navy);
    background: var(--ship-block-gold);
}

.ship-contact-button-primary:hover {
    color: var(--ship-block-navy);
    background: #e2b875;
    box-shadow: 0 12px 30px rgba(213, 168, 96, 0.24);
}

.ship-contact-button-outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--ship-block-white);
    background: rgba(255, 255, 255, 0.05);
}

.ship-contact-button-outline:hover {
    color: var(--ship-block-navy);
    background: var(--ship-block-white);
}

.ship-contact-image {
    min-height: 570px;
    background:
        linear-gradient(
            180deg,
            rgba(4, 21, 31, 0.04),
            rgba(4, 21, 31, 0.32)
        ),
        url("/_projects/osszkerek/templates/hajosjogsi/images/ship-contact.jpg")
            center / cover no-repeat;
}

/* Tablet */

@media (max-width: 1000px) {
    .ship-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ship-highlight-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--ship-block-border);
    }

    .ship-highlight-card:nth-child(4) {
        border-top: 1px solid var(--ship-block-border);
    }

    .ship-contact-card {
        grid-template-columns: 1fr;
    }

    .ship-contact-image {
        min-height: 410px;
    }
}

/* Mobil */

@media (max-width: 720px) {
    .ship-highlights-section {
        padding-bottom: 70px;
    }

    .ship-highlights-container,
    .ship-contact-container {
        width: min(100% - 24px, 1180px);
    }

    .ship-highlights-grid {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .ship-highlight-card {
        min-height: auto;
        grid-template-columns: auto 1fr;
        gap: 17px;
        padding: 25px 22px;
    }

    .ship-highlight-card + .ship-highlight-card,
    .ship-highlight-card:nth-child(3),
    .ship-highlight-card:nth-child(4) {
        border-top: 1px solid var(--ship-block-border);
        border-left: 0;
    }

    .ship-contact-section {
        padding-bottom: 80px;
    }

    .ship-contact-card {
        border-radius: 24px;
    }

    .ship-contact-content {
        padding: 42px 26px;
    }

    .ship-contact-content h2 {
        font-size: 39px;
    }

    .ship-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ship-contact-button {
        width: 100%;
    }

    .ship-contact-image {
        min-height: 340px;
    }
}