:root {
    --primary-color: #2563eb;
    --secondary-color: #f97316;
    --accent-color: #0ea5e9;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --white: #ffffff;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 20px;
    --border-radius-lg: 24px;
    --border-radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ea580c);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.logo-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
}

.logo-text span {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 600;
}

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

.btn-whatsapp, .btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

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

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

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

.desktop-only {
    display: inline;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.375rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary.btn-green {
    background: #25d366;
    color: var(--white);
}

.btn-primary.btn-green:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.image-backdrop {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    opacity: 0.15;
    filter: blur(30px);
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.floating-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

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

.service-visual {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.9));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transform: scale(0);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1);
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.service-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.service-tags span {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.custom-solution {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.custom-solution::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.custom-solution-content {
    position: relative;
    z-index: 1;
}

.custom-solution-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.custom-solution-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 60px 0;
    background: var(--light-color);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.image-decoration {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius-lg);
    opacity: 0.2;
    filter: blur(20px);
    z-index: -1;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.about-content {
    padding-left: 2rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-description {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--gray-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.mission-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.mission-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.mission-box p {
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 60px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.advantages-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.advantage-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    color: var(--dark-color);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.advantage-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.advantage-card p {
    line-height: 1.7;
    opacity: 0.9;
}

.cta-section {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: var(--light-color);
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    color: var(--dark-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.service-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial-card blockquote {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.author-location {
    font-size: 0.95rem;
    opacity: 0.7;
}

.customer-stats {
    text-align: center;
    background: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.customer-stats h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.customer-stats p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.stats-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.rating-display .stars {
    color: #fbbf24;
}

.rating-text {
    font-weight: 600;
    color: var(--dark-color);
}

.divider {
    color: var(--gray-color);
    font-size: 1.5rem;
}

.customer-count {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-logo-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-logo-text p {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--white);
}

.footer-section h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-size: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-credentials p {
    color: #94a3b8;
    font-size: 1rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.copyright {
    color: #94a3b8;
    font-size: 1rem;
}

.powered-by {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #25d366;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

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

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        padding-left: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Container and spacing adjustments */
    .header-container,
    .hero-container,
    .services-container,
    .about-container,
    .why-choose-container,
    .testimonials-container,
    .footer-container {
        padding: 0 1rem;
    }
    
    /* Header mobile optimization */
    .header-content {
        padding: 1rem 0;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
    }
    
    .logo-text span {
        font-size: 0.875rem;
    }
    
    .desktop-only {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn-whatsapp, .btn-call {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .floating-stats {
        position: static;
        margin-top: 2rem;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Section headers mobile */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Services section mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-content {
        padding: 2rem 1.5rem;
    }
    
    .service-tags {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .service-tags span {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .custom-solution {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    
    .custom-solution-content h3 {
        font-size: 1.5rem;
    }
    
    /* About section mobile */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        text-align: center;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mission-box {
        text-align: left;
        margin-top: 2rem;
    }
    
    /* Why choose us mobile */
    .advantages-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .customer-stats {
        padding: 2.5rem 1.5rem;
    }
    
    .stats-display {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-credentials p {
        font-size: 0.875rem;
    }
    
    /* WhatsApp button mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .header-container,
    .hero-container,
    .services-container,
    .about-container,
    .why-choose-container,
    .testimonials-container,
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .service-card,
    .advantage-card,
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .floating-stats {
        padding: 1rem;
    }
    
    .cta-section,
    .custom-solution {
        padding: 2rem 1rem;
    }
    
    .footer-description,
    .footer-section ul li {
        font-size: 0.875rem;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .floating-stats {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .service-card,
    .advantage-card,
    .testimonial-card {
        transition: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .service-card:active,
    .advantage-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }
}

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

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

.service-card,
.advantage-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}