/* ==========================================
   B2B AGENCY PARTNERSHIPS PAGE
   ========================================== */

.b2b-page {
    background-color: #fcfcfc;
    min-height: 100vh;
}

/* ==========================================
   1. CINEMATIC HERO
   ========================================== */
.b2b-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    /* Pushed negative margin to sit under transparent header */
    margin-top: calc(-1 * var(--header-height, 100px)); 
    padding-top: var(--header-height, 100px);
}

.b2b-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.b2b-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.header-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.b2b-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    margin: 0 0 25px 0;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.b2b-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
}

/* ==========================================
   2. SERVICES GRID
   ========================================== */
.services-section {
    padding: 120px 0;
    background: #fcfcfc;
}

.services-intro {
    max-width: 600px;
    margin: 0 auto 80px auto;
}

.services-intro h2 {
    font-family: var(--font-serif);
    font-size: 42px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.services-intro p {
    font-family: var(--font-sans);
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 50px 40px;
    transition: transform 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #1a1a1a;
}

.sc-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.sc-header h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.sc-price {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

.sc-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.sc-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
}

.sc-features li {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.sc-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #1a1a1a;
}

/* ==========================================
   3. RETAINER PITCH & CONTACT
   ========================================== */
.retainer-section {
    padding: 0 0 120px 0;
    background: #fcfcfc;
}

.retainer-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #1a1a1a;
    color: #ffffff;
    max-width: 1100px;
    margin: 0 auto;
}

.rc-info {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rc-info h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.1;
}

.rc-info p {
    font-family: var(--font-sans);
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Contact Form Overrides for Dark Mode Card */
.rc-form-area {
    background: #ffffff;
    padding: 80px 60px;
    color: #1a1a1a;
}

.rc-form-area h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    margin: 0 0 30px 0;
}

.lux-contact-form .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.lux-contact-form label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.lux-contact-form input,
.lux-contact-form textarea {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d4d4d4;
    font-family: var(--font-sans);
    font-size: 16px;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.lux-contact-form input:focus,
.lux-contact-form textarea:focus {
    border-bottom-color: #1a1a1a;
}

.contact-submit-btn {
    display: inline-block;
    padding: 20px 40px;
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid transparent;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

#contact-form-message {
    margin-top: 15px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================
   4. RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; max-width: 600px; }
    .retainer-card { grid-template-columns: 1fr; max-width: 700px; }
    .rc-info { padding: 60px 40px; }
    .rc-form-area { padding: 60px 40px; }
}

@media (max-width: 600px) {
    .rc-info, .rc-form-area { padding: 40px 20px; }
    .service-card { padding: 40px 25px; }
}