/* Portada: carrusel, introducción, categorías, preguntas y noticias. */

/* Hero estático: estilos limitados a la portada. */
.home-hero {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #f5f9fc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-hero-layout {
  display: grid;
  gap: clamp(2rem, 3.2vw, 3rem);
  align-items: center;
}

.home-hero-content {
  min-width: 0;
}

.home-hero h1 {
  max-width: 720px;
  margin: 0 0 1.25rem;
  color: #102237;
  font-size: clamp(2.125rem, 1.35rem + 2.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-hero-lead {
  max-width: 640px;
  margin: 0;
  color: #40546a;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem);
  line-height: 1.65;
}

.home-hero-lead a {
  color: #005c9c;
  text-underline-offset: 3px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.home-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 100%;
  min-height: 56px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.home-hero-quote {
  background: #16833f;
  color: #fff;
}

.home-hero-quote:hover {
  background: #116b33;
  color: #fff;
}

.home-hero-actions .home-hero-secondary {
  background: #fff;
  border-color: #dfe9f2;
  color: #005c9c;
}

.home-hero-secondary:hover {
  background: #edf7ff;
}

.home-hero a:focus-visible {
  outline: 3px solid #005c9c;
  outline-offset: 4px;
}

.home-hero-quote svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.home-hero-media {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.5rem;
  aspect-ratio: 1;
  padding: clamp(0.5rem, 1.4vw, 1rem);
  background: #fff;
  border: 1px solid #dfe9f2;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 43, 72, 0.09);
}

.home-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.home-hero-product-domestic {
  grid-column: 1;
  grid-row: 1 / 3;
}

.home-hero-product-hotel {
  grid-column: 2;
  grid-row: 1;
}

.home-hero-product-jumbo {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 991.98px) {
  .home-hero-media {
    aspect-ratio: 6 / 5;
  }
}

@media (min-width: 992px) {
  .home-hero-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

.home-benefits {
  background: #fff;
  padding: 2rem 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.125rem;
  background: #fff;
  border: 1px solid #dfe9f2;
  border-radius: 20px;
}

.home-benefit-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: #edf7ff;
  color: #005c9c;
  fill: currentColor;
}

.home-benefit-title {
  color: #173049;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 576px) {
  .home-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home-benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Navegación comercial: estilos exclusivos de la nueva sección. */
.home-clients {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #f5f9fc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-clients h2 {
  max-width: 720px;
  margin: 0 0 2rem;
  color: #173049;
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-clients-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.home-client-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.75rem 1rem;
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.5rem);
  border: 1px solid #dfe9f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 43, 72, 0.04);
  text-decoration: none;
}

.home-client-icon {
  grid-row: 1 / 4;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: #edf7ff;
  color: #005c9c;
  fill: currentColor;
}

.home-client-card h3 {
  margin: 0;
  color: #173049;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-client-card p {
  margin: 0;
  color: #40546a;
  font-size: 1rem;
  line-height: 1.6;
}

.home-client-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  color: #005c9c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-client-cta span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-client-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.home-client-card:focus-visible {
  outline: 3px solid #005c9c;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-client-card:hover {
    border-color: #005c9c;
    box-shadow: 0 10px 24px rgba(15, 43, 72, 0.08);
  }
}

@media (min-width: 992px) {
  .home-clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-client-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .home-client-icon {
    margin-bottom: 1.25rem;
  }

  .home-client-card h3 {
    margin-bottom: 0.75rem;
  }

  .home-client-card p {
    margin-bottom: 1.5rem;
  }

  .home-client-cta {
    margin-top: auto;
  }
}

.category-section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.category-families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  max-width: 1040px;
  margin-inline: auto;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 508px;
  justify-self: center;
  border: 1px solid #dfe9f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 43, 72, 0.04);
}

.category-family-link {
  display: block;
}

.category-family-link::after {
  border-radius: 22px;
}

.category-family-link:focus-visible {
  outline: none;
}

.category-family-link:focus-visible::after {
  outline: 3px solid #005c9c;
  outline-offset: 4px;
}

.category-family-visual {
  aspect-ratio: 3 / 2;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.category-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.category-family-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2vw, 1.5rem);
}

.category-family-name {
  margin: 0;
  color: #173049;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.category-family-description {
  margin: 0;
  color: #40546a;
  font-size: 1rem;
  line-height: 1.6;
}

.category-family-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
  color: #005c9c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.category-family-cta span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.category-family-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    border-color: #005c9c;
    box-shadow: 0 10px 24px rgba(15, 43, 72, 0.08);
  }
}
/* Cierre comercial: único CTA contextual después de las FAQ. */
.home-closing {
  padding-top: clamp(2.5rem, 4vw, 3rem);
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-closing-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(1.25rem, 2.3vw, 2rem);
  border: 1px solid #dfe9f2;
  border-radius: 24px;
  background: #edf7ff;
}

.home-closing-copy {
  min-width: 0;
}

.home-closing h2 {
  margin: 0 0 0.75rem;
  color: #173049;
  font-size: clamp(1.5rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-closing p {
  margin: 0;
  color: #40546a;
  font-size: 1rem;
  line-height: 1.6;
}

.home-closing-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #16833f;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.home-closing-quote svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.home-closing-quote:hover {
  background: #116b33;
  color: #fff;
}

.home-closing-quote:focus-visible {
  outline: 3px solid #005c9c;
  outline-offset: 4px;
}

@media (min-width: 576px) {
  .home-closing-quote {
    width: fit-content;
  }
}

@media (min-width: 992px) {
  .home-closing-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
  }
}

/* Preview editorial: navegación a guías, sin imágenes de producto. */
.home-guides {
  padding: clamp(3rem, 5vw, 4rem) 0;
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-guides-inner {
  max-width: 1040px;
  margin-inline: auto;
}

.home-guides-header {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.home-guides h2 {
  margin: 0 0 0.75rem;
  color: #173049;
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-guides-header p,
.home-guide-card p {
  margin: 0;
  color: #40546a;
  font-size: 1rem;
  line-height: 1.6;
}

.home-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
}

.home-guide-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.5rem);
  border: 1px solid #dfe9f2;
  border-radius: 22px;
  background: #f5f9fc;
  text-decoration: none;
}

.home-guide-card h3 {
  margin: 0;
  color: #173049;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.home-guide-link,
.home-guides-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #005c9c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-guide-link {
  margin-top: auto;
}

.home-guides-all {
  min-height: 44px;
  margin-top: 1.5rem;
}

.home-guides a:focus-visible {
  outline: 3px solid #005c9c;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-guide-card:hover {
    border-color: #005c9c;
    box-shadow: 0 8px 22px rgba(15, 43, 72, 0.06);
  }

  .home-guides-all:hover {
    color: #173049;
  }
}

.btn-whatsapp {
  background-color: #25d366;
  border: none;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: #fff;
}

.home-faq-section {
  background: #f7f9fb;
  padding: 4rem 0;
}

.home-faq-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home-faq-eyebrow {
  color: var(--brand-blue, var(--brand-blue));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.home-faq-header h2 {
  color: #1f2933;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.home-faq-header p {
  color: #5f6b76;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.home-faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.home-faq-item {
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-faq-item h3 {
  color: #1f2933;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.home-faq-item p {
  color: #53616f;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .home-faq-section {
    padding: 3rem 0;
  }

  .home-faq-header {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .home-faq-item {
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
  }

  .home-faq-item h3 {
    font-size: 1rem;
  }
}

/* Reserve a slot beside WhatsApp, as on guides, outside the reading area. */
@media (max-width: 991.98px) {
  body.has-quote-bar .site-quote-bar { padding-right: 78px; }
  body.has-quote-bar .back-to-top {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1041;
  }
}
