/* --- Variables y Estilos Globales --- */
:root {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #7dd3fc;
    --accent-hover: #38bdf8;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 span {
    font-family: 'DM Serif Display', serif;
    font-weight: 100;
    line-height: 1.1;
    color: var(--accent);
    font-style: italic;
}

h2 span {
    font-family: 'DM Serif Display', serif;
    font-weight: 100;
    line-height: 1.1;
    color: var(--accent);
    font-style: italic;
}
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.subtitle { text-align: center; max-width: 600px; margin: 0 auto 3rem auto; color: var(--text-secondary); }

/* --- Header y Navegación --- */
header {
    background: var(--primary-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
}

header nav {
    display: flex;
    align-items: center;
}

header nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.cta-button {
    background-color: var(--accent);
    color: var(--primary-bg);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 700px;
}
.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px) scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* --- Sidebar Mobile --- */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--secondary-bg);
    z-index: 1001;
    transition: left 0.3s ease;
    box-shadow: 5px 0 20px rgba(0,0,0,0.5);
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header .logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

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

.close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-link:hover {
    background-color: rgba(125, 211, 252, 0.1);
    color: var(--accent);
}

/* --- Secciones --- */
section {
    padding: 80px 0;
}

.hero {
    background-color:  #1a1a1a;
    color: var(--text-primary);
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
    font-weight: 300;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 12px 30px;
    font-family: var(--font-primary);
}

.services { background-color: var(--primary-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--secondary-bg); padding: 2rem; text-align: center; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(125, 211, 252, 0.1); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; font-family: var(--font-primary); }
.service-card p { color: var(--text-secondary); }
.service-icon { 
    background: var(--accent); 
    color: var(--primary-bg); 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    margin: 0 auto 1rem auto; 
    transition: transform 0.3s ease;
}
.service-icon:hover { transform: scale(1.1); }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.process-step { padding: 1rem; }
.step-number { background: var(--accent); color: var(--primary-bg); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 1rem auto; font-family: var(--font-primary); }
.process-step h3 { font-size: 1.5rem; margin-bottom: 0.5rem; font-family: var(--font-primary); }
.process-step p { color: var(--text-secondary); }

.testimonials { background-color: var(--primary-bg); }
.testimonials h2 { margin-bottom: 2rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--secondary-bg); padding: 2rem; border-left: 5px solid var(--accent); border-radius: 5px; }
.testimonial-card p { font-style: italic; margin-bottom: 1rem; color: var(--text-primary); }
.author { font-weight: bold; color: var(--accent); text-align: right; font-family: var(--font-primary); }

.contact { text-align: center; }
.contact-form { max-width: 700px; margin: 0 auto; display: block ; gap: 1rem; text-align: center;}
.form-group { text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-primary); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--secondary-bg);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.25);
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-bg);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.social-links a {
    color: var(--text-secondary);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--accent);
}

.whatsapp img{
    margin-top: 30px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 20px 20px;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    width: 80px;
  }


/* --- Responsive Design --- */
@media (max-width: 768px) {
    header nav { display: none; }
    .menu-toggle { display: flex; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    
    h2 { font-size: 2rem; }
    
    .services-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sidebar {
        width: 80%;
    }
}