:root {
    --brand: #bd1f32;
    --brand-dark: #7f1020;
    --brand-light: #f8e9ec;
    --green: #2f746e;
    --gold: #d8ad68;
    --ink: #2f2023;
    --muted: #796f71;
    --line: #eadfe0;
    --surface: #f8f3ef;
    --white: #fff;
    --font-body: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    --font-display: Georgia, "Songti SC", "STSong", "SimSun", serif;
    --header-height: 76px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-body);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { text-underline-offset: 4px; }

.site-container { max-width: 1180px; }

.skip-link {
    position: fixed;
    z-index: 1100;
    top: 8px;
    left: 8px;
    padding: 9px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

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

.site-header {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(127, 16, 32, .09);
    background: rgba(255, 253, 251, .96);
    backdrop-filter: blur(12px);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(84, 28, 34, .09); }
.site-header .navbar { width: 100%; padding: 10px 0; }
.navbar-brand { display: flex; align-items: center; padding: 0; }
.navbar-brand img {
    display: block;
    width: 135px;
    height: 45px;
    padding: 3px 7px;
    border: 1px solid rgba(127, 16, 32, .12);
    border-radius: 6px;
    background: var(--white);
    object-fit: contain;
    box-shadow: 0 5px 16px rgba(84, 28, 34, .06);
}

.navbar-nav { gap: 4px; }
.navbar-nav .nav-link {
    padding: 10px 15px !important;
    color: #454b50;
    font-size: 15px;
    font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brand); }

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(159, 29, 49, .12); }

.nav-action {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 6px;
    color: var(--white);
    background: linear-gradient(135deg, #a61428, #d34452);
    box-shadow: 0 8px 20px rgba(181, 28, 47, .16);
    font-size: 14px;
    font-weight: 700;
}

.nav-action:hover,
.nav-action:focus { color: var(--white); background: linear-gradient(135deg, #8f1022, #bd263a); }

.anchor-section { scroll-margin-top: calc(var(--header-height) + 14px); }
.section-space { padding: 104px 0; }

.hero-section {
    position: relative;
    min-height: calc(100svh - 132px);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    color: var(--white);
    background: #8e1123;
}

.hero-media {
    position: absolute;
    inset: 0 0 0 52%;
    overflow: hidden;
    background: #f5ecee;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
    transform: scale(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, #8e1123 0%, #9f1729 46%, rgba(166, 23, 43, .94) 58%, rgba(189, 38, 58, .16) 100%);
    background-size: 48px 48px, 48px 48px, auto;
}

.hero-content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { max-width: 620px; }

.section-kicker {
    margin: 0 0 18px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.section-kicker-light { color: #f1c978; }
.hero-copy h1 { margin: 0; font-family: var(--font-display); font-size: 72px; line-height: 1.08; font-weight: 700; }
.hero-lead { margin: 18px 0 0; color: #f0d1a1; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.hero-description { max-width: 560px; margin: 24px 0 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn-primary-site,
.btn-outline-light-site,
.btn-light-site {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
}

.btn-primary-site { color: var(--brand-dark); background: linear-gradient(135deg, #fff8ec, #e5bd7d); border-color: #e5bd7d; box-shadow: 0 12px 28px rgba(65, 0, 9, .2); }
.btn-primary-site:hover,
.btn-primary-site:focus { color: var(--brand-dark); background: linear-gradient(135deg, #fffdf8, #edc98f); border-color: #edc98f; }
.btn-outline-light-site { color: var(--white); border: 1px solid rgba(255,255,255,.58); background: rgba(255,255,255,.06); }
.btn-outline-light-site:hover,
.btn-outline-light-site:focus { color: var(--ink); background: var(--white); border-color: var(--white); }

.section-title { max-width: 640px; margin: 0; color: var(--ink); font-family: var(--font-display); font-size: 42px; line-height: 1.35; font-weight: 700; }
.section-copy { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-section { border-bottom: 1px solid var(--line); background: #fffdfb; }
.about-lead { margin: 0 0 20px; color: var(--ink); font-family: var(--font-display); font-size: 22px; line-height: 1.75; font-weight: 600; }

.value-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.value-row span {
    padding: 9px 14px;
    border-left: 3px solid var(--green);
    color: #3e474c;
    background: var(--surface);
    font-size: 14px;
    font-weight: 700;
}

.services-section { background: var(--surface); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); align-items: end; gap: 44px; margin-bottom: 48px; }
.service-list > div { display: flex; }
.service-card {
    position: relative;
    min-height: 270px;
    width: 100%;
    padding: 30px 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(84, 28, 34, .07);
}

.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--card-accent); }
.service-number { display: block; margin-bottom: 62px; color: var(--card-accent); font-size: 14px; font-weight: 800; }
.service-card h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-card-wine { --card-accent: var(--brand); }
.service-card-green { --card-accent: var(--green); }
.service-card-ink { --card-accent: #39444d; }
.service-card-gold { --card-accent: var(--gold); }

.app-section { background: var(--white); }
.app-band {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 64px 8%;
    border-radius: 8px;
    color: var(--white);
    background: #273d3b;
}

.app-preview { position: absolute; top: -64px; right: 7%; width: 300px; height: 590px; overflow: hidden; opacity: .94; transform: rotate(3deg); }
.app-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.app-copy { position: relative; z-index: 1; max-width: 570px; }
.app-copy h2 { margin: 0; font-family: var(--font-display); font-size: 42px; line-height: 1.3; font-weight: 700; }
.app-copy > p:not(.section-kicker) { max-width: 520px; margin: 20px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.9; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.btn-light-site { color: #24413e; background: var(--white); border-color: var(--white); }
.btn-light-site:hover { color: var(--white); background: transparent; }
.text-link-light { color: #d6e9e6; font-weight: 700; }
.text-link-light:hover { color: var(--white); }

.contact-section { border-top: 1px solid var(--line); background: #fffaf7; }
.contact-list { border-top: 1px solid var(--ink); }
.contact-item {
    min-height: 108px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item[hidden] { display: none; }

.contact-label { color: var(--muted); font-size: 14px; }
.contact-item strong { color: var(--ink); font-family: var(--font-display); font-size: 17px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.contact-item a { color: var(--brand); font-size: 14px; font-weight: 700; }

.site-footer { padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img {
    width: 120px;
    height: 40px;
    padding: 3px 6px;
    border: 1px solid rgba(127, 16, 32, .12);
    border-radius: 6px;
    background: var(--white);
    object-fit: contain;
    box-shadow: 0 5px 16px rgba(84, 28, 34, .06);
}
.footer-brand span,
.footer-meta { color: var(--muted); font-size: 13px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-meta a { color: var(--muted); }

@media (max-width: 991.98px) {
    :root { --header-height: 68px; }
    .site-header .navbar { padding: 7px 0; }
    .navbar-brand img { width: 120px; height: 40px; }
    .navbar-collapse { margin-top: 9px; padding: 10px 0 16px; border-top: 1px solid var(--line); }
    .navbar-nav { align-items: stretch !important; }
    .navbar-nav .nav-link { padding: 12px 4px !important; }
    .nav-action { width: 100%; margin-top: 6px; }
    .section-space { padding: 82px 0; }
    .hero-section { min-height: calc(100svh - 116px); }
    .hero-media { inset: 0 0 0 43%; }
    .hero-shade {
        background:
            linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
            linear-gradient(90deg, #8e1123 0%, #991426 43%, rgba(159,23,41,.95) 66%, rgba(166,23,43,.58) 100%);
        background-size: 48px 48px, 48px 48px, auto;
    }
    .hero-copy { max-width: 570px; }
    .hero-copy h1 { font-size: 58px; }
    .section-title,
    .app-copy h2 { font-size: 36px; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .app-band { min-height: 420px; padding: 56px 48px; }
    .app-preview { right: -20px; opacity: .3; }
}

@media (max-width: 575.98px) {
    .site-container { padding-left: 20px; padding-right: 20px; }
    .section-space { padding: 68px 0; }
    .hero-section { min-height: calc(100svh - 108px); align-items: flex-end; }
    .hero-media { inset: 0; }
    .hero-media img { object-position: center 12%; filter: saturate(.82); }
    .hero-shade {
        background:
            linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
            linear-gradient(180deg, rgba(66,13,22,.28) 0%, rgba(127,16,32,.72) 40%, #8e1123 82%);
        background-size: 48px 48px, 48px 48px, auto;
    }
    .hero-content { padding-top: 150px; padding-bottom: 50px; }
    .hero-copy h1 { font-size: 46px; }
    .hero-lead { margin-top: 12px; font-size: 22px; }
    .hero-description { margin-top: 16px; font-size: 15px; line-height: 1.75; }
    .hero-actions { margin-top: 24px; }
    .hero-actions .btn { flex: 1; min-width: 140px; padding-left: 14px; padding-right: 14px; }
    .section-title,
    .app-copy h2 { font-size: 30px; }
    .about-lead { font-size: 19px; }
    .service-card { min-height: 230px; }
    .service-number { margin-bottom: 42px; }
    .app-band { min-height: 480px; align-items: flex-end; padding: 50px 28px; }
    .app-preview { top: -120px; right: -35px; width: 270px; height: 550px; opacity: .28; }
    .contact-item { grid-template-columns: 1fr; gap: 7px; padding: 20px 0; }
    .contact-item a { justify-self: start; }
    .footer-inner,
    .footer-brand { align-items: flex-start; flex-direction: column; }
    .footer-meta { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
