/* ============================================
   ABODROC - Agencia de Comunicación
   Estilos principales - Blanco y Negro
   ============================================ */

/* Variables CSS */
:root {
    --color-primary: #000000;
    --color-accent: #C9A227;
    --color-accent-hover: #B08D1F;
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-card: #FFFFFF;
    --text-black: #000000;
    --text-gray: #666666;
    --text-gray-light: #999999;
    --border-color: #E5E5E5;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --font-family: 'Lexend', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset y base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--bg-white);
}

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
    background: var(--color-primary);
    color: var(--bg-white);
}

.btn-small:hover {
    background: #333333;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.logo-placeholder {
    width: 100px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-black);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-black);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-black);
}

/* ============================================
   HERO SECTION - CORREGIDO PARA MÓVIL
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: var(--bg-white);
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    order: 1; /* Logo y contenido primero en desktop */
}

.hero-logo {
    margin-bottom: 50px;
}

.hero-logo img {
    max-width: 80px;
    height: auto;
    display: block;
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-black);
}

.hero-title .accent {
    color: var(--color-accent);
}

.hero-description {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    order: 2; /* Cards después en desktop */
}

.floating-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.floating-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.card-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-black);
    stroke-width: 1.5;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-black);
}

.card-content p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--text-gray-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-description {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-black);
}

.section-description {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
    background: var(--bg-light);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.servicio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

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

.servicio-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.servicio-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-accent);
    stroke-width: 1.5;
}

.servicio-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-black);
}

.servicio-card > p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.servicio-features {
    margin-bottom: 24px;
}

.servicio-features li {
    font-size: 13px;
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.servicio-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.mision-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.mv-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
}

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

.mv-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-black);
}

.mv-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   SOCIOS - NUEVO
   ============================================ */
.socios-section {
    text-align: center;
    padding: 40px 0;
}

.socios-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-black);
}

.socios-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.socio-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    max-width: 350px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

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

.socio-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.socio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.socio-nombre {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-black);
}

.socio-cargo {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.socio-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Valores */
.valores h3 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-black);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.valor-item {
    text-align: center;
    padding: 24px;
}

.valor-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.valor-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-black);
}

.valor-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.stat-item {
    padding: 24px;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
    background: var(--bg-light);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contacto-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-black);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-black);
    stroke-width: 1.5;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: var(--text-gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-text a,
.info-text span:last-child {
    font-size: 15px;
    color: var(--text-black);
    font-weight: 500;
}

.info-text a:hover {
    color: var(--color-accent);
}

.cta-box {
    background: var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    margin-top: 32px;
}

.cta-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--bg-white);
}

.cta-box p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--bg-white);
}

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

.cta-box .btn:hover {
    background: var(--color-accent);
    color: var(--bg-white);
}

.contacto-form {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

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

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

.contacto-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-gray);
}

.required {
    color: var(--color-accent);
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-black);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--bg-white);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-gray-light);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

select option {
    background: var(--bg-white);
    color: var(--text-black);
}

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

.form-message {
    grid-column: 1 / -1;
    padding: 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 20px 0;
    line-height: 1.7;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-black);
    stroke-width: 1.5;
    transition: stroke var(--transition-fast);
}

.social-links a:hover svg {
    stroke: var(--bg-white);
}

.footer-nav h4,
.footer-services h4,
.footer-newsletter h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-black);
}

.footer-nav ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-services a {
    font-size: 14px;
    color: var(--text-gray);
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--color-accent);
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
}

.newsletter-form button {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--bg-white);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--color-accent);
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--text-gray);
}

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

.footer-links a {
    font-size: 13px;
    color: var(--text-gray);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* ============================================
   BOTÓN FLOTANTE (VOLVER ARRIBA)
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--bg-white);
    stroke-width: 2;
}

/* ============================================
   RESPONSIVE - CORREGIDO PARA MÓVIL
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-logo img {
        max-width: 200px;
    }

    .contacto-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .navbar .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    /* CORRECCIÓN: Logo primero, cards después en móvil */
    .hero .container {
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        order: 1 !important; /* Logo y contenido PRIMERO */
        width: 100%;
    }

    .hero-cards {
        order: 2 !important; /* Cards DESPUÉS */
        width: 100%;
        margin-top: 40px;
    }

    .hero-logo {
        margin-bottom: 30px;
        margin-top: 20px;
    }

    .hero-logo img {
        max-width: 260px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .contacto-form form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mision-vision {
        grid-template-columns: 1fr;
    }

    .socios-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-logo img {
        max-width: 220px;
    }

    .stat-number {
        font-size: 32px;
    }

    .socios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .socio-avatar {
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   SOCIOS - EFECTO BLANCO Y NEGRO
   ============================================ */

.socio-avatar img {
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.socio-avatar:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
/* ============================================
   STATS - CORRECCIÓN PARA MÓVIL (1 COLUMNA)
   ============================================ */

@media (max-width: 768px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 20px;
    }

    .stat-item {
        padding: 15px;
        text-align: center;
    }

    .stat-number {
        font-size: 32px;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 13px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr; /* Una columna */
        gap: 0;
        padding: 20px;
    }

    .stat-item {
        padding: 20px 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-number {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 14px;
    }
}

/* ============================================
   BOTÓN VOLVER ARRIBA - CORRECCIÓN MÓVIL
   ============================================ */

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}
/* ============================================
   LOGO - MÁS GRANDE EN DESKTOP Y MÓVIL
   ============================================ */

.hero-logo img {
    max-width: 580px;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .hero-logo img {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .hero-logo img {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 280px;
    }
}
/* ============================================
   EMOJIS - ESTILO OUTLINE DORADO (CORREGIDO)
   ============================================ */

.mv-icon,
.valor-icon {
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    background: var(--bg-light);
    position: relative;
}

.mv-icon::before,
.valor-icon::before {
    content: '';
    position: absolute;
    border: 2px solid var(--color-accent);
}

/* MISIÓN - CÍRCULO CON PUNTO CENTRAL (objetivo) */
.mision .mv-icon::before,
.mv-card:first-child .mv-icon::before {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px var(--bg-light), inset 0 0 0 6px var(--color-accent);
}

/* VISIÓN - OJO (diferente a Misión) */
.vision .mv-icon::before,
.mv-card:last-child .mv-icon::before {
    width: 32px;
    height: 20px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: transparent;
}

.vision .mv-icon::after,
.mv-card:last-child .mv-icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* VALORES */
.valor-icon::before {
    width: 24px;
    height: 24px;
}

/* Pasión - Corazón (rombo rotado) */
.valor-item:nth-child(1) .valor-icon::before {
    transform: rotate(45deg);
    border-radius: 0;
}

/* Colaboración - Círculo doble */
.valor-item:nth-child(2) .valor-icon::before {
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bg-light), 0 0 0 5px var(--color-accent);
}

/* Innovación - Hexágono */
.valor-item:nth-child(3) .valor-icon::before {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Excelencia - Estrella */
.valor-item:nth-child(4) .valor-icon::before {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-form {
    display: flex;
    gap: 8px;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.newsletter-form button {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--bg-white);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: var(--color-accent);
    transform: translateX(2px);
}

.newsletter-note {
    font-size: 12px;
    color: var(--text-gray-light);
    margin-top: 12px;
}