:root {
    --color-deep: #132229;
    --color-surface: #1d3139;
    --color-accent: #c8a36a;
    --color-accent-2: #a8844f;
    --color-bg: #f8f6f2;
    --color-text: #29353a;
    --color-muted: #5d6a70;
    --white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--white);
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-deep);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent-2);
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--color-accent-2);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--color-deep);
}

.top-bar {
    background: var(--color-deep);
    padding: 0.55rem 0;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
}

.site-header {
    border-bottom: 1px solid #ece8df;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    min-height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.11em;
    color: var(--color-deep);
    font-weight: 700;
}

.logo-sub {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: var(--color-accent);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.1rem;
}

.main-nav a {
    color: var(--color-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.main-nav li.active a,
.main-nav a:hover {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-deep);
    display: block;
}

.hero {
    min-height: 540px;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 34, 41, 0.64);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    width: min(850px, 92%);
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    margin-bottom: 1rem;
}

.hero-content h2 {
    color: #e7ddd0;
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.section {
    padding: 4.6rem 0;
}

.section-alt {
    background: var(--color-bg);
}

.lead {
    max-width: 760px;
    margin-bottom: 2rem;
    color: var(--color-muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card,
.project-card {
    background: var(--white);
    border: 1px solid #eadfcd;
    overflow: hidden;
}

.service-card img,
.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-card-content,
.project-card-content {
    padding: 1.3rem;
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    border-bottom: 1px solid #ece8df;
    padding: 0.65rem 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-footer {
    background: var(--color-surface);
    color: #d5dbe0;
    margin-top: 2rem;
    padding-top: 3rem;
}

.site-footer h4 {
    color: var(--color-accent);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #d5dbe0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    text-align: center;
}

.policy-content {
    max-width: 860px;
}

.policy-content h2 {
    margin: 1.8rem 0 0.9rem;
}

.policy-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: var(--color-deep);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid #ded6c8;
    font-family: var(--font-body);
    font-size: 0.96rem;
    background: #fffdfa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.cc-revoke {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--color-deep) !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}

@media (max-width: 980px) {
    .cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 84px;
        right: 0;
        left: 0;
        background: var(--white);
        border-top: 1px solid #ece8df;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav li {
        border-bottom: 1px solid #ece8df;
        padding: 0.8rem 4%;
    }
    .cards-3,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .top-bar-inner {
        justify-content: center;
        flex-wrap: wrap;
    }
}
