/* Lead-gen / products-first homepage additions */
.lg-eyebrow {
    display: inline-block;
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
}

.lg-title {
    margin: 0 0 0.85rem;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    line-height: 1.05;
    color: #0f172a;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.lg-subtitle {
    margin: 0;
    max-width: 36rem;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #475569;
}

.lg-section-header {
    margin-bottom: 3rem;
}

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

.lg-section-header-center .lg-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.lg-btn,
.lg-lead-form .lg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background: #2563eb;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lg-btn-lg {
    padding: 1.15rem 1.75rem;
    font-size: 1.1rem;
}

.lg-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: #fff !important;
}

.lg-btn-block {
    width: 100%;
}

.lg-link {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

.lg-link:hover {
    text-decoration: underline;
}

.lg-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
}

.lg-badge-on-media {
    position: absolute;
    top: 1.35rem;
    left: 1.35rem;
    z-index: 3;
    margin: 0;
    background: rgba(255, 255, 255, 0.82);
    color: #1d4ed8;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.45);
}

/* Hero product image — sit inside existing glass card */
.hero-product-img {
    width: 100%;
    max-width: none !important;
    border-radius: 1.1rem !important;
    display: block;
    object-fit: cover;
    min-height: 340px;
    position: relative;
    z-index: 2;
}

.hero-section.hero-compact {
    min-height: auto !important;
    padding: 6rem 0 4rem !important;
}

.hero-section.hero-compact .hero-stats-overlay,
.hero-section.hero-compact .hero-badge {
    display: none !important;
}

.hero-section.hero-compact .hero-headline {
    font-size: clamp(2.75rem, 7vw, 5rem) !important;
    letter-spacing: -0.04em !important;
}

.hero-section.hero-compact .hero-subheadline {
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    max-width: 28rem;
}

.hero-section.hero-compact .hero-glass-card {
    padding: 0.65rem !important;
    overflow: hidden;
}

.hero-section.hero-compact .hero-glass-card::after {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 45%),
        radial-gradient(circle at 70% 20%, rgba(14, 165, 233, 0.16), transparent 55%) !important;
    opacity: 1 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    mix-blend-mode: soft-light;
}

.hero-cta-note {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* Footer: fit the Locations column on the same row (base theme hardcodes 5 columns) */
.footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.1fr !important;
    gap: 2.25rem !important;
}

.footer-links-locations {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-links-locations {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
}

/* Compact "Recognized By" strip on lead-gen pages */
.partners-scroll-section {
    padding: 2.5rem 0 2rem !important;
}

.partners-scroll-section .partners-header {
    margin-bottom: 1.75rem !important;
}

.partners-scroll-section .partners-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
}

.partners-scroll-section .partners-subtitle {
    display: none !important;
}

/* TechBehemoths award embed */
.lg-award-banner {
    padding: 0.5rem 0 1.5rem;
}

.lg-award-banner-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 18px 40px -28px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

/* Collapse the frame entirely until the embed script injects content */
.lg-award-banner-frame:empty {
    display: none;
}

.lg-award-banner-frame iframe,
.lg-award-banner-frame img,
.lg-award-banner-frame > * {
    max-width: 100%;
}

/* Ways — glass tiles */
.lg-ways {
    padding: 3rem 0 2rem;
    background:
        radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.07), transparent 45%),
        radial-gradient(circle at 85% 100%, rgba(14, 165, 233, 0.07), transparent 45%);
}

.lg-local {
    padding: 4rem 0;
}

.lg-local-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.lg-local-card .lg-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.lg-local-sub {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 auto 1.75rem;
    max-width: 40rem;
}

.lg-local-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.lg-local-links a,
.lg-local-links span {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.85);
    color: #1d4ed8;
    font-weight: 650;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 10px 24px -18px rgba(37, 99, 235, 0.5);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lg-local-links a:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.lg-local-links .lg-local-global {
    border-style: dashed;
    color: #475569;
    background: transparent;
    box-shadow: none;
}

/* Why Rocket */
.lg-why {
    padding: 4rem 0 3rem;
    background:
        radial-gradient(circle at 85% 0%, rgba(37, 99, 235, 0.06), transparent 45%),
        radial-gradient(circle at 10% 100%, rgba(14, 165, 233, 0.06), transparent 45%);
}

.lg-why .lg-title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.lg-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.lg-why-item {
    padding: 1.75rem 1.5rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 40px -30px rgba(37, 99, 235, 0.35);
}

.lg-why-item h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.lg-why-item p {
    margin: 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .lg-why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .lg-why-grid {
        grid-template-columns: 1fr;
    }
}

/* Location landing pages */
.lg-location-intro {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.lg-location-intro p {
    margin: 0;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.75;
}

.lg-location-body {
    padding: 3.5rem 0;
}

.lg-location-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}

.lg-location-text .lg-title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.lg-location-text p:not(.lg-eyebrow) {
    margin: 0 0 1.25rem;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
}

.lg-location-aside {
    padding: 1.75rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 40px -30px rgba(37, 99, 235, 0.35);
}

.lg-location-aside h3 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    color: #0f172a;
}

.lg-location-aside ul {
    margin: 0 0 1.5rem;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.5rem;
    color: #475569;
    font-size: 1rem;
}

.lg-location-aside .lg-btn {
    width: 100%;
}

/* Location FAQ */
.lg-location-faq {
    padding: 1.5rem 0 3rem;
}

.lg-location-faq .lg-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.lg-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.lg-faq-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px -28px rgba(37, 99, 235, 0.4);
    padding: 0;
    overflow: hidden;
}

.lg-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.35rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    position: relative;
}

.lg-faq-item summary::-webkit-details-marker {
    display: none;
}

.lg-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 1.35rem;
    font-weight: 600;
}

.lg-faq-item[open] summary::after {
    content: '−';
}

.lg-faq-item p {
    margin: 0;
    padding: 0 1.35rem 1.25rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .lg-location-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.lg-ways-grid,
.lg-ways-grid-large {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.lg-way-card {
    display: block;
    padding: 2.25rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 18px 40px -28px rgba(37, 99, 235, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    text-decoration: none;
    color: inherit;
    min-height: 180px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lg-way-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 50px -28px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.lg-way-num {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    font-weight: 750;
    color: #2563eb;
}

.lg-way-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.lg-way-card p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Products — unified glass panels */
.lg-products {
    padding: 5rem 0 6rem;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08), transparent 35%),
        radial-gradient(circle at 90% 70%, rgba(14, 165, 233, 0.08), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.lg-product-showcase {
    display: grid;
    gap: 2rem;
}

.lg-product-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    background: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    box-shadow:
        0 30px 60px -36px rgba(15, 23, 42, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.lg-product-panel.is-reversed {
    grid-template-columns: 1fr 1.25fr;
}

.lg-product-panel.is-reversed .lg-product-media {
    order: 2;
}

.lg-product-panel.is-reversed .lg-product-copy {
    order: 1;
}

.lg-product-panel.is-featured {
    border-color: rgba(37, 99, 235, 0.28) !important;
    box-shadow:
        0 34px 70px -34px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.lg-product-panel-glow {
    position: absolute;
    inset: auto auto -20% -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.lg-product-panel.is-reversed .lg-product-panel-glow {
    inset: auto -10% -20% auto;
}

.lg-product-media {
    position: relative;
    display: block;
    z-index: 1;
    padding: 1rem;
    min-height: 100%;
}

.lg-product-media-frame {
    position: relative;
    display: block;
    height: 100%;
    min-height: 360px;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 18px 40px -28px rgba(15, 23, 42, 0.45);
}

.lg-product-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.lg-product-media-wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.28), transparent 42%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.18), transparent 45%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.lg-product-media-wash-dark {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.35), transparent 50%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.35), transparent 55%);
}

.lg-product-panel:hover .lg-product-media img {
    transform: scale(1.03);
}

.lg-product-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.75rem 2.75rem 1.5rem;
}

.lg-product-panel.is-reversed .lg-product-copy {
    padding: 2.75rem 1.5rem 2.75rem 2.75rem;
}

.lg-product-for {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lg-product-name {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 3.6vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.lg-product-body {
    margin: 0 0 1.35rem;
    color: #475569;
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 28rem;
}

.lg-product-meta-line {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    color: #64748b;
}

.lg-product-meta-line strong {
    color: #0f172a;
    margin-right: 0.35rem;
}

.lg-product-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Staff augmentation — same glass language */
.lg-staff {
    padding: 1rem 0 5rem;
}

.lg-staff-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
    border-radius: 1.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    box-shadow:
        0 30px 60px -36px rgba(15, 23, 42, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.lg-staff-media {
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.lg-staff-media .lg-product-media-frame,
.lg-staff-media img {
    min-height: 380px;
    max-height: 420px;
    height: 100%;
}

.lg-staff-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem;
}

.lg-staff-copy .lg-title {
    color: #0f172a;
}

.lg-staff-copy .lg-subtitle {
    color: #475569;
    margin-bottom: 1.75rem;
}

.lg-staff-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

/* Lead form */
.lg-lead {
    padding: 2rem 0 6rem;
}

.lg-lead-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    border-radius: 2rem;
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: 0 40px 80px -40px rgba(15, 23, 42, 0.65);
}

.lg-lead .lg-title {
    color: #fff;
}

.lg-lead .lg-subtitle,
.lg-lead-bullets {
    color: #cbd5e1;
}

.lg-lead-bullets {
    margin: 1.5rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
    font-size: 1.05rem;
}

.lg-lead-form {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: #fff;
}

.lg-field {
    display: grid;
    gap: 0.4rem;
}

.lg-field label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

.lg-field input,
.lg-field select,
.lg-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
    font: inherit;
    font-size: 1.05rem;
    color: #0f172a;
    background: #fff;
}

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

.lg-form-note {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 1024px) {
    .lg-product-panel,
    .lg-product-panel.is-reversed,
    .lg-staff-panel,
    .lg-lead-card,
    .lg-ways-grid,
    .lg-ways-grid-large {
        grid-template-columns: 1fr;
    }

    .lg-product-panel.is-reversed .lg-product-media,
    .lg-product-panel.is-reversed .lg-product-copy {
        order: initial;
    }

    .lg-product-media,
    .lg-product-media-frame,
    .lg-product-media img,
    .lg-staff-media .lg-product-media-frame,
    .lg-staff-media img {
        min-height: 260px;
        max-height: 320px;
    }

    .lg-product-copy,
    .lg-product-panel.is-reversed .lg-product-copy,
    .lg-staff-copy {
        padding: 1.75rem;
    }
}

@media (max-width: 640px) {
    .lg-product-showcase {
        gap: 1.25rem;
    }

    .lg-way-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .lg-way-card h3 {
        font-size: 1.4rem;
    }

    .hero-section.hero-compact {
        padding: 4.5rem 0 2.5rem !important;
    }

    .lg-product-panel,
    .lg-staff-panel {
        border-radius: 1.35rem !important;
    }
}
