:root {
    --primary-red: #d90016;
    --primary-red-hover: #b30012;
    --primary-green: #008a3d;
    --primary-green-hover: #006b2f;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 0, 22, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 0, 22, 0.4);
}

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

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

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

/* --- Navegación --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 40px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

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

.btn-nav {
    background-color: var(--primary-red);
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
}

.btn-nav:hover {
    background-color: var(--primary-red-hover);
}

/* --- Hero Section --- */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--primary-red);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

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

/* --- Global Section Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

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

/* --- Servicios --- */
.services {
    background-color: var(--bg-light);
    padding: 100px 20px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-red);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 50px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* --- Banner Especial --- */
.special-banner {
    background-color: var(--primary-green);
    background-image: linear-gradient(135deg, var(--primary-green) 0%, #005a28 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Metodología --- */
.methodology {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.step {
    padding: 30px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: rgba(217, 0, 22, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: -1;
}

.step h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
}

/* --- Contacto (Pricing style) --- */
.contact {
    background-color: var(--bg-light);
    padding: 100px 20px;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-box h2 {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.contact-desc {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff5f5;
    padding: 40px;
    border-radius: 12px;
    border: 2px dashed rgba(217, 0, 22, 0.2);
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-item .label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item .value {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item .phone {
    font-size: 2.5rem;
    color: var(--primary-green);
}

/* --- Footer --- */
footer {
    background-color: #1a202c;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo .logo-text {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

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

.copyright {
    color: #718096;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .contact-details {
        padding: 20px;
    }
}
