/* Homepage — visual match to legacy Desktop index.php */
.page-home {
    --hp-card: rgba(31, 31, 31, 0.35);
}

.page-home main {
    padding-top: 0;
}

.page-home .section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: transparent;
}

.page-home .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-home .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.page-home .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem;
    max-width: 700px;
}

/* Hero */
.page-home .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000 !important;
    overflow: hidden;
    padding: 6.5rem 2rem 2rem;
    border-bottom: none !important;
}

.page-home .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.page-home .hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-home .hero-image-frame {
    position: relative;
    width: 280px;
    height: 380px;
    border-radius: 16px;
    padding: 8px;
    background: linear-gradient(135deg, #fff, #f4f6fb, #fff);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
    animation: hpPulseGlow 3s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

@keyframes hpPulseGlow {
    0%,
    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 45px rgba(255, 255, 255, 0.6), 0 0 80px rgba(255, 255, 255, 0.3);
    }
}

.page-home .hero-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    background: #000;
}

.page-home .hero-text-content {
    text-align: right;
}

.page-home .hero-greeting {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
    letter-spacing: 2px;
}

.page-home .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    animation: hpFadeInUp 1s ease;
}

.page-home .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
    line-height: 1.8;
    opacity: 0.95;
    animation: hpFadeInUp 1.2s ease;
}

.page-home .hero-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    animation: hpFadeInUp 1.4s ease;
}

.page-home .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.page-home .hero-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, background 0.3s ease;
}

.page-home .hero-about-btn--primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    border-color: transparent;
    color: #041018 !important;
}

.page-home .hero-about-btn i {
    color: var(--primary-gold);
}

.page-home .hero-about-btn--primary i {
    color: #041018;
}

.page-home .hero-about-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.page-home .hero-about-btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold));
}

@keyframes hpFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About — always visible on homepage */
.page-home .about-section {
    display: block;
    background: #000 !important;
    padding: 6rem 2rem;
}

.page-home .about-section.active {
    display: block;
}

.page-home .about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-home .about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-primary);
    background: var(--bg-card) !important;
    padding: 3rem;
    border-radius: 25px;
}

.page-home .about-text p {
    margin-bottom: 1.5rem;
}

.page-home .about-text .highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gold);
    display: block;
    margin: 2rem 0;
    padding: 1.75rem;
    background: rgba(14, 165, 233, 0.08) !important;
    border-radius: 20px;
    border-right: 4px solid var(--primary-gold) !important;
}

.page-home .about-more {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* Services */
.page-home .services-section {
    background: #000 !important;
    padding: 6rem 2rem;
}

.page-home .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.page-home .service-card {
    background: var(--bg-card) !important;
    border-radius: 25px;
    padding: 2.5rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(14, 165, 233, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.page-home .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(14, 165, 233, 0.45) !important;
    background: var(--bg-card-hover) !important;
}

.page-home .service-card::before,
.page-home .service-card::after {
    display: none !important;
}

.page-home .service-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
}

.page-home .service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.page-home .service-card:hover .service-image-wrapper img {
    transform: scale(1.08);
}

.page-home .service-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
    font-size: 3rem;
    color: var(--primary-gold);
}

.page-home .service-name {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.page-home .service-trademark {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.4rem 0.9rem;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 20px;
}

.page-home .service-description {
    color: var(--text-secondary);
    line-height: 1.9;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.page-home .service-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold) !important;
    text-decoration: none !important;
    font-weight: 600;
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    transition: background 0.25s ease;
}

.page-home .service-more-link:hover {
    background: rgba(14, 165, 233, 0.2);
}

/* Audiences / advantages */
.page-home .audiences-grid,
.page-home .advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.page-home .audience-card,
.page-home .advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.page-home .audience-card:hover,
.page-home .advantage-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
}

.page-home .audience-card h3,
.page-home .advantage-card h3 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}

.page-home .audience-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.page-home .brand-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-home .brand-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    text-align: right;
}

.page-home .brand-list li {
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.5rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 8px;
    border-right: 3px solid var(--primary-gold);
    color: rgba(255, 255, 255, 0.9);
}

/* Quick actions */
.page-home .home-quick-actions {
    background: #000;
    padding: 3rem 2rem;
    max-width: none;
}

.page-home .quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.page-home .quick-action-box {
    background: rgba(31, 31, 31, 0.5);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-home .quick-action-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary-gold);
}

.page-home .quick-action-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #0a0a0a;
    margin-bottom: 1.25rem;
}

.page-home .quick-action-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.page-home .quick-action-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.page-home .quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* AI */
.page-home .ai-assistant-section {
    background: #000;
    padding: 5rem 2rem;
    max-width: none;
}

.page-home .ai-assistant-card {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.7);
    border-radius: 28px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.page-home .ai-assistant-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-home .ai-assistant-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #0a0a0a;
    flex-shrink: 0;
}

.page-home .ai-assistant-title {
    font-size: 1.75rem;
    margin: 0;
    color: var(--white);
}

.page-home .ai-assistant-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.75rem;
}

.page-home .ai-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.page-home .ai-feature-item {
    background: rgba(20, 20, 20, 0.55);
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 0.85rem;
}

.page-home .ai-feature-item i {
    color: var(--primary-gold);
    margin-top: 0.2rem;
}

.page-home .ai-feature-item h4 {
    margin: 0;
    color: var(--white);
    font-size: 1.05rem;
}

.page-home .ai-feature-item p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.page-home .ai-assistant-cta {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: #0a0a0a !important;
    font-weight: 700;
    text-decoration: none !important;
}

/* Blog carousel */
.page-home .home-blog-section {
    background: #000;
    padding: 5rem 2rem;
    max-width: none;
}

.page-home .articles-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3rem;
}

.page-home .articles-carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.page-home .articles-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.page-home .articles-carousel {
    display: flex;
    gap: 1.25rem;
}

.page-home .article-carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: center;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.page-home .article-carousel-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.05));
}

.page-home .article-carousel-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.page-home .article-carousel-title {
    font-size: 1.15rem;
    margin: 0 0 0.65rem;
    color: var(--text-primary);
}

.page-home .article-carousel-excerpt {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.page-home .article-carousel-read-more {
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.page-home .carousel-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.35);
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-gold);
    cursor: pointer;
    z-index: 2;
}

.page-home .carousel-nav-btn.prev {
    right: 0;
}

.page-home .carousel-nav-btn.next {
    left: 0;
}

.page-home .home-blog-all,
.page-home .home-faq-more,
.page-home .contact-actions {
    text-align: center;
    margin-top: 2rem;
}

.page-home .home-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.1));
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    color: var(--primary-gold) !important;
    text-decoration: none !important;
    font-weight: 600;
    margin: 0.35rem;
}

.page-home .home-pill-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary) !important;
}

/* Contact */
.page-home .contact-section {
    background: #000 !important;
    padding: 5rem 2rem;
    max-width: none;
}

.page-home .contact-grid {
    max-width: 1100px;
    margin: 2rem auto 0;
}

.page-home .contact-card {
    background: rgba(31, 31, 31, 0.45) !important;
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid rgba(14, 165, 233, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45) !important;
}

.page-home .contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-home .contact-card-header .contact-icon {
    font-size: 2rem;
    color: var(--primary-gold);
}

.page-home .contact-card-header .contact-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.page-home .contact-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.page-home .contact-detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.page-home .contact-detail-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.page-home .contact-detail-value {
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.page-home .contact-detail-value a {
    color: var(--primary-gold);
    text-decoration: none;
}

/* FAQ */
.page-home .faq-section {
    max-width: 1100px;
}

.page-home .home-faq.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-home .home-faq .faq-item {
    background: rgba(31, 31, 31, 0.4) !important;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.1rem 1.35rem;
    box-shadow: none !important;
}

.page-home .home-faq .faq-item[open] {
    border-color: rgba(14, 165, 233, 0.45) !important;
}

.page-home .home-faq .faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.page-home .home-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.page-home .home-faq .faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-gold);
}

.page-home .home-faq .faq-item p {
    margin: 1rem 0 0;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* Booking options — in-person / online */
.page-home .home-booking-section {
    background: #000;
    padding: 5rem 2rem;
    max-width: none;
}

.page-home .booking-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 960px;
    margin: 2rem auto 0;
}

.page-home .booking-option-card {
    background: var(--bg-card, #111);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-home .booking-option-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.5);
}

.page-home .booking-option-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #041018;
}

.page-home .booking-option-title {
    margin: 0;
    font-size: 1.35rem;
    color: var(--text-primary);
}

.page-home .booking-option-desc {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.98rem;
}

.page-home .booking-option-list {
    margin: 0.25rem 0 0.75rem;
    padding: 0 1.1rem 0 0;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.92rem;
}

.page-home .booking-option-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.page-home .booking-option-card > .home-pill-btn {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .page-home .booking-options-grid {
        grid-template-columns: 1fr;
    }
}

/* Sections always visible — avoid blank homepage if JS/CDN fails */
.page-home .fade-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 968px) {
    .page-home .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .page-home .hero-text-content {
        text-align: center;
    }

    .page-home .hero-cta-row {
        justify-content: center;
    }

    .page-home .hero-section {
        min-height: auto;
        padding-top: 6rem;
    }

    .page-home .hero-image-frame {
        width: 220px;
        height: 300px;
    }

    .page-home .services-grid {
        grid-template-columns: 1fr;
    }

    .page-home .section-title {
        font-size: 1.85rem;
    }

    .page-home .section {
        padding: 3rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .page-home .articles-carousel-container {
        padding: 0 2.5rem;
    }

    .page-home .hero-highlight {
        font-size: 1.05rem;
        padding: 1rem 1.2rem;
    }
}

/* Intelix conversion homepage */
.page-home .hero-section--text {
    min-height: 88vh;
}

.page-home .hero-section--photo {
    min-height: 100vh;
    background: #000 !important;
}

.page-home .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: saturate(1.05) contrast(1.05);
}

.page-home .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.42) 40%, rgba(0, 0, 0, 0.78) 100%),
        radial-gradient(ellipse at 70% 20%, rgba(14, 165, 233, 0.18), transparent 50%);
}

.page-home .hero-section--photo .hero-content {
    z-index: 2;
}

.page-home .visual-band {
    position: relative;
    height: 280px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    max-width: none;
}

.page-home .visual-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) brightness(0.72);
}

.page-home .visual-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 40%, rgba(0, 0, 0, 0.45));
}

.page-home .hero-content--text {
    display: block;
    max-width: 860px;
    margin: 0 auto;
    text-align: right;
}

.page-home .hero-kicker {
    color: var(--primary-gold, #0EA5E9);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
}

.page-home .hero-cta-row--center {
    justify-content: center;
}

.page-home .card-grid {
    display: grid;
    gap: 1.25rem;
    max-width: 980px;
    margin: 2rem auto 0;
}

.page-home .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .plain-card {
    background: var(--bg-card, #111);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
}

.page-home .plain-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
}

.page-home .plain-card p {
    margin: 0;
    color: var(--text-secondary, #d0d0d0);
    line-height: 1.8;
}

.page-home .section-closing {
    max-width: 720px;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--text-primary, #f5f5f5);
    font-weight: 600;
    line-height: 1.9;
}

.page-home .flow-track {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    padding: 0;
    margin: 2.5rem 0 0;
}

.page-home .flow-track li {
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    color: var(--text-secondary, #d0d0d0);
}

.page-home .services-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
}

.page-home .industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-home .industry-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary, #f5f5f5);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
}

.page-home .industry-chip:hover {
    border-color: var(--primary-gold, #0EA5E9);
    color: var(--primary-gold, #0EA5E9);
}

.page-home .steps-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    padding: 0;
    margin: 2rem 0 0;
}

.page-home .steps-grid li {
    background: var(--bg-card, #111);
    border-radius: 18px;
    padding: 1.35rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .step-num {
    display: block;
    color: var(--primary-gold, #0EA5E9);
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.page-home .steps-grid h3 {
    margin: 0 0 0.5rem;
    font-size: 1.08rem;
}

.page-home .steps-grid p {
    margin: 0;
    color: var(--text-secondary, #d0d0d0);
    line-height: 1.75;
}

.page-home .audit-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-card, #111);
    border-radius: 22px;
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .audit-alt {
    text-align: center;
    margin: 1.25rem 0 0;
    color: var(--text-secondary, #d0d0d0);
}

.page-home .final-cta-section {
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.page-home .final-cta-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.page-home .final-cta-text {
    margin: 0 0 2rem;
    color: var(--text-secondary, #d0d0d0);
    font-size: 1.15rem;
}

.page-home .mobile-only {
    display: none !important;
}

@media (max-width: 968px) {
    .page-home .hero-content--text {
        text-align: center;
    }

    .page-home .card-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .page-home .services-grid,
    .page-home .services-grid--3,
    .page-home .steps-grid {
        grid-template-columns: 1fr;
    }

    .page-home .plain-card {
        padding: 0.85rem 0.55rem;
        border-radius: 12px;
    }

    .page-home .plain-card h3 {
        font-size: 0.82rem;
        margin-bottom: 0.35rem;
    }

    .page-home .plain-card p {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .page-home .hero-section--text,
    .page-home .hero-section--photo {
        min-height: 72vh;
    }

    .page-home .visual-band {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .page-home .desktop-only {
        display: none !important;
    }

    .page-home .mobile-only {
        display: block !important;
    }

    .page-home .hero-cta-row .mobile-only {
        display: inline !important;
    }

    .page-home main {
        display: flex;
        flex-direction: column;
        padding-bottom: 5.5rem;
    }

    .page-home #home { order: 1; }
    .page-home #problem { order: 2; }
    .page-home #solution { order: 3; }
    .page-home .mobile-service-chips { order: 4; }
    .page-home #audit { order: 5; }

    .page-home .hero-section--photo {
        min-height: 58vh;
        padding: 5.5rem 1.1rem 1.5rem;
    }

    .page-home .hero-title {
        font-size: 1.55rem;
        margin-bottom: 0.75rem;
    }

    .page-home .hero-kicker {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .page-home .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .page-home .hero-cta-row {
        justify-content: center;
        margin-top: 0.75rem;
    }

    .page-home .hero-about-btn {
        width: 100%;
        justify-content: center;
    }

    .page-home .section {
        padding: 1.75rem 1rem;
    }

    .page-home .section-title {
        font-size: 1.2rem;
        padding-bottom: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .page-home .card-grid {
        margin-top: 1rem;
    }

    .page-home .plain-card p {
        display: none;
    }

    .page-home .plain-card {
        text-align: center;
        padding: 0.9rem 0.35rem;
    }

    .page-home .plain-card h3 {
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .page-home .mobile-service-chips {
        display: flex !important;
        justify-content: center;
        gap: 0.5rem;
        padding: 0 1rem 0.25rem;
        flex-wrap: wrap;
    }

    .page-home .mobile-service-chips a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 5.5rem;
        padding: 0.55rem 0.9rem;
        border-radius: 999px;
        border: 1px solid rgba(14, 165, 233, 0.4);
        color: #f5f5f5;
        text-decoration: none;
        font-size: 0.85rem;
        background: rgba(14, 165, 233, 0.12);
    }

    .page-home .audit-section {
        padding-top: 1.25rem;
    }

    .page-home .audit-wrap {
        padding: 1.15rem 1rem 1rem;
        border-radius: 16px;
    }
}

@media (max-width: 400px) {
    .page-home .plain-card h3 {
        font-size: 0.7rem;
    }
}
