/* =============================================
   COOPAC SAYARI - ESTILOS PRINCIPALES
   Sitio Web Oficial - Responsive Design
   ============================================= */

/* =============================================
   VARIABLES CSS - COLORES CORPORATIVOS
   ============================================= */
:root {
    /* Colores corporativos COOPAC SAYARI */
    --primary-green: #2E7D32;
    --primary-green-dark: #1B5E20;
    --primary-green-light: #4CAF50;

    --secondary-yellow: #FFC107;
    --secondary-yellow-dark: #F57C00;
    --secondary-yellow-light: #FFD54F;

    --accent-blue: #2196F3;
    --accent-blue-dark: #1976D2;
    --accent-blue-light: #64B5F6;

    /* Colores de estado */
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #f44336;
    --info: #2196F3;

    /* Colores neutros */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --shadow-xl: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);

    /* Transiciones */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* =============================================
   RESET Y BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip link para accesibilidad - oculto por defecto */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

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

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* =============================================
   CONTAINER Y LAYOUT
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 5rem 0;
    }
}

/* =============================================
   TIPOGRAFÍA
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-700);
}

@media (min-width: 768px) {
    .lead {
        font-size: 1.25rem;
    }
}

/* =============================================
   HEADER Y NAVEGACIÓN
   ============================================= */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.contact-info i {
    font-size: 0.875rem;
}

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

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-yellow);
    transform: translateY(-2px);
}

.main-nav {
    padding: 1rem 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

@media (min-width: 768px) {
    .logo img {
        height: 60px;
    }
}

.nav-menu {
    display: none;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

/* Mobile Menu Button - Hamburger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-btn span:nth-child(2) {
    margin: 4px 0;
}

/* Hamburger Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay/Backdrop */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar Navigation */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 0 20px;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 24px;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        border-bottom: none !important;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--primary-green);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(90deg, rgba(25, 118, 210, 0.1) 0%, transparent 100%);
        color: var(--primary-green);
        border-bottom: none !important;
    }

    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        transform: scaleY(1);
    }

    /* Add icons to menu items */
    .nav-menu a::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        color: #ccc;
        margin-left: auto;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        color: var(--primary-green);
        transform: translateX(4px);
    }
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .menu-overlay {
        display: none;
    }
}

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 600px;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 8s ease-out;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.70) 0%, rgba(139,0,139,0.65) 50%, rgba(255,140,0,0.60) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

@media (min-width: 768px) {
    .hero-content {
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        min-height: 600px;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9), 0 0 25px rgba(0,0,0,0.6), 1px 1px 3px rgba(0,0,0,1);
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.6);
    letter-spacing: 0.3px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 2rem;
    }
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 1;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-text {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

/* Slider Hero - Diseño Profesional */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide .hero-bg {
    z-index: 0;
}

/* Animación de entrada del contenido */
.hero-slide.active .hero-content {
    animation: slideUpFadeIn 0.8s ease-out forwards;
}

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

/* Controles del slider (flechas) - Diseño Elegante */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 125, 50, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-control:hover {
    background: var(--primary-green);
    border-color: var(--secondary-yellow);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.6);
}

.slider-control:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

.slider-control i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.slider-control:hover i {
    transform: scale(1.2);
}

/* Dots indicadores - Diseño Moderno */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--secondary-yellow);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
}

.dot.active {
    background: var(--secondary-yellow);
    width: 40px;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .slider-control {
        width: 45px;
        height: 45px;
        border-width: 1px;
    }

    .slider-control.prev {
        left: 15px;
    }

    .slider-control.next {
        right: 15px;
    }

    .slider-control i {
        font-size: 1.2rem;
    }

    .slider-dots {
        bottom: 25px;
        padding: 8px 15px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 28px;
        border-radius: 8px;
    }
}

/* Efecto parallax sutil en el background */
.hero-slide.active .hero-bg {
    transform: scale(1.05);
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 4rem 0;
    }
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 0;
}

/* =============================================
   BOTONES
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn i {
    font-size: 1.125rem;
}

.btn-primary {
    background: #FFFFFF;
    color: #8B008B;
    font-weight: 700;
    border: 3px solid #FFFFFF;
}

.btn-primary:hover {
    background: #FFD700;
    color: #000000;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: var(--secondary-yellow);
    color: var(--gray-900);
}

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

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    font-weight: 700;
}

.btn-outline:hover {
    background: #FFFFFF;
    color: #8B008B;
}

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

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

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* =============================================
   CARDS
   ============================================= */
.product-card,
.blog-card,
.team-card,
.testimonial-card,
.office-card,
.document-card,
.gallery-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover,
.blog-card:hover,
.team-card:hover,
.office-card:hover,
.document-card:hover,
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 2rem;
}

.product-card {
    padding: 2rem;
    text-align: center;
}

.product-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.product-list {
    text-align: left;
    margin: 1.5rem 0;
}

.product-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* BLOG CARDS */
.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 15px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-meta i {
    color: var(--primary-green);
}

.blog-title {
    color: var(--gray-900);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

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

.blog-read-more:hover {
    gap: 0.75rem;
}

/* OFFICE CARDS */
.office-card {
    padding: 1.5rem;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.office-header i {
    font-size: 2rem;
    color: var(--primary-green);
}

.office-header h3 {
    margin: 0;
    flex: 1;
}

.badge-principal {
    background: var(--secondary-yellow);
    color: var(--gray-900);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.office-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.office-info-item {
    display: flex;
    gap: 1rem;
}

.office-info-item i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    width: 24px;
    flex-shrink: 0;
}

.office-info-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.office-info-item p {
    margin: 0;
    color: var(--gray-600);
}

.office-info-item a {
    color: var(--primary-green);
}

.office-info-item a:hover {
    text-decoration: underline;
}

.office-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.service-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

/* DOCUMENT CARDS */
.document-card {
    padding: 1.5rem;
}

.document-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.document-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.document-icon.fa-file-pdf {
    color: #f44336;
    background: #ffebee;
}

.document-icon.fa-file-excel {
    color: #4CAF50;
    background: #e8f5e9;
}

.document-icon.fa-file-word {
    color: #2196F3;
    background: #e3f2fd;
}

.document-icon.fa-file-powerpoint {
    color: #FF9800;
    background: #fff3e0;
}

.document-title-group {
    flex: 1;
}

.document-title-group h3 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.document-year {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.document-body {
    margin-top: 1rem;
}

.document-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.document-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-download,
.btn-view {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.btn-download:hover {
    background: var(--primary-green-dark);
}

.btn-view {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-view:hover {
    background: var(--gray-200);
}

/* =============================================
   GRIDS
   ============================================= */
.products-grid,
.blog-grid,
.team-grid,
.gallery-grid,
.offices-grid,
.documents-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .products-grid,
    .blog-grid,
    .gallery-grid,
    .offices-grid,
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid,
    .documents-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-grid {
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   FORMULARIOS
   ============================================= */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

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

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SIMULADOR */
.simulator-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .simulator-form {
        padding: 3rem;
    }
}

.range-wrapper {
    margin-bottom: 0.5rem;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    border: none;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.results-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .result-value {
        font-size: 2.5rem;
    }
}

/* =============================================
   SECCIONES ESPECÍFICAS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.content-row {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .content-row {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

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

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.feature-content p {
    color: var(--gray-600);
    margin: 0;
}

/* TABS */
.services-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 2rem;
    text-align: center;
}

.testimonial-stars {
    color: var(--secondary-yellow);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-green);
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }
}

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

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* VALORES */
.valores-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .valores-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.valor-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.valor-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.valor-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.valor-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* TEAM */
.team-card {
    text-align: center;
    padding: 1.5rem;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-green);
}

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

.team-card h4 {
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.875rem;
}

.team-card.featured {
    background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(33,150,243,0.1));
}

.team-card.featured .team-photo {
    width: 150px;
    height: 150px;
}

.team-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.team-title i {
    font-size: 1.75rem;
}

/* ORGANIGRAMA */
.organigrama-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.organigrama-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* CONTACT */
.contact-quick-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .contact-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-quick-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact-quick-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-quick-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-quick-card a {
    color: var(--accent-blue);
}

.contact-quick-card a:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* GALLERY */
.gallery-filters,
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn,
.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active,
.category-btn:hover,
.category-btn.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* MAP TABS */
.map-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.map-tab {
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.875rem;
}

.map-tab:hover,
.map-tab.active {
    background: var(--primary-green);
    color: var(--white);
}

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

.map-iframe {
    display: none;
    width: 100%;
    height: 100%;
    border: none;
}

.map-iframe.active {
    display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    margin-top: 4rem;
}

.footer-top {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-column p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-yellow);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-green-light);
    margin-top: 2px;
    flex-shrink: 0;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    color: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    background: var(--black);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.875rem;
}

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

@media (min-width: 768px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
    .d-md-flex { display: flex; }
}

@media (min-width: 1024px) {
    .d-lg-none { display: none; }
    .d-lg-block { display: block; }
    .d-lg-flex { display: flex; }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slideInUp {
    animation: slideInUp 0.6s ease forwards;
}

.animate-slideInDown {
    animation: slideInDown 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* =============================================
   RESPONSIVE FINAL
   ============================================= */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info {
        font-size: 0.8rem;
    }

    .result-value {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-menu-btn {
        display: none;
    }
}

/* =============================================
   DISEÑO RESPONSIVE MÓVIL - COOPAC SAYARI
   Mejores prácticas 2025
   ============================================= */
@media (max-width: 768px) {

    /* ===== SISTEMA DE TIPOGRAFÍA RESPONSIVE ===== */

    /* Reset base - tamaños compactos para móvil */
    html {
        font-size: 16px; /* Base para rem */
    }

    body {
        font-size: 0.875rem; /* 14px - compacto y legible */
        line-height: 1.5; /* Óptimo para lectura */
    }

    /* Jerarquía de encabezados móvil - Compacta */
    h1 {
        font-size: 1.25rem !important; /* 20px */
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    h2 {
        font-size: 1.125rem !important; /* 18px */
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }

    h3 {
        font-size: 1rem !important; /* 16px */
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }

    h4 {
        font-size: 0.875rem !important; /* 14px */
        line-height: 1.4 !important;
    }

    h5, h6 {
        font-size: 0.875rem !important; /* 14px */
        line-height: 1.4 !important;
    }

    /* Párrafos compactos */
    p {
        font-size: 0.875rem; /* 14px */
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    /* Textos generales compactos - Catch all */
    a, li, span, div, label, small, strong, em, b, i {
        font-size: 0.875rem; /* 14px */
    }

    /* Enlaces */
    a {
        font-size: 0.875rem; /* 14px */
    }

    /* Listas */
    ul, ol {
        font-size: 0.875rem; /* 14px */
    }

    li {
        font-size: 0.875rem; /* 14px */
    }

    /* ===== ESPACIADO CONSISTENTE - COMPACTO ===== */

    .section {
        padding: 1rem 0.5rem; /* 16px 8px - Compacto */
    }

    .container {
        padding: 0 0.5rem; /* 8px laterales - Más ancho disponible */
    }

    /* Hero usa todo el ancho disponible */
    .hero .container,
    .page-hero .container {
        padding: 0 !important;
        max-width: 100%;
    }

    /* Hero content con espacio para flechas */
    .hero-content {
        padding: 2rem 5rem !important; /* 32px arriba/abajo, 80px laterales para espacio de flechas */
    }

    /* Asegurar que los títulos se vean completos */
    .hero-title {
        font-size: 1.5rem !important; /* 24px - más pequeño en móvil */
        margin-bottom: 0.75rem !important;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.125rem !important; /* 18px */
        margin-bottom: 0.5rem !important;
    }

    .hero-text {
        font-size: 0.875rem !important; /* 14px */
        margin-bottom: 1.5rem !important;
    }

    /* ===== HEADER MÓVIL OPTIMIZADO ===== */

    /* Header top - Solo íconos en una línea */
    .header-top {
        padding: 0.5rem 0; /* 8px arriba/abajo */
    }

    .header-top-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem; /* 16px entre grupos */
    }

    /* Ocultar texto, mostrar solo íconos */
    .contact-info span {
        font-size: 0 !important; /* Oculta el texto */
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .contact-info span i {
        font-size: 1.125rem !important; /* 18px - íconos visibles */
        margin: 0;
    }

    .contact-info {
        display: flex;
        gap: 1rem; /* 16px entre íconos */
    }

    /* Redes sociales compactas */
    .social-links {
        display: flex;
        gap: 0.75rem; /* 12px entre íconos */
    }

    .social-links a {
        font-size: 1.125rem; /* 18px */
        width: 2rem; /* 32px */
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* ===== CENTRADO GENERAL ===== */

    /* Centrar encabezados (ya definidos arriba con tamaños) */
    h1, h2, h3, h4, h5, h6 {
        text-align: center !important;
    }

    /* Centrar textos en secciones */
    .section p,
    .content-box p,
    .hero-subtitle,
    .hero-title,
    .section-header h2,
    .section-header p {
        text-align: center !important;
    }

    /* ===== CARDS Y COMPONENTES ===== */

    /* Cards con espaciado compacto */
    .card,
    .product-card,
    .service-card,
    .info-card,
    .mv-card {
        padding: 0.75rem; /* 12px - Compacto */
        margin-bottom: 0.5rem; /* 8px */
        text-align: center !important;
    }

    .card p,
    .product-card p,
    .service-card p,
    .info-card p,
    .mv-card p {
        text-align: center !important;
        margin-bottom: 0.5rem; /* Reducido */
    }

    /* ===== HERO Y SECCIONES PRINCIPALES ===== */

    .hero-content {
        text-align: center !important;
        padding: 1.5rem 2rem; /* 24px 32px - Más ancho, espacio para flechas */
    }

    .page-hero {
        padding: 2rem 2rem; /* 32px 32px - Más ancho */
        text-align: center !important;
    }

    .page-hero h1,
    .page-hero p {
        text-align: center !important;
    }

    /* ===== ESTADÍSTICAS ===== */

    .stats-item {
        padding: 1rem; /* 16px */
        margin-bottom: 1rem;
    }

    .stats-item h3,
    .stats-item p {
        text-align: center !important;
    }

    /* ===== NAVEGACIÓN ===== */

    .nav-menu {
        text-align: center !important;
    }

    .nav-menu li {
        text-align: center !important;
        padding: 0.75rem 0; /* 12px arriba/abajo */
    }

    .breadcrumbs {
        justify-content: center;
        padding: 0.5rem 0; /* 8px */
    }

    /* ===== BOTONES ===== */

    .btn {
        padding: 0.5rem 0.875rem !important; /* 8px 14px - Compacto */
        font-size: 0.75rem !important; /* 12px - igual que botones del hero */
        margin: 0.5rem auto;
        display: inline-block;
    }

    /* Botones generales en columna */
    .btn-container,
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem; /* 8px - Reducido */
        margin: 0.5rem 0; /* Reducido */
    }

    /* Solo botones del hero/slider en línea horizontal */
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 0.5rem; /* 8px entre botones */
        margin: 1.5rem 0;
        flex-wrap: nowrap !important;
    }

    .hero-buttons .btn {
        margin: 0;
        flex: 0 1 auto;
        padding: 0.5rem 0.75rem !important; /* 8px 12px - compacto para caber en línea */
        font-size: 0.75rem !important; /* 12px - texto más pequeño */
        white-space: nowrap; /* Evitar saltos de línea en el texto del botón */
    }

    /* ===== SIMULADOR ===== */

    .simulator-header {
        padding: 0.75rem 0.5rem; /* 12px 8px - Compacto */
        text-align: center !important;
    }

    .simulator-header h2,
    .simulator-header p,
    .result-label,
    .result-value {
        text-align: center !important;
    }

    /* ===== BLOG ===== */

    .blog-card {
        padding: 0.75rem; /* 12px - Compacto */
        margin-bottom: 0.75rem; /* 12px */
        text-align: center !important;
    }

    .blog-card h3 {
        margin-bottom: 0.5rem; /* 8px */
    }

    .blog-card p,
    .blog-excerpt {
        text-align: center !important;
    }

    /* ===== GALERÍA ===== */

    .gallery-item {
        margin-bottom: 0.75rem; /* 12px - Reducido */
    }

    .gallery-item p,
    .gallery-caption {
        text-align: center !important;
        padding: 0.25rem 0; /* 4px - Reducido */
    }

    /* ===== EQUIPO ===== */

    .team-card {
        padding: 0.75rem; /* 12px - Compacto */
        margin-bottom: 0.75rem; /* 12px */
        text-align: center !important;
    }

    .team-card h4,
    .team-role {
        text-align: center !important;
    }

    /* ===== MISIÓN, VISIÓN, VALORES ===== */

    .mision-vision-grid .mv-card {
        padding: 0.75rem; /* 12px - Compacto */
        margin-bottom: 0.5rem; /* 8px */
    }

    .mision-vision-grid .mv-card h3,
    .mision-vision-grid .mv-card p {
        text-align: center !important;
    }

    .valores-column {
        padding: 0.5rem; /* 8px - Reducido */
    }

    .valores-column h3 {
        text-align: center !important;
        margin-bottom: 0.5rem; /* 8px - Reducido */
    }

    .valores-list {
        text-align: center !important;
        list-style-position: inside;
        padding: 0;
    }

    .valores-list li {
        padding: 0.25rem 0; /* 4px - Reducido */
    }

    /* ===== FOOTER ===== */

    /* Centrar contenido del footer */
    .footer-column,
    .footer-column p,
    .footer-column h3 {
        text-align: center !important;
    }

    /* Centrar lista de contactos - Mayor especificidad */
    ul.footer-contact {
        text-align: center !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: block !important;
    }

    ul.footer-contact li {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    ul.footer-contact li i {
        margin-right: 0.5rem;
    }

    /* Centrar redes sociales */
    .footer-social {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0.5rem auto 0 !important; /* Reducido */
        gap: 0.5rem !important; /* Agregado gap reducido */
    }

    .footer-bottom {
        text-align: center !important;
        padding: 0.5rem 0 !important; /* Reducido */
    }

    /* ===== FORMULARIOS Y TABLAS ===== */

    /* Mantener alineación izquierda para formularios */
    .form-group {
        margin-bottom: 0.5rem; /* 8px - Reducido */
        text-align: left !important;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.25rem; /* 4px - Reducido */
        font-size: 0.875rem; /* 14px - Compacto */
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.5rem; /* 8px - Reducido */
        font-size: 0.875rem; /* 14px - Compacto */
        text-align: left !important;
    }

    /* Inputs de fecha - reducir tamaño para que no tapen */
    input[type="date"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="time"] {
        font-size: 0.875rem !important; /* 14px - más compacto */
        padding: 0.5rem !important; /* 8px - menos padding */
    }

    /* Tablas legibles */
    table {
        width: 100%;
        margin: 1rem 0; /* 16px */
        font-size: 0.875rem; /* 14px - más pequeño para que quepa */
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem; /* 12px 8px */
        text-align: left !important;
    }

    /* ===== IMÁGENES RESPONSIVE ===== */

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

    .hero-image,
    .feature-image {
        margin: 1rem auto; /* 16px */
        border-radius: 0.5rem; /* 8px */
    }

    /* ===== ESPACIADO ADICIONAL ===== */

    .section-divider {
        margin: 2rem 0; /* 32px */
    }

    /* Reducir espacio entre elementos en móvil */
    * + * {
        margin-top: 0;
    }

    /* Ajustar márgenes de elementos específicos */
    .hero + .section,
    .section + .section {
        margin-top: 2rem; /* 32px */
    }
}

/* ===== FIN DE ESTILOS RESPONSIVE MÓVIL ===== */
