:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
    --whatsapp: #25D366;
    --whatsapp-hover: #128C7E;
    --border: #e2e8f0;
    --container-max: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 2rem; }
h3 { font-size: 1.25rem; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--whatsapp);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
    text-align: center;
}

.btn-primary:hover {
    background: var(--whatsapp-hover);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--whatsapp);
    color: var(--whatsapp);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--whatsapp);
    color: white;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--text-main);
    font-weight: 500;
}

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

/* Hero */
.hero {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
}

/* Services */
.services {
    padding: 80px 0;
}

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

.card-service {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-service img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-service h3, .card-service p {
    padding: 0 20px;
}

.card-service h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.card-service p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Differentials */
.differentials {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.diff-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.diff-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: #0f172a;
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    margin-bottom: 15px;
}

.footer a {
    color: var(--text-main);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--whatsapp);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .btn-outline {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}
