/* ===========================
   CAPITAL MARKETS - PREMIUM DESIGN
   Modern, Sophisticated, High-End
   =========================== */

/* ===========================
   HERO SECTION
   =========================== */
.cm-hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-main-skyscrapers.jpg') center center/cover no-repeat;
    overflow: hidden;
}

.cm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

@keyframes heroPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.cm-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.cm-hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.cm-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 32px 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cm-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cm-hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.cm-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.cm-scroll-indicator:hover {
    color: rgba(255, 255, 255, 1);
}

.cm-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    animation: scrollLineFloat 2s ease-in-out infinite;
}

@keyframes scrollLineFloat {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

.cm-scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   CONTAINERS
   =========================== */
.cm-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

.cm-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

/* ===========================
   INTRODUCTION SECTION
   =========================== */
.cm-intro {
    padding: 140px 0 120px;
    background: #ffffff;
    position: relative;
}

.cm-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.cm-intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 32px 0;
}

.cm-intro-desc {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0 0 64px 0;
}

.cm-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid #e1e4e8;
}

.cm-stat {
    text-align: center;
}

.cm-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cm-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6a737d;
}

/* ===========================
   SERVICES SECTION (Two Cards)
   =========================== */
.cm-services {
    padding: 140px 0;
    background: #fafbfc;
    position: relative;
}

.cm-services-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.4;
}

.cm-services-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cm-services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.cm-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 0 0 20px 0;
}

.cm-section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #6a737d;
    margin: 0;
}

.cm-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cm-service-card {
    position: relative;
    padding: 48px 36px;
    background: #ffffff;
    border-radius: 2px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e1e4e8;
    display: flex;
    flex-direction: column;
}

.cm-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cm-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.cm-service-card:hover .cm-card-overlay {
    opacity: 0;
}

.cm-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cm-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 2px;
    margin-bottom: 32px;
    padding: 16px;
    transition: all 0.5s ease;
}

.cm-icon-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: brightness(1);
}

.cm-service-card:hover .cm-icon-logo {
    filter: brightness(1.2);
}

.cm-service-card:hover .cm-card-icon {
    transform: scale(1.05);
}

.cm-card-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #6a737d;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 2px;
    margin-bottom: 24px;
    width: fit-content;
    transition: all 0.3s ease;
}



.cm-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin: 0 0 16px 0;
}

.cm-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 28px 0;
}

.cm-card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.cm-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

.cm-feature-icon {
    font-size: 18px;
    color: #1a4d4d;
    transition: transform 0.3s ease;
}

.cm-service-card:hover .cm-feature-icon {
    transform: translateX(4px);
}

.cm-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid #e1e4e8;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}



.cm-card-cta svg {
    transition: transform 0.3s ease;
}

.cm-service-card:hover .cm-card-cta svg {
    transform: translateX(8px);
}

/* ===========================
   APPROACH SECTION
   =========================== */
.cm-approach {
    padding: 140px 0;
    background: #ffffff;
}

.cm-approach-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

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

.cm-approach-card {
    padding: 48px 40px;
    background: #fafbfc;
    border: 1px solid #e1e4e8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cm-approach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.cm-approach-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 300;
    color: #e1e4e8;
    line-height: 1;
    margin-bottom: 24px;
}

.cm-approach-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    letter-spacing: -0.4px;
}

.cm-approach-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0;
}

/* ===========================
   WHY BRENTON SECTION
   =========================== */
.cm-why {
    padding: 140px 0;
    background: linear-gradient(135deg, #0a1828 0%, #1a2f42 100%);
    position: relative;
    overflow: hidden;
}

.cm-why-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.05) 55%, transparent 55%);
    background-size: 80px 80px;
}

.cm-why-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.cm-why-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 0 0 28px 0;
}

.cm-why-text {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cm-why-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cm-value-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cm-value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    padding: 10px;
}

.cm-value-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.cm-value-item:hover .cm-value-logo {
    opacity: 1;
}

.cm-value-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.cm-value-text p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===========================
   GLOBAL SECTION
   =========================== */
.cm-global {
    padding: 140px 0;
    background: #fafbfc;
}

.cm-global-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.cm-locations {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.cm-location {
    text-align: center;
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cm-location:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #1a4d4d;
}

.cm-location-marker {
    width: 8px;
    height: 8px;
    background: #1a4d4d;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.cm-location-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.cm-location-country {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6a737d;
}

/* ===========================
   CTA SECTION
   =========================== */
.cm-cta {
    padding: 140px 0;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1821 100%);
    position: relative;
    overflow: hidden;
}

.cm-cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cm-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cm-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 24px 0;
}

.cm-cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 48px 0;
}

.cm-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 48px;
    background: #ffffff;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #ffffff;
}

.cm-cta-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cm-cta-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cm-cta-button:hover .cm-cta-arrow {
    transform: translateX(6px);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet */
@media (max-width: 1024px) {
    .cm-container,
    .cm-container-wide {
        padding: 0 40px;
    }

    .cm-hero-title {
        font-size: 56px;
    }

    .cm-intro-title {
        font-size: 42px;
    }

    .cm-services-grid {
        gap: 32px;
    }

    .cm-approach-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cm-why-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .cm-locations {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cm-container,
    .cm-container-wide {
        padding: 0 20px;
    }

    .cm-hero {
        min-height: 600px;
    }

    .cm-hero-title {
        font-size: 42px;
    }

    .cm-hero-subtitle {
        font-size: 17px;
    }

    .cm-intro {
        padding: 100px 0 80px;
    }

    .cm-intro-title {
        font-size: 36px;
    }

    .cm-intro-desc {
        font-size: 17px;
    }

    .cm-intro-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cm-services {
        padding: 100px 0;
    }

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

    .cm-service-card {
        padding: 48px 32px;
    }

    .cm-card-title {
        font-size: 32px;
    }

    .cm-approach {
        padding: 100px 0;
    }

    .cm-approach-grid {
        gap: 24px;
    }

    .cm-why {
        padding: 100px 0;
    }

    .cm-why-title {
        font-size: 38px;
    }

    .cm-global {
        padding: 100px 0;
    }

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

    .cm-cta {
        padding: 100px 0;
    }

    .cm-cta-title {
        font-size: 38px;
    }

    .cm-cta-text {
        font-size: 17px;
    }

    .cm-cta-button {
        width: 100%;
        justify-content: center;
    }

    .cm-section-title {
        font-size: 36px;
    }
}
