:root {
    --navy: #0b1f3a;
    --navy-deep: #06172c;
    --teal: #0e8f8a;
    --teal-dark: #08716d;
    --gold: #d6a84b;
    --ink: #10233d;
    --muted: #5d6b7e;
    --line: #dfe6ec;
    --soft: #f5f8fa;
    --white: #fff;
    --shadow: 0 18px 50px rgba(11, 31, 58, .12);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

button,
input,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    border-radius: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 92px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(11, 31, 58, .08);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -2px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--navy);
    font-size: 16px;
    letter-spacing: .04em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    position: relative;
    padding: 31px 0 27px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--teal);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    min-height: 610px;
    grid-template-columns: .92fr 1.08fr;
    align-items: stretch;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 76px 68px 76px 0;
}

.hero-copy::after {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -130px;
    bottom: 0;
    width: 280px;
    content: "";
    background: linear-gradient(90deg, #fff 28%, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.03;
}

.hero-copy > p {
    max-width: 590px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 27px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--teal);
}

.button-primary:hover {
    background: var(--teal-dark);
}

.button-secondary {
    color: var(--navy);
    background: var(--white);
    border-color: var(--teal);
}

.button-secondary:hover {
    color: var(--white);
    background: var(--teal);
}

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

.compact-button {
    min-height: 42px;
}

.hero-media {
    min-width: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
}

.expertise {
    padding-top: 64px;
    padding-bottom: 72px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.expertise article {
    padding: 0 48px;
    text-align: center;
}

.expertise article + article {
    border-left: 1px solid var(--line);
}

.line-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.line-icon svg {
    width: 48px;
    height: 48px;
}

.expertise h2 {
    margin: 16px 0 10px;
    color: var(--navy);
    font-size: 20px;
}

.expertise p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.services {
    padding-top: 60px;
    background: var(--soft);
}

.section-heading {
    margin-bottom: 44px;
    text-align: center;
}

.section-heading p,
.section-label {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.contact-info h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(32px, 3vw, 46px);
    letter-spacing: -.035em;
    line-height: 1.15;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-item {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 18px;
    text-align: center;
    transition: background-color .2s ease, transform .2s ease;
}

.service-item + .service-item {
    border-left: 1px solid var(--line);
}

.service-item:hover {
    position: relative;
    z-index: 1;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-item .line-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
}

.service-item .line-icon svg {
    width: 42px;
    height: 42px;
}

.service-item strong {
    color: var(--navy);
    font-size: 16px;
}

.service-item > span:last-child {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.verify-band {
    padding: 44px 0;
    color: var(--white);
    background: var(--navy);
}

.verify-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 60px;
}

.verify-intro {
    display: flex;
    align-items: center;
    gap: 23px;
}

.verify-icon {
    display: inline-flex;
    width: 65px;
    height: 65px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    border: 1px solid rgba(255, 255, 255, .2);
}

.verify-icon svg {
    width: 42px;
    height: 42px;
}

.verify-band h2 {
    margin: 0;
    font-size: 28px;
}

.verify-band p {
    margin: 5px 0 0;
    color: #b9c6d4;
    font-size: 14px;
}

.verify-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.verify-form input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    color: var(--ink);
    background: var(--white);
}

.verify-result {
    padding-top: 30px;
}

.certificate-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    color: var(--ink);
    background: rgba(255, 255, 255, .2);
}

.certificate-card > div {
    padding: 19px;
    background: var(--white);
}

.certificate-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.lookup-empty {
    padding: 18px;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, .25);
}

.process {
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    counter-reset: process;
}

.process-step {
    position: relative;
    padding: 0 28px;
    text-align: center;
}

.process-step + .process-step::before {
    position: absolute;
    top: 25px;
    left: -25%;
    width: 50%;
    height: 1px;
    content: "";
    background: repeating-linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 8px);
}

.process-step > span {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--teal);
    background: var(--white);
    border: 1px solid var(--teal);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.process-step h3 {
    margin: 21px 0 9px;
    color: var(--navy);
    font-size: 18px;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.about {
    padding: 0;
    background: var(--soft);
}

.about-grid {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.about-visual {
    min-height: 540px;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px max(42px, calc((100vw - var(--container)) / 2)) 70px 74px;
}

.about-copy > p:not(.section-label) {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
}

.trust-list {
    display: grid;
    margin-top: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.trust-list span {
    position: relative;
    padding: 19px 15px 19px 28px;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
}

.trust-list span::before {
    position: absolute;
    top: 25px;
    left: 0;
    width: 9px;
    height: 9px;
    content: "";
    background: var(--teal);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-body {
    padding: 24px;
}

.post-body time,
.post-detail time {
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
}

.post-body h3 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.35;
}

.post-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 19px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
}

.contact {
    background: var(--soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 75px;
}

.contact-info > p:not(.section-label) {
    color: var(--muted);
}

.contact-info dl {
    margin: 34px 0 0;
}

.contact-info dl div {
    display: grid;
    padding: 13px 0;
    grid-template-columns: 130px 1fr;
    border-bottom: 1px solid var(--line);
}

.contact-info dt {
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info dd {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    padding: 34px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-form label {
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    outline: none;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.verify-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 143, 138, .12);
}

.full-width {
    grid-column: 1 / -1;
}

.honeypot {
    position: absolute;
    left: -10000px;
}

.flash {
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px solid;
}

.flash-success {
    color: #0b6b4d;
    background: #effbf6;
    border-color: #a7dfc9;
}

.flash-error {
    color: #8e2d2d;
    background: #fff4f4;
    border-color: #ecc2c2;
}

.site-footer {
    padding: 64px 0 0;
    color: #d5deea;
    background: var(--navy-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    gap: 55px;
}

.brand-light .brand-mark {
    color: var(--navy);
    background: var(--white);
}

.brand-light .brand-copy strong {
    color: var(--white);
}

.footer-grid p {
    max-width: 330px;
    color: #99aabc;
    font-size: 13px;
}

.footer-grid h2 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 14px;
}

.footer-grid > div > a:not(.brand) {
    display: block;
    padding: 4px 0;
    color: #aab8c7;
    font-size: 13px;
}

.footer-grid > div > a:hover {
    color: var(--white);
}

.footer-admin-link {
    margin-top: 13px;
    color: var(--gold) !important;
    font-weight: 800;
}

.footer-bottom {
    margin-top: 50px;
    padding: 22px 0;
    color: #7f90a3;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
}

.detail-page {
    background: var(--soft);
}

.detail-main {
    padding: 80px 0;
}

.detail-article {
    max-width: 900px;
    padding: 60px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.detail-article h1 {
    margin: 5px 0 20px;
    color: var(--navy);
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -.045em;
    line-height: 1.08;
}

.detail-lead {
    color: var(--muted);
    font-size: 20px;
}

.detail-content {
    margin: 36px 0;
    color: #35465a;
    font-size: 17px;
}

.detail-image {
    width: 100%;
    max-height: 470px;
    margin: 35px 0;
    object-fit: cover;
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        padding: 10px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a::after {
        display: none;
    }

    .hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 70px 0 50px;
    }

    .hero-copy::after {
        display: none;
    }

    .hero-media {
        height: 420px;
        margin-inline: -20px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-item:nth-child(4) {
        border-left: 0;
    }

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

    .process-grid {
        gap: 35px 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step + .process-step::before {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 420px;
    }

    .about-copy {
        padding: 60px 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 68px 0;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 18px;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);
    }

    .hero-copy > p {
        font-size: 17px;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-media {
        height: 330px;
        margin-inline: -14px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise article {
        padding: 34px 15px;
    }

    .expertise article + article {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-item {
        min-height: 190px;
        border-bottom: 1px solid var(--line);
    }

    .service-item:nth-child(odd) {
        border-left: 0;
    }

    .service-item:nth-child(even) {
        border-left: 1px solid var(--line);
    }

    .verify-form {
        grid-template-columns: 1fr;
    }

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

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 0 20px;
    }

    .about-visual {
        min-height: 300px;
    }

    .trust-list,
    .posts-grid,
    .contact-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 38px;
    }

    .contact-form {
        padding: 24px 19px;
    }

    .contact-info dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .detail-main {
        padding: 30px 0;
    }

    .detail-article {
        padding: 30px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
