@font-face {
    font-family: 'Graphite Pro';
    src: url('assets/fonts/GraphitePro-Regular.woff2') format('woff2'),
        url('assets/fonts/GraphitePro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphite Pro';
    src: url('assets/fonts/GraphitePro-Bold.woff2') format('woff2'),
        url('assets/fonts/GraphitePro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphite Pro';
    src: url('assets/fonts/GraphitePro-ExtraBold.woff2') format('woff2'),
        url('assets/fonts/GraphitePro-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #0052CC;
    --color-primary-dark: #003D99;
    --color-secondary: #00B8D9;

    --color-dark: #091E42;
    --color-text-main: #172B4D;
    --color-text-muted: #5E6C84;

    --color-bg-light: #F4F5F7;
    --color-white: #FFFFFF;

    --font-display: 'Graphite Pro', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Lato', 'Inter', sans-serif;

    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    --shadow-sm: 0 1px 3px rgba(9, 30, 66, 0.1);
    --shadow-md: 0 4px 8px rgba(9, 30, 66, 0.08), 0 0 1px rgba(9, 30, 66, 0.2);
    --shadow-lg: 0 12px 24px rgba(9, 30, 66, 0.08), 0 0 1px rgba(9, 30, 66, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.bg-light {
    background-color: var(--color-bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.nav-links .btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
}

.nav-links .btn.btn-primary {
    background-color: #018AA1;
    border-color: #018AA1;
}

.nav-links .btn.btn-primary:hover {
    background-color: #01758A;
    border-color: #01758A;
}

.btn-primary {
    background-color: #12345A;
    color: var(--color-white);
    border: 1px solid #12345A;
}

.btn-primary:hover {
    background-color: #0E2A4A;
    border-color: #0E2A4A;
    box-shadow: var(--shadow-md);
}

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

.btn-outline-dark:hover {
    background-color: var(--color-bg-light);
}

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

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-white);
}

.btn-white:hover {
    background-color: #f8f9fa;
    box-shadow: var(--shadow-md);
}

.btn-cta {
    background-color: #FEB41F;
    color: #000;
    border: 1px solid #FEB41F;
    border-radius: 50px;
    padding: 0.9rem 2rem;
    margin-top: 1.5rem;
}

.btn-cta:hover {
    background-color: #E8A40C;
    box-shadow: var(--shadow-md);
}

.w-100 {
    width: 100%;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--color-primary);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer-link {
    text-align: center;
    margin-top: 3rem;
}

/* Event Bar APROHPERÚ — encima del hero */
.event-bar {
    background: #FEB41F;
    color: #051637;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: 20px;
}
.event-bar.visible {
    transform: translateX(0);
}
.event-bar:hover { background: #e5a31a; }
.event-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.event-bar-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}
.event-bar-text strong { font-weight: 700; }
.event-bar-cta {
    background: #051637;
    color: #FEB41F;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}
.event-bar-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #051637;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.event-bar-close:hover { opacity: 1; }
.event-modal-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}
.event-bar.hidden { display: none; }

@media (max-width: 768px) {
    .event-bar-text { font-size: 0.75rem; }
    .event-bar-inner { padding: 10px 12px; }
    .event-modal-img { max-height: 75vh; }
}

/* Top Bar */
.topbar {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.45rem 0;
    font-size: 0.85rem;
    position: relative;
    width: 100%;
}

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

.topbar-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.topbar-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2D3A5E;
    font-weight: 700;
    padding: 0 0.9rem;
    border-right: 1px solid #CBD5E1;
}

.topbar-contact span:last-child {
    border-right: none;
    padding-right: 0;
}

.topbar-contact span:first-child {
    padding-left: 0;
}

.topbar-contact span svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.topbar-social {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-left: 0.9rem;
    border-left: 1px solid #CBD5E1;
}

.topbar-social a {
    display: flex;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.topbar-social a svg {
    width: 18px;
    height: 18px;
}

.topbar-social a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    background-color: var(--color-white);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    top: 0;
}

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

.logo {
    position: relative;
    margin-right: auto;
    padding-right: 1rem;
}

.logo .nav-logo {
    height: 52px;
    width: auto;
    display: block;
}

.logo .logo-white {
    display: none;
}

.logo .logo-color {
    display: block;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-dark);
    letter-spacing: -0.5px;
}

.brand-text span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    border-left: none;
    padding-left: 3.2rem;
}

.navbar.scrolled .nav-links {
    border-left: none;
}

.nav-links a:not(.btn) {
    color: #12345A;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 2px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FEB41F;
    transition: width 0.3s;
}

.nav-links a:not(.btn):hover {
    color: #5AC6F0;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown>a {
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nav-links .nav-dropdown>a::after {
    content: '';
    position: static;
    width: auto;
    height: auto;
    background: none;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s;
}

.nav-links .nav-dropdown:hover>a::after {
    transform: rotate(180deg);
    width: auto;
    height: auto;
    background: none;
}

.nav-dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(9, 30, 66, 0.15);
    padding: 0.5rem 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0s linear 0.5s, visibility 0s linear 0.5s;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0s linear 0s, visibility 0s linear 0s;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -28px;
    left: -20px;
    right: -20px;
    height: 28px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: var(--color-text-muted) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
    transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
    background: #F4F5F7;
    color: var(--color-primary) !important;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

/* Mega dropdown */
.nav-dropdown-mega {
    position: static !important;
}

.nav-dropdown-mega .nav-dropdown-menu {
    display: grid;
    width: 100vw;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 48px rgba(9, 30, 66, 0.2);
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0s linear 0.5s, visibility 0s linear 0.5s;
}

.nav-dropdown-mega:hover .nav-dropdown-menu,
.nav-dropdown-mega .nav-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transition: opacity 0s linear 0s, visibility 0s linear 0s;
}

.nav-dropdown-mega .nav-dropdown-menu::before {
    top: -40px;
    left: -40px;
    right: -40px;
    height: 40px;
}

.mega-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mega-grid {
    display: contents;
}

.mega-col h4 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #12345A;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #FEB41F;
}

.mega-col a {
    display: block !important;
    padding: 0.2rem 0 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #12345A !important;
    white-space: nowrap;
}

.mega-col a:hover {
    color: var(--color-primary) !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .nav-dropdown-mega .nav-dropdown-menu {
        display: none !important;
    }

    .mega-menu {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .mega-col h4 {
        color: #E8C204 !important;
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .mega-col a {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.85rem !important;
        padding: 0.2rem 0 !important;
    }
}

/* Hero */
.hero {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background-color: #040E1F;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 800px;
    margin: 0 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-right: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(18, 52, 90, 0.1);
    color: var(--color-primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    color: #051637;
    max-width: 700px;
    font-weight: 800;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: #6F748B;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.8;
}

.hero-meta {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-style: normal;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Trust Bar */
.trust-bar {
    padding: 2.5rem 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.trust-title {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.logo-item {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    color: #97A0AF;
}

/* Soluciones (Categorias) */
.soluciones {
    padding: 5rem 0;
}

.soluciones .section-header {
    margin-bottom: 3.5rem;
    padding: 3rem 2rem;
    border-radius: 16px;
    background-color: #007B9C;
    background-image: linear-gradient(rgba(0, 123, 156, 0.85), rgba(0, 123, 156, 0.85)), url('img/img_varios/fondo_seccion_bajohero.jfif');
    background-size: cover;
    background-position: center;
}

.soluciones .section-header h2 {
    color: var(--color-white);
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.soluciones .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.card-solucion {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.card-solucion::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #FEB41F;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.grid-soluciones .card-solucion.hovered::before {
    width: 90px;
}

.card-solucion:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.grid-soluciones .card-solucion {
    transition: opacity 0.3s ease, transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color 0.3s ease;
}

.grid-soluciones .card-solucion.hovered {
    background-color: #F4F9FC;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: #007B9C;
}

.solucion-icon {
    margin-bottom: 1.2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.solucion-icon svg {
    width: 80px;
    height: 80px;
}

.solucion-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card-solucion h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.card-solucion p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    line-height: 1.5;
}

.link-text {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

/* Productos Destacados */
.productos-slider {
    padding: 5rem 0;
    background: url('img/img_varios/fondo-phitoline-alta-resolucion-4K.png') center/cover no-repeat;
}

.slider-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.slider-text h2 {
    font-size: 2.2rem;
    margin: 1rem 0 1.2rem;
    color: var(--color-dark);
}

.slider-text h2 span {
    color: var(--color-primary);
}

.slider-text p {
    color: var(--color-text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.slider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.slider-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.slider-card:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.slider-card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.slider-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.slider-card-body {
    padding: 1rem 1.2rem 1.2rem;
    border-top: 1px solid #EEF2F6;
}

.slider-card-body .tag {
    margin-bottom: 0.5rem;
    background: #9AD16D;
    color: #fff;
    border: none;
    border-radius: 4px;
}

.slider-card-body h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #0E6A7F;
}

.slider-card-body p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.slider-card-link {
    color: #68CED0;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

/* Pilares */
.pilares {
    padding: 5rem 0;
}

.pilares {
    position: relative;
}

.pilares::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
}

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

.pilar-card {
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 4px;
}

.pilar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #FEB41F;
    border-radius: 0 0 2px 2px;
    z-index: 2;
    transition: width 0.3s ease;
}

.pilar-card:hover::before {
    width: 90px;
}

.pilar-card:hover {
    box-shadow: 0 16px 40px rgba(0, 82, 204, 0.12), 0 4px 8px rgba(9, 30, 66, 0.06);
    transform: translateY(-6px);
    border-color: transparent;
}

.pilar-card-header {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}

.pilar-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pilar-card-icon {
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    box-shadow: none;
    z-index: 3;
}

.pilar-card-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.pilar-card-icon.icon-blue {
    background: none;
}

.pilar-card-icon.icon-teal {
    background: none;
}

.pilar-card-icon.icon-green {
    background: none;
}

.pilar-card-body {
    padding: 2.8rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pilar-card-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    background: #E9F7FB;
    color: #018597;
    border: none;
}

.pilar-card-tag.tag-blue {
    background: #E9F7FB;
    color: #018597;
    border: none;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    padding: 0.3rem 0.8rem;
    box-shadow: none;
}

.pilar-card-tag.tag-teal {
    background: #E9F7FB;
    color: #018597;
    border: none;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    padding: 0.3rem 0.8rem;
}

.pilar-card-tag.tag-green {
    background: #E9F7FB;
    color: #018597;
    border: none;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    padding: 0.3rem 0.8rem;
}

.pilar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--color-dark);
}

.pilar-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.pilar-card-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0085A2;
    padding-top: 0.75rem;
    border-top: 1px solid #EEF2F6;
}

/* Productos Destacados */
.destacados {
    padding: 5rem 0;
    background-image: url('img/img_varios/fondo_productos.jfif');
    background-size: cover;
    background-position: center;
}

.destacados .section-header {
    margin-bottom: 1.5rem;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.producto-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
    position: relative;
}

.producto-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #FEB41F;
    border-radius: 2px;
    z-index: 2;
    transition: width 0.3s ease;
}

.producto-card:hover::before {
    width: 90px;
}

.producto-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.producto-img {
    height: 180px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 0.9rem;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
}

.producto-img > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.producto-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.producto-info .tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: #E8F8FD;
    color: #4A9BAB;
    border: none;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
    box-shadow: none;
    align-self: center;
}

.tag-blue {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    color: #C2410C;
    border: 1px solid rgba(249, 115, 22, 0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.05);
}

.producto-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.enlace-simple {
    color: #0186A1;
    font-size: 0.9rem;
    font-weight: 500;
}

.enlace-simple:hover {
    color: var(--color-primary);
}

/* Banner Campo */
.banner-campo {
    padding: 0;
}

.banner-campo-bg {
    background-color: #091E42;
    background-image:
        url('img/img_varios/capa_fondo.png'),
        radial-gradient(circle at 80% 50%, rgba(0, 184, 217, 0.15) 0%, transparent 55%),
        linear-gradient(90deg, #007B9C 0%, #12345A 50%, #003D99 100%);
    background-size: cover, cover, cover;
    background-position: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.banner-campo-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.banner-campo-text {
    color: var(--color-white);
}

.badge-white {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.banner-campo-text h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.banner-campo-text h2 span {
    color: var(--color-secondary);
}

.banner-campo-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.banner-campo-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.campo-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    width: 100%;
    max-width: 320px;
}

.campo-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Contacto */
.contacto {
    padding: 5rem 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacto-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contacto-info>p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--color-dark);
}

.info-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contacto-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding-top: 3rem;
}

.footer h3,
.footer h4 {
    color: #0185A1;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.4rem;
    color: var(--color-white);
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer a:hover {
    color: #3EBBC2;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

.footer-logo-text {
    color: var(--color-white);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    line-height: 1.4;
    opacity: 0.8;
}

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

.footer-social a {
    color: var(--color-white);
    opacity: 0.7;
    transition: var(--transition-fast);
    display: flex;
}

.footer-social a:hover {
    opacity: 1;
    color: #3EBBC2;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.2fr 1.2fr 0.8fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 2rem;
}

.footer-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.footer-prod-group h4 {
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.footer-prod-group ul li {
    margin-bottom: 0.3rem;
}

.footer-senasa {
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-senasa-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-senasa p {
    color: var(--color-white);
    font-size: 0.8rem;
    margin: 0;
}

/* Popup RESPIFREE */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 66, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-modal {
    background: var(--color-white);
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 24px 64px rgba(9, 30, 66, 0.2);
    animation: popupIn 0.3s ease-out;
}

.popup-modal-img {
    padding: 0;
    max-width: 750px;
    background: transparent;
    box-shadow: none;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    z-index: 1;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.popup-modal-img .popup-close {
    top: 0.75rem;
    right: 0.75rem;
}

.popup-img-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.popup-img-link .popup-video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.popup-img-link .popup-cta {
    display: block;
    margin-top: 0.75rem;
    padding: 0.9rem 1.5rem;
    background: #0185A1;
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
}

.popup-img-link.show-cta .popup-cta {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-img-link .popup-cta strong {
    color: #E8C204;
}

.popup-content {
    text-align: center;
}

.popup-img {
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.popup-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-btn {
    width: 100%;
}

/* Page Hero */
.page-hero {
    padding-top: 150px;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #091E42 0%, #003D99 100%);
    text-align: center;
}

.page-hero-half {
    text-align: center;
}

.page-hero-half .page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-half .hero-grid {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-half .hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-half .hero-image-wrapper .img-placeholder {
    width: 100%;
    min-height: 280px;
}

.page-hero-content h1 {
    font-size: 3rem;
    color: var(--color-white);
    margin: 0.8rem 0 0.5rem;
}

.page-hero-content h1 span {
    color: var(--color-secondary);
}

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

.page-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-content .hero-tagline {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* About Intro */
.about-intro {
    padding: 5rem 0;
}

.about-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-main);
    text-align: center;
}

/* About Objective */
.about-objective {
    padding: 5rem 0;
}

.objective-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.objective-text h2 {
    font-size: 2.2rem;
    margin: 1rem 0 1.5rem;
    color: #007B9B;
}

.objective-text h2 span {
    color: #007B9B;
}

.objective-text p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.objective-highlight {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-number {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.highlight-number .num {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: #051637;
}

.highlight-number .label {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

/* Trayectoria */
.about-trayectoria {
    padding: 5rem 0;
}

.about-trayectoria .trayectoria-content {
    max-width: 900px;
    margin: 0 auto;
}

.trayectoria-content p {
    color: var(--color-text-main);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Mission / Vision */
.about-mv {
    padding: 5rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.mv-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

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

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Valores */
.about-valores {
    padding: 5rem 0;
}

.about-valores .section-header h2 span {
    color: #0285A1;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.valor-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.valor-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.valor-card h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.valor-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Image Placeholder */
.img-placeholder {
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.img-placeholder-sm {
    min-height: 120px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.img-placeholder-lg {
    min-height: 300px;
}

.about-full-img {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* About CTA */
.about-cta {
    padding: 5rem 0;
    background: #E9F1FF;
    text-align: center;
}

.about-cta-content h2 {
    font-size: 2.2rem;
    color: #051637;
    margin-bottom: 1rem;
}

.about-cta-content h2 span {
    color: #007B9B;
}

.about-cta-content p {
    color: #3B4A5A;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-soluciones {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .objective-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .slider-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-grid,
    .contacto-grid,
    .banner-campo-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 4rem;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        gap: 0.6rem;
    }

    .hero-actions .btn {
        font-size: 0.85rem;
        padding: 0.55rem 1.2rem;
    }

    .banner-campo-content {
        text-align: center;
    }

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

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

.hamburger.active span {
    background: #fff;
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 30, 55, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 1050;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a:not(.btn) {
        color: #fff !important;
        font-size: 1.3rem;
    }

    .nav-links a:not(.btn):hover {
        color: var(--color-secondary) !important;
    }

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

    .nav-dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        transition: opacity 0s linear 0.3s, visibility 0s linear 0.3s;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown .nav-dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transition: opacity 0s linear 0s, visibility 0s linear 0s;
    }

    .nav-dropdown-menu a {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 1rem !important;
        padding: 0.3rem 0;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
        color: var(--color-secondary) !important;
    }

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

    .hero {
        margin: 54px 0 0;
        min-height: 80vh;
        padding: 4rem 0.75rem;
        background-position: 85% center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        border-radius: 0;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(18, 52, 90, 0.6);
        z-index: 0;
    }

    .hero-title {
        font-size: clamp(1.7rem, 5.5vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 0.8rem;
        color: #FFFFFF;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 2.8vw, 1rem);
        line-height: 1.5;
        margin-bottom: 0.5rem;
        color: #EAF4FB;
    }

    .hero-meta {
        font-size: 0.85rem;
        color: #D6E7F2;
    }

    .hero-actions .btn-cta {
        font-size: 0.7rem;
        padding: 0.5rem 1.1rem;
        margin-top: 0.5rem;
    }

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

    .soluciones {
        padding: 2.5rem 0;
    }

    .soluciones .section-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .soluciones .section-header h2 {
        font-size: 1.3rem;
    }

    .soluciones .section-header p {
        font-size: 0.85rem;
    }

    .card-solucion {
        padding: 1.5rem 1.25rem;
    }

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

    .productos-slider {
        padding: 2.5rem 0;
    }

    .slider-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .slider-text h2 {
        font-size: 1.4rem;
        margin: 0.5rem 0 0.8rem;
    }

    .slider-text p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .slider-card-img {
        height: 160px;
    }

    .slider-card-body {
        padding: 0.8rem 1rem 1rem;
    }

    .pilares {
        padding: 2.5rem 0;
    }

    .pilar-card-header {
        height: 160px;
    }

    .pilar-card-icon {
        top: 160px;
    }

    .pilar-card-body {
        padding: 2.4rem 1.25rem 1.25rem;
    }

    .pilar-card h3 {
        font-size: 1.1rem;
    }

    .pilar-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .grid-productos {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .destacados .container {
        padding: 0 0.75rem;
    }

    .producto-img {
        height: 140px;
    }

    .producto-img > img {
        padding: 0.35rem;
    }

    .producto-info {
        padding: 0.75rem 0.5rem;
    }

    .producto-info .tag {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .producto-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .enlace-simple {
        font-size: 0.8rem;
    }

    .popup-img-link .popup-cta {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    .popup-modal-img {
        max-width: 90%;
    }

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

    .banner-campo-text h2 {
        font-size: 1.8rem;
    }

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

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

/* === Newsletter / Suscripción === */
.nexo-cta {
    background: linear-gradient(135deg, #F0F5FF, #E6F0FF);
    padding: 4rem 0;
    text-align: center;
}

.nexo-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.nexo-cta p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.nexo-cta .nexo-benefits {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.nexo-cta .nexo-benefits span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nexo-cta .nexo-benefits span::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: 700;
}

.nexo-subscribe-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.nexo-subscribe-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.2rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.nexo-subscribe-form input[type="email"]:focus {
    border-color: var(--color-primary);
}

.nexo-subscribe-form .btn {
    padding: 0.85rem 2rem;
    flex-shrink: 0;
}

.nexo-small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* === Producto - Asesor === */
.producto-asesor {
    background: linear-gradient(135deg, #0F2940, #122B4A);
    padding: 3.5rem 0;
    text-align: center;
    border-bottom: 3px solid var(--color-secondary);
}

.producto-asesor-content h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.producto-asesor-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.producto-asesor-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animal Icons Badge on Product Cards */
.cat-product-img {
    position: relative;
}

.animal-icons-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}

.animal-icons-badge img {
    width: 32px !important;
    height: 32px !important;
    background-color: #F8E24C;
    border-radius: 50%;
    padding: 5px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}