/* ==========================================
   BRIDGE PAGE STYLES - v3.1 FIXED
   
   FIXES IN THIS VERSION:
   - Hero section fits in viewport (desktop)
   - Mobile hero image less zoomed, more visible
   - Mobile content tighter, button in viewport
   - Timeline numbers properly centered
   - Designed for iPhone 12/13/14 Pro (smaller screens)
   ========================================== */

:root {
    --navy-dark: #0f1724;
    --navy-primary: #1a1a2e;
    --navy-light: #1a2a4a;
    --navy-lighter: #2d3a52;
    --gold-primary: #c9a962;
    --gold-dark: #a8893d;
    --gold-light: #d4b978;
    --cream: #f8f7f4;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #8a8a9a;
    --border-light: #e8e8e8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ==========================================
   HERO SECTION - FIXED FOR VIEWPORT
   ========================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 50%, var(--navy-lighter) 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url('../images/hero-image.jpg');
    background-size: cover;
    background-position: center center;
    opacity: 0.35;
    filter: grayscale(60%) contrast(1.1);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--navy-dark) 0%, transparent 70%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 48px;
    position: relative;
    z-index: 2;
}

/* Masthead / Logo */
.hero-masthead {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.masthead-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--white);
}

.masthead-divider {
    color: var(--gold-primary);
    font-weight: 300;
}

.masthead-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--gold-primary);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--white);
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.75;
}

/* Hero Features with Custom Icons */
.hero-features {
    list-style: none;
    margin-bottom: 36px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.9);
    padding: 10px 0;
    font-size: 0.95rem;
}

.feature-icon {
    width: 22px;
    height: 22px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

/* ==========================================
   CTA BUTTONS
   ========================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    padding: 18px 36px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(201, 169, 98, 0.45);
}

.cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

.cta-button-dark {
    background: var(--navy-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.2);
}

.cta-button-dark:hover {
    background: var(--navy-lighter);
    box-shadow: 0 8px 35px rgba(26, 26, 46, 0.35);
}

/* ==========================================
   SOCIAL PROOF BAR
   ========================================== */
.social-proof-bar {
    background: var(--navy-primary);
    padding: 36px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-proof-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.proof-item {
    text-align: center;
}

.proof-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.proof-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proof-divider {
    width: 1px;
    height: 45px;
    background: rgba(255,255,255,0.2);
}

/* ==========================================
   VALUES SECTION
   ========================================== */
.values {
    padding: 100px 48px;
    background: var(--white);
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

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

.values-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.12);
}

.values-image-wrapper::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
}

.values-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.values-content > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.85;
}

/* Values Grid with Icons */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.value-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--off-white);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.value-icon {
    width: 44px;
    height: 44px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold-primary);
}

.value-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================
   "IS THIS FOR YOU?" SECTION
   ========================================== */
.for-you-section {
    padding: 100px 48px;
    background: var(--off-white);
}

.for-you-container {
    max-width: 1000px;
    margin: 0 auto;
}

.for-you-header {
    text-align: center;
    margin-bottom: 60px;
}

.for-you-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.for-you-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.for-you-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.for-you-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.for-you-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gold-primary);
}

.for-you-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.for-you-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   TIMELINE SECTION - FIXED CENTERING
   ========================================== */
.timeline-section {
    padding: 100px 48px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.timeline-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* FIXED: Proper centering for timeline marker numbers */
.timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold-primary);
}

.timeline-marker span {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-primary);
    line-height: 1;
    display: block;
    /* Remove any inherited line-height issues */
    margin: 0;
    padding: 0;
    /* Optical adjustment - move up slightly */
    transform: translateY(-1px);
}

.timeline-content {
    background: var(--white);
    padding: 24px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.timeline-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.timeline-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 40px;
    font-style: italic;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    padding: 100px 48px;
    background: var(--white);
}

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

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.testimonials-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

.testimonial-card {
    background: var(--off-white);
    padding: 32px 28px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   GUARANTEE SECTION
   ========================================== */
.guarantee-section {
    padding: 60px 48px;
    background: var(--cream);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.guarantee-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    text-align: left;
}

.guarantee-icon {
    flex-shrink: 0;
}

.guarantee-icon svg {
    width: 64px;
    height: 64px;
    color: var(--gold-primary);
}

.guarantee-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.guarantee-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta {
    padding: 100px 48px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    text-align: center;
}

.final-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.final-cta > p,
.final-cta-container > p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.final-cta .cta-button {
    margin-bottom: 28px;
}

.final-cta-trust {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.final-cta-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.final-cta-trust svg {
    width: 16px;
    height: 16px;
    color: var(--gold-primary);
}

/* ==========================================
   STICKY CTA BUTTON
   ========================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-primary);
    padding: 16px 24px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sticky-cta-text {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.sticky-cta-text span {
    color: var(--gold-primary);
}

.sticky-cta .cta-button {
    padding: 14px 28px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hide sticky on desktop when not needed - optional */
@media (min-width: 1025px) {
    .sticky-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .sticky-cta {
        padding: 14px 20px;
    }

    .sticky-cta-container {
        flex-direction: column;
        gap: 12px;
    }

    .sticky-cta-text {
        font-size: 0.85rem;
        text-align: center;
    }

    .sticky-cta .cta-button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* Add padding to footer so sticky doesn't cover content */

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 48px 120px;
    background: var(--navy-primary);
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    margin: 0 auto;
    opacity: 0.9;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    line-height: 1.75;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
    .values-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-image-wrapper {
        order: -1;
    }

    .values-image-wrapper::before {
        display: none;
    }

    .values-image {
        height: 400px;
    }

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

    .for-you-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-proof-container {
        gap: 40px;
    }

    .proof-number {
        font-size: 2rem;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (iPhone 12/13/14 Pro)
   ========================================== */
@media (max-width: 768px) {
    /* HERO - Fits in viewport on mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
    }

    .hero-content {
        padding: 50px 24px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero h1 {
        font-size: 1.85rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.65;
    }

    .hero-features {
        margin-bottom: 28px;
    }

    .hero-features li {
        padding: 8px 0;
        font-size: 0.9rem;
        gap: 12px;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
    }

    .hero-masthead {
        margin-bottom: 20px;
    }

    .masthead-text {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    .masthead-sub {
        font-size: 0.7rem;
    }

    /* HERO IMAGE - Less zoomed, more visible on mobile */
    .hero-image {
        width: 100%;
        opacity: 0.25;
        background-position: 70% center; /* Show more of the face */
        background-size: cover;
    }

    .hero-image::after {
        background: linear-gradient(
            180deg, 
            var(--navy-dark) 0%, 
            rgba(15, 23, 36, 0.7) 50%,
            var(--navy-dark) 100%
        );
    }

    /* CTA Button - Always in viewport */
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 0.85rem;
    }

    /* Social Proof Bar */
    .social-proof-bar {
        padding: 28px 24px;
    }

    .social-proof-container {
        flex-direction: column;
        gap: 20px;
    }

    .proof-divider {
        width: 50px;
        height: 1px;
    }

    .proof-number {
        font-size: 1.75rem;
    }

    .proof-label {
        font-size: 0.75rem;
    }

    /* Sections */
    .values,
    .testimonials,
    .timeline-section,
    .for-you-section {
        padding: 60px 24px;
    }

    .values-content h2,
    .testimonials-header h2,
    .timeline-header h2,
    .for-you-header h2,
    .final-cta h2 {
        font-size: 1.85rem;
    }

    .values-content > p,
    .testimonials-header p,
    .timeline-header p,
    .for-you-header p {
        font-size: 0.95rem;
    }

    .values-image {
        height: 280px;
    }

    /* For You Cards */
    .for-you-card {
        padding: 24px;
        flex-direction: column;
        gap: 16px;
    }

    .for-you-icon {
        width: 48px;
        height: 48px;
    }

    .for-you-text h4 {
        font-size: 1rem;
    }

    .for-you-text p {
        font-size: 0.9rem;
    }

    /* Timeline - Adjusted for mobile */
    .timeline {
        padding-left: 48px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-marker {
        left: -48px;
        width: 38px;
        height: 38px;
    }

    .timeline-marker span {
        font-size: 1rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .timeline-item {
        padding-bottom: 32px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
    }

    /* Guarantee */
    .guarantee-section {
        padding: 40px 24px;
    }

    .guarantee-container {
        flex-direction: column;
        text-align: center;
    }

    .guarantee-icon svg {
        width: 52px;
        height: 52px;
    }

    .guarantee-content h3 {
        font-size: 1.05rem;
    }

    .guarantee-content p {
        font-size: 0.9rem;
    }

    /* Final CTA */
    .final-cta {
        padding: 60px 24px;
    }

    .final-cta h2 {
        font-size: 1.85rem;
    }

    .final-cta-trust {
        flex-direction: column;
        gap: 12px;
    }

    .final-cta-trust span {
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 48px 24px 140px;
    }

    .footer-logo-img {
        height: 32px;
    }

    .footer-disclaimer {
        font-size: 0.7rem;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (iPhone SE, etc)
   ========================================== */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-features li {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 0.8rem;
    }

    .proof-number {
        font-size: 1.5rem;
    }

    .values-content h2,
    .testimonials-header h2,
    .timeline-header h2,
    .for-you-header h2,
    .final-cta h2 {
        font-size: 1.65rem;
    }

    .timeline {
        padding-left: 42px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -42px;
        width: 32px;
        height: 32px;
    }

    .timeline-marker span {
        font-size: 0.9rem;
    }
}
