@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   Variables y Sistema de Diseño
   ========================================================================== */
:root {
    /* Paleta de Colores */
    --color-primary: #D1126C;      /* Magenta vibrante de Agrofelman */
    --color-primary-dark: #A30D53;
    --color-primary-light: #FDE8F3;
    --color-secondary: #8BA84C;    /* Verde orgánico */
    --color-secondary-dark: #6C8538;
    --color-secondary-light: #EBF2DF;
    --color-dark: #1A1A1A;         /* Charcoal para legibilidad premium */
    --color-light: #FFFFFF;
    --color-bg-alt: #F9FAFB;       /* Off-white para secciones alternas */
    --color-text: #4A4A4A;         /* Gris para texto largo */
    --color-border: #E5E7EB;
    
    /* Tipografía */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(209, 18, 108, 0.12);
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordes y Anchos */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --max-width: 1200px;
    --header-height: 90px;
}

/* ==========================================================================
   Reseteo e Inicialización
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Enlaces y Botones */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
    box-shadow: 0 4px 15px rgba(209, 18, 108, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(209, 18, 108, 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
    box-shadow: 0 4px 15px rgba(139, 168, 76, 0.3);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 168, 76, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Componentes Comunes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

/* Encabezados de Sección */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
    background-color: var(--color-primary-light);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* ==========================================================================
   Header / Navegación (Glassmorphism)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    height: 80px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(209, 18, 108, 0.1);
}

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

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1010;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: var(--color-light);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(209, 18, 108, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
}

header:not(.scrolled) .logo-text {
    color: var(--color-light);
}

header:not(.scrolled) .logo-text.logo-dark-page {
    color: var(--color-dark);
}

/* Menú de Navegación */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    position: relative;
    padding: 8px 0;
}

header:not(.scrolled) .nav-link {
    color: var(--color-light);
}

header:not(.scrolled) .nav-link.logo-dark-page {
    color: var(--color-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

.header-cta {
    display: flex;
    align-items: center;
}

/* Botón menú móvil */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    position: absolute;
    left: 0;
    transition: var(--transition-fast);
}

header:not(.scrolled) .mobile-menu-btn span {
    background-color: var(--color-light);
}

header:not(.scrolled) .mobile-menu-btn.logo-dark-page span {
    background-color: var(--color-dark);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); background-color: var(--color-dark); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background-color: var(--color-dark); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.25) 100%), url('../img/Gemini_Generated_Image_6avnk16avnk16avn.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-light);
    overflow: hidden;
}

.hero-content {
    max-width: 750px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn-secondary {
    border: 2px solid var(--color-light);
    color: var(--color-light);
    background: transparent;
}

.hero-btn-secondary:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
    transform: translateY(-3px);
}

/* Elementos Flotantes / Orgánicos */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   Nosotros / Resumen
   ========================================================================== */
.about-section {
    background-color: var(--color-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
    pointer-events: none;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 16px 28px;
    border-radius: var(--border-radius-sm);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.about-badge-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge-txt {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.25;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.about-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.about-feat-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.about-feat-desc {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* ==========================================================================
   Valores y Estadísticas
   ========================================================================== */
.stats-section {
    background-color: var(--color-dark);
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-50%);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Nuestros Productos (Muestra / Landing)
   ========================================================================== */
.products-section {
    background-color: var(--color-bg-alt);
}

/* Filtros de Categoría */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(209, 18, 108, 0.2);
}

/* Cuadrícula de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(209, 18, 108, 0.2);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-img-wrapper.slider {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-img-wrapper.slider .product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.6s ease;
    z-index: 1;
}

.product-img-wrapper.slider .product-img.active {
    opacity: 1;
    z-index: 2;
}

.product-img-wrapper.slider .product-category-tag {
    z-index: 3;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background-color: var(--color-primary);
    transform: scale(1.25);
    box-shadow: 0 0 8px var(--color-primary);
}

.product-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-code {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.product-status {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary-dark);
}

.product-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: block;
}

.product-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-link:hover {
    color: var(--color-primary-dark);
}

/* ==========================================================================
   Sección Llamado a la Acción (CTA)
   ========================================================================== */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    pointer-events: none;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
}

.cta-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

.btn-white {
    background-color: var(--color-light);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Videos Page & Blog Page / Elementos de Galería
   ========================================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.video-card {
    background: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.video-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-iframe-wrapper iframe,
.video-iframe-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 24px;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.video-desc {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
}

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

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.blog-text {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Contacto Formulario y Mapa
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 1.4rem;
}

.contact-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--color-text);
}

.contact-map-container {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

/* Formulario */
.contact-form-card {
    background-color: var(--color-light);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    outline: none;
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(209, 18, 108, 0.08);
}

textarea.form-control {
    resize: none;
    min-height: 150px;
}

/* ==========================================================================
   Footer / Pie de Página
   ========================================================================== */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col-about p {
    font-size: 0.95rem;
    opacity: 0.7;
    margin: 20px 0 30px 0;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-light);
    transition: var(--transition-normal);
    font-size: 1.1rem;
}

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

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    font-size: 0.95rem;
    opacity: 0.7;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-primary);
    padding-left: 6px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0.7;
}

.footer-contact-icon {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ==========================================================================
   Sección Interna - Banner Común
   ========================================================================== */
.internal-hero {
    height: 380px;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.3) 100%), url('../img/Gemini_Generated_Image_6avnk16avnk16avn.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--color-light);
    padding-top: 80px;
}

.internal-hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--color-secondary);
}

.breadcrumbs span {
    opacity: 0.5;
}

/* ==========================================================================
   Responsividad y Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-img-wrapper {
        order: -1;
    }
    .about-img {
        height: 400px;
    }
    .products-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .internal-hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stat-item:nth-child(even)::after {
        display: none;
    }
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .cta-btn-wrapper {
        justify-content: center;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    /* Menú móvil desplegable */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--color-light);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition-normal);
        z-index: 1005;
        gap: 24px;
    }
    .nav-menu.active {
        right: 0;
    }
    header:not(.scrolled) .nav-link,
    .nav-link {
        color: var(--color-dark);
        font-size: 1.15rem;
    }
    .header-cta {
        display: none;
    }
}

@media (max-width: 576px) {
    .products-grid, .blog-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item::after {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 8px 20px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
