#hellas-service-title {
    max-width: 48%;
    text-wrap: balance;
}

#content:has(.hellas-service-content) {
    background: #f6f8fa;
}

.hellas-service-content.container {
    background: #fff;
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
}

.hellas-service-content > * {
    max-width: 1200px;
    margin-inline: auto;
}

.hellas-service-inquiry {
    background: #f6f8fa;
    border: 1px solid #e0e7ed;
    border-radius: 8px;
    padding: clamp(1rem, 4vw, 2rem);
    margin: 2rem 0;
    scroll-margin-top: 6rem;
}

.hellas-service-inquiry label {
    display: block;
}

.hellas-service-inquiry label span {
    color: #4a5967;
    font-weight: 400;
}

.hellas-service-inquiry [role="alert"] {
    color: #912a24;
}

.hellas-service-inquiry__contacts {
    display: grid;
    gap: 0 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 549px) {
    .hellas-service-inquiry__contacts {
        grid-template-columns: 1fr;
    }
}

.hellas-service-content {
    --service-ink: #162b3e;
    --service-muted: #455566;
    --service-line: #dde6ed;
    color: var(--service-muted);
}

.hellas-service-content :is(h2, h3) {
    color: var(--service-ink);
    text-wrap: balance;
}

.hellas-service-content .hellas-service-intro {
    padding-block: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.hellas-service-intro h2 {
    max-width: 25ch;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.12;
}

.hellas-service-intro p {
    max-width: 75ch;
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hellas-service-content .hellas-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.5rem);
}

.hellas-service-grid .hellas-service-card,
.hellas-service-content .hellas-service-reasons {
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid var(--service-line);
    border-radius: 12px;
    background: #f7f9fb;
}

.hellas-service-card h3,
.hellas-service-reasons h3 {
    margin-bottom: 0.85rem;
    font-size: 1.17rem;
    line-height: 1.3;
}

.hellas-service-content :is(.hellas-service-card, .hellas-service-reasons) ul {
    margin: 0;
    padding-inline-start: 1.15em;
    line-height: 1.55;
}

.hellas-service-content :is(.hellas-service-card, .hellas-service-reasons) li + li {
    margin-top: 0.35rem;
}

.hellas-service-content li::marker {
    color: #19618d;
}

.hellas-service-card > :last-child {
    margin-bottom: 0;
}

.hellas-service-content .hellas-service-reasons {
    margin-block: clamp(1.5rem, 3vw, 2.5rem);
    background: #edf5fb;
    border-color: #d9e7f2;
}

.hellas-service-reasons ul {
    columns: 2;
    column-gap: 2.5rem;
}

.hellas-service-reasons li {
    break-inside: avoid;
}

.hellas-service-content .hellas-service-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid var(--service-line);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hellas-service-contact-details p {
    margin-bottom: 0.45rem;
}

.hellas-service-contact-details p:first-of-type {
    margin-bottom: 1.2rem;
}

.hellas-service-contact-details a {
    color: #154c73;
    text-decoration: underline;
    text-underline-offset: 0.16em;
    overflow-wrap: anywhere;
}

.hellas-service-contact-layout .hellas-service-inquiry {
    margin: 0;
    min-width: 0;
    border-radius: 12px;
}

.hellas-service-inquiry button {
    margin-block-end: 0;
}

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

@media (max-width: 650px) {
    .hellas-service-content .hellas-service-grid,
    .hellas-service-content .hellas-service-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hellas-service-reasons ul {
        columns: 1;
    }
}
