/* ========================================
   Analytical Benevolence — Styles
   Deep Navy + Warm Gold | Clean Minimalist
   ======================================== */

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

:root {
    --navy-950: #060e1a;
    --navy-900: #0a1628;
    --navy-800: #0f2136;
    --navy-700: #162d4a;
    --navy-600: #1e3a5c;
    --gold-500: #c9a84c;
    --gold-400: #d4b960;
    --gold-300: #e0cc7a;
    --gold-200: #f0e4a8;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-50: #fafaf8;
    --gray-100: #f4f3f0;
    --gray-200: #e8e6e1;
    --gray-300: #d4d2cc;
    --gray-400: #a8a59e;
    --gray-500: #78756e;
    --gray-600: #5c5953;
    --gray-700: #3d3a35;
    --gray-800: #2a2723;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--navy-900);
    margin-bottom: 20px;
}

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

.section-line {
    width: 60px;
    height: 1px;
    background: var(--gold-500);
    margin-bottom: 32px;
}

.section-line--light {
    background: var(--gold-400);
}

.section-line--centered {
    margin-left: auto;
    margin-right: auto;
}

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

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

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

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

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

.btn--full {
    width: 100%;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transition: all var(--transition);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__logo-mark {
    display: block;
    width: 28px;
    height: 28px;
    background: var(--gold-500);
    position: relative;
    flex-shrink: 0;
}

.nav__logo-mark::before,
.nav__logo-mark::after {
    content: '';
    position: absolute;
    background: var(--navy-900);
}

.nav__logo-mark::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav__logo-mark::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

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

.nav__link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    color: var(--gold-500);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    color: var(--gold-400);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--white);
    transition: all var(--transition);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 58, 92, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    padding-right: 20px;
}

.hero__eyebrow {
    margin-bottom: 24px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.875rem, 3.5vw, 2.875rem);
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 28px;
}

.hero__subheadline {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__trust-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold-500);
    line-height: 1.2;
}

.hero__trust-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.4;
}

/* ── 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(--gray-200);
    border-radius: 2px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

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

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    margin-bottom: 24px;
    color: var(--gold-500);
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--gold-500);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about__container {
    display: grid;
    grid-template-columns: 560px 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 2px;
}

.about__image-frame {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.3;
}

.about__content {
    padding-left: 20px;
}

.about__text {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.about__values {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about__value {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.about__value-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-500);
    line-height: 1;
    padding-top: 4px;
    flex-shrink: 0;
}

.about__value-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 400;
}

.about__value-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

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

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

.approach__step {
    position: relative;
    padding: 40px 28px;
    background: var(--white);
    border-radius: 2px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.approach__step:hover {
    border-color: var(--gold-500);
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06);
}

.approach__step-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-200);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.approach__step-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--navy-900);
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.approach__step-text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(ellipse at 30% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact__detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 2px;
    color: var(--gold-500);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.6;
}

.contact__detail-value a {
    color: var(--white);
}

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

/* Form */
.contact__form-wrapper {
    background: var(--white);
    border-radius: 2px;
    padding: 48px;
}

.contact__form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--navy-900);
    margin-bottom: 32px;
    font-weight: 400;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    outline: none;
    transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 2px;
    color: var(--navy-900);
    font-size: 0.9375rem;
}

.form-success svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ── Footer ── */
.footer {
    background: var(--navy-950);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.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.06);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__logo-mark {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--gold-500);
    position: relative;
    flex-shrink: 0;
}

.footer__logo-mark::before,
.footer__logo-mark::after {
    content: '';
    position: absolute;
    background: var(--navy-950);
}

.footer__logo-mark::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer__logo-mark::after {
    width: 2px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer__logo-text {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    color: var(--white);
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer__link {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer__link:hover {
    color: var(--gold-500);
}

.footer__contact {
    text-align: right;
}

.footer__contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer__phone {
    font-size: 0.9375rem;
    color: var(--gold-500);
}

.footer__phone:hover {
    color: var(--gold-400);
}

.footer__bottom {
    padding-top: 32px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero__container {
        gap: 48px;
    }

    .about__container {
        gap: 48px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active .nav__toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav__toggle.active .nav__toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active .nav__toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero__content {
        padding-right: 0;
        order: 1;
    }

    .hero__image {
        order: 2;
    }

    .hero__image-wrapper img {
        height: 360px;
    }

    .hero__image-accent {
        display: none;
    }

    .hero__trust {
        gap: 24px;
    }

    .services {
        padding: 80px 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about {
        padding: 80px 0;
    }

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

    .about__image {
        max-width: 400px;
    }

    .about__image img {
        height: 400px;
    }

    .about__content {
        padding-left: 0;
    }

    .approach {
        padding: 80px 0;
    }

    .approach__steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact {
        padding: 80px 0;
    }

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

    .contact__form-wrapper {
        padding: 32px 24px;
    }

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

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

    .footer__contact {
        text-align: center;
    }

    .footer__tagline {
        max-width: none;
    }
}

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

    .hero__actions {
        flex-direction: column;
    }

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

    .hero__trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero__trust-divider {
        display: none;
    }

    .contact__form-wrapper {
        padding: 24px 20px;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .approach__step {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}
