/*
Theme Name: Grenvíos
Theme URI: https://grenvios.com
Author: Aimet — Soluciones Digitales
Author URI: https://grenvios.com
Description: Grenvíos — Tema de envíos internacionales (documentos, paquetes y carga). Adaptación del template Logisko a la arquitectura web y SEO pillar–cluster de Grenvíos: páginas de Servicios y Destinos, SEO nativo (titles, meta, Schema.org, breadcrumbs), botón flotante de WhatsApp y widget de rastreo. Páginas y menú se auto-crean al activar.
Version: 2.21.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grenvios
Tags: logistics, transportation, shipping, business, custom-menu, featured-images, full-width-template
*/

/* ── Theme-level overrides (el diseño real vive en assets/css/*) ── */

/* Fallback de animación de entrada: si el JS tarda/no corre, nada queda oculto */
.elementor-invisible { opacity: 1 !important; transform: none !important; }
.wow { visibility: visible !important; }

/* H1 accesible/crawleable sin alterar el diseño del hero (no es cloaking:
   mismo mensaje que el slider, disponible para lectores de pantalla y Google) */
.grenvios-sr-only {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* El H1 de las páginas internas vive en el page-header (antes era h2):
   replicamos exactamente el estilo del h2 del template para no alterar el diseño */
.page-header-info h1 {
    color: var(--white-color);
    font-size: 46px; line-height: 48px;
    text-transform: capitalize; margin-bottom: 20px;
    /* Sombra suave: el título blanco se lee sobre cualquier imagen (clara u oscura) */
    text-shadow: 0 2px 12px rgba(0,0,0,.40);
}
.page-header-info h1 span {
    color: var(--primary-color);
    display: inline-block; position: relative; z-index: 1;
    /* Borde blanco MUY fino alrededor de la parte de color, para que resalte
       sobre el fondo del hero sin verse grueso (igual en todos los heros). */
    -webkit-text-stroke: 0.6px #fff;
    text-stroke: 0.6px #fff;
    paint-order: stroke fill;
    text-shadow: 0 1px 5px rgba(0,0,0,.28);
}
@media (max-width: 767px) {
    .page-header-info h1 { font-size: 32px; line-height: 42px; }
    .page-header-info h1 br { display: none; }
}

/* Contenedor base para blog/single/archive renderizados por WordPress */
.logisko-entry-content { font-size: 18px; line-height: 28px; color: var(--body-color); }
.logisko-entry-content img { max-width: 100%; height: auto; border-radius: 2px; margin: 10px 0; }
.logisko-entry-content h1,
.logisko-entry-content h2,
.logisko-entry-content h3 { margin-top: 24px; }
.logisko-pagination .page-numbers {
    display: inline-block; padding: 8px 16px; margin: 0 4px;
    background: var(--bg-grey); color: var(--heading-color); border-radius: 2px;
}
.logisko-pagination .page-numbers.current { background: var(--primary-color); color: #fff; }

/* ── Logo de marca (logo.svg = vino sobre transparente) ──
   La cabecera (.main-header) tiene fondo negro (--bg-dark) y el logo vive en la
   columna izquierda de 200px → se muestra en BLANCO (knockout). El footer es claro
   → logo en su vino original. Se fija por ANCHO para no desbordar la columna de 200px
   (la cabecera tiene overflow-x: clip). */
.main-header .site-logo img,
.sticky-header .site-logo img {
    width: 172px; height: auto; max-width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.footer-logo img { width: 180px; height: auto; max-width: 100%; }
@media (max-width: 767px) {
    .main-header .site-logo img, .sticky-header .site-logo img { width: 150px; }
}

/* ── Grenvíos — botón flotante de WhatsApp ── */
.grenvios-whatsapp {
    position: fixed; right: 24px; bottom: 24px; z-index: 9999;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25D366; color: #fff; font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: grenvios-wa-pulse 2.4s infinite;
}
.grenvios-whatsapp:hover { color: #fff; transform: scale(1.08); box-shadow: 0 10px 30px rgba(37, 211, 102, .6); }
@keyframes grenvios-wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 575px) {
    .grenvios-whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 27px; }
}

/* ── Breadcrumbs ── */
.breadcrumbs { margin-top: 14px; }
.breadcrumb-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
    list-style: none; padding: 0; margin: 0; font-size: 15px;
}
.breadcrumb-list li { display: inline-flex; align-items: center; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .55; }
.breadcrumb-list a { color: var(--primary-color); }
.breadcrumb-list span[aria-current] { opacity: .8; }

/* ── Botón outline (CTA secundario, ej. WhatsApp en destinos) ── */
.default-btn.btn-outline {
    background: transparent; border: 1px solid currentColor;
}

/* ── Widget de rastreo (Inicio + página de rastreo) ── */
.grenvios-tracking {
    background: var(--primary-color, #5e2129);
    border-radius: 6px; padding: 36px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.grenvios-tracking h2, .grenvios-tracking p { color: #fff; }
.grenvios-tracking .track-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.grenvios-tracking .track-form input {
    flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 18px;
    border: none; border-radius: 4px; font-size: 16px;
}
.grenvios-tracking .track-form button { white-space: nowrap; }

/* Botones sobre la caja de rastreo (fondo granate): en blanco para que
   resalten y no se pierdan (antes eran granate y se confundían con el fondo). */
.grenvios-tracking .default-btn { background: #fff; color: var(--primary-color, #5e2129); }
.grenvios-tracking .default-btn i { color: var(--primary-color, #5e2129); }
.grenvios-tracking .default-btn:hover { color: #fff; }
.grenvios-tracking .default-btn:hover i { color: #fff; }

/* ─────────────────────────────────────────────────────────────
 * Preloader eliminado: por seguridad, si quedara markup en caché,
 * nunca debe tapar la web.
 * ───────────────────────────────────────────────────────────── */
#preloader-wrap { display: none !important; }

/* ─────────────────────────────────────────────────────────────
 * Header — mejoras responsive (encima del CSS del template)
 * ───────────────────────────────────────────────────────────── */
.main-header { position: relative; z-index: 999; }
.main-header .container { max-width: 1240px; }

/* Header fijo al hacer scroll: sombra y fondo sólido para legibilidad */
.sticky-header.sticky-fixed-top {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.10);
    animation: grenvios-slidedown .4s ease;
}
@keyframes grenvios-slidedown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Tablet/móvil: la barra superior (teléfono, enlaces) se adapta sin desbordar */
@media (max-width: 991px) {
    .top-header { flex-wrap: wrap; row-gap: 6px; justify-content: center; text-align: center; }
    .top-header .top-left,
    .top-header .top-right { width: 100%; justify-content: center; }
    .header-social-share { justify-content: center; }
    .main-header-wapper { gap: 12px; }
    .site-logo img { max-height: 46px; width: auto; }
}

/* Móvil: oculta la barra superior secundaria para un header limpio y rápido */
@media (max-width: 767px) {
    .top-header .top-right { display: none; }
    .top-header .top-left { justify-content: center; font-size: 14px; }
    .main-header-wapper { align-items: center; }
    .menu-right-item { gap: 14px; }
    .menu-right-item .default-btn { padding: 10px 16px; font-size: 14px; }
}

/* El menú móvil cae siempre por encima de todo */
.mobile-navigation-menu { z-index: 99999; }
.mobile-menu-icon { cursor: pointer; }

/* CTA de WhatsApp dentro del menú móvil (lo inyecta el header) */
.mobile-menu-cta {
    display: block; margin: 18px 20px 0; text-align: center;
}

/* ─────────────────────────────────────────────────────────────
 * Sección de Preguntas Frecuentes por página (SEO + FAQPage schema)
 * Reutiliza el acordeón del template.
 * ───────────────────────────────────────────────────────────── */
.grenvios-faq-section { background: var(--bg-grey, #f6f7f9); }
.grenvios-faq-section .section-heading { margin-bottom: 36px; }
.grenvios-faq-section .accordion-item { margin-bottom: 16px; border-radius: 6px; overflow: hidden; }
.grenvios-faq-section .accordion-button { font-weight: 600; }

/* Bloque informativo reutilizable (features / pasos / ventajas) */
.grenvios-info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px; margin-top: 10px;
}
.grenvios-info-card {
    background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 8px;
    padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.grenvios-info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.grenvios-info-card .info-icon {
    width: 56px; height: 56px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin-bottom: 16px;
    background: rgba(94, 33, 41, .10); color: var(--primary-color, #5e2129); font-size: 24px;
}
.grenvios-info-card h3 { font-size: 20px; margin-bottom: 10px; }
.grenvios-info-card p { margin: 0; }

/* ── Tabla de tarifas / impuestos por país ── */
.grenvios-table-wrap { overflow-x: auto; margin: 22px 0 26px; -webkit-overflow-scrolling: touch; }
.grenvios-rate-table {
    width: 100%; border-collapse: collapse; min-width: 520px;
    background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; overflow: hidden;
}
.grenvios-rate-table th,
.grenvios-rate-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.07); }
.grenvios-rate-table thead th {
    background: var(--primary-color, #5e2129); color: #fff;
    font-weight: 700; font-size: 15px; letter-spacing: -.2px;
}
.grenvios-rate-table tbody tr:last-child td { border-bottom: 0; }
.grenvios-rate-table tbody tr:nth-child(even) { background: var(--bg-grey, #f6f7f9); }
.grenvios-rate-table tbody td:nth-child(2) { font-weight: 700; color: var(--primary-color, #5e2129); }

/* ── Lista de certificaciones / respaldo institucional (Nosotros) ── */
.grenvios-cert-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px;
    max-width: 900px; margin: 0 auto;
}
.grenvios-cert-list li {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 30px;
    padding: 12px 22px; font-weight: 600; margin: 0;
}
.grenvios-cert-list li i { color: var(--primary-color, #5e2129); }

/* ── Enlaces de la página 404 ── */
.grenvios-404-links {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
    margin: 18px auto 28px; max-width: 640px;
}
.grenvios-404-links li { display: inline-flex; align-items: center; gap: 6px; }
.grenvios-404-links li i { color: var(--primary-color, #5e2129); }
.grenvios-404-links a { font-weight: 600; }
.grenvios-404-links a:hover { color: var(--primary-color, #5e2129); }

/* ── Badge de reseñas de Google (testimonios) ── */
.grenvios-google-reviews { margin-top: 40px; }
.grenvios-google-badge {
    display: inline-flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid rgba(0,0,0,.10); border-radius: 40px;
    padding: 12px 26px; box-shadow: 0 10px 26px rgba(0,0,0,.07);
    font-weight: 600; color: var(--heading-color, #1a1a1a);
    transition: transform .25s ease, box-shadow .25s ease;
}
.grenvios-google-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.12); color: var(--heading-color, #1a1a1a); }
.grenvios-google-badge .fa-google { font-size: 22px; color: #4285F4; }
.grenvios-google-badge .g-stars { color: #fbbc05; letter-spacing: 1px; }
.grenvios-google-badge .g-text { font-size: 15px; }

/* ── Tarjeta de reseña estilo Google (carrusel de testimonios) ──
   Replica el formato real de Google Reseñas (Maps): avatar + nombre +
   "Local Guide · ciudad", logo G arriba a la derecha, fila de estrellas
   con la fecha al lado, y el texto de la reseña. ── */
.testimonial-carousel .swiper-slide { height: auto; }
.google-review {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60,64,67,.10), 0 6px 18px rgba(60,64,67,.05);
    padding: 22px 22px 24px;
    font-family: "DM Sans", Roboto, Arial, sans-serif;
}
.google-review .gr-top { display: flex; align-items: center; gap: 12px; }
.google-review .gr-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; flex: 0 0 auto; background: #f1f3f4;
}
.google-review .gr-id { flex: 1 1 auto; min-width: 0; }
.google-review .gr-name {
    margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3;
    color: #202124;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.google-review .gr-sub {
    font-size: 12.5px; color: #5f6368;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.google-review .gr-glogo { flex: 0 0 auto; width: 20px; height: 20px; align-self: flex-start; }
.google-review .gr-glogo svg { width: 100%; height: 100%; display: block; }
.google-review .gr-rating { display: flex; align-items: center; gap: 10px; margin: 12px 0 10px; }
.google-review .gr-stars { color: #fbbc04; font-size: 15px; letter-spacing: 1px; line-height: 1; }
.google-review .gr-date { font-size: 12.5px; color: #5f6368; }
.google-review .gr-text {
    margin: 0; color: #3c4043; font-size: 14.5px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Cabecera resumen estilo Google (sobre el carrusel de reseñas) ── */
.gr-summary {
    display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap;
    max-width: 780px; margin: 0 auto 44px;
    background: #fff; border: 1px solid #e8eaed; border-radius: 14px;
    box-shadow: 0 1px 3px rgba(60,64,67,.10), 0 8px 24px rgba(60,64,67,.05);
    padding: 22px 34px;
}
.gr-summary-brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.gr-summary .g-word { font-family: Arial, "DM Sans", sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -1px; }
.gr-summary .g-word .g-b { color: #4285F4; }
.gr-summary .g-word .g-r { color: #EA4335; }
.gr-summary .g-word .g-y { color: #FBBC05; }
.gr-summary .g-word .g-g { color: #34A853; }
.gr-summary-label { font-size: 13px; color: #5f6368; font-weight: 600; margin-top: 5px; }
.gr-summary-score { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 26px; border-left: 1px solid #e8eaed; border-right: 1px solid #e8eaed; }
.gr-summary-num { font-size: 38px; font-weight: 700; color: #fbbc04; line-height: 1; }
.gr-summary-stars { color: #fbbc04; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.gr-summary-count { font-size: 13px; color: #5f6368; }
.gr-summary-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #1a73e8; color: #fff; font-weight: 600; font-size: 14px;
    padding: 12px 24px; border-radius: 26px; transition: background .2s ease, box-shadow .2s ease;
}
.gr-summary-btn:hover { background: #1666c1; color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(26,115,232,.30); }

@media (max-width: 575px) {
    .gr-summary { gap: 20px; padding: 22px; }
    .gr-summary-score { border: 0; padding: 0; }
}

/* ── Etiquetas de grupo dentro del dropdown de Destinos (por continente) ── */
.header-menu-wrap li ul li.menu-group-label {
    display: block; padding: 12px 20px 6px; margin: 0;
    border-bottom: 0; background: transparent; cursor: default;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .6px; color: var(--primary-color, #5e2129);
}
/* La etiqueta de grupo no debe reaccionar al hover como un ítem clicable */
.header-menu-wrap li ul li.menu-group-label:hover:before,
.header-menu-wrap li ul li.menu-group-label:hover:after { content: none; }
.header-menu-wrap li ul li.menu-group-label::before,
.header-menu-wrap li ul li.menu-group-label::after { content: none; display: none; }
/* Mega-dropdown de Destinos en 2 columnas (solo desktop) */
@media (min-width: 993px) {
    .header-menu-wrap li ul.grenvios-mega-destinos {
        width: 520px;
        left: -90px;
        padding: 12px 14px 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 0;
    }
    /* Títulos de grupo (América, Europa, Asia·África) en banner granate */
    .header-menu-wrap li ul.grenvios-mega-destinos li.menu-group-label {
        grid-column: 1 / -1;
        margin: 6px 2px 8px;
        padding: 8px 14px;
        background: var(--primary-color, #5e2129);
        color: #fff;
        border-radius: 6px;
        font-size: 12px;
    }
    .header-menu-wrap li ul.grenvios-mega-destinos li.menu-group-label:first-child { margin-top: 2px; }
    .header-menu-wrap li ul.grenvios-mega-destinos li {
        padding: 0;
        border-bottom: 0;
    }
    /* Sin los rellenos animados base, para un look limpio en grid */
    .header-menu-wrap li ul.grenvios-mega-destinos li:before,
    .header-menu-wrap li ul.grenvios-mega-destinos li:after { content: none; display: none; }
    .header-menu-wrap li ul.grenvios-mega-destinos li > a {
        padding: 9px 14px; border-radius: 8px; white-space: nowrap;
        transition: background .2s ease, color .2s ease;
    }
    .header-menu-wrap li ul.grenvios-mega-destinos li > a:hover {
        background: var(--bg-grey, #f8f5f1);
        color: var(--primary-color, #5e2129);
    }
}
.mobile-navigation-menu .menu-group-label {
    display: block; padding: 12px 40px 4px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .6px; color: var(--primary-color, #5e2129);
}

/* ── Promoción del mes (Inicio, oculta por defecto) ── */
.grenvios-promo-section { padding: 22px 0; }
.grenvios-promo-banner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
    background: linear-gradient(100deg, var(--primary-color, #5e2129), var(--primary-dark, #5e1721));
    color: #fff; border-radius: 10px; padding: 26px 34px;
    box-shadow: 0 16px 40px rgba(94,33,41,.25);
}
.grenvios-promo-banner .promo-text { flex: 1 1 320px; }
.grenvios-promo-banner h2, .grenvios-promo-banner p { color: #fff; margin: 6px 0 0; }
.grenvios-promo-banner .promo-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.18); padding: 5px 14px; border-radius: 30px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.grenvios-promo-banner .default-btn { background: #fff; color: var(--primary-color, #5e2129); }

/* ── Cotizador rápido (Inicio) ── */
.grenvios-quick-quote {
    display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end;
    background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 10px;
    padding: 28px; box-shadow: 0 14px 36px rgba(0,0,0,.06); max-width: 1000px; margin: 0 auto;
}
.grenvios-quick-quote .qq-field { flex: 1 1 180px; display: flex; flex-direction: column; }
.grenvios-quick-quote label { font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--heading-color, #1a1a1a); }
.grenvios-quick-quote select,
.grenvios-quick-quote input {
    height: 52px; padding: 0 16px; border: 1px solid var(--grey-color, #ddd);
    border-radius: 6px; font-size: 15px; background: #fff; width: 100%;
}
.grenvios-quick-quote .qq-submit { flex: 1 1 240px; }
.grenvios-quick-quote .qq-submit .default-btn { width: 100%; height: 52px; }
@media (max-width: 575px) { .grenvios-quick-quote { padding: 20px; } }

/* ── Filtro de categorías del blog ── */
.blog-filter-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    list-style: none; padding: 0; margin: 0;
}
.blog-filter-list a {
    display: inline-block; padding: 9px 20px; border-radius: 30px;
    background: var(--bg-grey, #f6f7f9); color: var(--heading-color, #1a1a1a);
    font-weight: 600; font-size: 15px; border: 1px solid transparent;
    transition: all .25s ease;
}
.blog-filter-list a span { font-weight: 400; opacity: .65; }
.blog-filter-list a:hover { border-color: var(--primary-color, #5e2129); color: var(--primary-color, #5e2129); }
.blog-filter-list a.active { background: var(--primary-color, #5e2129); color: #fff; }
.blog-filter-list a.active span { opacity: .85; }

/* ─────────────────────────────────────────────────────────────
 * Cursor personalizado eliminado (el punto que seguía al ratón)
 * ───────────────────────────────────────────────────────────── */
.dl-cursor { display: none !important; }

/* ─────────────────────────────────────────────────────────────
 * Botón "subir arriba": a la IZQUIERDA para no superponerse con el
 * botón flotante de WhatsApp (que va abajo a la derecha).
 * ───────────────────────────────────────────────────────────── */
#scrollup { left: 24px; right: auto !important; bottom: 28px; }
@media (max-width: 575px) {
    #scrollup { left: 16px; bottom: 84px; width: 42px; height: 42px; }
}

/* ─────────────────────────────────────────────────────────────
 * RESPONSIVE INTEGRAL — todas las páginas, todos los dispositivos
 * ───────────────────────────────────────────────────────────── */

/* Nunca permitir scroll horizontal por desbordes */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

/* Icono del menú (hamburguesa) bien visible y táctil */
.mobile-menu-icon { -webkit-tap-highlight-color: transparent; }
.mobile-menu-icon.menu-open i:before { content: "\f00d"; } /* cambia a X al abrir (Font Awesome) */

/* El submenú móvil clonado: items cómodos para el dedo */
@media (max-width: 992px) {
    .mobile-navigation-menu { width: 320px; max-width: 88%; padding-top: 80px; overflow-y: auto; }
    .mobile-navigation-menu ul li > a { padding: 14px 30px; }
    .mobile-navigation-menu li li > a { padding: 12px 30px 12px 45px; }
    /* CTAs Cotizar/WhatsApp dentro del menú móvil */
    .mobile-menu-cta { margin: 14px 24px 0; }
    .mobile-menu-cta + .mobile-menu-cta { margin-top: 10px; }
}

/* Tablet / móvil grande */
@media (max-width: 991px) {
    section.padding, .padding { padding-top: 70px; padding-bottom: 70px; }
    .padding-bottom { padding-bottom: 70px; }
    .section-heading h2, .section-heading-wrap h2 { font-size: 30px; line-height: 1.25; }
    .section-heading br, .promo-content br, .feature-tab-content br { display: none; }
    /* rejillas de tarjetas informativas a 2/1 columnas */
    .grenvios-info-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    /* tablas (destinos) con scroll horizontal suave */
    .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* Móvil */
@media (max-width: 767px) {
    .container { padding-left: 18px; padding-right: 18px; }
    section.padding, .padding { padding-top: 56px; padding-bottom: 56px; }
    .padding-bottom { padding-bottom: 56px; }
    .section-heading h2, .section-heading-wrap h2 { font-size: 26px; }
    h2 { font-size: 26px; line-height: 1.3; }

    /* Hero/slider del inicio: alturas y textos adaptados */
    .slider-caption.big { font-size: 30px !important; line-height: 1.2 !important; }
    .slider-caption.medium { font-size: 16px !important; }
    .slider-caption.small { font-size: 15px !important; }
    .slider-caption br { display: none; }

    /* Botones: cómodos al tacto, sin desbordar */
    .default-btn { padding: 12px 22px; font-size: 15px; }
    .btn-group { gap: 14px; }
    .btn-group .call-info { margin-top: 6px; }

    /* Formularios (cotizar / contacto) a una columna */
    .quote-form-group, .contact-form-group { grid-template-columns: 1fr !important; }
    .grenvios-cotizar .quote-form .col-md-6 { width: 100%; }

    /* Footer centrado y ordenado */
    .footer-section .footer-widget { text-align: center; }
    .footer-section .social-share, .footer-section .blog-filter-list { justify-content: center; }
    .footer-contact-info li p { justify-content: center; }

    /* CTA con imagen de fondo (hombre): que no tape el texto */
    .cta-men { display: none; }

    /* Contadores y procesos centrados */
    .counter-wrap, .process-wrapper { text-align: center; }

    /* Mapa de contacto con altura razonable */
    .map-wrapper iframe { height: 280px; }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .section-heading h2, .section-heading-wrap h2, h2 { font-size: 23px; }
    .slider-caption.big { font-size: 25px !important; }
    .page-header-info h1 { font-size: 27px; line-height: 34px; }
    .grenvios-info-grid { grid-template-columns: 1fr; }
    .breadcrumb-list { font-size: 13px; }
    .blog-filter-list a { padding: 7px 14px; font-size: 14px; }
}

/* ─────────────────────────────────────────────────────────────
 * FIX página Cotizar: la clase .quote-form del template es
 * position:absolute con ancho fijo (pensada para flotar sobre un
 * hero). En /cotizar/ eso descolocaba el formulario y "rompía" la
 * página. Aquí se neutraliza SOLO en cotizar (clase de body por slug).
 * ───────────────────────────────────────────────────────────── */
.grenvios-cotizar .quote-section {
    background-image: none;
    background-color: var(--bg-grey, #f6f7f9);
}
.grenvios-cotizar .quote-form-wrap { position: relative; }
.grenvios-cotizar .quote-form {
    position: static; width: 100%; right: auto; top: auto;
    background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.10);
    border-radius: 8px; padding: 36px;
}
.grenvios-cotizar .quote-form .form-control {
    height: 50px; border: 1px solid #eee; border-radius: 4px;
    width: 100%; color: var(--heading-color);
}
.grenvios-cotizar .quote-form textarea.form-control { height: auto; }
.grenvios-cotizar .quote-form .form-field { margin-bottom: 18px; }
.grenvios-cotizar .quote-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.grenvios-cotizar .quote-aside { margin-top: 10px; }
@media (max-width: 767px) {
    .grenvios-cotizar .quote-form { padding: 24px 18px; }
}

/* ═══════════════════════════════════════════════
   Seguimiento de envíos — resultado (stepper UX)
   Paleta: vino #5e2129 · verde entregado #1e7e34 · ámbar atención #b9770e
═══════════════════════════════════════════════ */
.grenvios-track-result { margin-top: 28px; }
.gv-track-card {
    background: #fff; border: 1px solid #eee; border-radius: 18px;
    padding: 26px 26px 34px; box-shadow: 0 16px 44px rgba(12,12,12,.10); text-align: left;
    --gv-accent: #5e2129; --gv-accent2: #8a3a42;
}
.gv-track-card.gv-done  { --gv-accent: #1e7e34; --gv-accent2: #34c759; }
.gv-track-card.gv-warn  { --gv-accent: #b9770e; --gv-accent2: #e0a52e; }
.gv-track-card.gv-track-loading { text-align: center; color: #5e2129; font-weight: 600; padding: 30px; }

/* Cabecera: ícono grande + estado + % */
.gv-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gv-hero-ico {
    flex: 0 0 auto; width: 66px; height: 66px; border-radius: 18px;
    background: var(--gv-accent); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; box-shadow: 0 10px 22px rgba(94,33,41,.28);
}
.gv-track-card.gv-done .gv-hero-ico { box-shadow: 0 10px 22px rgba(30,126,52,.28); }
.gv-meta { flex: 1 1 auto; min-width: 190px; }
.gv-badge {
    display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: var(--gv-accent); background: rgba(94,33,41,.08);
    padding: 4px 12px; border-radius: 999px;
}
.gv-track-card.gv-done .gv-badge { background: rgba(30,126,52,.10); }
.gv-track-card.gv-warn .gv-badge { background: rgba(185,119,14,.12); }
.gv-cur { font-size: 1.4rem; font-weight: 800; color: #0c0c0c; margin-top: 7px; line-height: 1.2; }
.gv-sub { font-size: .85rem; color: #7a7a7a; margin-top: 5px; }
.gv-sub strong { color: #0c0c0c; }
.gv-pct { flex: 0 0 auto; text-align: center; margin-left: auto; }
.gv-pct span { display: block; font-size: 1.7rem; font-weight: 800; color: var(--gv-accent); line-height: 1; }
.gv-pct small { font-size: .62rem; color: #9a9a9a; text-transform: uppercase; letter-spacing: .06em; }
.gv-notfound .gv-hero-ico { background: #c0392b; box-shadow: none; }
.gv-notfound .gv-sub a { color: #5e2129; text-decoration: underline; }

/* Stepper de 7 pasos */
.gv-stepper { list-style: none; display: flex; padding: 0; margin: 34px 0 0; position: relative; }
.gv-stepper::before { content: ''; position: absolute; top: 23px; left: 23px; right: 23px; height: 4px; background: #ececec; border-radius: 4px; }
.gv-stepper::after  { content: ''; position: absolute; top: 23px; left: 23px; height: 4px; width: var(--gv-fill, 0%);
    max-width: calc(100% - 46px); background: linear-gradient(90deg, var(--gv-accent), var(--gv-accent2));
    border-radius: 4px; transition: width 1.1s cubic-bezier(.4,0,.2,1); }
.gv-step { flex: 1 1 0; min-width: 0; text-align: center; position: relative; z-index: 1;
    opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.gv-step.in { opacity: 1; transform: none; }
.gv-node {
    width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 3px solid #e6e6e6;
    color: #c2b6b8; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
    transition: background .3s, border-color .3s, color .3s;
}
.gv-name { display: block; font-size: .73rem; color: #9a9a9a; margin-top: 11px; line-height: 1.25; padding: 0 4px; }
.gv-step.done .gv-node,
.gv-step.current .gv-node { background: var(--gv-accent); border-color: var(--gv-accent); color: #fff; }
.gv-step.current .gv-node { animation: gvPulse 1.7s infinite; }
.gv-step.done .gv-name,
.gv-step.current .gv-name { color: #0c0c0c; font-weight: 700; }
.gv-step.current .gv-name { color: var(--gv-accent); }
@keyframes gvPulse {
    0%,100% { box-shadow: 0 0 0 6px rgba(94,33,41,.16); }
    50%     { box-shadow: 0 0 0 11px rgba(94,33,41,.04); }
}
.gv-track-card.gv-done .gv-step.current .gv-node { animation: none; box-shadow: 0 0 0 6px rgba(30,126,52,.16); }

/* Móvil: línea vertical (timeline) */
@media (max-width: 640px) {
    .gv-pct { margin-left: 0; }
    .gv-stepper { flex-direction: column; margin-top: 22px; }
    .gv-stepper::before { left: 23px; right: auto; top: 23px; bottom: 23px; width: 4px; height: auto; }
    .gv-stepper::after  { left: 23px; top: 23px; width: 4px; height: var(--gv-fill, 0%); max-width: none; }
    .gv-step { display: flex; align-items: center; gap: 14px; text-align: left; padding: 9px 0; }
    .gv-name { margin-top: 0; font-size: .9rem; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICIOS · diseño UX/UI unificado (todas las páginas de servicio)
   Estructura tipo "artículo en tarjeta" con jerarquía clara, chips de
   icono en las listas y CTA destacado. Mismo diseño para los 4 servicios.
   ════════════════════════════════════════════════════════════════ */
.blog-section .service-details {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0,0,0,.05);
    padding: 50px 50px 44px;
    max-width: 940px;
    margin: 0 auto;
}
.service-details > h2 {
    position: relative;
    font-size: 30px;
    line-height: 1.25;
    margin: 40px 0 16px;
    padding-left: 20px;
}
.service-details > h2:first-child { margin-top: 0; }
.service-details > h2::before {
    content: "";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 5px; border-radius: 4px;
    background: var(--primary-color, #5e2129);
}
.service-details p {
    color: var(--body-color, #666);
    font-size: 16.5px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.service-details > p:first-of-type {
    font-size: 18px;
    color: #3c4043;
}
/* Bloques de características → tarjeta suave con chips de icono */
.service-details .service-features {
    background: var(--bg-grey, #f8f5f1);
    border-radius: 14px;
    padding: 26px 30px;
    gap: 30px;
    align-items: flex-start;
}
.service-details .check-list li {
    align-items: flex-start;
    line-height: 1.6;
}
.service-details .check-list li:not(:last-of-type) { margin-bottom: 14px; }
.service-details .check-list li i {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(94,33,41,.10);
    color: var(--primary-color, #5e2129);
    border-radius: 50%;
    font-size: 13px;
    margin-right: 12px;
    margin-top: 1px;
}
.service-details .post-details-gallery img { border-radius: 12px; }
/* CTA final destacado */
.service-details .service-cta {
    margin-top: 44px;
    padding: 36px 30px;
    border-radius: 14px;
    background: var(--bg-grey, #f8f5f1);
    text-align: center;
}
.service-details .service-cta .default-btn { margin: 6px; }

@media (max-width: 767px) {
    .blog-section .service-details { padding: 30px 22px 28px; border-radius: 14px; }
    .service-details > h2 { font-size: 24px; }
    .service-details .service-features { padding: 22px; }
}

/* ════════════════════════════════════════════════════════════════
   ZONAS / DESTINOS · diseño UX/UI propio (distinto al de servicios)
   Datos rápidos en tarjetas con icono + grid "qué puedes enviar" +
   bloque de aviso. Pensado para escaneo rápido y SEO local.
   ════════════════════════════════════════════════════════════════ */
.dest-section .dest-intro {
    max-width: 820px; margin: 0 auto 38px; text-align: center;
}
.dest-section .dest-lead {
    font-size: 18px; color: var(--body-color, #666); line-height: 1.8; margin: 0;
}
/* Datos rápidos */
.dest-facts {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px;
}
.dest-fact {
    background: #fff; border: 1px solid #ececec; border-radius: 16px;
    box-shadow: 0 16px 44px rgba(0,0,0,.05);
    padding: 32px 26px; text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.dest-fact:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0,0,0,.10); }
.dest-fact-ic {
    width: 66px; height: 66px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(94,33,41,.10); color: var(--primary-color, #5e2129);
    font-size: 26px; margin-bottom: 18px;
}
.dest-fact-k {
    display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px;
    color: #8a8a8a; font-weight: 700; margin-bottom: 6px;
}
.dest-fact-v { display: block; font-size: 18px; font-weight: 700; color: var(--heading-color, #0c0c0c); line-height: 1.4; }
.dest-cta-top { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
/* Qué puedes enviar */
.dest-send { max-width: 1040px; margin: 0 auto 56px; text-align: center; }
.dest-send > h2 { margin-bottom: 14px; }
.dest-send > p { max-width: 760px; margin: 0 auto 32px; color: var(--body-color, #666); line-height: 1.8; }
.dest-send-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest-send-card {
    background: var(--bg-grey, #f8f5f1); border-radius: 14px; padding: 30px 20px;
    transition: var(--transition, all .3s ease);
}
.dest-send-card:hover { background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.08); transform: translateY(-4px); }
.dest-send-card i { font-size: 28px; color: var(--primary-color, #5e2129); margin-bottom: 14px; display: block; }
.dest-send-card p { margin: 0; font-weight: 600; color: var(--heading-color, #0c0c0c); font-size: 15px; line-height: 1.5; }
/* Aviso / información importante */
.dest-note {
    display: flex; gap: 22px; align-items: flex-start; max-width: 1040px; margin: 0 auto;
    background: var(--bg-grey, #f8f5f1); border-left: 5px solid var(--primary-color, #5e2129);
    border-radius: 14px; padding: 34px 36px;
}
.dest-note-ic { flex: 0 0 auto; font-size: 30px; color: var(--primary-color, #5e2129); line-height: 1; margin-top: 4px; }
.dest-note h2 { margin-top: 0; }
.dest-note p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
    .dest-facts { grid-template-columns: 1fr; }
    .dest-send-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .dest-send-grid { grid-template-columns: 1fr; }
    .dest-note { flex-direction: column; gap: 14px; padding: 26px 22px; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICIOS · diseño UX/UI tipo plantilla (icon-driven, secciones)
   Clases srv-* — usado en las páginas de servicio (documentos, etc.)
   ════════════════════════════════════════════════════════════════ */
.srv-lead { max-width: 860px; margin: 0 auto; }
.srv-lead h2 { font-size: 34px; line-height: 1.2; margin-bottom: 16px; }
.srv-lead p { color: var(--body-color, #666); line-height: 1.8; margin-bottom: 14px; }

.srv-head { max-width: 760px; margin: 0 auto 46px; }
.srv-head h2 { font-size: 32px; line-height: 1.2; margin-bottom: 14px; }
.srv-head p { color: var(--body-color, #666); line-height: 1.75; margin: 0; }

/* 6 tarjetas con icono */
.srv-cards-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.srv-card {
    background: #fff; border: 1px solid #ececec; border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0,0,0,.05);
    padding: 34px 26px; text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.srv-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0,0,0,.10); }
.srv-card-ic {
    width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(94,33,41,.08); color: var(--primary-color, #5e2129); font-size: 30px;
}
.srv-card h3 { font-size: 18px; line-height: 1.35; margin: 0; }

/* Banda de 3 columnas */
.srv-trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.srv-panel {
    background: #fff; border: 1px solid #ececec; border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.05); padding: 34px 30px; height: 100%;
}
.srv-panel-title { font-size: 22px; text-align: center; margin: 0 0 26px; }

/* Pasos numerados con línea conectora */
.srv-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.srv-steps li { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.srv-steps li:last-child { padding-bottom: 0; }
.srv-steps li:not(:last-child)::before {
    content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px;
    width: 2px; background: repeating-linear-gradient(to bottom, #d9c9cb 0 5px, transparent 5px 10px);
}
.srv-step-n {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-color, #5e2129); color: #fff; font-weight: 700; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center; z-index: 1;
}
.srv-step-ic { flex: 0 0 auto; color: var(--primary-color, #5e2129); font-size: 18px; margin-top: 6px; }
.srv-step-tx h4 { font-size: 16px; margin: 4px 0 4px; }
.srv-step-tx p { font-size: 14.5px; color: var(--body-color, #666); line-height: 1.55; margin: 0; }

/* Panel de restricciones */
.srv-warn { background: #fffdf5; border-color: #f3e6c4; }
.srv-warn-ic { text-align: center; color: #f0a020; font-size: 38px; margin-bottom: 14px; }
.srv-warn-intro { text-align: center; color: var(--heading-color, #0c0c0c); font-weight: 600; margin-bottom: 18px; }
.srv-no-list { list-style: none; margin: 0 0 22px; padding: 0; max-width: 260px; margin-left: auto; margin-right: auto; }
.srv-no-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--heading-color, #0c0c0c); margin-bottom: 12px; }
.srv-no-list li i { color: #e23b3b; font-size: 16px; }
.srv-warn .default-btn { display: block; text-align: center; }

/* Tiempos de entrega */
.srv-times { list-style: none; margin: 0; padding: 0; }
.srv-times li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f0eae6; }
.srv-times li:last-child { border-bottom: 0; }
.srv-time-ic {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
    background: rgba(94,33,41,.08); color: var(--primary-color, #5e2129); font-size: 22px;
    display: inline-flex; align-items: center; justify-content: center;
}
.srv-time-v { font-weight: 700; color: var(--heading-color, #0c0c0c); font-size: 16px; }
.srv-time-foot { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--body-color, #666); font-weight: 600; font-size: 14.5px; }
.srv-time-foot i { color: var(--primary-color, #5e2129); }

/* Destinos + Validez legal (2 columnas) */
.srv-two-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.srv-dest-card {
    background: #fff; border: 1px solid #ececec; border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.05); padding: 38px 36px;
    background-image: url(assets/img/map-pattern.png); background-repeat: no-repeat;
    background-position: right -40px bottom -30px; background-size: 55%;
}
.srv-dest-card h2 { font-size: 24px; margin-bottom: 12px; }
.srv-dest-card > p { color: var(--body-color, #666); line-height: 1.7; margin-bottom: 20px; }
.srv-dest-list { list-style: none; margin: 0 0 24px; padding: 0; }
.srv-dest-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.srv-dest-list li i { color: var(--primary-color, #5e2129); }
.srv-dest-list li a { color: var(--primary-color, #5e2129); text-decoration: underline; }

.srv-legal-card {
    border-radius: 18px; padding: 38px 36px; color: #fff;
    background: linear-gradient(120deg, var(--primary-color, #5e2129), var(--primary-dark, #481920));
    box-shadow: 0 18px 44px rgba(94,33,41,.25);
}
.srv-legal-card h2 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.srv-legal-card > p { color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 24px; }
.srv-legal-card > p a { color: #fff; text-decoration: underline; }
.srv-legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.srv-legal-item { text-align: center; }
.srv-legal-item i { font-size: 26px; display: block; margin-bottom: 10px; color: #fff; }
.srv-legal-item span { font-size: 13.5px; font-weight: 600; line-height: 1.4; display: block; }
.btn-light { background: #fff !important; color: var(--primary-color, #5e2129) !important; }
.btn-light:hover { background: #f1f1f1 !important; color: var(--primary-color, #5e2129) !important; }

/* Tira de garantías */
.srv-features { padding: 40px 0; }
.srv-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.srv-feature { display: flex; gap: 14px; align-items: flex-start; }
.srv-feature i {
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(94,33,41,.08); color: var(--primary-color, #5e2129); font-size: 20px;
    display: inline-flex; align-items: center; justify-content: center;
}
.srv-feature h4 { font-size: 16px; margin: 2px 0 4px; }
.srv-feature p { font-size: 13.5px; color: var(--body-color, #666); line-height: 1.5; margin: 0; }

.srv-cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 991px) {
    .srv-cards-6 { grid-template-columns: repeat(2, 1fr); }
    .srv-trio-grid { grid-template-columns: 1fr; }
    .srv-two-grid { grid-template-columns: 1fr; }
    .srv-features-grid { grid-template-columns: repeat(2, 1fr); }
    .srv-cta-actions { justify-content: center; margin-top: 22px; }
}
@media (max-width: 575px) {
    .srv-cards-6 { grid-template-columns: 1fr; }
    .srv-features-grid { grid-template-columns: 1fr; }
    .srv-legal-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   DESTINOS · secciones extra de la plantilla (cómo funciona, por qué)
   ════════════════════════════════════════════════════════════════ */
.dest-proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dest-proc-step { text-align: center; position: relative; padding: 0 8px; }
.dest-proc-step:not(:last-child)::after {
    content: "\f105"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: -16px; top: 18px; color: #cbb8ba; font-size: 22px;
}
.dest-proc-n {
    width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 14px;
    background: var(--primary-color, #5e2129); color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.dest-proc-ic { display: block; color: var(--primary-color, #5e2129); font-size: 26px; margin-bottom: 12px; }
.dest-proc-step h4 { font-size: 16px; margin: 0 0 6px; }
.dest-proc-step p { font-size: 13.5px; color: var(--body-color, #666); line-height: 1.5; margin: 0; }

.dest-why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.dest-why-item {
    text-align: center; padding: 28px 18px; border-radius: 16px;
    transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.dest-why-item:hover { background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.07); transform: translateY(-4px); }
.dest-why-item i {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px;
    background: rgba(94,33,41,.08); color: var(--primary-color, #5e2129); font-size: 24px;
    display: flex; align-items: center; justify-content: center;
}
.dest-why-item h4 { font-size: 15px; line-height: 1.4; margin: 0; }

@media (max-width: 991px) {
    .dest-proc { grid-template-columns: repeat(2, 1fr); }
    .dest-proc-step:nth-child(2)::after { content: none; }
    .dest-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .dest-proc { grid-template-columns: 1fr; }
    .dest-proc-step::after { content: none !important; }
    .dest-why { grid-template-columns: 1fr; }
}

/* Nota bajo la tabla de tarifas (páginas de servicio) */
.srv-table-note { text-align: center; max-width: 880px; margin: 26px auto 0; color: var(--body-color, #666); line-height: 1.75; }

/* Variantes de los componentes de servicio */
.srv-cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
.srv-panel-wide { max-width: 900px; margin: 0 auto; }
.srv-panel-wide .check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
@media (max-width: 767px) {
    .srv-cards-2 { grid-template-columns: 1fr; }
    .srv-panel-wide .check-list { grid-template-columns: 1fr; }
}

/* ── Rastreo · tarjetas "Conoce cada etapa de tu paquete" (estados) ── */
.rast-state-card {
    background: #fff; border: 1px solid #ececec; border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0,0,0,.05);
    padding: 34px 26px; text-align: center; height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}
.rast-state-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0,0,0,.10); }
.rast-state-ic {
    width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(94,33,41,.08); color: var(--primary-color, #5e2129); font-size: 28px;
}
.rast-state-card h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.rast-state-card p { font-size: 14.5px; color: var(--body-color, #666); line-height: 1.6; margin: 0; }

/* ════════════════════════════════════════════════════════════════
   BLOG · filtro de categorías + tarjetas de entradas + paginación
   ════════════════════════════════════════════════════════════════ */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.blog-filter-btn {
    display: inline-block; padding: 9px 20px; border-radius: 30px;
    background: var(--bg-grey, #f8f5f1); color: var(--heading-color, #0c0c0c);
    font-weight: 600; font-size: 14.5px; transition: all .25s ease; text-decoration: none;
}
.blog-filter-btn:hover, .blog-filter-btn.is-active { background: var(--primary-color, #5e2129); color: #fff; }

.blog-card {
    background: #fff; border: 1px solid #ececec; border-radius: 16px; overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,.05); height: 100%;
    display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0,0,0,.10); }
.blog-card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #f1f1f1; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }
.blog-card-cat {
    position: absolute; left: 14px; top: 14px; background: var(--primary-color, #5e2129); color: #fff;
    font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 20px; text-decoration: none;
}
.blog-card-cat:hover { background: var(--primary-dark, #481920); color: #fff; }
.blog-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card-meta { display: flex; gap: 18px; font-size: 13px; color: #8a8a8a; margin-bottom: 10px; }
.blog-card-meta i { color: var(--primary-color, #5e2129); margin-right: 4px; }
.blog-card-title { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.blog-card-title a { color: var(--heading-color, #0c0c0c); }
.blog-card-title a:hover { color: var(--primary-color, #5e2129); }
.blog-card-body p { font-size: 14.5px; color: var(--body-color, #666); line-height: 1.6; margin: 0 0 16px; }
.blog-card .read-more { margin-top: auto; color: var(--primary-color, #5e2129); font-weight: 700; text-decoration: none; }
.blog-card .read-more i { font-size: 12px; transition: transform .25s ease; }
.blog-card .read-more:hover i { transform: translateX(4px); }

.logisko-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 12px; margin: 0 4px; border-radius: 8px;
    background: var(--bg-grey, #f8f5f1); color: var(--heading-color, #0c0c0c); font-weight: 600;
}
.logisko-pagination .page-numbers.current,
.logisko-pagination .page-numbers:hover { background: var(--primary-color, #5e2129); color: #fff; }
