/* Installation Interphone Montpellier Page Styles */

/* Hero Section Specific Styles */
.hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
    contain: layout style paint;
    background: #0a0a0a;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 51, 51, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    transform: translateZ(0);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.hero-partners {
    margin-top: 2rem;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    text-align: left;
}

.hero-partners-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-partners-logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(0.9);
}

.hero-partner-logo:hover {
    opacity: 1;
}

/* Showcase/Carousel Styles */
.hero-showcase {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translate3d(30px, 0, 0);
    animation: slideInRight 0.8s ease-out 0.4s forwards;
}

.showcase-title {
    font-size: 1.2rem;
    color: #FF3333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.image-carousel {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* CTA Button Styles */
.main-cta {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    text-align: center;
    justify-content: center;
    width: fit-content;
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid rgba(255, 51, 51, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.5);
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.main-cta:hover {
    background: #FF3333;
    transform: translateY(-2px);
    border-color: #FF3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.7);
}

/* Highlight Text */
.highlight-text {
    color: #FF3333;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.7);
}

/* Small Review Badge - Hidden on desktop, shown on mobile */
.small-review-badge {
    display: none;
}

/* Google Reviews Styles */
.google-rating-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    width: 18px;
    height: 18px;
    fill: #FFC107;
    stroke: none;
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.review-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-showcase {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 0 5%;
        min-height: 80vh;
        padding-top: 2.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-top: 3rem;
        letter-spacing: -0.3px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    /* Hide Google reviews on mobile */
    .google-rating-summary {
        display: none !important;
    }

    /* Move partners section after showcase on mobile */
    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .hero-partners {
        order: 10;
        margin-top: 1.5rem;
        text-align: center;
    }

    .hero-showcase {
        order: 5;
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .hero-partners-logos {
        gap: 1rem;
        justify-content: center;
    }

    .hero-partner-logo {
        height: 30px;
    }

    /* Make image carousel taller on mobile */
    .image-carousel {
        height: 350px;
    }

    .small-review-badge {
        display: inline-flex;
        align-items: center;
        background: #1a1a1a;
        color: #FFC107;
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.3rem 0.6rem;
        border-radius: 20px;
        margin-bottom: 0.8rem;
        border: 1px solid rgba(255, 193, 7, 0.3);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        order: 2;
        align-self: center;
    }

    .main-cta {
        order: 3;
        margin-bottom: 1rem;
        align-self: center;
        text-align: center;
    }
}

/* Solutions Section Styles */
.solutions-section {
    padding: 8rem 10% 6rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255, 51, 51, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.solutions-header {
    text-align: center;
    margin-bottom: 6rem;
}

.solutions-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.solutions-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 300;
}

/* Product Showcase Layout */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
    padding: 4rem 0;
}

.product-showcase + .product-showcase {
    margin-top: 8rem;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.floating-product {
    max-width: 300px;
    height: auto;
    transform: scale(1.05);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 51, 51, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Larger size for HP5 kit image */
.product-showcase.reverse-layout .floating-product {
    max-width: 450px;
}

.floating-product:hover {
    transform: scale(1.08);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 12px 24px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 51, 51, 0.15);
}

.product-info {
    padding: 1rem 0;
}

.product-brand {
    font-size: 1rem;
    font-weight: 600;
    color: #FF3333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.product-features li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #FF3333;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
}

/* Reverse Layout for HP5 */
.product-showcase.reverse-layout {
    grid-template-columns: 1.2fr 1fr;
}

.installation-note {
    font-size: 0.9rem;
    color: #FF3333;
    font-weight: 500;
    margin-top: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 12px;
    text-align: center;
}

@media (max-width: 1024px) {
    .solutions-section {
        padding: 6rem 5% 4rem;
    }

    .product-showcase,
    .product-showcase.reverse-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 0;
    }

    /* Fix order for reverse layout on mobile */
    .product-showcase.reverse-layout .product-image {
        order: -1;
    }

    .solutions-title {
        font-size: 2.2rem;
    }

    .floating-product {
        max-width: 250px;
    }

    .product-showcase.reverse-layout .floating-product {
        max-width: 350px;
    }

    .product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .solutions-section {
        padding: 4rem 5% 3rem;
    }

    .solutions-header {
        margin-bottom: 3rem;
    }

    .solutions-title {
        font-size: 1.9rem;
    }

    .solutions-subtitle {
        font-size: 1rem;
    }

    .product-showcase,
    .product-showcase.reverse-layout {
        padding: 2rem 0;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .floating-product {
        max-width: 200px;
    }

    .product-showcase.reverse-layout .floating-product {
        max-width: 280px;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    /* Ensure Google reviews are hidden on small mobile too */
    .google-rating-summary {
        display: none !important;
    }

    .main-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .showcase-title {
        font-size: 1rem;
    }

    .image-carousel {
        height: 250px;
    }

    .solutions-title {
        font-size: 1.7rem;
    }

    .product-showcase,
    .product-showcase.reverse-layout {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .floating-product {
        max-width: 180px;
    }

    .product-showcase.reverse-layout .floating-product {
        max-width: 240px;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .product-brand {
        font-size: 0.9rem;
    }

    .product-description {
        font-size: 0.95rem;
    }

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

    .installation-note {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin-top: 1rem;
    }

    .product-showcase + .product-showcase {
        margin-top: 4rem;
    }
}

/* Benefits Section Styles */
.benefits-section {
    padding: 8rem 10% 6rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255, 51, 51, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-header {
    text-align: center;
    margin-bottom: 6rem;
}

.benefits-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.benefits-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.benefits-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 300;
}

.benefits-steps {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.benefit-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 51, 51, 0.3) 50%, transparent 100%);
    margin-top: 2rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .benefits-section {
        padding: 6rem 5% 4rem;
    }

    .benefits-header {
        margin-bottom: 4rem;
    }

    .benefits-title {
        font-size: 2.2rem;
    }

    .step-number {
        font-size: 3rem;
    }

    .step-connector {
        width: 80px;
    }
}

@media (max-width: 767px) {
    .benefits-section {
        padding: 4rem 5% 3rem;
    }

    .benefits-header {
        margin-bottom: 3rem;
    }

    .benefits-title {
        font-size: 1.9rem;
    }

    .benefits-description {
        font-size: 1rem;
    }

    .benefits-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .step-connector {
        width: 2px;
        height: 50px;
        background: linear-gradient(180deg, transparent 0%, rgba(255, 51, 51, 0.3) 50%, transparent 100%);
        margin: 0 auto;
    }

    .step-number {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .step-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .benefits-title {
        font-size: 1.7rem;
    }

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

    .step-connector {
        height: 30px;
    }
}

/* ===== FLOATING CTA BUTTON ===== */
.floating-cta-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #FF3333;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.2rem;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: none; /* Hidden by default */
    align-items: center;
    gap: 0.5rem;
    z-index: 1005;
    transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.4);
    animation: floatingPulse 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.floating-cta-btn:hover {
    background: #E02D2D;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 51, 51, 0.6);
}

.floating-cta-btn:active {
    transform: translateY(-1px);
}

@keyframes floatingPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 51, 51, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 51, 51, 0.7);
        transform: scale(1.05);
    }
}

/* Hide floating-cta-btn completely since we have floating-quote-btn for all screens */
.floating-cta-btn {
    display: none !important;
}

/* ===== FLOATING QUOTE BUTTON (DESKTOP) ===== */
.floating-quote-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.floating-quote-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.quote-btn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FF3333;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.4);
}

.quote-btn-link:hover {
    background: #E02D2D;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 51, 51, 0.6);
}

.quote-btn-link svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .floating-quote-btn {
        bottom: 15px;
        right: 15px;
    }
    .quote-btn-link {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ===== FOOTER FIXES ===== */
/* Make footer service spans match link styling */
.footer-nav span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: inline-block;
    line-height: 1.5;
}