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

:root {
    --navy: #1a2744;
    --navy-light: #243556;
    --navy-dark: #111b30;
    --gold: #c9a84c;
    --gold-light: #d4b76a;
    --gold-dark: #b8943f;
    --cream: #f8f6f1;
    --cream-dark: #f0ece4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-body: #3a3a3a;
    --text-muted: #6b6b6b;
    --text-light: #9a9a9a;
    --line: #e5e0d8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Loader */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-line {
    width: 60px;
    height: 2px;
    background: var(--navy-light);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -60px;
    top: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
    animation: loaderSlide 0.8s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { left: -60px; }
    100% { left: 60px; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--line);
}

.navbar.scrolled .logo-text {
    color: var(--navy);
}

.navbar.scrolled .nav-links a {
    color: var(--text-body);
}

.navbar.scrolled .nav-phone {
    color: var(--gold-dark);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.04em;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold) !important;
    font-weight: 500 !important;
}

.nav-phone::after {
    display: none !important;
}

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

.hamburger {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .hamburger {
    background: var(--navy);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 27, 48, 0.72) 0%,
        rgba(26, 39, 68, 0.65) 50%,
        rgba(17, 27, 48, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-full {
    width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* Section shared */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--white);
}

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--line);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(26, 39, 68, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold-dark);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* About */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--gold);
    z-index: -1;
}

.about-content {
    max-width: 480px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 28px;
}

.about-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    margin: 36px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.value-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.value-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.04em;
    padding: 0 16px;
}

.value-divider {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.about-content .btn {
    margin-top: 8px;
}

/* Gallery */
.gallery {
    padding: 100px 0 0;
    background: var(--white);
    overflow: hidden;
}

.gallery .section-header {
    margin-bottom: 48px;
}

.gallery-scroll {
    overflow: hidden;
    padding-bottom: 80px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: galleryScroll 40s linear infinite;
    width: max-content;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes galleryScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    flex-shrink: 0;
    width: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 267px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(17, 27, 48, 0.85), transparent);
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Process */
.process {
    padding: 120px 0;
    background: var(--navy);
}

.process .section-eyebrow {
    color: var(--gold);
}

.process .section-title {
    color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -20px;
    width: 40px;
    height: 1px;
    background: rgba(201, 168, 76, 0.3);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(17, 27, 48, 0.9) 0%,
        rgba(26, 39, 68, 0.82) 60%,
        rgba(26, 39, 68, 0.6) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.cta-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--gold-dark);
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

.contact-value a {
    color: var(--navy);
    transition: var(--transition);
}

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

.contact-form-wrap {
    background: var(--cream);
    padding: 48px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--line);
    outline: none;
    transition: var(--transition);
    appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 15px;
    color: var(--text-body);
}

/* Footer */
.footer {
    background: var(--navy-dark);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand .logo-mark {
    width: 44px;
    height: 44px;
    font-size: 20px;
}

.footer-brand .logo-text {
    font-size: 19px;
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

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

.footer-contact a {
    font-size: 15px;
    color: var(--gold);
    transition: var(--transition);
}

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

.footer-contact span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

/* Mobile menu overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 27, 48, 0.97);
    backdrop-filter: blur(12px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.nav-mobile-overlay.active {
    display: flex;
}

.nav-mobile-overlay .nav-links {
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.nav-mobile-overlay .nav-links a {
    font-size: 18px;
    color: var(--white);
}

.nav-mobile-overlay .nav-phone {
    font-size: 16px;
    margin-top: 16px;
}

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .process-step::after {
        display: none;
    }

    .about-layout {
        gap: 48px;
    }

    .contact-layout {
        gap: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding-top: 60px;
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .services {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .about {
        padding: 80px 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 360px;
    }

    .about-accent {
        display: none;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        max-width: 100%;
    }

    .about-content .section-eyebrow {
        text-align: center;
    }

    .about-values {
        justify-content: center;
    }

    .about-content .btn {
        display: block;
        text-align: center;
    }

    .gallery {
        padding: 80px 0 0;
    }

    .gallery-item {
        width: 300px;
    }

    .gallery-item img {
        height: 200px;
    }

    .process {
        padding: 80px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-banner {
        padding: 80px 0;
    }

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

    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .section-eyebrow {
        text-align: center;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .step-number {
        font-size: 36px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .gallery-track {
        animation: none;
    }

    #page-loader {
        display: none;
    }
}
