/* 
 * Main Stylesheet
 * PiexRaxi.pro - Educación Financiera para Emprendedores
 */

/* ======= Base ======= */
:root {
    /* Color Palette */
    --primary-color: #3E78B2;
    --primary-dark: #2A5A8C;
    --primary-light: #6396C8;
    --secondary-color: #F58A07;
    --secondary-dark: #D37100;
    --secondary-light: #FFA533;
    --accent-color: #4CB944;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-light: #F9FBFD;
    --bg-dark: #1A2A36;
    --white: #FFFFFF;
    --black: #000000;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 100px;
    --container-padding: 15px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-round: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.left {
    text-align: left;
}

.section-header.light h2 {
    color: var(--white);
}

.section-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto;
    border-radius: var(--border-radius-sm);
}

.section-header.left .section-line {
    margin-left: 0;
}

.section-header.light .section-line {
    background-color: var(--secondary-color);
}

/* ======= Buttons ======= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
    border: none;
    font-family: var(--body-font);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn.full {
    width: 100%;
}

/* ======= Header ======= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color var(--transition-fast);
    padding: 20px 0;
}

header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    z-index: 10;
}

.logo {
    height: 50px;
    width: auto;
    transition: all var(--transition-fast);
}

header.scrolled .logo {
    height: 40px;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

header.scrolled .menu-toggle span {
    background-color: var(--text-dark);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ======= Hero Section ======= */
#hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 2rem;
}

#hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

#hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ======= Nosotros Section ======= */
#nosotros {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-round);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.nosotros-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.nosotros-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    background-color: rgba(62, 120, 178, 0.1);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-round);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* ======= Servicios Section ======= */
#servicios {
    padding: var(--section-spacing) 0;
    position: relative;
    color: var(--white);
}

.servicios-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-dark), #243b4a);
    z-index: -1;
}

.servicios-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.servicios-intro p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.servicio-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.servicio-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.servicio-card.featured {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-20px);
    box-shadow: var(--shadow-lg);
}

.servicio-card.featured:hover {
    transform: translateY(-30px);
}

.servicio-card.featured .servicio-icon {
    background-color: rgba(62, 120, 178, 0.1);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: var(--border-radius-sm);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-round);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.servicio-card.featured .servicio-icon {
    color: var(--primary-color);
}

.servicio-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.servicio-card.featured h3 {
    color: var(--primary-color);
}

.servicio-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.servicio-card.featured p {
    color: var(--text-medium);
}

.servicio-features {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.servicio-features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.servicio-card.featured .servicio-features li {
    color: var(--text-medium);
}

.servicio-card .btn {
    margin-top: auto;
}

/* ======= Beneficios Section ======= */
#beneficios {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
}

.beneficios-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.beneficios-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 2rem;
    align-items: center;
}

.beneficios-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.beneficios-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.beneficio-item {
    display: flex;
    gap: 1.5rem;
}

.beneficio-number {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: rgba(62, 120, 178, 0.2);
}

.beneficio-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.beneficio-text p {
    margin-bottom: 0;
}

/* ======= Estadísticas Section ======= */
#estadisticas {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.estadistica-item {
    padding: 2rem;
}

.estadistica-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
    color: var(--white);
}

.estadistica-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* ======= Testimonios Section ======= */
#testimonios {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.testimonios-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonios-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonio-slide {
    display: none;
    transition: all var(--transition-normal);
}

.testimonio-slide.active {
    display: block;
}

.testimonio-content {
    background-color: var(--bg-light);
    padding: 3rem;
    position: relative;
}

.testimonio-quote {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(62, 120, 178, 0.1);
}

.testimonio-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonio-author img {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-round);
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonios-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonio-prev,
.testimonio-next {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonio-prev:hover,
.testimonio-next:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.testimonio-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--border-radius-round);
    background-color: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-color);
    width: 25px;
}

/* ======= Preguntas Section ======= */
#preguntas {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
}

.preguntas-grid {
    max-width: 900px;
    margin: 0 auto;
}

.pregunta-item {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.pregunta-item:hover {
    box-shadow: var(--shadow-md);
}

.pregunta-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.pregunta-header h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.pregunta-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.pregunta-item.active .pregunta-toggle {
    transform: rotate(45deg);
}

.pregunta-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.pregunta-item.active .pregunta-content {
    padding-bottom: 1.5rem;
    max-height: 300px;
}

.pregunta-item.active .pregunta-header h3 {
    color: var(--primary-color);
}

/* ======= Contacto Section ======= */
#contacto {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
}

.contacto-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contacto-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(62, 120, 178, 0.1);
    border-radius: var(--border-radius-round);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contacto-text h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contacto-text p {
    margin-bottom: 0;
}

.contacto-form-container {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contacto-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    grid-column: 1 / -1;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.form-group.checkbox a {
    text-decoration: underline;
}

/* ======= Mapa Section ======= */
#mapa {
    padding-top: var(--section-spacing);
    background-color: var(--bg-light);
}

.map-container {
    position: relative;
    height: 450px;
    width: 100%;
    margin-top: 3rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ======= Footer Section ======= */
#footer {
    background-color: var(--bg-dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-widget.links ul li,
.footer-widget.legal ul li {
    margin-bottom: 0.8rem;
}

.footer-widget.links ul li a,
.footer-widget.legal ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-widget.links ul li a:hover,
.footer-widget.legal ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.newsletter-form .form-group {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 0.9rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 0 1.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ======= Cookie Consent ======= */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    max-width: 400px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* ======= Back to Top Button ======= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-round);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ======= Media Queries ======= */
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 992px) {
    :root {
        --section-spacing: 80px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nosotros-content,
    .beneficios-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .servicio-card.featured {
        transform: translateY(0);
        grid-column: 1 / -1;
    }
    
    .estadisticas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #hero {
        padding: 150px 0 80px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 120px 2rem 2rem;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .menu.show {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-form {
        grid-template-columns: 1fr;
    }
    
    .testimonio-content {
        padding: 2rem;
    }
    
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --section-spacing: 50px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .estadisticas-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        right: -20px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
    
    .experience-badge .text {
        font-size: 0.8rem;
    }
}