/* 
* CoachingPro - Estilos principales
* Version: 1.0
* Año: 2024
*/

/* === VARIABLES === */
:root {
    --primary-color: #3a7bd5;
    --primary-dark: #2d62ac;
    --primary-light: #6294de;
    --secondary-color: #00b894;
    --secondary-dark: #00946f;
    --secondary-light: #2adcb0;
    --accent-color: #fd746c;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --gray-color: #6c7a89;
    --gray-light: #dfe4ea;
    --text-color: #333333;
    --text-light: #777777;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --error-color: #e74c3c;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* === RESET & BÁSICOS === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

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

/* === UTILIDADES === */
.text-center {
    text-align: center;
}

.separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1.5rem auto 2rem 0;
}

.text-center .separator {
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* === NAVEGACIÓN === */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin-bottom: 4px;
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* === BOTONES === */
.btn {
    display: inline-block;
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: #fff;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

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

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

/* === PÁGINA DE CABECERA === */
.page-header {
    background-color: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* === HÉROE CON SLIDER === */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: #fff;
}

.prev-slide, .next-slide {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* === SECCIÓN DE BIENVENIDA === */
.welcome {
    padding: 5rem 0;
    background-color: #fff;
}

.welcome p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* === ÚLTIMAS ENTRADAS DEL BLOG === */
.latest-posts {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.post-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-image {
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content h3 a {
    color: var(--dark-color);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more svg {
    margin-left: 0.25rem;
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(3px);
}

/* === TESTIMONIOS === */
.testimonials {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 1s ease;
}

.testimonial-content {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}

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

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

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

.review-btn:hover {
    background-color: var(--secondary-dark);
}

/* === SECCIÓN DE CTA === */
.cta {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* === FOOTER === */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: #fff;
    margin-top: 1rem;
}

.footer-logo p {
    color: var(--gray-light);
}

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

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

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-column h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.link-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.link-column ul {
    list-style: none;
    margin: 0;
}

.link-column li {
    margin-bottom: 0.75rem;
}

.link-column a {
    color: var(--gray-light);
    transition: var(--transition);
}

.link-column a:hover {
    color: #fff;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info svg {
    margin-right: 0.75rem;
    margin-top: 4px;
    color: var(--primary-light);
}

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

.copyright {
    color: var(--gray-light);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: #fff;
}

/* === COOKIE CONSENT === */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-content a {
    font-size: 0.9rem;
}

/* === MODAL === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.modal-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalIn 0.3s ease;
}

.close-modal, .close-thank-you-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover, .close-thank-you-modal:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
}

.thank-you-content {
    text-align: center;
}

.thank-you-content svg {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-content h2 {
    margin-bottom: 1rem;
}

.thank-you-content p {
    margin-bottom: 2rem;
}

/* === FORMULARIOS === */
form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.1);
}

textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

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

.form-submit {
    grid-column: 1 / -1;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    color: var(--gray-light);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0 0.1rem;
    transition: var(--transition);
}

.rating label:before {
    content: '\2605';
}

.rating input:checked ~ label {
    color: var(--warning-color);
}

.rating label:hover,
.rating label:hover ~ label {
    color: var(--warning-color);
}

/* === BLOG PÁGINA === */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.blog-card {
    display: flex;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #fff;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    flex: 0 0 300px;
}

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

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-date {
    color: var(--text-light);
}

.blog-card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-card-content h2 a {
    color: var(--dark-color);
}

.blog-card-content h2 a:hover {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pagination a.next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
    gap: 0.25rem;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.pagination span.current {
    background-color: var(--primary-color);
    color: #fff;
}

/* === BLOG SIDEBAR === */
.sidebar-widget {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.search-form {
    display: flex;
    position: relative;
}

.search-form input {
    padding-right: 3rem;
}

.search-form button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    color: var(--primary-color);
}

.categories-widget ul {
    list-style: none;
}

.categories-widget li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.categories-widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.categories-widget a:hover {
    color: var(--primary-color);
}

.categories-widget span {
    background-color: var(--gray-light);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
}

.post-image {
    flex: 0 0 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.post-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.post-info h4 a {
    color: var(--dark-color);
}

.post-info h4 a:hover {
    color: var(--primary-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    background-color: var(--gray-light);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    margin-bottom: 0;
}

/* === SOBRE NOSOTROS === */
.about-story {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.mission-vision {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-box, .vision-box, .values-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-box:hover, .vision-box:hover, .values-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-box .icon, .vision-box .icon, .values-box .icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.values-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-md);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-bottom: 0.25rem;
}

.team-position {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f8f9fa;
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.certifications {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.certification-item:hover {
    box-shadow: var(--shadow-md);
}

.certification-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-testimonials {
    background-color: #fff;
}

/* === SERVICIOS === */
.services-intro {
    padding: 5rem 0;
}

.services-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.main-services {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.service-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

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

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
}

.detail-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.methodology {
    padding: 5rem 0;
}

.methodology-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.methodology-step {
    display: flex;
    gap: 2rem;
}

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

.step-content h3 {
    margin-bottom: 0.5rem;
}

.pricing {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

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

.featured-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0 0 0 var(--border-radius);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.custom-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-features {
    padding: 2rem;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

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

.pricing-cta {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq {
    padding: 5rem 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    display: flex;
}

.faq-toggle .minus {
    display: none;
}

.faq-item.active .faq-toggle .plus {
    display: none;
}

.faq-item.active .faq-toggle .minus {
    display: block;
}

.faq-answer {
    padding: 0 2rem 1.5rem 0;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.5s ease;
}

.contact-faq {
    background-color: #f8f9fa;
}

/* === CONTACTO === */
.contact-section {
    padding: 5rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: #fff;
    border-radius: 50%;
}

.contact-text h3 {
    margin-bottom: 0.25rem;
}

.social-contact {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    color: var(--dark-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

.contact-form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.map-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* === ANIMACIONES === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* === MEDIA QUERIES === */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .about-content, 
    .services-intro-content,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image,
    .services-intro-image {
        order: -1;
    }
    
    .service-item {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        order: -1;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 1.5rem 0;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        left: 5%;
        max-width: 90%;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        flex-direction: column;
    }
    
    .blog-card-image {
        flex: 0 0 200px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .features,
    .team-grid,
    .certifications-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .service-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .methodology-step {
        flex-direction: column;
        gap: 1rem;
    }
}
