:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --primary-color: #2563eb;
    /* Azul sólido, profesional */
    --secondary-color: #f3f4f6;
    /* Gris muy claro para secciones */
    --accent-color: #1d4ed8;
    --border-color: #e5e7eb;
    --font-main: 'Outfit', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Tipografía */
h1,
h2,
h3 {
    margin: 0;
    font-weight: 700;
    color: #111827;
}

p {
    margin-bottom: 1rem;
    color: #4b5563;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Navbar Clásica */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Sombra sutil */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: #374151;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Botones */
.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    /* Force white text */
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    /* Bordes menos redondeados, más clásico */
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    margin-left: 1rem;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #eff6ff;
}

/* Hero Section - Estilo Clásico (Texto Izq, img Der) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    gap: 4rem;
    background-color: #ffffff;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Servicios */
.services {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
    /* Fondo gris claro */
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Sombra suave clásica */
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
    /* Animación muy suave y corta */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #1f2937;
    color: white;
}

footer p {
    color: #9ca3af;
    margin: 0;
}

/* Nuevas Secciones: About y Examples */
.container {
    max-width: 1000px;
    margin: 0 auto;
}

.about {
    padding: 6rem 5%;
    text-align: center;
}

.section-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #4b5563;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.examples {
    padding: 6rem 5%;
    background-color: #f9fafb;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.example-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.example-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.example-card .label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #4b5563;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.example-card .label.highlight {
    background: var(--primary-color);
}

.example-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.example-card ul {
    margin: 2rem 0;
}

.example-card li {
    margin-bottom: 0.8rem;
    color: #4b5563;
}

.price-hint {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        /* Imagen arriba en móvil suele ser mejor, o abajo. Dejemos texto primero. */
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* En una real, añadiríamos menú hamburguesa aquí */

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}