:root {
    color-scheme: light;
    --navy: #07172c;
    --navy-dark: #061325;
    --gold: #eac47c;
    --bronze: #82591e;
    --paper: #f7f5f0;
    --white: #fffdf8;
    --ink: #11243a;
    --muted: #4d5c69;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", system-ui, sans-serif;
}

@font-face {
    font-family: "Site Icons";
    src: url("fonts/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2") format("woff2");
    font-display: block;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
}

h1, h2, h3, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.container {
    width: min(100% - 3rem, 76rem);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 3;
    inset: 0.75rem auto auto 0.75rem;
    padding: 0.75rem 1rem;
    transform: translateY(-200%);
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.icon {
    display: inline-grid;
    place-items: center;
    font: normal 1em/1 "Site Icons";
}

.icon-phone::before { content: "\f095"; }
.icon-chat::before { content: "\f27b"; }
.icon-mobile::before { content: "\f10b"; }
.icon-mail::before { content: "\f003"; }
.icon-location::before { content: "\f041"; }
.icon-car::before { content: "\f1b9"; }
.icon-health::before { content: "\f21e"; }
.icon-home::before { content: "\f015"; }
.icon-savings::before { content: "\f201"; }
.icon-projects::before { content: "\f0f7"; }
.icon-briefcase::before { content: "\f0b1"; }
.icon-plane::before { content: "\f072"; }
.icon-key::before { content: "\f084"; }
.icon-facebook::before { content: "\f09a"; }
.icon-instagram::before { content: "\f16d"; }

.site-header {
    position: sticky;
    z-index: 2;
    top: 0;
    background: var(--navy-dark);
    color: var(--white);
    border-bottom: 1px solid rgb(234 196 124 / 22%);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 5rem;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.8rem;
}

.brand-mark {
    position: relative;
    display: block;
    width: 2.6rem;
    height: 2.3rem;
    overflow: hidden;
    clip-path: polygon(20% 0, 74% 0, 100% 88%, 0 88%);
}

.brand-mark img {
    position: absolute;
    top: -0.72rem;
    left: -1.35rem;
    width: 5.2rem;
    height: auto;
}

.brand-name {
    display: grid;
    gap: 0.3rem;
    line-height: 1;
}

.brand-name strong {
    font-size: 1rem;
    letter-spacing: 0.16em;
}

.brand-name > span {
    color: var(--gold);
    font-size: 0.6rem;
    font-weight: 650;
    letter-spacing: 0.28em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.8rem);
}

.site-nav a,
.social-links a {
    padding-block: 0.55rem;
    font-size: 0.89rem;
    font-weight: 600;
}

.site-nav a:hover,
.social-links a:hover {
    color: var(--gold);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 0.65rem;
    padding: 0.62rem 0.95rem;
    border: 1px solid rgb(234 196 124 / 42%);
    border-radius: 0.25rem;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 650;
    white-space: nowrap;
}

.header-phone:hover {
    border-color: var(--gold);
    background: rgb(234 196 124 / 9%);
}

.hero {
    display: grid;
    align-items: center;
    min-height: 36rem;
    padding-block: clamp(5rem, 8vw, 7.5rem);
    color: var(--white);
    background-color: var(--navy);
    background-image:
        linear-gradient(90deg, #07172c 0%, #07172cf2 25%, #07172ca3 48%, #07172c15 82%),
        url("images/hero-coast.jpg");
    background-position: center, center 52%;
    background-size: cover;
    border-bottom: 1px solid rgb(234 196 124 / 55%);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bronze);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    flex: 0 0 1.8rem;
    height: 1px;
    background: currentColor;
}

.hero .eyebrow,
.contact .eyebrow {
    color: var(--gold);
}

.hero h1 {
    margin-block: 1.25rem 1.4rem;
    font: 400 clamp(2.4rem, 5.8vw, 5.3rem) / 1.02 var(--serif);
    letter-spacing: -0.058em;
}

.hero h1 em {
    display: block;
    color: var(--gold);
    font-weight: 400;
}

.hero-description {
    max-width: 29rem;
    color: #edf0f4;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.65rem 1.05rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.button span,
.contact-arrow {
    font-size: 1.1rem;
    line-height: 1;
}

.button-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.button-primary:hover {
    background: #ffdb96;
}

.button-primary:focus-visible {
    outline-color: var(--gold);
}

.button-secondary {
    background: rgb(7 23 44 / 36%);
    border-color: rgb(255 253 248 / 55%);
    color: var(--white);
}

.button-secondary:hover {
    background: rgb(255 253 248 / 12%);
    border-color: var(--white);
}

.section {
    padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section-heading {
    margin-bottom: clamp(1.8rem, 3.6vw, 3rem);
}

.section h2 {
    margin-top: 0.75rem;
    font: 400 clamp(2.25rem, 4.6vw, 4rem) / 1.08 var(--serif);
    letter-spacing: -0.047em;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.coverage-card {
    padding: clamp(1.15rem, 2.25vw, 1.65rem);
    border: 1px solid #e4dfd4;
    border-radius: 0.45rem;
    background: #fffefa;
}

.card-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.25rem;
    background: #f5ebd6;
    color: var(--bronze);
}

.coverage-card h3 {
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.coverage-card p {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact {
    background: var(--navy);
    color: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.contact-description {
    max-width: 26rem;
    margin-top: 1.1rem;
    color: #d1d8e1;
    line-height: 1.7;
}

.button-viber {
    gap: 0.65rem;
    margin-top: 1.5rem;
    background: #6249c6;
    color: var(--white);
}

.button-viber:hover {
    background: #6f56d4;
}

.contact-details {
    border-top: 1px solid rgb(255 253 248 / 18%);
    font-style: normal;
}

.contact-link {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.95rem;
    min-height: 4.35rem;
    padding: 0.55rem 0.35rem;
    border-bottom: 1px solid rgb(255 253 248 / 18%);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-link:hover {
    background: rgb(255 253 248 / 5%);
}

.contact-link small {
    display: block;
    color: #c0cad6;
    font-size: 0.78rem;
    font-weight: 400;
}

.contact-icon {
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid rgb(234 196 124 / 28%);
    border-radius: 0.25rem;
    color: var(--gold);
}

.contact-arrow {
    color: var(--gold);
}

.site-footer {
    background: var(--navy-dark);
    border-top: 1px solid rgb(234 196 124 / 20%);
    color: #c0cad6;
}

.footer-inner,
.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-inner {
    min-height: 4.75rem;
    justify-content: center;
    text-align: center;
    gap: 0.25rem 1.5rem;
    padding-block: 0.75rem;
    font-size: 0.88rem;
}

.social-links {
    gap: 1.4rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.social-links .icon {
    color: var(--gold);
}

.footer-credit {
    display: flex;
    flex-basis: 100%;
    justify-self: end;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.75rem;
    font-size: 0.82rem;
}

.footer-credit a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
}

.footer-credit img {
    display: block;
    width: 8rem;
    height: auto;
}

@media (min-width: 48rem) {
    .footer-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        text-align: start;
    }
}

@media (max-width: 56rem) {
    .coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        min-height: 32rem;
        background-position: center, 62% center;
    }
}

@media (max-width: 43rem) {
    html {
        scroll-padding-top: 5rem;
    }

    .container {
        width: min(100% - 2rem, 76rem);
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        min-height: 4.4rem;
        gap: 0.65rem;
    }

    .header-phone {
        display: none;
    }

    .hero {
        min-height: 31rem;
        padding-block: 4.25rem;
        background-image:
            linear-gradient(90deg, #07172cf7 0%, #07172cd9 44%, #07172c65 100%),
            url("images/hero-coast.jpg");
        background-position: center, 68% center;
    }

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

    .heading-break {
        display: none;
    }
}

@media (max-width: 31rem) {
    .brand {
        gap: 0.4rem;
    }

    .brand-name strong {
        font-size: 0.84rem;
    }

    .brand-name > span {
        font-size: 0.53rem;
    }

    .site-nav {
        gap: 0.65rem;
    }

    .site-nav a {
        font-size: 0.8rem;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .coverage-card {
        display: grid;
        grid-template-columns: 2.65rem minmax(0, 1fr);
        column-gap: 0.85rem;
    }

    .card-icon {
        grid-row: span 2;
    }

    .coverage-card h3 {
        margin-top: 0;
    }
}

@keyframes rise-in {
    from {
        opacity: 0.32;
        transform: translateY(0.875rem);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-inner > * {
        animation: rise-in 540ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero h1 {
        animation-delay: 65ms;
    }

    .hero-description {
        animation-delay: 130ms;
    }

    .hero-actions {
        animation-delay: 195ms;
    }

    .hero-actions:focus-within,
    .contact-intro:focus-within {
        animation: none;
    }

    @supports (animation-timeline: view()) and (animation-range: entry) {
        .section-heading,
        .coverage-card,
        .contact-inner > div {
            animation: rise-in linear both;
            animation-timeline: view();
            animation-range: entry;
        }
    }

    .site-nav a,
    .social-links a {
        transition: color 180ms ease;
    }

    .button,
    .header-phone,
    .contact-link {
        transition: background-color 180ms ease, border-color 180ms ease;
    }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .button span,
    .contact-arrow {
        transition: transform 180ms ease;
    }

    .button-primary:hover span {
        transform: translateY(0.2rem);
    }

    .button-secondary:hover span,
    .contact-link:hover .contact-arrow {
        transform: translateX(0.2rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
