

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

    :root {
      --coral:       #C8321B;
      --coral-dark:  #9C2412;
      --dark:        #1C1C1E;
      --footer-bg:   #DB812D;
      --gray:        #6B7280;
      --gray-light:  #FFFFFF;
      --gray-border: #DCDAD3;
      --white:       #FFFFFF;
      --gold:        #F59E0B;
    }

    html { font-family: 'Satoshi', ui-sans-serif, system-ui, sans-serif; }
    body { background: #FFFFFF; color: var(--dark); max-width: 430px; margin: 0 auto; overflow-x: hidden; }

    /* ═══ HEADER ═══ */
    .header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; background: #FFFFFF; border-bottom: 1px solid var(--gray-border); }
    .header-logo { display: flex; align-items: center; text-decoration: none; }
    .header-logo img { height: 51px; width: auto; background: transparent; }
    .hamburger-btn { background: none; border: none; cursor: pointer; padding: 8px; font-size: 27px; color: var(--dark); line-height: 1; }

    /* ═══ NAV ═══ */
    .nav-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
    .nav-overlay.open { opacity: 1; pointer-events: all; }
    .nav-drawer { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: var(--white); padding: 20px; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
    .nav-overlay.open .nav-drawer { transform: translateX(0); }
    .nav-close { align-self: flex-end; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--dark); padding: 6px; margin-bottom: 12px; }
    .nav-link { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--gray-border); }
    .nav-link:last-child { border-bottom: none; }

    /* ═══ PAGE HEADER ═══ */
    .page-header { display: flex; align-items: center; padding: 0 20px; height: 52px; background: #FFFFFF; border-bottom: 2px solid #C8321B; }
    .page-header-back { width: 36px; background: none; border: none; font-size: 18px; color: #C8321B; cursor: pointer; display: flex; align-items: center; flex-shrink: 0; }
    .page-header-title { flex: 1; text-align: center; font-size: 15px; font-weight: 700; color: var(--dark); padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .page-header-spacer { width: 36px; flex-shrink: 0; }

    /* ═══ HERO ═══ */
    .hero-editorial { position: relative; height: 340px; overflow: hidden; margin-bottom: 0; }
    .hero-editorial-bg { position: absolute; inset: 0; overflow: hidden; }
    .hero-editorial-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .hero-editorial-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.08) 50%, transparent 100%); }
    .hero-editorial-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px; color: var(--white); }
    .hero-headline { font-size: 24px; font-weight: 900; line-height: 1.2; letter-spacing: -.4px; margin-bottom: 8px; }
    .hero-editorial-subtext { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.55; margin-top: 6px; margin-bottom: 0; }

    /* ═══ SECCIONES ═══ */
    .section-block { padding: 0 0 0; }
    .section-block + .section-block { margin-top: 28px; }
    .section-block:last-of-type { padding-bottom: 40px; }
    #secFamilia { margin-top: 28px; }

    .section-head {
      background: #FFFFFF;
      padding: 12px 20px 10px;
      margin-bottom: 20px;
      border-bottom: 2px solid #C8321B;
      position: relative;
    }
    .section-head::after {
      content: '';
      position: absolute;
      bottom: -10px; left: 20px;
      width: 0; height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid #C8321B;
    }
    .section-eyebrow {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 800; letter-spacing: 2px;
      text-transform: uppercase; color: var(--coral);
      margin-bottom: 6px;
    }
    .section-title { font-size: 22px; font-weight: 900; color: var(--dark); line-height: 1.2; letter-spacing: -.4px; }

    /* ═══ FILTROS PILLS ═══ */
    .filter-row {
      display: flex; gap: 8px;
      overflow-x: auto; scrollbar-width: none;
      padding: 0 20px 4px; margin-bottom: 20px;
      -webkit-overflow-scrolling: touch;
    }
    .filter-row::-webkit-scrollbar { display: none; }
    .filter-pill {
      flex-shrink: 0;
      padding: 7px 16px;
      border-radius: 0;
      border: 1.5px solid var(--gray-border);
      background: var(--white);
      color: var(--dark);
      font-size: 13px; font-weight: 600;
      cursor: pointer; transition: border-color .2s, background .2s, color .2s;
      white-space: nowrap;
    }
    .filter-pill.active { background: var(--coral); border-color: var(--coral); color: var(--white); }
    .filter-pill:not(.active):hover { border-color: var(--coral-dark); color: var(--coral-dark); }

    /* ═══ CARRUSEL HORIZONTAL DE CARDS ═══ */
    .art-scroll-wrap { position: relative; display: block; padding: 0 20px; }
    .art-scroll {
      display: flex; gap: 12px;
      overflow-x: auto; scrollbar-width: none;
      padding: 4px 0 12px;
      scroll-behavior: smooth;
    }
    .art-scroll::-webkit-scrollbar { display: none; }
    .art-btn {
      display: flex; align-items: center; justify-content: center;
      position: absolute; z-index: 10;
      top: 50%; transform: translateY(-50%);
      width: 28px; height: 28px;
      border-radius: 50%;
      background: rgba(255,255,255,.95); border: 1.5px solid var(--gray-border);
      box-shadow: 0 2px 8px rgba(0,0,0,.14);
      font-size: 11px; color: var(--dark);
      cursor: pointer; transition: background .2s, color .2s, opacity .2s;
    }
    .art-btn:first-child { left: 0; }
    .art-btn:last-child  { right: 0; }
    .art-btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
    .art-btn:disabled { opacity: .3; pointer-events: none; }

    /* ═══ ARTICLE CARD ═══ */
    .article-card {
      flex: 0 0 232px;
      background: #FFFFFF;
      border: 1px solid #C8321B;
      border-radius: 0;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,.04);
      transition: box-shadow .2s;
    }
    .article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); }
    .article-img {
      width: 100%; height: 136px;
      position: relative; overflow: hidden;
    }
    .article-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .article-cat-badge {
      position: absolute; top: 12px; left: 12px;
      padding: 4px 10px; border-radius: 0;
      font-size: 10px; font-weight: 800; letter-spacing: 1px;
      text-transform: uppercase; color: var(--white);
      background: rgba(200,50,27,.85);
      backdrop-filter: blur(6px);
    }
    .badge-perros-ninos { background: rgba(59,130,246,.85); }
    .badge-primer-perro { background: rgba(16,185,129,.85); }
    .badge-bebe         { background: rgba(236,72,153,.85); }
    .badge-mudanzas     { background: rgba(249,115,22,.85); }
    .badge-duelo        { background: rgba(107,114,128,.85); }
    .badge-cachorro     { background: rgba(245,158,11,.85); }
    .badge-senior       { background: rgba(139,92,246,.85); }
    .badge-viajar       { background: rgba(14,165,233,.85); }
    .badge-razas        { background: rgba(20,184,166,.85); }
    .article-ad-badge { background: #F5A623; }
    .article-card-ad { display: block; text-decoration: none; color: inherit; }
    .ad-card-distinct {
      background: linear-gradient(160deg, #eef6ff 0%, #dbeafe 100%);
      border: 1.5px dashed #93c5fd !important;
      display: flex; flex-direction: column; align-items: center;
      padding: 16px 14px; box-sizing: border-box; text-align: center;
    }
    .ad-distinct-tag {
      align-self: flex-start;
      background: #F5A623; color: #fff; font-size: 10px; font-weight: 800;
      letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; margin-bottom: 14px;
    }
    .ad-distinct-logo { width: 100%; height: 64px; object-fit: contain; margin-bottom: 12px; }
    .ad-distinct-title { font-size: 13px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 14px; }
    .ad-distinct-cta {
      margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 700; color: #1D4ED8;
    }

    .article-body { padding: 14px 16px 16px; }
    .article-meta {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: var(--gray);
      margin-bottom: 7px; flex-wrap: wrap;
    }
    .article-meta i { font-size: 11px; }
    .article-meta-dot { width: 3px; height: 3px; background: var(--gray-border); border-radius: 50%; flex-shrink: 0; }
    .article-title { font-size: 14px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 6px; }
    .article-footer {
      display: flex; align-items: center; justify-content: flex-end;
      border-top: 1px solid var(--gray-border); padding-top: 11px;
    }
    .btn-read-more {
      display: flex; align-items: center; gap: 5px;
      font-size: 12px; font-weight: 700; color: var(--coral);
      background: none; border: none; cursor: pointer;
      text-decoration: none; transition: gap .2s;
    }
    .btn-read-more:hover { gap: 8px; }

    /* ═══ ESPACIO PUBLICITARIO ═══ */
    .ad-slot-tag { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #b8895a; }

    /* ═══ BOTTOM NAV ═══ */
    .bottom-nav { display: flex; border-top: 1px solid var(--gray-border); background: var(--white); }
    .bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 4px; text-decoration: none; color: var(--gray); font-size: 10px; font-weight: 500; transition: color .2s; }
    .bottom-nav-item i { font-size: 20px; }
    .bottom-nav-item:hover, .bottom-nav-item.active { color: var(--coral); }
    .bottom-nav-item.active { font-weight: 700; }

    /* ═══ FOOTER ═══ */
    footer { background: var(--footer-bg); color: rgba(255,255,255,.65); padding: 40px 20px 28px; }
    .footer-logo-block { margin-bottom: 32px; }
    .footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 6px; display: block; }
    .footer-tagline { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.5; }
    .footer-links-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 10px; margin-bottom: 32px; }
    .footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
    .footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; padding: 3px 0; line-height: 1.6; transition: color .2s; }
    .footer-col a:hover { color: var(--white); }
    .footer-social-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
    .footer-social-icons { display: flex; gap: 12px; margin-bottom: 28px; }
    .footer-social-icons a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 16px; text-decoration: none; transition: border-color .2s, color .2s; }
    .footer-social-icons a:hover { border-color: var(--coral); color: var(--coral); }
    .footer-divider { height: 1px; background: rgba(255,255,255,.1); margin-bottom: 20px; }
    .footer-legal { display: flex; gap: 16px; margin-bottom: 10px; }
    .footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
    .footer-legal a:hover { color: var(--white); }
    .footer-copyright { font-size: 13px; color: rgba(255,255,255,.28); }
  

    /* ═══ Viajar con perros (viene de Ciudad) ═══ */
    .mag-eyebrow {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 800; letter-spacing: 2px;
      text-transform: uppercase; color: #C8321B;
    }
    .mag-eyebrow i { display: none; }
    .mag-eyebrow::before { display: none; }
    .mag-section { padding: 28px 20px 0; }
    .mag-section + .mag-section { border-top: none; margin-top: 32px; }
    .mag-section-head {
      display: flex; flex-direction: column; align-items: flex-start;
      background: #FFFFFF;
      padding: 12px 20px 10px;
      margin: -28px -20px 24px;
      border-bottom: 2px solid #C8321B;
      position: relative;
    }
    .mag-section-head::after {
      content: ''; position: absolute; bottom: -10px; left: 20px;
      border-left: 10px solid transparent; border-right: 10px solid transparent;
      border-top: 10px solid #C8321B;
    }
    .mag-eyebrow { color: #C8321B; }
    .mag-section-title { font-size: 22px; font-weight: 800; color: var(--dark); line-height: 1.2; letter-spacing: -.3px; }
    .mag-section-sub { font-size: 13px; color: var(--gray); margin-top: 4px; line-height: 1.5; }
    .gallery-card {
      background: #FFFFFF;
      border: 1px solid #C8321B;
      border-radius: 0;
      overflow: hidden;
      margin-bottom: 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,.05);
    }
    .gallery-footer { padding: 14px 16px 16px; }
    .gallery-date { font-size: 11px; color: var(--gray); }
    .gallery-title-text { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
    .gallery-single-photo {
      width: 100%; aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      font-size: 38px; color: rgba(255,255,255,.4);
      cursor: pointer; overflow: hidden; position: relative; transition: filter .2s;
    }
    .gallery-single-photo:hover { filter: brightness(.83); }
    .gallery-single-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .eventos-carousel-wrap {
      position: relative; display: flex; align-items: center; gap: 8px;
    }
    .eventos-carousel-btn {
      flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
      border: 1.5px solid var(--gray-border); background: var(--white);
      color: var(--dark); display: flex; align-items: center; justify-content: center;
      font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s; z-index: 2;
    }
    .eventos-carousel-btn:hover { border-color: var(--coral); color: var(--coral); }
    .gallery-events-row .gallery-card {
      flex: 0 0 100%; margin-bottom: 0; scroll-snap-align: start;
    }
    .gallery-events-row .gallery-footer { padding: 12px 14px 14px; }
    .gallery-events-row .gallery-title-text { font-size: 15px; }
    .gallery-events-row .gallery-date { font-size: 13px; }
    .gallery-events-row .btn-gallery-open { font-size: 12px; padding: 8px 14px; margin-top: 10px; }
    .gallery-card-ad {
      border: 2px dashed #F5A623;
      box-shadow: 0 4px 16px rgba(245,166,35,.2);
    }
    .btn-gallery-open {
      display: inline-flex; align-items: center; justify-content: center; gap: 7px;
      padding: 10px; background: transparent; color: #C8321B;
      border: 1.5px solid #C8321B; border-radius: 0; font-size: 13px; font-weight: 700;
      cursor: pointer; transition: background .2s, color .2s;
    }
    .btn-gallery-open:hover { background: #C8321B; color: #fff; }
    .gallery-events-grid .gallery-card { border-color: #C8321B; }
    .eventos-carousel-btn:disabled { opacity: .3; pointer-events: none; }
    .map-form-primary .mag-section-sub { margin-bottom: 4px; }
    .icon-grid {
      display: flex; gap: 8px;
      overflow-x: auto; scrollbar-width: none;
      padding-bottom: 4px;
    }
    .icon-grid::-webkit-scrollbar { display: none; }
    .icon-grid-card {
      flex-shrink: 0; display: flex; align-items: center; gap: 6px;
      background: #fff; border: 1.5px solid var(--gray-border);
      padding: 8px 14px; text-decoration: none; color: var(--dark);
      white-space: nowrap; cursor: pointer;
      transition: background .2s, border-color .2s, color .2s;
    }
    .icon-grid-card i { font-size: 12px; color: var(--coral); }
    .icon-grid-card span { font-size: 12px; font-weight: 700; }
    .icon-grid-card small { display: none; }
    .icon-grid-card:hover { border-color: var(--coral); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
    .icon-grid-card { font-family: inherit; }
    .icon-grid-card.active { border-color: var(--coral); background: #FFFFFF; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
    .icon-grid-cards {
      display: flex; gap: 12px; flex: 1;
      overflow-x: auto; scrollbar-width: none;
      scroll-snap-type: x mandatory; scroll-behavior: smooth;
    }
    .icon-grid-cards::-webkit-scrollbar { display: none; }
    .icon-grid-cards .gallery-card {
      flex: 0 0 210px; margin-bottom: 0; scroll-snap-align: start;
      border: 1.5px solid var(--gray-border); border-radius: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,.05);
    }
    .icon-grid-cards .gallery-single-photo { border-radius: 0; }
    .icon-grid-cards .gallery-footer { padding: 12px 14px 14px; }
    .icon-grid-cards .gallery-title-text { font-size: 14px; margin-bottom: 5px; }
    .icon-grid-cards .gallery-date { font-size: 12px; }
    .icon-grid-cards .btn-gallery-open { font-size: 12px; padding: 7px 12px; margin-top: 8px; }
    #viajarCardsRow .gallery-title-text {
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden; min-height: 2.6em;
    }
    .icon-grid-cards-wrap { margin-top: 16px; }
    .icon-grid-empty { font-size: 13px; color: var(--gray); text-align: center; padding: 20px 0; margin-top: 16px; }
  