/* ============================================
   JOBS — Ana Aguirre | Professional Services
   Minimalist. Precise. Unwavering.
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1A2D4A;
    --gold: #C8A44E;
    --gold-light: #D4B76A;
    --gold-pale: #F5ECD7;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --cream: #F7F5F0;
    --gray-100: #F0EDE8;
    --gray-200: #E2DED6;
    --gray-300: #C4BFB5;
    --gray-400: #9E988E;
    --gray-500: #6B6560;
    --gray-600: #4A4540;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--navy);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.05);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--navy);
}

.logo-divider {
    width: 1px;
    height: 14px;
    background: var(--gray-300);
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    position: relative;
    transition: color 0.3s var(--ease-smooth);
}

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

.nav-menu a:hover {
    color: var(--navy);
}

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

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--navy);
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero-bg-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gray-200), transparent);
    pointer-events: none;
}

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

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.hero-headline .accent {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    max-width: 460px;
    margin-bottom: 44px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
}

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

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 78, 0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-frame {
    overflow: hidden;
    position: relative;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.hero-image-frame:hover img {
    transform: scale(1.03);
}

.hero-stat {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--navy);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-300);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

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

/* --- Section Labels --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.label-line {
    width: 32px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

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

.section-title .accent {
    font-style: italic;
    color: var(--gold);
}

/* --- Expertise --- */
.expertise {
    padding: 140px 0;
    background: var(--off-white);
}

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

.expertise-card {
    background: var(--white);
    padding: 48px 40px;
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.5s var(--ease-out);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08);
    border-color: transparent;
}

.expertise-card:hover::before {
    width: 100%;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    color: var(--gold);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.expertise-card h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 16px;
}

.expertise-card > p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 13px;
    color: var(--gray-600);
    padding-left: 16px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 1px;
    background: var(--gold);
}

/* --- Approach --- */
.approach {
    padding: 140px 0;
    background: var(--white);
}

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

.approach-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 48px;
    max-width: 480px;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    padding-top: 4px;
}

.step h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 6px;
}

.step p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-500);
}

.approach-visual {
    position: relative;
}

.approach-image {
    overflow: hidden;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.approach-quote {
    position: absolute;
    bottom: -32px;
    right: -32px;
    background: var(--navy);
    padding: 32px 36px;
    max-width: 320px;
}

.approach-quote blockquote {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 16px;
}

.approach-quote cite {
    font-family: var(--font-sans);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

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

.about-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: start;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 480px;
    height: 600px;
    object-fit: cover;
}

.about-accent-line {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    pointer-events: none;
}

.about-content {
    padding-top: 20px;
}

.about-content > p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-500);
    margin-bottom: 20px;
    max-width: 520px;
}

.about-values {
    display: flex;
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid var(--gray-200);
}

.value-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid var(--gray-200);
}

.value-item:last-child {
    border-right: none;
}

.value-label {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: var(--navy);
}

.value-line {
    width: 24px;
    height: 1px;
    background: var(--gold);
}

/* --- CTA --- */
.cta-section {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(200, 164, 78, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(200, 164, 78, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

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

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

.cta-accent {
    font-style: italic;
    color: var(--gold);
}

.cta-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 40px;
}

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

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

.contact-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 48px;
}

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

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    padding-top: 2px;
}

.detail-icon svg {
    width: 100%;
    height: 100%;
}

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

.detail-value {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.6;
}

.detail-value a {
    color: var(--navy);
    transition: color 0.3s var(--ease-smooth);
}

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

/* Form */
.contact-form-wrap {
    background: var(--off-white);
    padding: 48px;
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s var(--ease-smooth);
    resize: vertical;
    width: 100%;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-group select {
    appearance: none;
    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='%239E988E' 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: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(200, 164, 78, 0.08);
    border: 1px solid rgba(200, 164, 78, 0.3);
    color: var(--navy);
    font-size: 14px;
    margin-top: 8px;
}

.form-success svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

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

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 14px;
    font-style: italic;
    color: var(--gray-400);
}

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

.footer-links a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    transition: color 0.3s var(--ease-smooth);
}

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

.footer-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-info a {
    color: var(--gray-400);
    transition: color 0.3s var(--ease-smooth);
}

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

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

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .header-inner {
        padding: 0 32px;
    }

    .hero-inner {
        gap: 48px;
    }

    .expertise-grid {
        gap: 24px;
    }

    .approach-layout {
        gap: 48px;
    }

    .about-layout {
        gap: 40px;
    }

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

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

    .header-inner {
        padding: 0 24px;
        height: 64px;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        box-shadow: -8px 0 32px rgba(10, 22, 40, 0.1);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 24px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    /* Hero mobile */
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-frame {
        aspect-ratio: 4/3;
    }

    .hero-stat {
        bottom: -16px;
        left: 16px;
        padding: 16px 24px;
    }

    .stat-number {
        font-size: 22px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-bg-line {
        display: none;
    }

    /* Sections */
    .expertise {
        padding: 100px 0;
    }

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

    .expertise-card {
        padding: 36px 32px;
    }

    .approach {
        padding: 100px 0;
    }

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

    .approach-quote {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
    }

    .about {
        padding: 100px 0;
    }

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

    .about-image-wrap {
        order: -1;
    }

    .about-image-wrap img {
        width: 100%;
        height: 400px;
    }

    .about-accent-line {
        display: none;
    }

    .about-values {
        flex-wrap: wrap;
    }

    .value-item {
        flex: 1 1 calc(50% - 1px);
    }

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

    .contact {
        padding: 100px 0;
    }

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

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

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

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

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

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

    .section-title {
        font-size: 28px;
    }

    .about-values {
        flex-direction: column;
    }

    .value-item {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .value-item:last-child {
        border-bottom: none;
    }
}
