/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

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

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

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

/* Header */
.header {
    background: transparent;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header white for service pages */
body.service-page .header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav {
    padding: 16px 0;
}

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

.nav-brand .logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.nav-brand .tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header on service pages - nav links visible on white background */
body.service-page .nav-link {
    color: var(--text-primary);
}

body.service-page .nav-link:hover {
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.phone-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 540px;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
    padding-top: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--success-color);
}

/* Hero Form */
.hero-form-wrapper {
    position: sticky;
    top: 100px;
}

.hero-form {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.hero-form-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.hero-form-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.hero-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hero-form-header p {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
}

.hero-form .form-group {
    margin-bottom: 16px;
}

.hero-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.hero-form textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 16px;
    margin-bottom: 0;
}

.form-privacy i {
    color: var(--success-color);
    margin-right: 4px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1399px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-card li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    width: 16px;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.why-content {
    display: grid;
    grid-template-columns: 450px 1fr 300px;
    gap: 60px;
    align-items: center;
}

.why-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.why-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.image-badge i {
    color: var(--accent-color);
    font-size: 20px;
}

.image-badge span {
    font-weight: 600;
    color: var(--text-primary);
}

.why-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.benefits {
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.benefit i {
    color: var(--success-color);
    font-size: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.benefit h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.why-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 2px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-service-area h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-service-area p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-service-area .service-cities {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-service-area .client-types {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    color: var(--accent-color);
    font-size: 0.875rem;
}

.footer-service-area .client-types i {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: var(--text-light);
}

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

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .why-image img {
        height: 400px;
    }
    
    .why-stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Header always white on mobile */
    .header {
        background: rgba(255, 255, 255, 0.95) !important;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }
    
    .nav .container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hide-mobile {
        display: none !important;
    }
    
    .hero {
        padding: 140px 0 60px;
        margin-top: 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-form-wrapper {
        position: relative;
        top: 0;
    }
    
    .hero-form {
        padding: 28px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-text h2 {
        font-size: 2rem;
    }
    
    .why-image img {
        height: 350px;
    }
    
    .why-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0 60px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .contact-form {
        padding: 24px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Bottom Menu */
.mobile-bottom-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    padding: 10px 0 max(10px, env(safe-area-inset-bottom));
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 12px;
    gap: 4px;
}

.mobile-menu-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    font-size: 11px;
    font-weight: 500;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Contact Button */
.menu-contact {
    color: var(--primary-color);
}

.menu-contact:active {
    color: var(--primary-dark);
}

/* Call Button - Round and Prominent */
.menu-call {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    position: relative;
    top: -15px;
    border: 4px solid white;
    animation: pulse-call 2s infinite;
}

.menu-call i {
    font-size: 26px;
    margin: 0;
}

.menu-call:active {
    background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
    transform: scale(0.95);
}

@keyframes pulse-call {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
        transform: translateY(-2px);
    }
}

/* WhatsApp Button */
.menu-whatsapp {
    color: #25D366;
}

.menu-whatsapp:active {
    color: #128C7E;
}

/* Layout for mobile menu buttons */
@media (max-width: 768px) {
    .mobile-bottom-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    /* Hide floating WhatsApp button on mobile when bottom menu is visible */
    .whatsapp-float {
        display: none;
    }
    
    /* Hide phone button in header on mobile */
    .nav-contact,
    .phone-btn {
        display: none !important;
    }
    
    /* Add padding to body to prevent content being hidden behind menu */
    body {
        padding-bottom: 80px;
    }
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    z-index: 1002;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #20b358);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #0e7a4f);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    border: 2px solid rgba(255, 255, 255, 1);
}

.whatsapp-btn i {
    margin-top: 2px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8), 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.5);
    }
}

/* Mobile adjustments for floating button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        position: fixed !important;
    }
    
    .whatsapp-btn {
        width: 70px !important;
        height: 70px !important;
        font-size: 32px !important;
        background: #25D366 !important;
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.8) !important;
        border: 4px solid rgba(255, 255, 255, 1) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .whatsapp-btn:hover {
        background: #128C7E !important;
        transform: scale(1.15) !important;
        box-shadow: 0 10px 45px rgba(37, 211, 102, 0.9) !important;
    }
    
    /* Make pulse animation more prominent on mobile */
    @keyframes pulse-mobile {
        0% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 1), 0 8px 40px rgba(37, 211, 102, 0.8);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 0 0 20px rgba(37, 211, 102, 0), 0 8px 40px rgba(37, 211, 102, 0.8);
            transform: scale(1.05);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 40px rgba(37, 211, 102, 0.8);
            transform: scale(1);
        }
    }
    
    .whatsapp-btn {
        animation: pulse-mobile 1.5s infinite !important;
    }
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Extra small devices (phones smaller than 480px) */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        z-index: 10000 !important;
    }
    
    .whatsapp-btn {
        width: 75px !important;
        height: 75px !important;
        font-size: 35px !important;
        background: #25D366 !important;
        box-shadow: 0 10px 50px rgba(37, 211, 102, 0.9) !important;
        border: 5px solid rgba(255, 255, 255, 1) !important;
    }
    
    .whatsapp-tooltip {
        right: 85px;
        font-size: 12px;
        padding: 6px 10px;
        opacity: 1 !important;
        visibility: visible !important;
        animation: tooltip-bounce 2s infinite;
    }
    
    @keyframes tooltip-bounce {
        0%, 100% { transform: translateY(-50%) scale(1); }
        50% { transform: translateY(-50%) scale(1.05); }
    }
}

/* Impressum Page Styles */
.impressum-content {
    padding: 120px 0 80px;
    background: var(--bg-secondary);
}

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

.impressum-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.breadcrumb {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.impressum-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.company-details,
.contact-details,
.business-details {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.company-details h2,
.contact-details h2,
.business-details h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.detail-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-row strong {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.detail-row span,
.detail-row a {
    color: var(--text-secondary);
    line-height: 1.5;
}

.detail-row a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-row a:hover {
    text-decoration: underline;
}

.legal-sections {
    margin-bottom: 60px;
}

.legal-section {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.impressum-footer {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.impressum-footer p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.back-to-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    opacity: 0.9;
}

/* Impressum specific styles using existing components */
.impressum-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

.impressum-header .update-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-style: italic;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
}

.legal-section {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 16px 0 24px 0;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.data-table {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    margin: 24px 0;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.right-item {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.right-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.right-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.right-item h3 i {
    font-size: 1rem;
}

.right-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact-section h2 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.contact-section h2 i {
    color: white;
}

.contact-section .info-box {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-section .info-box p {
    color: white;
}

.contact-section .info-box a {
    color: white;
    text-decoration: underline;
}

.contact-section .info-box a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.back-link {
    margin-top: 20px;
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .legal-section {
        padding: 24px 20px;
    }

    .legal-section h2 {
        font-size: 1.4rem;
    }

    .legal-section h3 {
        font-size: 1.15rem;
    }

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

    .data-table,
    .highlight-box {
        padding: 16px;
    }
}
.impressum-summary {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.impressum-summary h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.summary-box p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-links {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.legal-links h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-links ul {
    list-style: none;
    padding: 0;
}

.legal-links li {
    margin-bottom: 8px;
}

.legal-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-links a:hover {
    text-decoration: underline;
}

.legal-links a::before {
    content: '→';
    color: var(--accent-color);
    font-weight: bold;
}

.back-home-section {
    margin-top: 24px;
    text-align: center;
}

/* Service Pages */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    padding: 140px 0 80px;
    margin-top: 80px; /* Space for fixed header */
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    color: white;
    font-weight: 600;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 800px;
}

.service-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.meta-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.service-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.content-main {
    min-width: 0;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.benefits-list {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.95rem;
    margin: 0;
}

.service-steps {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    margin: 0;
}

.window-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.window-type {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.window-type:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.window-type i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.window-type h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.window-type p {
    font-size: 0.9rem;
    margin: 0;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.recommendation-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
}

.recommendation-list li:last-child {
    border-bottom: none;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    padding: 48px;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.content-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.sidebar-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

.sidebar-card.highlight i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.sidebar-card.highlight h3 {
    color: white;
}

.sidebar-card.highlight p {
    color: rgba(255, 255, 255, 0.95);
}

.contact-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.quick-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.quick-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.quick-item:hover i {
    color: white;
}

.quick-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.quick-item span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

.related-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.related-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.related-item i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.related-item:hover i {
    color: white;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
        margin-top: 80px; /* Keep space for fixed header on mobile */
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-lead {
        font-size: 1.05rem;
    }
    
    .service-meta {
        flex-direction: column;
        gap: 16px;
    }
    
    .window-types {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 32px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

.service-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Mobile adjustments for impressum */
@media (max-width: 768px) {
    .impressum-summary {
        padding: 24px 20px;
    }
    
    .legal-links {
        padding: 16px;
    }
}