:root {
    --navy: #17395f;
    --navy-dark: #102b49;
    --blue: #3f789b;
    --blue-soft: #eaf3f8;
    --mint: #2f9f98;
    --mint-soft: #e8f7f5;
    --ink: #1d2b39;
    --muted: #697887;
    --line: #dfe7ee;
    --surface: #ffffff;
    --page: #f5f8fb;
    --shadow: 0 18px 45px rgba(25, 55, 82, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(47, 159, 152, 0.08), transparent 28rem),
        var(--page);
}

a {
    color: inherit;
}

.landing {
    min-height: 100vh;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fbfd 56%, #edf7f7 100%);
    border-bottom: 1px solid var(--line);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 46px;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-logo-wrap {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid rgba(23, 57, 95, 0.10);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(23, 57, 95, 0.10);
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.eyebrow,
.section-kicker,
.portal-type,
.business-label {
    margin: 0 0 8px;
    color: var(--mint);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: clamp(2.9rem, 7vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.hero-subtitle {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--blue);
    font-size: clamp(1.2rem, 2.7vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
}

.business-name-card {
    max-width: 340px;
    justify-self: end;
    padding: 24px 26px;
    border: 1px solid rgba(23, 57, 95, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
}

.business-name-card strong {
    display: block;
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1.25;
}

.business-category {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}


.hero-decoration {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-decoration-one {
    top: -135px;
    right: -95px;
    width: 390px;
    height: 390px;
    background: rgba(47, 159, 152, 0.10);
}

.hero-decoration-two {
    bottom: -165px;
    left: 34%;
    width: 330px;
    height: 330px;
    background: rgba(63, 120, 155, 0.08);
}

.portal-section,
.location-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.portal-section {
    padding: 68px 0 54px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-heading h2,
.location-info h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -0.025em;
}

.section-heading p,
.location-copy {
    color: var(--muted);
    line-height: 1.65;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.portal-card {
    position: relative;
    min-height: 210px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 12px 32px rgba(25, 55, 82, 0.08);
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.portal-card:hover,
.portal-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(47, 159, 152, 0.45);
    box-shadow: var(--shadow);
    outline: none;
}

.portal-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 22px;
}

.portal-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal-admin .portal-icon {
    color: var(--navy);
    background: var(--blue-soft);
}

.portal-client .portal-icon {
    color: #217f79;
    background: var(--mint-soft);
}

.portal-content {
    min-width: 0;
}

.portal-content strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.35rem;
}

.portal-content > span:last-child {
    display: block;
    color: var(--muted);
    line-height: 1.55;
}

.portal-arrow {
    color: var(--mint);
    font-size: 2rem;
    font-weight: 700;
    transition: transform 180ms ease;
}

.portal-card:hover .portal-arrow,
.portal-card:focus-visible .portal-arrow {
    transform: translateX(5px);
}

.location-section {
    margin-bottom: 58px;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.location-info {
    padding: 42px;
    align-self: center;
}

.location-address {
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.55;
}

.location-pin {
    color: var(--mint);
    font-size: 1.35rem;
}

.map-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-top: 10px;
    padding: 12px 17px;
    border-radius: 12px;
    background: var(--navy);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.map-link:hover,
.map-link:focus-visible {
    background: var(--navy-dark);
    transform: translateY(-2px);
    outline: none;
}

.map-card {
    min-height: 410px;
    background: #e9eef3;
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 410px;
    border: 0;
}

.landing-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: #82909d;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .business-name-card {
        max-width: 420px;
        justify-self: start;
    }

    .portal-grid,
    .location-section {
        grid-template-columns: 1fr;
    }

    .map-card,
    .map-card iframe {
        min-height: 360px;
    }
}

@media (max-width: 620px) {
    .hero-content,
    .portal-section,
    .location-section,
    .landing-footer {
        width: min(100% - 28px, 1180px);
    }

    .hero-content {
        padding: 38px 0 34px;
    }

    .brand {
        align-items: flex-start;
        gap: 16px;
    }

    .brand-logo-wrap {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        border-radius: 20px;
    }

    h1 {
        font-size: clamp(2.55rem, 15vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.08rem;
    }

    .portal-section {
        padding-top: 46px;
    }

    .portal-card {
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 0;
        padding: 24px 20px;
    }

    .portal-icon {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .portal-icon svg {
        width: 32px;
        height: 32px;
    }

    .portal-arrow {
        display: none;
    }

    .location-info {
        padding: 30px 22px;
    }

    .map-card,
    .map-card iframe {
        min-height: 300px;
    }

    .landing-footer {
        flex-direction: column;
        gap: 6px;
    }
}
