:root {
    --gold: #d4a017;
    --gold-light: #e8b84a;
    --gold-dark: #b8860b;
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #252525;
    --white: #ffffff;
    --gray: #a0a0a0;
    --gray-light: #d0d0d0;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --header-bar: 80px;
    --safe-top: env(safe-area-inset-top, 0px);
    --header-h: calc(var(--header-bar) + var(--safe-top));
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    padding-top: var(--safe-top);
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-bar);
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

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

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--white);
}

.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 3px;
}

.lang-switcher a {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    color: var(--gray);
    transition: var(--transition);
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--gold);
    color: var(--black);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a1508 100%);
}

.hero-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 160, 23, 0.05) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    padding-top: var(--header-h);
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 900px;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-light);
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease 0.6s both;
}

.hero-content .btn {
    animation: fadeUp 0.8s ease 0.8s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.3);
}

.hero-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.hero-prev, .hero-next {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.hero-prev:hover, .hero-next:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Intro Strip */
.intro-strip {
    background: var(--dark-2);
    border-top: 1px solid rgba(212, 160, 23, 0.2);
    border-bottom: 1px solid rgba(212, 160, 23, 0.2);
    padding: 2rem 0;
}

.intro-strip p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    color: var(--gray);
    max-width: 600px;
    margin: 1rem auto 0;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

/* About */
.about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-main .lead {
    font-size: 1.15rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-block {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--gold);
}

.about-block h3 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.about-block p,
.about-main > p {
    color: var(--gray);
    line-height: 1.8;
}

.mission-card {
    background: var(--dark-2);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.mission-icon {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray);
    line-height: 1.8;
}

.stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    background: var(--dark-3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Services */
.services {
    background: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 160, 23, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-toggle {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0;
    margin-top: auto;
    transition: var(--transition);
    align-self: flex-start;
}

.service-toggle:hover {
    color: var(--gold-light);
}

.service-toggle:focus {
    outline: none;
}

.service-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.service-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.service-card.open .service-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.service-card-visual {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-card-visual::before {
    display: none;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--dark-3);
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-visual:hover .service-image img {
    transform: scale(1.05);
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-3), #1a1508);
}

.service-image-placeholder span {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 160, 23, 0.25);
}

.service-image-inline {
    height: 160px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-body {
    padding: 1.5rem 1.75rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-visual .service-number {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.service-card-visual h3 {
    font-size: 1.1rem;
    line-height: 1.4;
}

.services-grid-cards {
    grid-template-columns: repeat(3, 1fr);
}

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

.service-detail p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Process */
.process {
    background: var(--dark);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.process-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 50px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(212, 160, 23, 0.1));
}

.process-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark-2);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold);
}

.process-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--gray);
    line-height: 1.7;
}

.process-cta {
    text-align: center;
    padding: 2.5rem;
    background: var(--dark-2);
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.15);
}

.process-cta p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* References */
.references {
    background: var(--black);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.reference-card {
    background: var(--dark-2);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.reference-card:hover {
    border-color: rgba(212, 160, 23, 0.4);
    transform: translateY(-4px);
}

.reference-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.reference-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.reference-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Contact */
.contact {
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(212, 160, 23, 0.3);
}

.contact-card h3 {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

a.contact-line:hover {
    color: var(--gold);
}

.contact-line svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold);
}

.contact-tax {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-tax span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Footer */
.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(212, 160, 23, 0.15);
    padding: 3rem 0;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin: 0 auto 1.5rem;
}

.footer-inner p {
    color: var(--gray);
    font-size: 0.95rem;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.85rem !important;
}

/* Page hero (inner pages) */
.page-hero {
    padding: calc(var(--header-h) + 4rem) 0 3rem;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--black) 100%);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-top: 0.5rem;
}

.page-hero-desc {
    color: var(--gray-light);
    max-width: 700px;
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-muted { color: var(--gray); }

/* Services page */
.services-page {
    background: var(--black);
}

.services-more {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    background: transparent;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.25);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--dark-2);
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.15);
}

.section-cta p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Contact page */
.contact-page {
    background: var(--black);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.contact-form {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-alert-success {
    background: rgba(39, 174, 96, 0.12);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #6dd58c;
}

.form-alert-error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #f1948a;
}

.contact-info-wrap .contact-grid {
    grid-template-columns: 1fr;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid-cards { grid-template-columns: 1fr; }
    .references-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --header-bar: 64px;
    }

    .logo img {
        height: 40px;
    }

    .lang-switcher a {
        padding: 0.35rem 0.55rem;
        font-size: 0.75rem;
    }

    .logo,
    .header-actions {
        position: relative;
        z-index: 2;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 1;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        padding: 0 2rem;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border-bottom: 0;
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            padding 0.35s ease,
            visibility 0s linear 0.35s;
    }

    .main-nav.open {
        max-height: 70vh;
        padding: 2rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        border-bottom: 1px solid rgba(212, 160, 23, 0.15);
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            padding 0.35s ease,
            visibility 0s;
    }

    .nav-toggle { display: flex; }

    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-controls { bottom: 80px; }

    .section { padding: 4rem 0; }
}
