/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --white: #ffffff;
    --success: #10b981;
    --gold: #f59e0b;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* p {
    color: var(--text-muted);
    line-height: 1.7;
} */

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

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

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

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

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--background-alt);
}

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

.btn-white:hover {
    background: var(--background-alt);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ===== Header ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--background-alt);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-only {
    display: none;
}

/* ===== Hero Section ===== */
/* ===== HERO SIMPLE Y ESTABLE ===== */

.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}
/* Imagen de fondo */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none; /* 🔑 no bloquea clicks */
}

/* Contenido */
.hero-fullscreen-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: 900px;
}

/* Textos */
.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.gradient-text {
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-italic {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background: var(--background-alt);
}

/* ===== Services Section ===== */
:root {
    --text-dark: #0f172a;
    --text-light: #64748b;
    /* Colores exactos de la imagen */
    --clr-purple: #6366f1;
    --clr-violet: #a855f7;
    --clr-blue: #3b82f6;
    --clr-pink: #ec4899;
}

.services-section {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.service-card {
   padding: 50px 35px;
    border-radius: 45px; /* Bordes amplios como la imagen */
    border: 1.5px solid #f1f5f9; /* Borde sutil por defecto */
    transition: all 0.3s ease;
    cursor: pointer;
}
/* Colores por tarjeta */
.color-purple { --card-clr: var(--clr-purple); }
.color-violet { --card-clr: var(--clr-violet); }
.color-blue   { --card-clr: var(--clr-blue); }
.color-pink   { --card-clr: var(--clr-pink); }

/* Hover: Cambia color de borde */
.service-card:hover {
    border-color: var(--card-clr);
    transform: translateY(-5px);
}

.icon-box {
    width: 65px;
    height: 65px;
    background-color: var(--card-clr);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.icon-box svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--card-clr); /* El título tiene el color del icono */
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}
/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-features {
    flex: 1;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== Process Section ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    transition: all 0.3s ease;
}

.process-step:hover .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 20px;
    background-color: #fcfcfc;
}

.testimonial-slider {
    padding-bottom: 50px !important;
    max-width: 900px;
}

/* Card base (solo estructura, SIN borde decorativo) */
.testimonial-card {
    background: transparent;
    padding: 0;
    border: none;
    text-align: center;
}

/* ===== ÚNICO CUADRO DEL TESTIMONIO ===== */
.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #334155;
    font-style: italic;

    margin: 0 auto;
    max-width: 520px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    padding: 20px 20px 16px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
}

/* Autor DENTRO del mismo cuadro */
.testimonial-author {
    margin-top: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Avatar */
.author-avatar {
    width: 42px;
    height: 42px;
    background: #5b5fc7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Info autor */
.author-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #0d1117;
}

.author-info span {
    font-size: 0.8rem;
    color: #64748b;
}

/* Puntos del carrusel */
.swiper-pagination-bullet-active {
    background: #5b5fc7 !important;
}

/* ===== Extra Services Section ===== */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.extras-category h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--background-alt);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.extra-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.extra-item span {
    font-weight: 500;
}

.extra-item strong {
    color: var(--accent);
    font-size: 1.125rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 25px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== About Page ===== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.page-header .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.page-title {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

/* ===== Mission / Vision / Values ===== */
.mvv-section {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* ===== MVV Section ===== */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mvv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mvv-card h3 {
    margin-bottom: 16px;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
   
}

/* ===== Why Choose Section ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: var(--background-alt);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.why-card h3 {
    margin-bottom: 12px;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.contact-benefits {
    background: var(--background-alt);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 32px;
}

.contact-benefits h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.contact-benefits ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.contact-benefits li svg {
    color: var(--success);
    flex-shrink: 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--background-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-details h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.contact-details a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-block {
    width: 100%;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: var(--white);
    color: var(--primary);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit a:hover {
    color: var(--white);
}
.footer .container {
    max-width: 1400px; /* más ancho que el contenido normal */
    padding: 0 40px;   /* más aire a los lados */
}

/* ===== 404 Page ===== */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.error-content h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-content h2 {
    margin-bottom: 16px;
}

.error-content p {
    margin-bottom: 32px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .mvv-grid,
    .stats-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 8px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .header-right .btn-header {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .mobile-only {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-trust {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .services-grid,
    .mvv-grid,
    .stats-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .extras-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .btn-lg {
        padding: 14px 28px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.bg-white { background: var(--white); }
.bg-light { background: var(--background-alt); }
.bg-dark { background: var(--primary); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* Media Queries para responsividad en móvil */

@media (max-width: 991px) {
    .hero-main-title {
        font-size: 2.4rem !important;
        line-height: 1.2 !important;
    }
    .hero-tagline {
        font-size: 1.1rem !important;
        padding: 0 15px;
    }
    .hero-fullscreen-content {
        padding: 40px 20px !important;
    }
    .intro-value h2 {
        font-size: 2rem !important;
    }
    .intro-value p {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 1.9rem !important;
    }
    .hero-tagline {
        font-size: 1rem !important;
    }
    .btn-lg {
        padding: 12px 28px !important;
        font-size: 1.05rem !important;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .section-title {
        font-size: 2.1rem !important;
    }
    .process-timeline {
        padding: 0 10px;
    }
    .testimonial-quote {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 1.7rem !important;
    }
    h2, .section-title {
        font-size: 1.8rem !important;
    }
    .pricing-card, .service-card {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 991px) {
    .hero-main-title {
        font-size: 2.4rem !important;
        line-height: 1.2 !important;
    }
    .hero-tagline {
        font-size: 1.1rem !important;
        padding: 0 15px;
    }
    .hero-fullscreen-content {
        padding: 40px 20px !important;
    }
    .intro-value h2 {
        font-size: 2rem !important;
    }
    .intro-value p {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 1.9rem !important;
    }
    .hero-tagline {
        font-size: 1rem !important;
    }
    .btn-lg {
        padding: 12px 28px !important;
        font-size: 1.05rem !important;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .section-title {
        font-size: 2.1rem !important;
    }
    .testimonial-quote {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 1.7rem !important;
    }
    h2, .section-title {
        font-size: 1.8rem !important;
    }
    .pricing-card,
    .service-card {
        min-width: 100% !important;
    }
}


@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .service-card {
        padding: 1.5rem !important;
    }
}