/* Refinamiento visual exclusivo para pantallas móviles */
@media (max-width: 620px) {
  .home-page .site-header,
  .interior-page .site-header,
  .catalog-page .site-header { padding-inline: 1rem; }

  /* Portada: lectura corta, centrada y con una imagen principal proporcionada. */
  .home-page .hero-home {
    min-height: 0;
    padding: 112px 1.2rem 3rem;
    text-align: center;
  }
  .home-page .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .home-page .hero-eyebrow { justify-content: center; font-size: .58rem; letter-spacing: .11em; }
  .home-page .hero-copy h1 { max-width: 10ch; margin: 1rem auto 1.1rem; font-size: clamp(2.45rem, 11vw, 3.25rem); }
  .home-page .hero-promise { justify-content: center; width: 100%; max-width: 390px; border-left: 0; border-radius: 14px; }
  .home-page .hero-lead { max-width: 340px; font-size: .84rem; line-height: 1.6; }
  .home-page .hero-actions { width: 100%; flex-direction: column; gap: .8rem; margin-top: 1.25rem; }
  .home-page .hero-actions .btn { width: min(100%, 340px); }
  .home-page .hero-proof,
  .home-page .scroll-cue { display: none; }
  .home-page .hero-visual { width: min(100%, 390px); height: clamp(220px, 65vw, 290px); margin: 1.3rem auto 0; }
  .home-page .hero-image { inset: 0; border-radius: 28px; background-position: center 52%; }
  .home-page .hero-note { left: .65rem; bottom: .65rem; max-width: calc(100% - 1.3rem); padding: .6rem .75rem; text-align: left; }
  .home-page .hero-index { display: none; }

  .home-page .intro-strip { min-height: auto; padding: 1.15rem 1.25rem; }
  .home-page .intro-strip p { font-size: .82rem; line-height: 1.5; }
  .home-page .section-summary { display: none; }
  .home-page .solutions-section,
  .home-page .why-section { padding-block: 3.4rem; }
  .home-page .section-heading { gap: .5rem; margin-bottom: 1.4rem; }
  .home-page .section-heading h2,
  .home-page .clients-heading h2,
  .home-page .faq-intro h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .home-page .eyebrow { font-size: .58rem; letter-spacing: .11em; }
  .home-page .product-grid { gap: .85rem; }
  .home-page .product-photo,
  .home-page .product-card-large .product-photo { flex-basis: 130px; height: 130px; }
  .home-page .product-photo img { object-position: center !important; }
  .home-page .product-card > p { display: none; }
  .home-page .product-meta { min-height: 48px; justify-content: center; gap: .25rem; }
  .home-page .product-meta > span { font-size: .6rem; }
  .home-page .product-tag { left: .55rem; bottom: .55rem; }
  .home-page .card-arrow { display: none; }
  .home-page .client-carousel { padding-block: .25rem; }
  .home-page .client-mark { flex-basis: 142px; min-height: 118px; }
  .home-page .service-card { grid-template-columns: 1fr; }
  .home-page .service-card > img { width: 100%; height: 175px; min-height: 0; object-fit: cover; object-position: center; }
  .home-page .service-card > div { padding: 1rem; }
  .home-page .service-card p:not(.eyebrow) { display: none; }
  .home-page .feature-band { gap: 1.2rem; padding: 2.5rem 1.2rem; }
  .home-page .feature-image { width: min(100%, 390px); height: clamp(230px, 67vw, 300px); border-radius: 22px; }
  .home-page .feature-image img { object-position: center 58%; }
  .home-page .feature-copy { align-items: center; text-align: center; }
  .home-page .feature-copy .eyebrow { justify-content: center; }
  .home-page .feature-copy h2 { margin: .75rem 0; font-size: clamp(2rem, 9vw, 2.55rem); }
  .home-page .feature-copy > p:not(.eyebrow) { max-width: 340px; margin-bottom: 1.2rem; font-size: .82rem; line-height: 1.65; }
  .home-page .value-card { padding-block: 1.15rem; }
  .home-page .faq-section { gap: 1.35rem; padding-block: 3.3rem; }
  .home-page .faq-intro > p:not(.eyebrow) { display: none; }
  .home-page .faq-item > p { margin-right: 1.8rem; }
  .home-page .closing-cta { padding: 3.4rem 1.2rem; }
  .home-page .closing-cta h2 { font-size: clamp(2.7rem, 12vw, 3.45rem); }
  .home-page .home-footer > p { font-size: .7rem; }
  .home-page .home-footer > div { flex-wrap: wrap; gap: .8rem 1rem; }

  /* Páginas interiores: texto con ancho de lectura y fotografías alineadas al centro. */
  .interior-page .inner-hero { min-height: 0; gap: 1.4rem; padding: 112px 1.2rem 3rem; }
  .interior-page .inner-hero-copy { text-align: center; }
  .interior-page .inner-hero-copy .eyebrow { justify-content: center; }
  .interior-page .inner-hero-copy h1 { max-width: 12ch; margin: .9rem auto; font-size: clamp(2.35rem, 10vw, 3rem); }
  .interior-page .inner-hero-copy > p:not(.eyebrow) { max-width: 340px; margin: 0 auto 1.1rem; font-size: .82rem; line-height: 1.6; }
  .interior-page .inner-hero-copy .btn { margin-inline: auto; }
  .interior-page .inner-hero-photo { width: 100%; height: clamp(205px, 61vw, 270px); min-height: 0; flex-basis: auto; align-self: center; border-radius: 22px; }
  .interior-page .inner-hero-photo img,
  .interior-page .story-photo img,
  .interior-page .about-slider .slides img,
  .interior-page .technology-image img,
  .interior-page .commitment-card > img { object-position: center !important; }
  .interior-page .inner-hero .scroll-cue { display: none; }
  .interior-page .story-section,
  .interior-page .technology-section { padding-block: 3.2rem; gap: 1.5rem; }
  .interior-page .story-photo { margin: 0; }
  .interior-page .story-photo img { border-radius: 18px; }
  .interior-page .story-copy h2,
  .interior-page .commitment-heading h2,
  .interior-page .team-copy h2,
  .interior-page .location-copy h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .interior-page .story-copy > p:not(.eyebrow),
  .interior-page .team-copy > p:not(.eyebrow) { font-size: .81rem; line-height: 1.65; }
  .interior-page .commitment-section { padding-block: 3.3rem; }
  .interior-page .commitment-card { min-height: 270px; border-radius: 16px; }
  .interior-page .team-section { padding-block: 3.3rem; }
  .interior-page .about-slider .slides { height: 240px; border-radius: 16px; }
  .interior-page .technology-image { height: 230px; border-radius: 16px; }
  .interior-page .inner-cta { padding-block: 3.5rem; }
  .interior-page .inner-cta h2 { font-size: clamp(2.7rem, 12vw, 3.4rem); }
  .interior-page .contact-main { padding-block: 3.2rem; }
  .interior-page .contact-intro > p:not(.eyebrow) { font-size: .82rem; }
  .interior-page .contact-form-card { padding: 1.1rem; border-radius: 16px; }
  .interior-page .location-copy { padding: 3.1rem 1.2rem 1.7rem; }
  .interior-page .location-map,
  .interior-page .location-map iframe { min-height: 260px; }

  /* Catálogo: pestañas deslizables y productos en una sola columna legible. */
  .catalog-page .estructura-01 { padding-inline: 1rem; }
  .catalog-page .catalog-intro { text-align: center; }
  .catalog-page .catalog-intro h1 { max-width: 13ch; margin-inline: auto; font-size: clamp(2rem, 9vw, 2.5rem); }
  .catalog-page .catalog-intro > p { max-width: 34ch; margin-inline: auto; font-size: .82rem; line-height: 1.6; }
  .catalog-page .tabs-est .heading-container { justify-content: flex-start; overflow-x: auto; max-width: 100%; padding: .35rem; border-radius: 16px; }
  .catalog-page .tabs-est h3 { flex: 0 0 auto; min-width: 120px; }
  .catalog-page .grid-est { gap: .8rem; }
  .catalog-page .grid-est .esp { border-radius: 16px; }
  .catalog-page .grid-est .esp > img,
  .catalog-page .grid-est .detail-pallet-image img,
  .catalog-page .grid-est .conjunto img { object-fit: contain; object-position: center !important; }
  .catalog-page .grid-est .esp > img { min-height: 195px; max-height: 235px; }
  .catalog-page .grid-est .conjunto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-page .grid-est .cuadro { padding: .9rem; }
  .catalog-page .grid-est .cuadro p { font-size: .73rem; line-height: 1.5; }
  .catalog-page .cols-producto-e { border-radius: 14px; }
  .catalog-page .cols-producto-e .items-grid-productos { justify-content: center; }
}

@media (max-width: 620px) {
  /* La imagen queda entre el mensaje y las acciones principales. */
  .home-page .hero-copy { display: contents; }
  .home-page .hero-eyebrow { order: 1; }
  .home-page .hero-copy h1 { order: 2; }
  .home-page .hero-promise { order: 3; }
  .home-page .hero-lead { order: 4; }
  .home-page .hero-visual { order: 5; }
  .home-page .hero-actions { order: 6; width: min(100%, 390px); margin: 1rem auto 0; }
  .home-page .hero-actions .btn,
  .home-page .hero-actions .text-link { width: 100%; min-height: 48px; justify-content: center; }
  .home-page .hero-actions .text-link {
    padding: .65rem 1rem;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 99px;
    color: white;
  }
  .home-page .home-footer .brand { justify-self: center; }
  .home-page .home-footer > p,
  .home-page .home-footer > div,
  .home-page .home-footer small { text-align: center; justify-content: center; }
}

@media (max-width: 620px) {
  .home-page .product-card > p {
    display: block;
    min-height: 3.7em;
    margin-top: .35rem;
    padding: 0 .7rem .8rem;
    color: rgba(245,247,241,.84);
    font-size: .68rem;
    line-height: 1.5;
  }
  .home-page .senasa-badge {
    border: 1px solid rgba(255,255,255,.9);
    background: #f5f7f1;
    color: #263a27;
    box-shadow: 0 10px 28px rgba(9,25,11,.3);
  }
  .home-page .senasa-badge .note-icon { background: #dfe9d7; color: #31552a; }
  .home-page .senasa-badge strong { color: #294826; }
  .home-page .senasa-badge small { color: #51624e; }
}

@media (max-width: 620px) {
  .catalog-page .grid-est .cuadro p {
    padding: .7rem .8rem;
    border-left: 3px solid #b8d0a8;
    border-radius: 8px;
    background: #f5f7f1;
    color: #263a27 !important;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.5;
  }
  .catalog-page .grid-est .cuadro p::before { background: #3f6a34; }
  .catalog-page .grid-est .conjunto img {
    min-height: 70px;
    padding: .55rem;
    border-radius: 10px;
    background: #f5f7f1;
  }
}

/* Contraste consistente para las fichas de Bines, Marcos y Esquineros en web y móvil. */
.catalog-page .grid-est .cuadro p {
  padding: .7rem .85rem;
  border-left: 3px solid #b8d0a8;
  border-radius: 8px;
  background: #f5f7f1;
  color: #263a27 !important;
  font-weight: 600;
}
.catalog-page .grid-est .cuadro p::before { background: #3f6a34; }
.catalog-page .grid-est .conjunto img {
  padding: .55rem;
  border: 1px solid rgba(49,85,42,.1);
  border-radius: 10px;
  background: #f5f7f1;
}

@media (max-width: 620px) {
  .home-page .product-card > p { color: #475569; }
  .home-page .hero-actions .text-link {
    border-color: rgba(63,106,52,.38);
    color: #3f6a34;
  }
}
