/* 
   CoachingPro - Hoja de Estilos
   Versión: 1.0
*/

/* ----- VARIABLES GLOBALES ----- */
:root {
    /* Paleta de colores principal */
    --primary-color: #4f46e5; /* Índigo vibrante */
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    
    /* Colores complementarios */
    --secondary-color: #10b981; /* Verde esmeralda */
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    
    /* Colores neutros */
    --neutral-100: #f9fafb;
    --neutral-200: #f3f4f6;
    --neutral-300: #e5e7eb;
    --neutral-400: #d1d5db;
    --neutral-500: #9ca3af;
    --neutral-600: #6b7280;
    --neutral-700: #4b5563;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* Colores de acento */
    --accent-success: #22c55e;
    --accent-warning: #eab308;
    --accent-danger: #ef4444;
    --accent-info: #3b82f6;
    
    /* Tipografía */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    --font-mono: 'SF Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Bordes */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transiciones */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Contenedor */
    --container-padding: 1.5rem;
    --container-max-width: 1200px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--neutral-900);
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p, ul, ol {
    margin-bottom: 1rem;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ----- COMPONENTES DE UI ----- */

/* Botones */
.btn-primary, .btn-secondary, .btn-outline, .btn-accept, .btn-customize, .btn-reject {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    line-height: 1;
    border: none;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-accept:hover {
    background-color: #16a34a;
}

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

.btn-customize:hover {
    background-color: #1d4ed8;
}

.btn-reject {
    background-color: var(--neutral-600);
    color: white;
}

.btn-reject:hover {
    background-color: var(--neutral-700);
}

/* Formularios */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-md);
    background-color: var(--neutral-100);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-submit {
    margin-top: var(--spacing-xl);
    text-align: center;
}

/* ----- LAYOUT DE CABECERA ----- */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
}

.logo h1 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin-bottom: 0;
}

nav ul li a {
    color: var(--neutral-700);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.05);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
}

/* ----- SECCIONES DE PÁGINA DE INICIO ----- */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
    padding: var(--spacing-3xl) 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-900);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: var(--neutral-700);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    top: 1.5rem;
    left: 1.5rem;
    z-index: -1;
    opacity: 0.2;
}

/* Featured Posts */
.featured-posts {
    padding: var(--spacing-3xl) 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.featured-posts h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: var(--spacing-lg);
}

.post-content h3 {
    margin-bottom: var(--spacing-sm);
}

.post-content p {
    color: var(--neutral-600);
    margin-bottom: var(--spacing-md);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: var(--spacing-md);
}

.post-meta i {
    margin-right: var(--spacing-xs);
}

.post-meta .date {
    display: flex;
    align-items: center;
}

.post-meta .views {
    display: flex;
    align-items: center;
}

.view-all {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Benefits Section */
.benefits {
    background-color: var(--neutral-200);
    padding: var(--spacing-3xl) 0;
}

.benefits h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.benefits h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.benefit-item {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.benefit-item:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
}

.benefit-item h3 {
    margin-bottom: var(--spacing-md);
    color: var(--neutral-800);
}

.benefit-item p {
    color: var(--neutral-600);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-3xl) 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    max-width: 550px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--neutral-300);
    position: absolute;
    top: -1rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--neutral-700);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--neutral-800);
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    color: white;
}

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .btn-primary:hover {
    background-color: var(--neutral-100);
}

/* ----- PÁGINA DE BLOG ----- */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    opacity: 0.9;
}

.blog-content {
    padding: var(--spacing-3xl) 0;
}

.blog-content .container {
    display: flex;
    gap: var(--spacing-2xl);
}

.blog-filters {
    width: 25%;
    flex-shrink: 0;
}

.blog-filters h3 {
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--neutral-300);
    padding-bottom: var(--spacing-sm);
}

.blog-filters ul {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.blog-filters ul li {
    margin-bottom: var(--spacing-md);
}

.blog-filters ul li a {
    color: var(--neutral-700);
    transition: color var(--transition-fast);
    display: block;
    padding: var(--spacing-sm) 0;
}

.blog-filters ul li a:hover {
    color: var(--primary-color);
}

.blog-filters ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-posts {
    flex: 1;
}

.blog-post {
    margin-bottom: var(--spacing-2xl);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    width: 35%;
    flex-shrink: 0;
}

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

.post-details {
    padding: var(--spacing-xl);
    flex: 1;
}

.post-category {
    display: inline-block;
    background-color: var(--primary-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.post-details h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.post-date, .post-views {
    display: flex;
    align-items: center;
}

.post-date i, .post-views i {
    margin-right: 0.25rem;
}

.post-details p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-lg);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--neutral-200);
    padding: var(--spacing-2xl) 0;
}

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

.newsletter-content h2 {
    margin-bottom: var(--spacing-md);
}

.newsletter-content p {
    margin-bottom: var(--spacing-xl);
    color: var(--neutral-700);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
    margin: 0 auto;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-radius-md);
}

.newsletter-form input:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* ----- PÁGINA DE SERVICIOS ----- */
.services-intro {
    padding: var(--spacing-3xl) 0;
}

.services-intro .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-900);
}

.intro-content p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-md);
}

.intro-image {
    flex: 1;
}

.intro-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.services-list {
    background-color: var(--neutral-200);
    padding: var(--spacing-3xl) 0;
}

.services-list h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.services-list h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.service-item {
    display: flex;
    align-items: stretch;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--spacing-2xl);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    width: 40%;
    flex-shrink: 0;
}

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

.service-details {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-details h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.service-details p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style-type: none;
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.service-features li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.methodology {
    padding: var(--spacing-3xl) 0;
}

.methodology h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.methodology h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.methodology-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: var(--spacing-xl);
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    margin-left: var(--spacing-lg);
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-800);
}

.step-content p {
    color: var(--neutral-700);
}

.pricing {
    background-color: var(--neutral-200);
    padding: var(--spacing-3xl) 0;
}

.pricing h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.pricing h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius-md);
}

.pricing-header {
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    background-color: var(--neutral-100);
    border-bottom: 1px solid var(--neutral-300);
}

.pricing-header h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-900);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-left: 0.25rem;
}

.pricing-features {
    padding: var(--spacing-lg);
}

.pricing-features ul {
    list-style-type: none;
    margin-bottom: 0;
}

.pricing-features li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    color: var(--neutral-700);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.pricing-footer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    text-align: center;
}

.faq {
    padding: var(--spacing-3xl) 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.faq h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    display: none;
    color: var(--neutral-700);
}

.faq-answer.active {
    display: block;
}

/* ----- PÁGINA ABOUT ----- */
.about-story {
    padding: var(--spacing-3xl) 0;
}

.about-story .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.story-content {
    flex: 1;
}

.story-content h2 {
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-900);
}

.story-content p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-md);
}

.story-image {
    flex: 1;
}

.story-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-mission {
    background-color: var(--neutral-200);
    padding: var(--spacing-3xl) 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.mission-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    height: 100%;
    transition: transform var(--transition-normal);
}

.mission-item:hover {
    transform: translateY(-8px);
}

.mission-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.mission-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
}

.mission-item p {
    color: var(--neutral-700);
}

.mission-item ul {
    list-style-type: none;
    color: var(--neutral-700);
}

.mission-item ul li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 1.5rem;
}

.mission-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.team {
    padding: var(--spacing-3xl) 0;
}

.team h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.team h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
    color: var(--neutral-700);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
    padding-bottom: var(--spacing-lg);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: var(--spacing-lg) 0 var(--spacing-xs);
    color: var(--primary-color);
}

.team-member p {
    color: var(--neutral-700);
    margin: 0 var(--spacing-lg) var(--spacing-sm);
}

.team-member p:nth-of-type(1) {
    font-weight: 600;
    color: var(--neutral-600);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.certifications {
    background-color: var(--neutral-200);
    padding: var(--spacing-3xl) 0;
}

.certifications h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.certifications h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.certification-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform var(--transition-normal);
}

.certification-item:hover {
    transform: translateY(-8px);
}

.certification-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto var(--spacing-md);
}

.certification-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-800);
}

.certification-item p {
    color: var(--neutral-700);
}

/* ----- PÁGINA DE CONTACTO ----- */
.contact-section {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
}

.contact-info h2 {
    margin-bottom: var(--spacing-lg);
    color: var(--neutral-900);
}

.contact-info > p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    margin-bottom: var(--spacing-2xl);
}

.contact-item {
    display: flex;
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    flex-shrink: 0;
}

.contact-text {
    margin-left: var(--spacing-md);
}

.contact-text h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
    color: var(--neutral-800);
}

.contact-text p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-xs);
}

.social-contact h3 {
    margin-bottom: var(--spacing-md);
    color: var(--neutral-800);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-2xl);
}

.contact-form-container h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-900);
}

.contact-form-container > p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-xl);
}

.map-section {
    background-color: var(--neutral-200);
    padding: var(--spacing-3xl) 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.map-section h2::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-full);
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close-popup {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neutral-600);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
}

.popup-content h2 {
    margin-bottom: var(--spacing-md);
    color: var(--neutral-900);
}

.popup-content p {
    color: var(--neutral-700);
    margin-bottom: var(--spacing-xl);
}

/* ----- FOOTER ----- */
footer {
    background-color: var(--neutral-900);
    color: var(--neutral-300);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.footer-info .footer-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-md);
}

.footer-info p {
    color: var(--neutral-400);
    margin-bottom: var(--spacing-md);
}

.reg-number {
    font-size: 0.875rem;
    opacity: 0.7;
}

footer h3 {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-size: 1.25rem;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-full);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    color: var(--neutral-400);
}

.footer-contact i {
    margin-right: var(--spacing-md);
    color: var(--primary-light);
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a, .footer-legal ul li a {
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    color: white;
}

.footer-social .social-icons {
    margin-top: var(--spacing-md);
}

.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-social .social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: var(--neutral-500);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* ----- COOKIE NOTICE ----- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 41, 55, 0.95);
    padding: var(--spacing-lg);
    color: white;
    display: none;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ----- ICONOS ----- */
[class^="icon-"] {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: -0.125em;
}

.icon-eye:before {
    content: '👁️';
}

.icon-map-pin:before {
    content: '📍';
}

.icon-phone:before {
    content: '📞';
}

.icon-mail:before {
    content: '✉️';
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .posts-grid, .benefits-grid, .pricing-grid, .team-grid, .certifications-grid, .mission-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .services-intro .container, .about-story .container {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .service-item, .service-item:nth-child(even) {
        flex-direction: column;
    }
    
    .service-image {
        width: 100%;
        height: 250px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-content .container {
        flex-direction: column;
    }
    
    .blog-filters {
        width: 100%;
        margin-bottom: var(--spacing-xl);
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        width: 100%;
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .methodology-steps {
        padding: 0 var(--spacing-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-3xl: 3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
