/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --navy: #000717;
    --navy-light: #0A1428;
    --navy-dark: #000717;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #B8953A;
    --cream: #FAF8F4;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-500: #8A8A8A;
    --gray-700: #4A4A4A;
    --gray-900: #1A1A1A;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-pad: 6rem 1.5rem;
    --max-width: 1140px;
    --transition: 0.3s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-700);
    max-width: 600px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 1.5rem;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled,
.nav.nav-solid {
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.nav-logo img {
    height: 68px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: var(--gold) !important;
    border: 1px solid var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy-dark) !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-dark);
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 7, 23, 0.7) 0%,
        rgba(0, 7, 23, 0.55) 50%,
        rgba(0, 7, 23, 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: calc(var(--max-width) + 3rem);
    width: 100%;
    padding: 0 1.5rem;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.4);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: var(--section-pad);
    background: var(--cream);
}

.services-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.services-header .section-text {
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.25rem 1.75rem;
    border-radius: 3px;
    border: 1px solid var(--gray-200);
    transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 7, 23, 0.08);
    transform: translateY(-2px);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray-500);
}

/* ============================================
   About / Side-by-Side
   ============================================ */
.about {
    padding: var(--section-pad);
    background: var(--white);
}

.about-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-text {
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.35rem;
    display: block;
    letter-spacing: 0.02em;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--navy);
}

.about-image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.about-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold);
    border-radius: 3px;
    z-index: -1;
}

/* ============================================
   Divider / Quote
   ============================================ */
.divider-quote {
    background: var(--navy);
    padding: 6.5rem 1.5rem 4.5rem;
    text-align: center;
    position: relative;
}

.divider-quote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(201, 168, 76, 0.15);
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.divider-quote blockquote {
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 600;
    line-height: 1.6;
    color: var(--white);
    font-style: italic;
}

.divider-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: var(--section-pad);
    background: var(--cream);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-content {
    padding-top: 0.5rem;
}

.contact-content .section-text {
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.contact-item-text a {
    transition: color var(--transition);
}

.contact-item-text a:hover {
    color: var(--gold-dark);
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 3px;
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-900);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--navy-dark);
    background: var(--gold);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--transition);
}

.form-submit:hover {
    background: var(--gold-light);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 4rem 1.5rem 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.25rem;
    max-width: 320px;
}

.footer-brand img {
    height: 48px;
    width: auto;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact svg {
    width: 14px;
    height: 14px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* ============================================
   Mobile Responsive — Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-pad: 4rem 1.25rem;
    }

    /* Nav */
    .nav-toggle {
        display: block;
    }

    .nav-inner {
        height: 80px;
    }

    .nav-logo img {
        height: 50px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.open {
        display: block;
    }

    html {
        scroll-padding-top: 80px;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-scroll {
        display: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-visual {
        order: -1;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .about-accent {
        display: none;
    }

    /* Contact */
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ============================================
   Mobile Responsive — Small phones (480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --section-pad: 3.5rem 1rem;
    }

    /* Hero */
    .hero-content {
        padding: 0 1rem;
    }

    .hero-label {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8125rem;
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    /* About */
    .about-stats {
        flex-direction: column;
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    /* Quote */
    .divider-quote {
        padding: 3rem 1rem;
    }

    .divider-quote::before {
        font-size: 5rem;
    }

    /* Contact */
    .contact-form {
        padding: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 1rem 0;
    }

    .footer-brand img {
        height: 38px;
    }
}
