:root {
    --bg: #f6f7fb;
    --bg-soft: #eef1f7;
    --card: rgba(255,255,255,0.78);
    --card-strong: rgba(255,255,255,0.92);
    --text: #0f172a;
    --subtext: #5b6472;
    --muted: #7c8797;
    --border: rgba(15,23,42,0.08);
    --primary: #111827;
    --accent: #b8864b;
    --accent-soft: rgba(184,134,75,0.14);
    --shadow: 0 24px 60px rgba(15,23,42,0.1);
    --shadow-soft: 0 14px 34px rgba(15,23,42,0.07);
}

body.dark {
    --bg: #06070b;
    --bg-soft: #0b0d14;
    --card: rgba(17,19,27,0.82);
    --card-strong: rgba(23,26,37,0.92);
    --text: #f8fafc;
    --subtext: #c7cbd5;
    --muted: #9ca3af;
    --border: rgba(255,255,255,0.1);
    --primary: #ffffff;
    --accent: #d6a76a;
    --accent-soft: rgba(214,167,106,0.14);
    --shadow: 0 24px 70px rgba(0,0,0,0.58);
    --shadow-soft: 0 14px 34px rgba(0,0,0,0.36);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(226, 232, 255, 0.9), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 234, 204, 0.55), transparent 30%),
        linear-gradient(180deg, var(--bg), var(--bg-soft));
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
    background:
        radial-gradient(circle at top left, rgba(64, 82, 170, 0.24), transparent 34%),
        radial-gradient(circle at top right, rgba(184, 134, 75, 0.17), transparent 30%),
        linear-gradient(180deg, var(--bg), var(--bg-soft));
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

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

.site-header {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(22px);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.dark-logo {
    display: none;
}

body.dark .dark-logo {
    display: block;
}

body.dark .light-logo {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(24px);
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    opacity: 0.78;
    padding: 10px 14px;
    border-radius: 999px;
    transition: 0.25s ease;
}

.nav-links a:hover {
    opacity: 1;
    background: var(--accent-soft);
}

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    font-size: 18px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: center;
    min-height: 84vh;
    padding: 54px 0;
}

.badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(184,134,75,0.22);
    color: var(--accent);
    margin-bottom: 22px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(46px, 6.5vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.065em;
    margin-bottom: 24px;
    max-width: 780px;
}

.hero-content p,
.page-hero p,
.section-heading p {
    color: var(--subtext);
    font-size: 18px;
    line-height: 1.75;
}

.hero-content p {
    max-width: 680px;
}

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

.center-actions {
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 24px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-card,
.feature-card,
.service-card,
.policy-card,
.contact-card,
.info-card,
.cta-card,
.trust-section,
.how-card,
.experience-card,
.enterprise-card {
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(26px);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.glass-card {
    overflow: hidden;
}

.glass-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.02);
}

.large-card {
    height: 390px;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.small-card {
    height: 210px;
}

.trust-section {
    padding: 38px;
    text-align: center;
    margin: 34px 0 84px;
}

.trust-section h2,
.section-heading h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.logo-strip div {
    padding: 18px 14px;
    border-radius: 18px;
    background: var(--card-strong);
    border: 1px solid var(--border);
    color: var(--subtext);
    font-weight: 800;
    font-size: 14px;
}

.section-heading {
    text-align: center;
    max-width: 860px;
    margin: 90px auto 34px;
}

.section-heading p {
    margin-top: 14px;
}

.section-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 40px 0 90px;
}

.feature-card,
.service-card,
.policy-card,
.contact-card,
.info-card,
.cta-card,
.how-card {
    padding: 30px;
}

.feature-card h3,
.service-card h3,
.info-card h3,
.how-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    letter-spacing: -0.025em;
}

.feature-card p,
.service-card p,
.policy-card p,
.info-card p,
.cta-card p,
.how-card p,
.enterprise-card p {
    color: var(--subtext);
    line-height: 1.72;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--text);
    color: var(--bg);
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 900;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 36px 0 90px;
}

.experience-card {
    min-height: 240px;
    padding: 28px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.experience-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.72),
            rgba(0,0,0,0.18),
            rgba(0,0,0,0.08)
        );
    z-index: 0;
}

.experience-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(214,167,106,0.22), transparent 34%);
    z-index: 0;
}

.experience-card span {
    position: relative;
    z-index: 1;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: white;
    line-height: 1.1;
    max-width: 220px;
}

.how-section {
    margin: 90px 0;
}

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

.how-card span {
    display: inline-flex;
    color: var(--accent);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.enterprise-section {
    margin: 90px 0;
}

.enterprise-card {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 40px;
    padding: 46px;
    align-items: center;
}

.enterprise-card h2 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
}

.enterprise-list {
    display: grid;
    gap: 14px;
}

.enterprise-list div {
    padding: 17px 18px;
    border-radius: 18px;
    background: var(--card-strong);
    border: 1px solid var(--border);
    color: var(--subtext);
    font-weight: 750;
}

.enterprise-list div::before {
    content: "✓";
    color: var(--accent);
    font-weight: 900;
    margin-right: 10px;
}

.cta-section {
    margin: 90px 0;
}

.cta-card {
    text-align: center;
    padding: 58px 34px;
}

.cta-card h2 {
    max-width: 780px;
    margin: 0 auto 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.cta-card p {
    max-width: 720px;
    margin: 0 auto 30px;
}

.page-hero {
    text-align: center;
    padding: 90px 0 44px;
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 740px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 28px;
    margin-bottom: 80px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.58);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    font-size: 16px;
    color: var(--text);
    outline: none;
    font-family: inherit;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
    background: rgba(255,255,255,0.04);
}

.contact-form select {
    width: 100%;
    height: 56px;
    background: rgba(255,255,255,0.58);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0 16px;
    font-size: 16px;
    color: var(--text);
    outline: none;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);

    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);

    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

body.dark .contact-form select {
    background-color: rgba(255,255,255,0.04);
}

.hero-wide {
    position: relative;
    overflow: hidden;
    border-radius: 42px;
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 90px 70px;
    margin-top: 24px;
    background: #0b0f19;
    isolation: isolate;
    box-shadow: var(--shadow);
}

.hero-wide-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7,10,18,0.88) 0%,
            rgba(7,10,18,0.76) 38%,
            rgba(7,10,18,0.42) 60%,
            rgba(7,10,18,0.14) 100%
        ),
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-wide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(214,167,106,0.18), transparent 32%);
    z-index: -1;
}

.hero-wide-content {
    max-width: 760px;
}

.hero-wide .badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #d6a76a;
    backdrop-filter: blur(18px);
}

.hero-wide h1 {
    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.96;
    letter-spacing: -0.07em;
    color: white;
    margin-bottom: 28px;
    max-width: 900px;
}

.hero-wide-text {
    color: rgba(255,255,255,0.78);
    font-size: 20px;
    line-height: 1.85;
    max-width: 720px;
}

.hero-wide .btn-primary {
    background: white;
    color: #0b0f19;
}

.hero-wide .btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(18px);
}

.hero-wide .btn-secondary:hover {
    background: rgba(255,255,255,0.14);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 54px;
}

.hero-stat-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
}

.hero-stat-card strong {
    display: block;
    color: white;
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.hero-stat-card span {
    color: rgba(255,255,255,0.68);
    line-height: 1.5;
    font-size: 14px;
}

@media (max-width: 980px) {

    .hero-wide {
        padding: 60px 28px;
        min-height: auto;
        border-radius: 30px;
    }

    .hero-wide h1 {
        font-size: 52px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 640px) {

    .hero-wide {
        padding: 46px 22px;
    }

    .hero-wide h1 {
        font-size: 42px;
    }

    .hero-wide-text {
        font-size: 17px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

}

.contact-form select:focus {
    border-color: var(--accent);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.full-btn {
    width: 100%;
    cursor: pointer;
    font-size: 16px;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.policy-container {
    margin-bottom: 80px;
}

.policy-card {
    max-width: 900px;
    margin: 0 auto;
}

.policy-card h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 22px;
}

.policy-card h3:first-child {
    margin-top: 0;
}

.site-footer-wrapper {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.site-footer {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer-brand p {
    margin-top: 22px;
    color: var(--subtext);
    line-height: 1.8;
    max-width: 420px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h4 {
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: var(--subtext);
    text-decoration: none;
    line-height: 1.7;
    transition: 0.25s ease;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--muted);
}

.footer-bottom-links a:hover {
    color: var(--text);
}

@media (max-width: 980px) {

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 640px) {

    .site-footer,
    .footer-bottom {
        width: min(100% - 28px, 1200px);
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .logo-strip div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .hero,
    .contact-wrapper,
    .section-grid,
    .enterprise-card {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }

    .nav-links {
        display: none;
    }

    .large-card {
        height: 300px;
    }

    .small-card {
        height: 170px;
    }

    .experience-grid,
    .how-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container,
    .site-header,
    .site-footer {
        width: min(100% - 28px, 1200px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .card-row,
    .services-grid,
    .logo-strip {
        grid-template-columns: 1fr;
    }

    .logo-strip div:last-child {
        grid-column: auto;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .feature-card,
    .service-card,
    .policy-card,
    .contact-card,
    .info-card,
    .cta-card,
    .how-card,
    .trust-section,
    .enterprise-card {
        padding: 24px;
        border-radius: 24px;
    }

    .experience-card {
        min-height: 130px;
    }
}