/*
 * Clé Minute Bxl - Premium Redesign
 * Modern, elegant aesthetics with rounded corners
 */

:root {
    --primary: #1a365d;
    --primary-dark: #0f1f3d;
    --accent: #ff6b35;
    --accent-light: #ff8c61;
    --success: #10b981;
    --dark: #1f2937;
    --light: #fef3f2;
    --white: #ffffff;
    --gray: #6b7280;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

.header-phone {
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.header-phone:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.92) 0%, rgba(15, 31, 61, 0.92) 100%);
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/Shop Wall.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.65) 0%, rgba(15, 31, 61, 0.7) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    color: white;
    margin-bottom: 24px;
    font-weight: 800;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--light);
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 48px auto 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Urgency Bar */
.urgency-bar {
    background: var(--accent);
    padding: 16px 0;
    animation: slideInLeft 0.6s ease-out;
}

.urgency-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: white;
    font-weight: 600;
}

.urgency-text i {
    margin-right: 8px;
}

.urgency-cta {
    color: white;
    text-decoration: underline;
    animation: pulse 2s ease-in-out infinite;
}

/* Services */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
    animation: scaleIn 0.6s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 30px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 24px;
}

.service-price {
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: block;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

.service-price:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
}

/* Features */
.why-choose-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.why-choose-section .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    font-weight: 800;
    color: white;
    transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-item h3 {
    margin-bottom: 16px;
}

.feature-item p {
    color: var(--gray);
}

/* Service Area */
.service-area-section {
    padding: 100px 0;
    background: var(--light);
}

.area-intro {
    text-align: center;
    font-size: 19px;
    color: var(--gray);
    margin-bottom: 48px;
}

.communes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.commune-item {
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeIn 0.4s ease-out both;
}

.commune-item i {
    color: var(--success);
    margin-right: 8px;
}

.commune-item:nth-child(n) { animation-delay: calc(0.03s * var(--i)); }

.commune-item:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.area-cta {
    text-align: center;
}

/* Process */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.step-item {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    animation: pulse 2s ease-in-out infinite;
}

.step-item h3 {
    margin: 20px 0 16px;
}

.step-item p {
    color: var(--gray);
}

/* Emergency CTA */
.emergency-cta-section {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.95) 0%, rgba(197, 48, 48, 0.95) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-cta-section .parallax-bg::after {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.85) 0%, rgba(197, 48, 48, 0.9) 100%);
}

.emergency-cta-section .container {
    position: relative;
    z-index: 1;
}

.emergency-content {
    max-width: 700px;
    margin: 0 auto;
}

.emergency-content h2 {
    color: white;
    margin-bottom: 24px;
}

.emergency-content p {
    color: rgba(255,255,255,0.95);
    font-size: 20px;
    margin-bottom: 40px;
}

.emergency-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-emergency {
    background: white;
    color: #e53e3e;
    padding: 18px 40px;
    font-size: 18px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 18px 40px;
    font-size: 18px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease-out both;
}

.testimonial-item:nth-child(1) { animation-delay: 0.1s; }
.testimonial-item:nth-child(2) { animation-delay: 0.2s; }
.testimonial-item:nth-child(3) { animation-delay: 0.3s; }

.stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 20px;
}

.stars i {
    margin-right: 4px;
}

.testimonial-item p {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}

/* Contact Form */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light);
    padding: 50px 40px;
    border-radius: 40px;
    animation: scaleIn 0.6s ease-out;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-submit {
    text-align: center;
}

.privacy-notice {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray);
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(15, 31, 61, 0.95) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section .parallax-bg::after {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(15, 31, 61, 0.9) 100%);
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.final-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.final-cta-content {
    text-align: left;
}

.final-cta-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.final-cta-content h2 {
    color: white;
    margin-bottom: 24px;
}

.final-cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin-bottom: 40px;
}

.phone-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    background: white;
    padding: 30px 50px;
    border-radius: 50px;
    transition: all 0.3s;
    animation: pulse 2s ease-in-out infinite;
}

.phone-number:hover {
    transform: scale(1.05);
}

.location-info {
    color: rgba(255,255,255,0.8);
    margin-top: 24px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: slideInLeft 0.6s ease-out 1s both;
}

.floating-phone,
.floating-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.floating-phone {
    background: var(--accent);
}

.floating-whatsapp {
    background: #25d366;
}

.floating-phone:hover,
.floating-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li i {
    color: var(--success);
    margin-right: 8px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-phone-btn,
.footer-whatsapp-btn {
    display: block;
    padding: 12px 20px;
    margin-bottom: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border-radius: 50px;
}

.footer-phone-btn {
    background: var(--accent);
    color: white;
}

.footer-whatsapp-btn {
    background: #25d366;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom-content a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom-content a:hover {
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .communes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .final-cta-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .final-cta-content {
        text-align: center;
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .trust-item {
        padding: 16px;
    }
    
    .urgency-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-img {
        height: 180px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .communes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 40px 24px;
    }
    
    .emergency-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-emergency,
    .btn-whatsapp {
        width: 100%;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-phone,
    .floating-whatsapp {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header-phone {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .trust-indicators {
        margin-top: 32px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
    
    .services-section,
    .why-choose-section,
    .service-area-section,
    .process-section,
    .emergency-cta-section,
    .testimonials-section,
    .contact-form-section,
    .final-cta-section {
        padding: 60px 0;
    }
    
    .service-card,
    .step-item,
    .testimonial-item {
        padding: 24px 16px;
    }
    
    .service-img {
        height: 160px;
    }
    
    .service-body {
        padding: 20px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .communes-grid {
        grid-template-columns: 1fr;
    }
    
    .commune-item {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .area-cta .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: -15px;
    }
    
    .step-item h3 {
        font-size: 1.25rem;
    }
    
    .contact-form {
        padding: 32px 20px;
        border-radius: 30px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .phone-number {
        font-size: 1.75rem;
        padding: 20px 32px;
    }
    
    .emergency-content h2,
    .final-cta-content h2 {
        font-size: 1.75rem;
    }
    
    .emergency-content p,
    .final-cta-content p {
        font-size: 16px;
    }
    
    .btn-emergency,
    .btn-whatsapp {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .floating-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    
    .floating-phone,
    .floating-whatsapp {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
}


/* Premium Interactive Animations */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    animation: none;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.service-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.service-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.service-card:nth-child(4).animate-in { transition-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(255,107,53,0.2) !important;
}

.service-img {
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.feature-item {
    opacity: 0;
    transform: translateY(50px);
    animation: none;
}

.feature-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:nth-child(1).animate-in { transition-delay: 0.1s; }
.feature-item:nth-child(2).animate-in { transition-delay: 0.2s; }
.feature-item:nth-child(3).animate-in { transition-delay: 0.3s; }

.feature-icon {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    box-shadow: 0 10px 30px rgba(16,185,129,0.3);
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg) scale(1.15) !important;
    box-shadow: 0 15px 40px rgba(16,185,129,0.5);
}

.commune-item {
    opacity: 0;
    transform: scale(0.8);
    animation: none;
}

.commune-item.animate-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.commune-item:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(26,54,93,0.3);
}

.commune-item:hover i {
    color: var(--accent);
}

.step-item {
    opacity: 0;
    transform: translateX(-50px);
    animation: none;
}

.step-item.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:nth-child(1).animate-in { transition-delay: 0.1s; }
.step-item:nth-child(2).animate-in { transition-delay: 0.2s; }
.step-item:nth-child(3).animate-in { transition-delay: 0.3s; }
.step-item:nth-child(4).animate-in { transition-delay: 0.4s; }

.step-item:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.step-number {
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    animation: none;
}

.step-item:hover .step-number {
    transform: translateX(-50%) scale(1.2) rotate(360deg);
    box-shadow: 0 8px 30px rgba(255,107,53,0.6);
}

.testimonial-item {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    animation: none;
}

.testimonial-item.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item:nth-child(1).animate-in { transition-delay: 0.1s; }
.testimonial-item:nth-child(2).animate-in { transition-delay: 0.2s; }
.testimonial-item:nth-child(3).animate-in { transition-delay: 0.3s; }

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

.header-phone:hover {
    background: var(--accent-light);
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255,107,53,0.3);
}

.phone-number:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 15px 50px rgba(255,107,53,0.3);
}

.floating-phone:hover,
.floating-whatsapp:hover {
    transform: translateY(-6px) scale(1.1) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .service-card:hover,
    .feature-item:hover .feature-icon,
    .commune-item:hover,
    .step-item:hover,
    .testimonial-item:hover {
        transform: none !important;
    }
    
    .service-card:hover {
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    }
}

/* Exit Intent Popup */
.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.4s ease-out;
    padding: 20px;
}

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #fef9f8 100%);
    padding: 0;
    border-radius: 40px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: popupSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.popup-header {
    background: linear-gradient(135deg, var(--accent) 0%, #ff8c61 100%);
    padding: 40px 30px 30px;
    position: relative;
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
    50% { transform: scale(1.1); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
}

.popup-icon i {
    font-size: 40px;
    color: var(--accent);
    animation: iconShake 1s ease-in-out infinite;
}

@keyframes iconShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.popup-body {
    padding: 40px 40px 50px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(255,255,255,0.5);
    transform: rotate(90deg) scale(1.1);
}

.popup-content h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.popup-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    font-weight: 500;
}

.popup-body p {
    color: var(--dark);
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
}

.popup-body p strong {
    color: var(--accent);
    font-weight: 700;
}

.popup-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-content .btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.popup-content .btn i {
    margin-right: 8px;
}

.popup-content .btn-emergency {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(255,107,53,0.3); }
    50% { box-shadow: 0 12px 30px rgba(255,107,53,0.5); }
}

.popup-content .btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
}

.popup-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.popup-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed var(--border);
}

.popup-feature {
    text-align: center;
}

.popup-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 2px solid var(--border);
}

.popup-feature-icon i {
    font-size: 20px;
    color: var(--accent);
}

.popup-feature-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

@media (max-width: 768px) {
    .exit-intent-popup {
        padding: 15px;
    }
    
    .popup-content {
        max-width: 100%;
        border-radius: 25px;
    }
    
    .popup-header {
        padding: 30px 20px 25px;
    }
    
    .popup-icon {
        width: 70px;
        height: 70px;
    }
    
    .popup-icon i {
        font-size: 35px;
    }
    
    .popup-body {
        padding: 30px 20px 35px;
    }
    
    .popup-content h3 {
        font-size: 1.5rem;
    }
    
    .popup-subtitle {
        font-size: 14px;
    }
    
    .popup-body p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .popup-content .btn {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .popup-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .popup-feature {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    .popup-feature-icon {
        width: 45px;
        height: 45px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .popup-feature-icon i {
        font-size: 18px;
    }
    
    .popup-feature-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .exit-intent-popup {
        padding: 10px;
    }
    
    .popup-content {
        border-radius: 20px;
    }
    
    .popup-header {
        padding: 25px 15px 20px;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
    }
    
    .popup-icon i {
        font-size: 30px;
    }
    
    .popup-body {
        padding: 25px 15px 30px;
    }
    
    .popup-content h3 {
        font-size: 1.25rem;
    }
    
    .popup-subtitle {
        font-size: 13px;
    }
    
    .popup-body p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .popup-content .btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .popup-content .btn i {
        margin-right: 6px;
        font-size: 14px;
    }
    
    .popup-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
        top: 12px;
        right: 12px;
    }
    
    .popup-features {
        gap: 10px;
        margin-top: 18px;
        padding-top: 18px;
    }
    
    .popup-feature {
        gap: 10px;
    }
    
    .popup-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .popup-feature-icon i {
        font-size: 16px;
    }
    
    .popup-feature-text {
        font-size: 11px;
    }
}

/* Form Messages */
.form-message {
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.success-message {
    background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(5,150,105,0.1) 100%);
    border: 2px solid var(--success);
}

.success-message i {
    font-size: 48px;
    color: var(--success);
    margin-bottom: 16px;
}

.success-message p {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 8px;
}

.error-message {
    background: linear-gradient(135deg, rgba(229,62,62,0.1) 0%, rgba(197,48,48,0.1) 100%);
    border: 2px solid #e53e3e;
}

.error-message i {
    font-size: 48px;
    color: #e53e3e;
    margin-bottom: 16px;
}

.error-message p {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 8px;
}

/* Form Error Styling */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
}

.error-message {
    display: block;
    color: #e53e3e;
    font-size: 14px;
    margin-top: 8px;
}
