/* Shared brand, one-page navigation, and footer refinements. */
.site-text-logo {
    display: inline-block;
    flex: 0 1 auto;
    color: #006d77;
    font-family: "Chivo", sans-serif;
    font-size: clamp(10px, 0.88vw, 14px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.site-text-logo:hover,
.site-text-logo:focus {
    color: #004f57;
}

.site-desktop-menu {
    gap: clamp(14px, 1.45vw, 25px);
}

.site-desktop-menu a {
    display: inline-block;
    color: #171b24;
    font-size: clamp(12px, 0.88vw, 15px);
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.header-contact-button {
    display: none !important;
    padding: clamp(11px, 1vw, 15px) clamp(15px, 1.55vw, 22px);
    font-size: clamp(12px, 0.9vw, 15px);
    line-height: 1;
    white-space: nowrap;
}

.phone-cta {
    white-space: nowrap;
}

.home-hero-copy,
.home-hero-media {
    min-width: 0;
}

.home-hero-title {
    color: #101828;
    font-size: clamp(31px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-hero-title span {
    display: block;
    white-space: nowrap;
}

.home-hero-media {
    width: min(100%, 520px);
}

.home-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: 18px;
}

@media (min-width: 1024px) {
    .home-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
        align-items: center;
        gap: clamp(42px, 5vw, 76px);
    }

    .home-hero-media {
        justify-self: end;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {
    .home-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 575px) {
    .home-hero-title {
        font-size: clamp(29px, 9vw, 38px);
    }

    .home-hero-title span {
        white-space: normal;
    }

    .home-hero-media {
        max-width: 390px;
    }
}

.service-card {
    position: relative;
    min-height: 325px;
}

.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-number {
    color: rgba(0, 109, 119, 0.35);
    font-family: Chivo, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 767px) {
    .service-card {
        min-height: 285px;
    }
}

.home-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    min-height: 500px;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.13), transparent 24%),
        linear-gradient(125deg, #004f58 0%, #006d77 58%, #008b8f 100%);
    box-shadow: 0 28px 70px rgba(0, 79, 88, 0.18);
}

.home-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.24;
    background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(90deg, transparent 48%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 48%, #000 100%);
}

.home-cta-content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 70px 30px 70px clamp(34px, 6vw, 86px);
}

.home-cta-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 28px;
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    font-family: Chivo, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.home-cta-title {
    max-width: 760px;
    margin-bottom: 24px;
    font-family: Chivo, sans-serif;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-cta-title span {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
}

.home-cta-copy {
    max-width: 690px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.55;
}

.home-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    color: #006d77;
    background: #fff;
    font-family: Chivo, sans-serif;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-cta-button:hover {
    color: #fff;
    background: #101828;
    transform: translateY(-3px);
}

.home-cta-button img {
    width: 12px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(38%) saturate(1272%) hue-rotate(137deg) brightness(91%) contrast(101%);
}

.home-cta-button:hover img {
    filter: brightness(0) invert(1);
}

.home-cta-visual {
    position: relative;
    z-index: 1;
    min-height: 500px;
}

.home-cta-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #006d77 0%, rgba(0, 109, 119, 0.4) 35%, rgba(0, 109, 119, 0.08) 100%);
}

.home-cta-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.home-cta-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
}

.home-cta-orbit-one {
    width: 420px;
    height: 420px;
    top: 40px;
    right: -100px;
}

.home-cta-orbit-two {
    width: 300px;
    height: 300px;
    top: 100px;
    right: -40px;
}

@media (max-width: 991px) {
    .home-cta {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-cta-content {
        padding: 60px 45px 54px;
    }

    .home-cta-visual {
        position: absolute;
        inset: 0 0 0 52%;
        min-height: 100%;
        opacity: 0.38;
    }
}

@media (max-width: 575px) {
    .home-cta {
        border-radius: 22px;
    }

    .home-cta-content {
        padding: 44px 24px;
    }

    .home-cta-kicker {
        min-height: 42px;
        margin-bottom: 22px;
        padding: 8px 18px;
        font-size: 15px;
    }

    .home-cta-title {
        font-size: 36px;
    }

    .home-cta-copy {
        font-size: 16px;
    }

    .home-cta-visual {
        inset: 0;
        opacity: 0.2;
    }
}

.mobile-menu-trigger {
    display: block;
}

@media (min-width: 1024px) {
    .site-header .mobile-menu-trigger {
        display: none !important;
    }

    .site-header .header-contact-button {
        display: inline-flex !important;
    }
}

.nav-mobile {
    width: min(380px, 100vw);
}

.site-text-logo-mobile {
    max-width: 100%;
    font-size: 12px;
}

.mobile-one-page-menu li {
    border-bottom: 1px solid #f2f4f7;
}

.mobile-one-page-menu a {
    display: block;
    padding: 15px 0;
    color: #171b24;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-one-page-menu a:hover,
.mobile-one-page-menu a:focus {
    color: #006d77;
    transform: translateX(3px);
}

.footer-text-logo {
    font-size: clamp(13px, 1.15vw, 17px);
}

.footer-brand-column {
    min-width: 0;
}

@media (min-width: 1200px) {
    .site-footer-grid {
        grid-template-columns: minmax(380px, 1.6fr) minmax(135px, 0.65fr) minmax(245px, 1fr) minmax(220px, 0.9fr);
        column-gap: clamp(28px, 3vw, 48px);
    }
}

.site-footer-links a {
    display: inline-block;
    white-space: nowrap;
}

.homepage-section-anchor {
    scroll-margin-top: 90px;
}

@media (max-width: 1199px) {
    .site-text-logo {
        font-size: 10px;
    }

    .site-desktop-menu {
        gap: 13px;
    }

    .site-desktop-menu a {
        font-size: 12px;
    }
}

@media (max-width: 359px) {
    .site-text-logo {
        max-width: 205px;
        font-size: 10px;
        white-space: normal;
    }

    .site-text-logo-mobile {
        max-width: 250px;
    }
}

/* Legal and policy pages */
.legal-page-main {
    width: 100%;
}

.legal-hero {
    padding: 96px 20px 92px;
    border-radius: 0 0 38px 38px;
    background: linear-gradient(135deg, #004f57 0%, #006d77 58%, #0a9396 100%);
    color: #fff;
    text-align: center;
}

.legal-hero-inner,
.legal-document {
    width: min(100%, 920px);
    margin: 0 auto;
}

.legal-hero h1 {
    margin: 0;
    color: #fff;
    font-family: "Chivo", sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.12;
}

.legal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 700;
}

.legal-breadcrumb a {
    color: #fff;
}

.legal-breadcrumb-current {
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.legal-content-section {
    padding: 90px 24px 110px;
    background: #fff;
}

.legal-intro,
.legal-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e4e7ec;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-document h2,
.legal-document h3 {
    margin-bottom: 14px;
    color: #171b24;
    font-family: "Chivo", sans-serif;
    font-weight: 700;
    line-height: 1.35;
}

.legal-document h2 {
    font-size: clamp(27px, 3vw, 34px);
}

.legal-document h3 {
    font-size: clamp(20px, 2vw, 24px);
}

.legal-document p,
.legal-document li,
.legal-document address {
    color: #5d6576;
    font-size: 16px;
    line-height: 1.8;
}

.legal-document p + p,
.legal-document p + ul,
.legal-document ul + p {
    margin-top: 12px;
}

.legal-document ul {
    margin: 0;
    padding-left: 23px;
    list-style: disc;
}

.legal-document address {
    margin: 0;
    font-style: normal;
}

.legal-document a {
    color: #006d77;
    font-weight: 700;
}

.legal-document a:hover,
.legal-document a:focus {
    color: #004f57;
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 70px 18px 66px;
        border-radius: 0 0 24px 24px;
    }

    .legal-content-section {
        padding: 60px 18px 75px;
    }
}
