:root {
    --red-900: #3d1210;
    --red-700: #6a1b1a;
    --red-500: #8f2f2d;
    --beige-100: #f7f0e6;
    --beige-200: #efe3cf;
    --gold-300: #d7b574;
    --text-900: #1d1513;
    --text-700: #3b2c28;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(29, 21, 19, 0.12);
}

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

body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--text-900);
    background: linear-gradient(180deg, var(--beige-100) 0%, #fbf7f1 45%, #ffffff 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

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

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

p {
    color: var(--text-700);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 24px;
    top: 24px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--red-700);
    color: var(--white);
    z-index: 1000;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(61, 18, 16, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background: var(--red-900);
    color: var(--beige-100);
    font-size: 0.9rem;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.top-bar a {
    color: var(--beige-100);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 24px;
}

.brand img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.nav {
    position: relative;
}

.nav__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav__menu a {
    font-weight: 500;
    color: var(--text-900);
}

.nav__cta a {
    color: var(--white);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--red-700);
    margin: 5px 0;
}

.hero {
    padding: 80px 0 60px;
}

.hero--compact {
    padding: 60px 0 40px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.hero__photo {
    background: url("../images/hero.webp") center/cover no-repeat;
    border-radius: 24px;
    min-height: 420px;
    box-shadow: var(--shadow);
}

.hero--bg {
    background-color: var(--red-900);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.hero--bg::before {
    content: "";
    display: none;
}

.hero--bg .container {
    position: relative;
    z-index: 1;
}

.hero--bg h1,
.hero--bg p,
.hero--bg .eyebrow {
    color: var(--beige-100);
}

.hero--bg .button--ghost {
    border-color: var(--beige-100);
    color: var(--beige-100);
    background: transparent;
}

.hero--bg .button--ghost:hover {
    background: rgba(247, 240, 230, 0.15);
}

.hero h1 {
    font-family: "Cinzel", serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: var(--red-900);
    margin-bottom: 18px;
    line-height: 1.15;
}

.hero.hero--bg h1 {
    color: var(--beige-100);
}

.hero--bg .hero__lead {
    color: var(--beige-100);
}

.hero__lead {
    font-size: 1.1rem;
    margin-bottom: 26px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--red-500);
    margin-bottom: 12px;
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.button--primary {
    background: var(--red-700);
    color: var(--white);
    box-shadow: var(--shadow);
}

.button--primary:hover {
    background: var(--red-900);
}

.button--ghost {
    border-color: var(--red-700);
    color: var(--red-700);
    background: transparent;
}

.button--ghost:hover {
    background: var(--beige-200);
}

.button--beige {
    background: var(--beige-100);
    color: var(--red-700);
    border: 1px solid rgba(61, 18, 16, 0.2);
}

.button--beige:hover {
    background: var(--beige-200);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.hero__stats span {
    display: block;
    font-weight: 700;
    color: var(--red-700);
}

.hero__card {
    background: var(--white);
    border: 1px solid rgba(61, 18, 16, 0.2);
    border-radius: 20px;
    padding: 32px;
}

.hero__card h2 {
    font-family: "Cinzel", serif;
    color: var(--red-900);
    margin-bottom: 12px;
}

.checklist {
    list-style: none;
    margin-top: 18px;
}

.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-300);
    font-weight: 700;
}

.section {
    padding: 70px 0;
}

.section--alt {
    background: var(--beige-100);
}

.section--dark {
    background: linear-gradient(135deg, #2b0e0c 0%, #4a1916 100%);
    color: var(--beige-100);
}

.section--dark p,
.section--dark h2,
.section--dark h3,
.section--dark .eyebrow {
    color: var(--beige-100);
}

.section--dark .eyebrow {
    opacity: 0.8;
}

#team .section-head h2 {
    color: var(--beige-100);
}

.section--dark .team-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.section--dark .team-card hr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.section--dark .team-card h3 {
    color: var(--beige-100);
}

.about {
    background: url("../images/theme-3-big.webp") center/cover no-repeat;
}

.about .container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(61, 18, 16, 0.18);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
    position: relative;
}

.about__image {
    background: url("../images/hero-2.webp") center/cover no-repeat;
    border-radius: 24px;
    min-height: 380px;
    box-shadow: var(--shadow);
}

.about__content {
    display: grid;
    gap: 18px;
}

.section h2,
.section h1 {
    font-family: "Cinzel", serif;
    color: var(--red-900);
    margin-bottom: 18px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
}

.text-link {
    font-weight: 600;
    color: var(--red-700);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 34px;
    align-items: start;
}

.feature-grid,
.service-grid,
.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.feature-card,
.service-card,
.insight-card {
    background: var(--white);
    border: 1px solid rgba(61, 18, 16, 0.18);
    border-radius: 18px;
    padding: 24px;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--red-700);
    color: var(--beige-100);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.card-icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.card-icon--alt {
    background: var(--beige-200);
    color: var(--red-700);
    border: 1px solid rgba(61, 18, 16, 0.18);
}

.service-card,
.feature-card,
.insight-card {
    display: grid;
    gap: 10px;
}

.service-card {
    position: relative;
    overflow: hidden;
}

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

.service-panel {
    background: var(--white);
    border: 1px solid rgba(61, 18, 16, 0.2);
    border-radius: 20px;
    padding: 26px;
    display: grid;
    gap: 14px;
}

.service-panel__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--red-700);
    color: var(--beige-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.service-panel h3 {
    color: var(--red-700);
}

.inline-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.inline-list li {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(61, 18, 16, 0.18);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-700);
    background: var(--beige-100);
}

.industries-bg {
    background: url("../images/theme-4.webp") center/cover no-repeat;
}

.industries-bg .pill-grid span {
    background: rgba(255, 255, 255, 0.9);
}

.team-card {
    background: transparent;
    border: 1px solid rgba(61, 18, 16, 0.18);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 12px;
}

.team-card h3 {
    color: var(--red-700);
}

.team-card hr {
    border: none;
    border-top: 1px solid rgba(61, 18, 16, 0.2);
}

.section--dark .service-card::after {
    display: none;
}

.accent-card {
    background: linear-gradient(135deg, var(--red-900), var(--red-700));
    color: var(--beige-100);
    border-radius: 22px;
    padding: 34px;
}

.accent-card h3 {
    font-family: "Cinzel", serif;
    margin-bottom: 10px;
}

.metric {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 16px;
}

.metric span {
    display: block;
    font-weight: 700;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-grid span {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(61, 18, 16, 0.12);
    font-weight: 600;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.timeline-step {
    display: flex;
    gap: 14px;
    background: var(--white);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(61, 18, 16, 0.18);
}

.timeline-step span {
    font-family: "Cinzel", serif;
    font-weight: 700;
    color: var(--gold-300);
}

.transactions {
    background: var(--beige-100);
}

.transaction-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.transaction-list {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.transaction-card {
    border: 1px solid rgba(61, 18, 16, 0.2);
    border-radius: 16px;
    padding: 16px;
    background: var(--white);
    display: grid;
    gap: 8px;
}

.transaction-card span {
    color: var(--red-700);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.transaction-card h4 {
    font-size: 1rem;
    color: var(--text-900);
}

.transaction-control {
    background: var(--red-900);
    color: var(--beige-100);
    border-radius: 22px;
    padding: 28px;
    display: grid;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.transaction-control p {
    color: var(--beige-100);
}

.transaction-control__header {
    display: grid;
    gap: 10px;
}

.transaction-control h3 {
    font-family: "Cinzel", serif;
    font-size: 1.4rem;
}

.control-line {
    height: 2px;
    width: 60px;
    background: var(--gold-300);
}

.control-metrics {
    display: grid;
    gap: 14px;
}

.control-metrics strong {
    display: block;
    font-size: 1.1rem;
    color: var(--beige-100);
}

.control-metrics span {
    display: block;
    color: var(--beige-100);
    opacity: 0.85;
}

.contact-cta {
    background: var(--red-900);
    color: var(--beige-100);
}

.contact-cta h2 {
    color: var(--beige-100);
}

.contact-cta p {
    color: var(--beige-100);
}

.contact-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-cta__actions {
    display: flex;
    gap: 14px;
}

.contact-page .contact-details {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.contact-form {
    display: grid;
    gap: 16px;
    background: var(--white);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(61, 18, 16, 0.18);
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--text-900);
}

input,
select,
textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(61, 18, 16, 0.2);
    font-family: "Source Sans 3", sans-serif;
}

.form-success {
    padding: 28px;
    border-radius: 18px;
    background: var(--beige-100);
    border: 1px solid rgba(61, 18, 16, 0.1);
}

.simple-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.simple-list li {
    position: relative;
    padding-left: 20px;
}

.simple-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold-300);
    font-weight: 700;
}

.service-packages .service-card h3 {
    font-size: 1.2rem;
}

.service-packages .service-card hr {
    border: none;
    border-top: 1px solid rgba(61, 18, 16, 0.2);
}

.form-errors {
    background: #fce9e8;
    border: 1px solid rgba(143, 47, 45, 0.2);
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--red-700);
    font-weight: 600;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.faq-item {
    background: var(--white);
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(61, 18, 16, 0.18);
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
}

.insight-form .contact-form {
    border: 1px solid rgba(61, 18, 16, 0.18);
}

.site-footer {
    background: var(--red-900);
    color: var(--beige-100);
    padding: 50px 0 0;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: var(--beige-100);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 14px;
}

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

.site-footer h3 {
    font-family: "Cinzel", serif;
    margin-bottom: 12px;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-list a {
    color: var(--beige-100);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding: 16px 0;
    font-size: 0.85rem;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: absolute;
        right: 0;
        top: 58px;
        flex-direction: column;
        align-items: flex-start;
        background: var(--white);
        padding: 16px 20px;
        border-radius: 16px;
        box-shadow: var(--shadow);
        min-width: 220px;
        display: none;
    }

    .nav__menu.is-open {
        display: grid;
        gap: 12px;
    }

    .nav__cta {
        width: 100%;
    }

    .nav__cta a {
        width: 100%;
        justify-content: center;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .contact-cta__actions .button {
        width: 100%;
    }

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

@media (max-width: 600px) {
    .top-bar__inner {
        flex-direction: column;
        gap: 6px;
    }

    .hero {
        padding: 60px 0;
    }

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

    .hero__photo {
        min-height: 240px;
        order: -1;
    }

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

    .about__image {
        min-height: 240px;
        order: -1;
    }

    .about .container {
        padding: 24px;
    }

    .brand img {
        height: 48px;
    }

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

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

    .transaction-layout {
        grid-template-columns: 1fr;
    }

    .transaction-list {
        grid-template-columns: 1fr;
    }
}
