:root {
    --bg: #f6f6f3;
    --surface: #ffffff;
    --surface-soft: #fbfbf9;
    --text: #111111;
    --muted: #666666;
    --line: #dfdfd7;
    --line-strong: #cfcfc6;
    --accent: #111111;
    --shadow: 0 30px 70px rgba(17, 17, 17, 0.08);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Inter", sans-serif;
    background: radial-gradient(circle at top left, #ffffff 0%, var(--bg) 55%);
    color: var(--text);
}

body > main {
    flex: 1 0 auto;
}

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

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

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246, 246, 243, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-inner {
    padding: 1rem 0;
}

.brand,
.footer-brand,
h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
}

.brand,
.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

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

.button-dark {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.button-light {
    background: transparent;
    color: var(--text);
}

.button-light:hover {
    background: #efefe9;
}

.button-small {
    min-height: 44px;
    padding: 0 1rem;
    font-size: 0.95rem;
}

.hero,
.info-section,
.expertise-section,
.contact-section,
.trust-section {
    border-top: 1px solid var(--line);
}

.hero {
    border-top: 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    padding: 4.5rem 0 5rem;
}

.eyebrow {
    display: inline-block;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 1.4rem 0 0;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 span {
    color: #9e9e97;
}

.lead {
    max-width: 44rem;
    margin: 1.6rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

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

.hero-media {
    position: relative;
}

.hero-media > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-section,
.expertise-section,
.contact-section,
.trust-section {
    background: var(--surface);
}

.info-section .container,
.expertise-section .container,
.contact-section .container,
.trust-section .container {
    padding: 4.75rem 0;
}

.info-grid,
.expertise-grid {
    display: grid;
    gap: 1.25rem;
}

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

.info-card,
.expertise-card,
.form-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.info-card {
    padding: 1.5rem;
}

.info-card h2 {
    margin: 0;
    font-size: 0.82rem;
    color: #9a9a93;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.info-card p {
    margin: 0.75rem 0 0;
    font-size: 0.97rem;
    line-height: 1.6;
}

.info-card a:hover {
    text-decoration: underline;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.expertise-card {
    padding: 1.9rem;
}

.expertise-card h3,
.why-block h3 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.expertise-card p,
.why-block p,
.contact-heading p,
.field span,
.field input,
.field textarea {
    color: var(--muted);
}

.expertise-card p,
.why-block p,
.contact-heading p {
    margin: 0.9rem 0 0;
    line-height: 1.75;
}

.why-block {
    margin-top: 3rem;
}

.contact-wrap {
    max-width: 860px;
}

.contact-info-grid {
    margin-top: 3rem;
}

.trust-heading {
    max-width: 42rem;
    margin-bottom: 1.75rem;
}

.trust-heading p {
    margin: 0.9rem 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.trust-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: 1.9rem;
}

.trust-card h3 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.trust-card p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.trust-links {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.trust-links li + li {
    margin-top: 0.8rem;
}

.trust-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.trust-links a:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
    background: #ffffff;
}

.trust-link-meta {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-heading {
    margin-bottom: 1.75rem;
    text-align: center;
}

.contact-heading p {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.form-shell {
    padding: 1.6rem;
}

.form-alert {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font-size: 0.96rem;
}

.form-alert-success {
    background: #edf8ef;
    color: #176133;
    border: 1px solid #bcd9c4;
}

.form-alert-error {
    background: #fff1f1;
    color: #972f2f;
    border: 1px solid #e7c0c0;
}

.contact-form {
    display: grid;
    gap: 1.1rem;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.field {
    display: grid;
    gap: 0.55rem;
}

.field span {
    font-size: 0.95rem;
    font-weight: 600;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--surface-soft);
    font: inherit;
    color: var(--text);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--text);
    background: #ffffff;
}

.field textarea {
    resize: vertical;
    min-height: 150px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.footer-inner {
    padding: 1.4rem 0 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-brand {
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay {
    transition-delay: 0.12s;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hero-grid,
    .info-grid,
    .expertise-grid,
    .field-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-top: 3.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .main-nav {
        display: none;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-actions,
    .header-inner {
        flex-wrap: wrap;
    }

    .button,
    .button-small {
        width: 100%;
    }

    .form-shell {
        padding: 1.2rem;
    }
}
