/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Variables CSS */
:root {
    --primary-color: #eec92d;
    --secondary-color: #cf812c;
    --accent-color: #eec92d;
    --success-color: #eec92d;
    --warning-color: #cf812c;
    --light-bg: #ddddde;
    --white: #ffffff;
    --text-dark: #232222;
    --text-light: #555555;
    --shadow: 0 2px 10px rgba(35, 34, 34, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Header */
/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 2rem;
    gap: 3rem;
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
}

/* Navigation */
.nav {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    background: transparent;
}

.nav-link:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
}

.nav-link.active {
    background: var(--primary-color);
    color: var(--text-dark);
    font-weight: 800;
}

/* Botón hamburguesa - oculto en desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animación del botón hamburguesa cuando está activo */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay oscuro sobre las imágenes */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 34, 34, 0.6) 0%, rgba(35, 34, 34, 0.4) 100%);
    z-index: 2;
}

.hero .container {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 3;
    width: 100%;
    justify-content: flex-start;
}

.hero-content {
    text-align: left;
    width: 50%;
    padding: 0 2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-left: 0;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    margin-left: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-top: 2rem;
    justify-content: flex-start;
    margin-left: 0;
}

.hero-buttons .btn {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 8px 24px rgba(238, 201, 45, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(207, 129, 44, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 16px rgba(207, 129, 44, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(207, 129, 44, 0.5);
}





/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Nosotros Section */
.nosotros {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(238, 201, 45, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: var(--white);
    border: none;
    padding: 18px 32px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tab-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(238, 201, 45, 0.3);
}

.tab-button:hover::before {
    opacity: 0.1;
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f5d854 100%);
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(238, 201, 45, 0.4);
}

.tab-button i {
    font-size: 1.1rem;
}

.tab-content {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(238, 201, 45, 0.1);
}

.tab-panel {
    display: none;
    padding: 4rem 5rem;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-content h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    max-width: 900px;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.15rem;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(238, 201, 45, 0.08) 0%, rgba(207, 129, 44, 0.05) 100%);
    border-radius: 16px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.point:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(207, 129, 44, 0.15);
}

.point i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    min-width: 24px;
    flex-shrink: 0;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.goal {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(238, 201, 45, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px;
    border: 1px solid rgba(238, 201, 45, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.goal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.goal:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(238, 201, 45, 0.2);
}

.goal:hover::before {
    transform: scaleX(1);
}

.goal i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.goal:hover i {
    transform: scale(1.1) rotate(5deg);
}

.goal h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: linear-gradient(135deg, #fff 0%, rgba(238, 201, 45, 0.05) 100%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(238, 201, 45, 0.15);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(238, 201, 45, 0.2);
    border-color: var(--primary-color);
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.value-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Catálogo Section */
.catalogo {
    background: var(--white);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Cuando hay una sola card, centrarla y limitar su ancho */
.productos-grid:has(.producto-card:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.productos-grid .producto-card:only-child {
    max-width: 400px;
    width: 100%;
}

/* Cuando hay exactamente 2 cards, centrarlas y limitar su ancho */
.productos-grid:has(.producto-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 400px);
    justify-content: center;
}

.producto-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.producto-imagen {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

.producto-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-align: center;
    line-height: 1.3;
}

.producto-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.producto-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.producto-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.producto-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.btn-producto {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-producto:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contacto Section */
.contacto {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9fa 100%);
    padding: 60px 0;
}

/* Tabs de contacto - ocultos en desktop */
.contacto-tabs {
    display: none;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.contacto-tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid var(--light-bg);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contacto-tab-btn i {
    font-size: 1.1rem;
}

.contacto-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(238, 201, 45, 0.3);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.contacto-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.asesores-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.asesor-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.asesor-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(207, 129, 44, 0.15);
}

.asesor-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--light-bg);
}

.asesor-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.asesor-header h4 {
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.asesor-name {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.asesor-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: var(--light-bg);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.contact-item:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.whatsapp-item i {
    color: #25D366;
}

.email-item i {
    color: var(--secondary-color);
}

.contact-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

.horario-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(238, 201, 45, 0.1) 0%, rgba(207, 129, 44, 0.05) 100%);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(238, 201, 45, 0.2);
}

.horario-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.horario-card strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.horario-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.8rem;
}

.contacto-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(238, 201, 45, 0.1);
}

.contacto-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contacto-form input,
.contacto-form textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(238, 201, 45, 0.1);
}

.contacto-form textarea {
    resize: vertical;
    min-height: 90px;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color), #b86e25);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h3 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Footer brand section con logo */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 20px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-brand p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--white);
}

.footer-description {
    font-size: 0.9rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .header-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Ocultar el menú en mobile */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 1rem 0;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid var(--light-bg);
        font-size: 1.1rem;
    }
    
    .nav-link:hover {
        background: var(--light-bg);
    }
    
    /* Mostrar botón hamburguesa en mobile */
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        justify-content: center;
        padding: 0 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        padding: 16px 32px;
        font-size: 1rem;
        flex: 1 1 auto;
        min-width: 200px;
    }
    
    .tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .tab-button {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.85rem;
        justify-content: center;
        white-space: nowrap;
    }
    
    .tab-button i {
        font-size: 0.9rem;
    }
    
    .tab-panel {
        padding: 2.5rem 2rem;
    }
    
    .panel-content h3 {
        font-size: 2rem;
    }
    
    .panel-content p {
        font-size: 1.1rem;
    }
    
    .vision-goals {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .value-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .value-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mostrar tabs en mobile */
    .contacto-tabs {
        display: flex;
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
    }
    
    /* Paneles de contacto con transición */
    .contacto-panel {
        display: none;
        animation: fadeIn 0.3s ease;
    }
    
    .contacto-panel.active {
        display: block;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .contacto-form {
        padding: 2rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        height: 60px;
    }
    
    .header-logo-section {
        height: 60px;
    }
    
    .header-nav-section {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .logo-text {
        height: 28px;
    }
    
    .logo-nr-outside {
        height: 30px;
        bottom: 3px;
        right: 3px;
    }
    
    .logo {
        gap: 0.5rem;
        padding: 0 0.8rem;
    }
    
    .nav-toggle {
        padding: 0.4rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 100vh;
    }
    
    .hero .container {
        padding: 0 15px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .value-card {
        padding: 1.2rem 0.8rem;
        border-radius: 12px;
    }
    
    .value-card i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .value-card h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .ventaja-card {
        padding: 1.5rem 1rem;
    }
    
    .ventaja-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .ventaja-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .ventaja-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .proceso-flow {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .flow-step {
        width: 100%;
        max-width: none;
    }
    
    .flow-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }
    
    .flow-icon i {
        font-size: 1.8rem;
    }
    
    .flow-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .flow-step h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .flow-step p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .contacto-form {
        padding: 1.5rem;
    }
    
    .contacto-form h3 {
        font-size: 1.5rem;
    }
    
    .asesor-card {
        padding: 1.5rem;
    }
    
    .asesor-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .asesor-name {
        font-size: 1.1rem;
    }
    
    .horario-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Ventajas Section */
.ventajas {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--white) 50%, var(--light-bg) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ventajas::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(207, 129, 44, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.ventajas .container {
    position: relative;
    z-index: 1;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.ventaja-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(238, 201, 45, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ventaja-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ventaja-card:hover::before {
    transform: scaleX(1);
}

.ventaja-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(238, 201, 45, 0.25);
    border-color: var(--primary-color);
}

.ventaja-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f5d854 100%);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(238, 201, 45, 0.3);
    position: relative;
}

.ventaja-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.4s ease;
}

.ventaja-card:hover .ventaja-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d69138 100%);
    color: var(--white);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(207, 129, 44, 0.4);
}

.ventaja-card:hover .ventaja-icon::after {
    opacity: 0.3;
    transform: scale(1.4);
}

.ventaja-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ventaja-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Proceso Section */
.proceso {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.proceso::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(238, 201, 45, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.proceso .container {
    position: relative;
    z-index: 1;
}

.proceso-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 200px;
    position: relative;
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-10px);
}

.flow-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f5d854 100%);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(238, 201, 45, 0.4);
    z-index: 2;
}

.flow-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(238, 201, 45, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.flow-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.flow-step:hover .flow-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 32px rgba(207, 129, 44, 0.4);
}

.flow-step:hover .flow-icon::after {
    opacity: 0.3;
    transform: scale(1.4);
}

.flow-icon i {
    color: var(--white);
    font-size: 2.5rem;
}

.flow-step h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.flow-connector {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    position: relative;
    margin: 0 -10px;
}

.flow-connector svg {
    width: 100%;
    height: 100%;
}

.flow-connector path {
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

/* FAQ Section */
.faq {
    background: var(--white);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(38, 49, 70, 0.05);
}

.faq-question i:first-child {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.faq-question h3 {
    flex: 1;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i:last-child {
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 4.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Asesor Cards */
.asesor-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.asesor-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.asesor-card h4 i {
    color: var(--secondary-color);
}

.asesor-card .info-item {
    margin-bottom: 0.75rem;
}

/* Form buttons */
.form-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-buttons .btn {
    flex: 1;
    min-width: 200px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* Hero buttons adjustment */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: flex-start;
    margin-left: 0;
}

.hero-buttons .btn {
    padding: 18px 30px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .ventaja-card {
        padding: 1.5rem 1rem;
    }
    
    .ventaja-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .ventaja-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .ventaja-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .proceso-flow {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .flow-step {
        width: 100%;
        max-width: none;
    }
    
    .flow-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }
    
    .flow-icon i {
        font-size: 1.8rem;
    }
    
    .flow-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .flow-step h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .flow-step p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .flow-connector {
        display: none;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
    
    .asesor-card {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 15px 25px;
    }
}