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

:root {
    --primary: #cb3234;
    --primary-light: #d94547;
    --primary-dark: #a82829;
    --navy: #1a2744;
    --dark: #1a2744;
    --dark-soft: #243253;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border: 1.5px solid var(--gray-400);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(203,50,52,0.05);
}

.btn-nav {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
}
.btn-nav:hover { background: var(--primary-light); }

.btn-full { width: 100%; }

.btn-cta {
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    padding: 16px 40px;
    font-size: 1rem;
    border-radius: 8px;
}
.btn-cta:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon { flex-shrink: 0; }
.logo-beyond { color: var(--primary); font-weight: 700; }
.logo-advisory { color: var(--dark); font-weight: 600; }

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

.nav-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 500; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 40%, #dce8f8 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(203,50,52,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(203,50,52,0.03) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.hero-content {
    padding: 120px 0 80px;
}

.hero-label {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-image {
    padding: 120px 0 80px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-300);
}

.hero-stat {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-stat strong {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-300);
}

/* ===== Logo Bar ===== */
.logo-bar {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.logo-bar-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.logo-bar-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-bar-grid span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

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

.section-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2, .about-content h2, .contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border-radius: 12px;
    color: var(--white);
    margin-bottom: 24px;
}

.service-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(203,50,52,0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 20px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.925rem;
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 120px 0;
}

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

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

.about-image {
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    opacity: 0.08;
    border-radius: 16px;
    z-index: -1;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.75;
}

.about-card {
    background: var(--dark);
    padding: 40px 32px;
    border-radius: 16px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 32px;
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--dark));
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-role {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.about-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-quals {
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.5) !important;
    font-style: italic;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== Impact Numbers ===== */
.impact {
    padding: 80px 0;
    background: var(--navy);
}

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

.impact-item {
    padding: 16px;
}

.impact-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.impact-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.impact-label {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}

/* ===== Approach ===== */
.approach {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.approach-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--navy));
    opacity: 0.2;
}

.step {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.6;
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

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

/* ===== Testimonials ===== */
.testimonials {
    padding: 120px 0;
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.4;
}

.testimonial-card p {
    color: var(--gray-600);
    font-size: 0.925rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    font-size: 0.875rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== Expertise ===== */
.expertise {
    padding: 120px 0;
    background: var(--gray-50);
}

.expertise-clusters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.expertise-cluster h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.expertise-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-pills span {
    display: inline-block;
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.2s ease;
}

.expertise-pills span:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(203,50,52,0.04);
}

/* ===== CTA Band ===== */
.cta-band {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-band h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-band p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gray-700);
    font-size: 0.925rem;
}
.contact-item svg { color: var(--primary); flex-shrink: 0; }
.contact-item a:hover { color: var(--primary); }

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(203,50,52,0.1);
}

.form-group textarea { resize: vertical; }

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.6);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .logo-advisory { color: var(--white); }
.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}
.footer-links a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
    transition: all 0.2s;
}
.footer-social a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children > *:nth-child(6) { transition-delay: 500ms; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-steps { grid-template-columns: repeat(2, 1fr); }
    .approach-steps::before { display: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-clusters { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .btn-nav { width: 100%; text-align: center; }

    .hero-content { padding: 100px 0 60px; }
    .hero h1 { font-size: 2.25rem; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .approach-steps { grid-template-columns: 1fr; gap: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .expertise-clusters { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .logo-bar-grid { gap: 24px; }
    .logo-bar-grid span { font-size: 0.75rem; }

    .impact-number { font-size: 2.5rem; }
    .impact-suffix { font-size: 1.75rem; }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-brand { align-items: center; }
    .footer-brand-top { justify-content: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }

    .services, .about, .approach, .expertise, .contact, .testimonials {
        padding: 80px 0;
    }

    .cta-band { padding: 64px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 12px; align-items: flex-start; }
    .hero-stat-divider { display: none; }
    .contact-form-wrapper { padding: 24px; }
    .impact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .logo-bar-grid { flex-direction: column; gap: 16px; }
}
