/* ============================================================
   GenEx Pharma® — estilos propios sobre la plantilla base
   Paleta del logotipo: azul teal #135E82, azul profundo #0B2330,
   coral #FC805F, fondo clínico #F4F8FA.
   ============================================================ */
:root {
    --primary--color: #135E82;
    --accent--color: #0B2330;
    --black--color: #0B2330;
    --teal--color: #FC805F;
    --genex-coral: #FC805F;
    --genex-deep: #0B2330;
    --genex-blue: #135E82;
    --genex-light: #F4F8FA;
}

.orange-text { color: var(--genex-coral) !important; }
.bg-orange { background-color: var(--genex-coral) !important; }
.text-coral { color: var(--genex-coral); }

.site-logo-img { max-height: 64px; width: auto; }
.footer-logo-img { max-width: 220px; height: auto; }

/* Cabecera: número de WhatsApp */
.header-contact .wa-line { display: flex; flex-direction: column; line-height: 1.1; }
.header-contact .wa-line small { font-size: 11px; color: var(--text--color); text-transform: uppercase; letter-spacing: .08em; }

/* Barra de confianza (hero) */
.genex-trust { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(11, 35, 48, .12); }
.genex-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--genex-deep); }
.genex-trust i { color: var(--genex-coral); }

/* Visual del hero: PNG del portafolio de peptidos sobre el fondo claro.
   Sin recuadro: la foto flota con una sombra suave bajo los viales. */
.genex-hero-visual { text-align: center; }
.genex-hero-visual img { width: 100%; max-width: 880px; height: auto; filter: drop-shadow(0 30px 45px rgba(11, 35, 48, .22)); animation: genexFloat 7s ease-in-out infinite; }
@keyframes genexFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
    .genex-hero-visual img { animation: none; }
}

/* Banda "distribuidor autorizado de péptidos" */
.genex-band { background: var(--genex-deep); color: #fff; border-top: 1px solid rgba(252, 128, 95, .35); border-bottom: 1px solid rgba(252, 128, 95, .35); padding: 26px 0; }
.genex-band .pill { background: var(--genex-coral); color: var(--genex-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.genex-band h4 { color: #fff; font-weight: 900; margin: 6px 0 4px; font-size: 22px; }
.genex-band p { color: #c7d3da; font-size: 14px; margin: 0; }
.genex-band .btn-coral { background: var(--genex-coral); color: var(--genex-deep); font-weight: 800; padding: 12px 22px; border-radius: 14px; text-decoration: none; display: inline-block; }
.genex-band .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 14px; text-decoration: none; display: inline-block; border: 1px solid rgba(255, 255, 255, .15); }
.genex-band .btn-coral:hover { background: #fff; }
.genex-band .btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Portafolio (tarjetas de categoría) */
.genex-cat-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #e8eef2; border-radius: 28px; padding: 32px; text-decoration: none !important; transition: all .3s; min-height: 260px; }
.genex-cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(11, 35, 48, .35); border-color: rgba(19, 94, 130, .3); }
.genex-cat-card .ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; background: var(--genex-light); color: var(--genex-blue); }
.genex-cat-card.coral .ico { background: #fff1ec; color: var(--genex-coral); }
.genex-cat-card h3 { font-size: 24px; font-weight: 900; color: var(--genex-deep); margin-bottom: 8px; }
.genex-cat-card p { font-size: 14px; color: var(--text--color); margin-bottom: 20px; }
.genex-cat-card .count { font-size: 12px; color: #8a9aa5; font-weight: 600; }
.genex-cat-card .go { margin-top: auto; font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--genex-blue); display: flex; justify-content: space-between; align-items: center; }
.genex-cat-col { margin-bottom: 30px; }

/* Píldoras de categoría del catálogo */
.genex-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.genex-pills button { border: 1px solid transparent; background: #fff; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 10px 18px; border-radius: 999px; transition: all .2s; cursor: pointer; }
.genex-pills button:hover { color: var(--genex-blue); border-color: #e2e8f0; }
.genex-pills button.active { background: var(--genex-deep); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 35, 48, .6); }

.genex-search { position: relative; margin-bottom: 22px; }
.genex-search input { width: 100%; padding: 14px 16px 14px 48px; border: 1px solid #dfe6ea; border-radius: 14px; font-size: 15px; background: #fff; }
.genex-search input:focus { outline: none; border-color: var(--genex-blue); box-shadow: 0 0 0 3px rgba(19, 94, 130, .12); }
.genex-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #94a3b8; }

/* Tarjetas de producto (catálogo) */
/* El vial siempre cabe completo: la caja fija la altura y object-fit centra
   la foto sin recortarla, sea vertical (ampollas) u horizontal (cajas). */
.shop-box-wrapper .shop-card .genex-figure { height: 240px; background: #fff; border: 1px solid #eef2f5; border-radius: 18px; margin-bottom: 16px; padding: 16px; overflow: hidden; }
.shop-box-wrapper .shop-card .genex-figure a { display: block; width: 100%; height: 100%; }
.shop-box-wrapper .shop-card .genex-figure img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 0; transition: transform .45s ease; }
.shop-box-wrapper .shop-card:hover .genex-figure img { transform: scale(1.05); }
@media (max-width: 575px) {
    .shop-box-wrapper .shop-card .genex-figure { height: 220px; padding: 14px; }
}
.shop-box-wrapper .shop-card .product-presentation { color: var(--genex-blue); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
/* Subfamilia del péptido (secretagogos, cosméticos, etc.) bajo la presentación. */
.shop-box-wrapper .shop-card .product-presentation .subfam { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a9aa5; }
.shop-box-wrapper .shop-card .product-desc { font-size: 14px; color: var(--text--color); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.shop-box-wrapper .shop-card .line-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a9aa5; }
.shop-box-wrapper .shop-card .line-tag i { color: #1fae4a; margin-right: 4px; }
.shop-box-wrapper .badge-custom { background: var(--genex-deep); z-index: 2; left: 16px; }
.shop-box-wrapper .shop-card { position: relative; padding-top: 56px; }
.shop-box-wrapper .shop-card .shop-hover-btns-wrap a.wa-btn { background: #25D366; border-color: #25D366; color: #fff; }
.shop-box-wrapper .shop-card .shop-hover-btns-wrap a.wa-btn:hover { background: #1da851; color: #fff; }
.product-item.is-hidden { display: none !important; }

/* Ficha técnica */
.single-product-image { background: #F3F7FA; border-radius: 28px; padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.single-product-image img { height: 360px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 575px) {
    .single-product-image { min-height: 320px; padding: 22px; }
    .single-product-image img { height: 260px; }
}
.genex-scheme { background: #F8FAFC; border: 1px solid #e8eef2; border-radius: 20px; padding: 24px; margin-top: 24px; }
.genex-scheme h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #648b9d; font-weight: 800; margin-bottom: 10px; }
.genex-scheme p { margin: 0; color: var(--genex-deep); font-size: 16px; line-height: 1.6; }
.genex-scheme p strong { color: var(--genex-coral); }
.genex-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #648b9d; font-weight: 800; margin: 18px 0 8px; }
.wa-btn.primary_btn { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.wa-btn.primary_btn:hover { background: #1da851 !important; }

/* Lista de cotización */
.cart-con .quote-note { background: var(--genex-light); border-radius: 16px; padding: 16px 18px; font-size: 14px; color: var(--genex-deep); }
.cart-con .quote-note i { color: var(--genex-coral); margin-right: 8px; }

/* Formulario de requerimiento (contacto / cotización) */
.genex-form label { display: block; font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.genex-form input, .genex-form select, .genex-form textarea { width: 100%; padding: 13px 16px; border: 1px solid #dfe6ea; border-radius: 14px; font-size: 15px; background: #fff; margin-bottom: 16px; }
.genex-form input:focus, .genex-form select:focus, .genex-form textarea:focus { outline: none; border-color: var(--genex-blue); box-shadow: 0 0 0 3px rgba(19, 94, 130, .12); }
.genex-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #64748b; margin-bottom: 18px; }
.genex-form .consent input { width: auto; margin: 4px 0 0; }
.genex-form-box { background: var(--genex-light); border: 1px solid #e8eef2; border-radius: 28px; padding: 36px; position: relative; }
.genex-form-success { position: absolute; inset: 0; background: rgba(255, 255, 255, .96); border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; z-index: 5; }
.genex-form-success .check { width: 64px; height: 64px; border-radius: 50%; background: #d1fae5; color: #059669; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 16px; }
.genex-contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--genex-light); border: 1px solid #e8eef2; border-radius: 18px; text-decoration: none !important; margin-bottom: 14px; transition: all .2s; }
.genex-contact-card:hover { border-color: var(--genex-blue); }
.genex-contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(19, 94, 130, .1); color: var(--genex-blue); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.genex-contact-card.coral .ico { background: rgba(252, 128, 95, .12); color: var(--genex-coral); }
.genex-contact-card small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; font-weight: 800; }
.genex-contact-card span { font-size: 15px; font-weight: 600; color: var(--genex-deep); }

/* Sección Biohacking (oscura) */
.genex-bio { background: linear-gradient(180deg, #0B2330 0%, #081721 100%); color: #fff; }
.genex-bio h2 { color: #fff; }
.genex-bio .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(252, 128, 95, .1); border: 1px solid rgba(252, 128, 95, .3); color: var(--genex-coral); font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; }
.genex-bio p.lead-text { color: #c7d3da; font-size: 16px; }
.genex-bio .feat { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.genex-bio .feat i { width: 34px; height: 34px; border-radius: 10px; background: rgba(252, 128, 95, .18); color: var(--genex-coral); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.genex-bio .feat strong { color: #fff; display: block; font-size: 15px; }
.genex-bio .feat span { color: #9fb3bf; font-size: 13px; }
.genex-bio-card { background: rgba(11, 35, 48, .6); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: 24px; height: 100%; transition: border-color .2s; backdrop-filter: blur(10px); }
.genex-bio-card:hover { border-color: rgba(252, 128, 95, .5); }
.genex-bio-card .tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(252, 128, 95, .2); color: var(--genex-coral); }
.genex-bio-card .tag.blue { background: rgba(19, 94, 130, .4); color: #fff; }
.genex-bio-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 14px 0 6px; }
.genex-bio-card p { color: #c7d3da; font-size: 14px; margin-bottom: 14px; }
.genex-bio-card a { color: var(--genex-coral); font-weight: 700; font-size: 13px; text-decoration: none; }
.genex-bio-card a:hover { text-decoration: underline; color: #fff; }
.genex-bio-col { margin-bottom: 20px; }
.genex-bio .primary_btn { background: var(--genex-coral); border-color: var(--genex-coral); color: var(--genex-deep); }

/* Empresa: misión / visión / valores */
.genex-value-box { background: #fff; border: 1px solid #e8eef2; border-radius: 24px; padding: 32px; height: 100%; }
.genex-value-box .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(19, 94, 130, .1); color: var(--genex-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.genex-value-box.coral .ico { background: rgba(252, 128, 95, .12); color: var(--genex-coral); }
.genex-value-box h3 { font-size: 22px; font-weight: 900; color: var(--genex-deep); margin-bottom: 10px; }
.genex-value-box p { font-size: 15px; color: var(--text--color); margin: 0; line-height: 1.65; }
.genex-values-grid strong { display: block; font-size: 18px; font-weight: 900; color: var(--genex-blue); margin-bottom: 6px; }
.genex-values-grid strong.coral { color: var(--genex-coral); }
.genex-values-grid p { font-size: 13px; color: var(--text--color); }

/* Widget flotante de WhatsApp / asistencia */
.genex-wa-fab { position: fixed; left: 22px; bottom: 28px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 6px 20px rgba(37, 211, 102, .45); cursor: pointer; border: none; transition: transform .2s; }
.genex-wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.genex-wa-fab::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366; opacity: .6; animation: genex-ping 1.8s infinite; }
@keyframes genex-ping { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.genex-wa-bubble { position: fixed; left: 22px; bottom: 100px; z-index: 1041; width: 320px; max-width: calc(100vw - 44px); background: #fff; border-radius: 22px; box-shadow: 0 20px 50px -12px rgba(11, 35, 48, .45); border: 1px solid #e8eef2; overflow: hidden; transform-origin: bottom left; transition: all .25s; }
.genex-wa-bubble.is-hidden { opacity: 0; transform: scale(.9) translateY(10px); pointer-events: none; }
.genex-wa-bubble .head { background: var(--genex-deep); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.genex-wa-bubble .head strong { font-size: 14px; }
.genex-wa-bubble .head button { background: transparent; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.genex-wa-bubble .body { padding: 14px; }
.genex-wa-bubble .opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--genex-light); border: 1px solid #e8eef2; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; text-decoration: none; color: var(--genex-deep); transition: border-color .2s; }
.genex-wa-bubble .opt:hover { border-color: var(--genex-blue); color: var(--genex-deep); }
.genex-wa-bubble .opt i { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--genex-blue); display: flex; align-items: center; justify-content: center; }
.genex-wa-bubble .opt strong { display: block; font-size: 13px; }
.genex-wa-bubble .opt small { display: block; font-size: 11px; color: #64748b; }
.genex-wa-bubble .body p { font-size: 13px; color: #475569; margin-bottom: 8px; }
.genex-wa-bubble input { width: 100%; padding: 11px 14px; border: 1px solid #dfe6ea; border-radius: 12px; font-size: 14px; margin-bottom: 10px; }
.genex-wa-bubble .send { width: 100%; background: #25D366; color: #fff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; cursor: pointer; }
.genex-wa-bubble .back { background: transparent; border: none; color: var(--genex-blue); font-weight: 700; font-size: 12px; cursor: pointer; padding: 0; margin-bottom: 8px; }

/* Aviso regulatorio */
.genex-legal-note { font-size: 12px; color: #8a9aa5; line-height: 1.6; }

/* Vista "todas las categorías" en el catálogo */
.genex-count-line { font-size: 14px; color: var(--text--color); margin-bottom: 18px; }

@media (max-width: 991px) {
    .genex-hero-visual { margin-top: 24px; }
    .genex-hero-visual img { max-width: 460px; }
    .genex-band .d-flex { flex-direction: column; align-items: flex-start !important; gap: 16px; }
}
@media (max-width: 575px) {
    .genex-hero-visual img { max-width: 100%; }
    .genex-form-box { padding: 24px; }
    .genex-wa-bubble { left: 12px; }
    .genex-wa-fab { left: 12px; }
}

/* Pie de página */
.footer-con .footer-desc { color: #b9c6cf; font-size: 14px; line-height: 1.6; margin: 18px 0 24px; max-width: 420px; }
.footer-con .footer-legal li a { color: #b9c6cf; font-size: 13px; margin-left: 20px; text-decoration: none; }
.footer-con .footer-legal li a:hover { color: #fff; }
.footer-con .contact ul li.text a, .footer-con .contact ul li.text p { font-size: 14px; }
.footer-con .links ul li a { font-size: 14px; }

/* Fila de botones dentro de la tarjeta de producto */
.shop-box-wrapper .shop-card .shop-hover-btns-wrap .btn-row { display: flex; gap: 8px; }
.shop-box-wrapper .shop-card .shop-hover-btns-wrap .btn-row a { min-width: 0; flex: 1; font-size: 13px; padding: 0 6px; }
.shop-box-wrapper .col-xl-3.col-lg-4.col-md-6 { margin-bottom: 30px; }
.shop-box-wrapper .shop-card .product-title a { color: inherit; }
.pagination .page-item.active .page-link { background: var(--genex-deep); border-color: var(--genex-deep); color: #fff; }
.pagination .page-link { color: var(--genex-blue); }

/* Selector de orden del catálogo y ajustes de ficha */
.shop-con select#sortSelect { width: 100% !important; border-radius: 22px; height: 50px; padding-left: 18px; }
.types-con .product-feature .speed-feature { min-width: 150px; }
.sub-banner-con .sub-vector-img { max-height: 320px; max-width: 30%; object-fit: contain; right: 4%; bottom: 24px; }

/* Cabecera compacta */
.header-con .navbar-light .navbar-brand { margin-right: 36px !important; flex-shrink: 0; }
.site-logo-img { height: 46px !important; max-height: 46px; width: auto; }
.header-con .navbar-expand-lg .navbar-nav.genex-nav { gap: 30px; margin-right: 32px; }
.header-con .navbar-light .navbar-nav.genex-nav .nav-link { font-size: 16px; font-weight: 600; }
.genex-header-actions .last_list { margin-right: 18px !important; }
.header-contact.genex-header-actions { margin-left: 24px; }
.header-contact .contact-btn.genex-wa-cta { min-width: 210px; height: 56px; line-height: 56px; font-size: 15px; background-color: #25D366; white-space: nowrap; padding: 0 62px 0 22px; }
.header-contact .contact-btn.genex-wa-cta:hover { background-color: var(--genex-deep); }
.header-contact .contact-btn.genex-wa-cta i { font-size: 18px; vertical-align: middle; margin-right: 2px; }
@media (min-width: 992px) and (max-width: 1199px) {
    .header-con .navbar-expand-lg .navbar-nav.genex-nav { gap: 18px; margin-right: 16px; }
    .header-con .navbar-light .navbar-nav.genex-nav .nav-link { font-size: 14px; }
    .header-contact .contact-btn.genex-wa-cta { min-width: 190px; font-size: 13px; }
    .site-logo-img { height: 38px !important; max-height: 38px; }
}
@media (max-width: 991px) {
    .genex-header-actions .contact-btn.genex-wa-cta { display: none !important; }
}

/* Botones de plantilla: espacio real para el texto junto a la flecha */
.primary_btn, .elementary_btn, .secondary_btn { padding-left: 28px !important; padding-right: 68px !important; min-width: 0; }
.shop-box-wrapper .shop-card .shop-hover-btns-wrap .btn-row a,
.header-contact .contact-btn.genex-wa-cta { padding-left: 14px !important; }
.shop-box-wrapper .shop-card .shop-hover-btns-wrap .btn-row a { padding-right: 14px !important; }
.header-contact .contact-btn.genex-wa-cta { padding-right: 62px !important; }
.genex-form button.primary_btn, .genex-form .elementary_btn, #showAllProducts, #clearFilters, .cart-total-outer .primary_btn, .genex-form-success .elementary_btn { padding-right: 28px !important; }
.genex-band .brand-mark { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 8px; }
.genex-band .brand-mark img { max-width: 100%; max-height: 100%; }
@media (max-width: 575px) {
    .primary_btn, .elementary_btn, .secondary_btn { font-size: 15px; height: 54px; line-height: 54px; padding-right: 60px !important; }
    .banner-btns-wrap .primary_btn, .banner-btns-wrap .elementary_btn { width: 100%; margin-bottom: 12px; }
}

/* Pie: logo GenEx (ya es blanco) y boletín contenido en su columna */
.footer-con .footer-logo-img { height: 56px !important; width: auto; max-width: 240px; filter: none !important; }
.footer-con .logo-content form { max-width: 440px; }
.footer-con .logo-content .form-group { display: flex; align-items: center; gap: 10px; }
.footer-con .logo-content .form-group input.form_style { flex: 1 1 auto; min-width: 0; width: auto !important; padding-right: 20px !important; }
.footer-con .logo-content .form-group button { float: none; position: static !important; width: 56px; height: 56px; line-height: 56px; flex-shrink: 0; }
@media (max-width: 767px) {
    .footer-con .copyright { padding-bottom: 96px; }
    .footer-con .footer-legal { margin-top: 10px; }
    .footer-con .footer-legal li a { margin-left: 0; margin-right: 16px; }
}
/* Sub-banner: el vial decorativo solo en escritorio ancho */
@media (max-width: 1199px) { .sub-banner-con .sub-vector-img { display: none !important; } }
.footer-con .middle_portion .footer-logo img.footer-logo-img { width: auto !important; height: 56px !important; margin-right: 0 !important; }
@media (min-width: 768px) and (max-width: 991px) { .footer-con .copyright { padding-bottom: 90px; } }

/* ---- Tarjetas del blog (inicio y listados) ---- */
.new-blog-con .row > [class*="col-"],
.blogpage-section .row > [class*="col-"] { display: flex; }

.blog-box.blog-box1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px -8px rgba(11, 35, 48, .12);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-box.blog-box1:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(11, 35, 48, .35); border-color: rgba(19, 94, 130, .3); }

.blog-box.blog-box1 .blog-image { margin: 0; overflow: hidden; background: var(--genex-light); }
.blog-box.blog-box1 .blog-image img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .6s ease; }
.blog-box.blog-box1:hover .blog-image img { transform: scale(1.04); }

.blog-box.blog-box1 .lower-portion {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 26px 26px !important;
    border-bottom: 0 !important;
}
.blog-box.blog-box1 .span-i-con { font-size: 13px; color: #8a9aa5; margin-bottom: 12px; }
.blog-box.blog-box1 .span-i-con .text-mr { color: var(--genex-blue); font-weight: 600; }
.blog-box.blog-box1 .lower-portion h2,
.blog-box.blog-box1 .lower-portion .text-size-26 {
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--genex-deep);
    margin-bottom: 18px;
    transition: color .3s ease;
}
.blog-box.blog-box1 .lower-portion a:hover h2 { color: var(--genex-blue); }
.blog-box.blog-box1 .read_more {
    margin-top: auto !important;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--genex-coral);
    padding-top: 16px;
    border-top: 1px solid #eef2f5;
    width: 100%;
}
.blog-box.blog-box1 .read_more::after { content: " \2192"; }
.blog-box.blog-box1 .read_more:hover { color: var(--genex-deep); text-decoration: none; }

@media (max-width: 575px) {
    .blog-box.blog-box1 .blog-image img { height: 200px; }
    .blog-box.blog-box1 .lower-portion { padding: 20px !important; }
    .blog-box.blog-box1 .lower-portion h2 { font-size: 19px; }
}
.blog-box.blog-box1 .span-i-con { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.blog-box.blog-box1 .span-i-con .ml-3 { margin-left: 0 !important; }

/* ============================================================
   Respiro de la cabecera y de los contenedores de sección.
   La plantilla dejaba el contenido pegado al borde de la pantalla
   (el logo arrancaba a 14 px del canto en portátiles) y comprimía
   la barra de navegación a 14 px de alto interior.
   ============================================================ */
.wrapper1637,
.main-container {
    padding-left: 40px;
    padding-right: 40px;
}

@media screen and (min-width: 1200px) {
    /* Se suma el nuevo margen al ancho máximo para que el área útil
       siga siendo la misma que definía la plantilla (1637 / 1417). */
    .wrapper1637 { max-width: 1717px; }
    .main-container { max-width: 1497px; }
}

@media screen and (max-width: 991px) {
    .wrapper1637,
    .main-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media screen and (max-width: 575px) {
    .wrapper1637,
    .main-container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Altura de la cabecera: simétrica y con aire alrededor del logotipo. */
.header-con { padding: 24px 0 !important; }

@media screen and (max-width: 991px) {
    .header-con { padding: 16px 0 !important; }
}

/* La plantilla recuadraba cada sección con un 1% lateral, lo que dejaba
   franjas claras a los lados de las bandas oscuras a sangre completa.
   El margen pasa a los contenedores interiores (arriba); las secciones
   llegan al borde. Los bloques sueltos del blog conservan su 1%. */
.home-outer-wrapper.main-box,
.header-con.main-box,
section.main-box {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ============================================================
   Página de contacto.
   Los canales reutilizan la banda oscura .genex-bio y el patrón .feat
   que ya usa la sección de péptidos; sólo se añade el estado de enlace.
   ============================================================ */
.genex-bio .feat-link {
    text-decoration: none !important;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.genex-bio .feat-link:hover { background: rgba(255, 255, 255, .05); border-color: rgba(252, 128, 95, .45); transform: translateX(4px); }
.genex-bio .feat-link i { transition: background .25s ease; }
.genex-bio .feat-link:hover i { background: rgba(252, 128, 95, .32); }
.genex-bio .feat-link strong { font-size: 16px; margin-bottom: 2px; }

/* Fotografía del laboratorio: mismo radio y sombra que las tarjetas del sitio. */
.genex-contacto-foto { border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); aspect-ratio: 4 / 5; max-width: 100%; }
.genex-contacto-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Aviso bajo el selector de línea del formulario. */
.genex-form-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: #648b9d; margin: -6px 0 16px; }
.genex-form-hint i { color: var(--genex-blue); margin-top: 3px; }

@media (max-width: 991px) {
    .genex-bio .feat-link { padding: 12px 14px; }
    .genex-contacto-foto { aspect-ratio: 16 / 10; }
}
