:root {
    --brand-950: #0b2d2b;
    --brand-900: #103f3b;
    --brand-800: #18564f;
    --brand-700: #246e64;
    --brand-100: #e4f0ed;
    --brand-50: #f1f7f5;

    --ink-900: #17211f;
    --ink-700: #45514e;
    --ink-500: #6c7774;

    --surface: #ffffff;
    --surface-soft: #f6f8f7;
    --line: #dfe7e4;

    --shadow-sm: 0 10px 28px rgba(11, 45, 43, 0.08);
    --shadow-lg: 0 24px 60px rgba(11, 45, 43, 0.14);

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-900);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

body,
button,
input {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-950);
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    color: #ffffff;
    background: var(--brand-700);
}

:focus-visible {
    outline: 3px solid rgba(36, 110, 100, 0.35);
    outline-offset: 3px;
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: var(--surface-soft);
}

.section-dark {
    padding: 96px 0;
    color: #ffffff;
    background: var(--brand-950);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.78);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin: 14px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.08;
}

.section-heading p {
    margin: 0;
    color: var(--ink-700);
    font-size: 16px;
    line-height: 1.75;
}

.section-heading-light h2 {
    color: #ffffff;
}

.section-heading-light p {
    color: rgba(255, 255, 255, 0.66);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-lg {
    min-height: 52px;
    padding-inline: 22px;
    font-size: 15px;
}

.btn-brand {
    color: #ffffff;
    background: var(--brand-800);
    border-color: var(--brand-800);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #ffffff;
    background: var(--brand-950);
    border-color: var(--brand-950);
    transform: translateY(-1px);
}

.btn-outline-brand {
    color: var(--brand-900);
    background: transparent;
    border: 1px solid var(--brand-800);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: #ffffff;
    background: var(--brand-800);
    border-color: var(--brand-800);
}

/* Navbar */
.site-navbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
    transition: padding 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-navbar.is-scrolled {
    padding: 9px 0;
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(11, 45, 43, 0.07);
}

.navbar-offset {
    height: 78px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: #ffffff;
    background: var(--brand-900);
    border-radius: 11px;
    font-size: 19px;
}

.brand-mark-light {
    color: var(--brand-950);
    background: #ffffff;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: var(--font-display);
    color: var(--brand-950);
    font-size: 22px;
}

.brand-tagline {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu {
    gap: 8px;
}

.nav-menu .nav-link,
.nav-login {
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu .nav-link {
    padding: 10px 11px !important;
}

.nav-menu .nav-link:hover,
.nav-login:hover {
    color: var(--brand-800);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    box-shadow: none !important;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--brand-950);
    border-radius: 10px;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 84px;
    background:
        linear-gradient(180deg, var(--brand-50), #ffffff 84%);
}

.hero::after {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(36, 110, 100, 0.11);
    border-radius: 50%;
}

.hero-title {
    max-width: 690px;
    margin: 18px 0 22px;
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 74px);
    font-weight: 400;
    line-height: 1.01;
    letter-spacing: -0.025em;
}

.hero-description {
    max-width: 620px;
    margin: 0;
    color: var(--ink-700);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 48px;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    color: var(--brand-900);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
}

.hero-trust span {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-left: auto;
}

.hero-visual-card {
    position: relative;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}

.hero-visual-card img {
    width: 100%;
    border-radius: 18px;
}

.visual-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: var(--brand-950);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    font-weight: 800;
}

.visual-badge i {
    color: var(--brand-700);
}

.visual-badge-top {
    top: 50px;
    left: -28px;
}

.visual-badge-bottom {
    right: -18px;
    bottom: 56px;
}

.hero-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 16px 30px 0;
    padding: 16px;
    color: var(--ink-700);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    line-height: 1.6;
}

.hero-note i {
    flex-shrink: 0;
    color: var(--brand-700);
    font-size: 18px;
}

/* Trust */
.trust-strip {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 18px;
    color: var(--ink-700);
    border-right: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}

.trust-grid div:last-child {
    border-right: 0;
}

.trust-grid i {
    color: var(--brand-700);
    font-size: 17px;
}

/* Services */
.service-card {
    height: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(36, 110, 100, 0.36);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-800);
    background: var(--brand-100);
    border-radius: 12px;
    font-size: 20px;
}

.service-card h3 {
    margin: 22px 0 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
}

.service-card p {
    margin: 0;
    color: var(--ink-700);
    font-size: 14px;
    line-height: 1.7;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--brand-800);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.process-card {
    position: relative;
    min-height: 235px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.process-card > span {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #b2bfbb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.process-card > i {
    color: var(--brand-700);
    font-size: 25px;
}

.process-card h3 {
    margin: 44px 0 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
}

.process-card p {
    margin: 0;
    color: var(--ink-700);
    font-size: 13px;
    line-height: 1.65;
}

/* Gallery */
.gallery-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--brand-50);
}

.gallery-card div {
    padding: 20px;
}

.gallery-card span,
.article-body > span {
    color: var(--brand-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.gallery-card h3 {
    margin: 7px 0 0;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
}

/* Benefits */
.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
}

.benefit-item > i {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-950);
    background: #ffffff;
    border-radius: 12px;
    font-size: 21px;
}

.benefit-item h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 17px;
}

.benefit-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

/* Articles */
.article-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--brand-50);
}

.article-body {
    padding: 22px;
}

.article-body h3 {
    margin: 9px 0 10px;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.25;
}

.article-body p {
    margin: 0;
    color: var(--ink-700);
    font-size: 13px;
    line-height: 1.7;
}

.article-body a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--brand-800);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

/* Sidebar */
.article-sidebar {
    padding: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.sidebar-search {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.sidebar-search i {
    color: var(--brand-700);
    text-align: center;
}

.sidebar-search input {
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    font-size: 13px;
}

.sidebar-search button {
    align-self: stretch;
    padding: 0 14px;
    color: #ffffff;
    background: var(--brand-800);
    border: 0;
    font-size: 12px;
    font-weight: 800;
}

.sidebar-heading {
    margin: 26px 0 18px;
}

.sidebar-heading h2 {
    margin: 10px 0 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.sidebar-list {
    display: grid;
    gap: 14px;
}

.sidebar-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding-bottom: 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.sidebar-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sidebar-item img {
    width: 78px;
    height: 62px;
    object-fit: cover;
    background: var(--brand-100);
    border-radius: 9px;
}

.sidebar-item span {
    display: flex;
    flex-direction: column;
}

.sidebar-item strong {
    color: var(--ink-900);
    font-size: 13px;
    line-height: 1.45;
}

.sidebar-item small {
    margin-top: 5px;
    color: var(--ink-500);
    font-size: 11px;
}

/* FAQ */
.faq-accordion .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.faq-accordion .accordion-button {
    padding: 22px 4px;
    color: var(--brand-950);
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 800;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-700);
}

.faq-accordion .accordion-body {
    padding: 0 4px 22px;
    color: var(--ink-700);
    font-size: 14px;
    line-height: 1.75;
}

/* Contact */
.contact-section {
    padding: 96px 0;
}

.contact-card {
    padding: 52px;
    color: #ffffff;
    background: var(--brand-900);
    border-radius: 24px;
}

.contact-card h2 {
    max-width: 700px;
    margin: 14px 0 14px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.08;
}

.contact-card p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.75;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
}

.contact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.contact-actions {
    display: grid;
    gap: 12px;
}

/* Footer */
.site-footer {
    position: relative;
    color: #ffffff;
    background: var(--brand-950);
}

.footer-main {
    padding: 72px 0 48px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.52);
}

.footer-description {
    max-width: 500px;
    margin: 22px 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 14px;
    line-height: 1.75;
}

.footer-social {
    display: flex;
    gap: 9px;
}

.footer-social a {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--brand-950);
    background: #ffffff;
}

.footer-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    display: grid;
    gap: 14px;
}

.footer-contact li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 9px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact i {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
}

.footer-bottom div {
    display: flex;
    gap: 18px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--brand-800);
    border: 0;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
    z-index: 1030;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1199px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid div:nth-child(2) {
        border-right: 0;
    }

    .trust-grid div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .navbar-collapse {
        margin-top: 14px;
        padding: 18px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow-sm);
    }

    .nav-menu {
        gap: 0;
    }

    .nav-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 12px;
    }

    .nav-login {
        padding: 10px 11px;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-visual {
        margin: 20px auto 0;
    }

    .visual-badge-top {
        left: 12px;
    }

    .visual-badge-bottom {
        right: 12px;
    }

    .article-sidebar {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .section,
    .section-dark,
    .contact-section {
        padding: 68px 0;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .hero-title {
        font-size: clamp(42px, 13vw, 60px);
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .hero-trust strong {
        font-size: 24px;
    }

    .hero-trust span {
        font-size: 10px;
    }

    .hero-visual-card {
        padding: 18px;
        border-radius: 20px;
    }

    .visual-badge {
        position: static;
        margin: 12px 6px 0 0;
    }

    .hero-note {
        margin-inline: 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid div {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid div:last-child {
        border-bottom: 0;
    }

    .contact-card {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .brand-tagline {
        display: none;
    }

    .brand-name {
        font-size: 20px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .hero-trust div {
        display: grid;
        grid-template-columns: 80px 1fr;
        align-items: center;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .service-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
