/* =============================================================
   SECTIONS.CSS — Futunet (Mobile-First Responsive)
   About, CTA Banner, Contacto, Footer, Categories, Brands, Showcase.
   Consolidated — no duplicate overrides.
   ============================================================= */

/* ── 1. NOSOTROS ── */
.bg-light { background: #fdfdfd; }
#nosotros {
  background:
    radial-gradient(circle at top right, rgba(11, 126, 181, 0.045), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.about-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 34px; align-items: center; margin-top: 40px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 24px;
  padding: 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 22px 52px rgba(15, 25, 35, 0.08);
  transition: var(--transition);
}
.about-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent));
}

.about-quote {
  font-style: italic; font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-left: 4px solid var(--brand);
  background: linear-gradient(135deg, rgba(11,126,181,0.08), rgba(11,126,181,0.02));
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}

.about-info-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.about-info-item {
  background: linear-gradient(180deg, #f9fbff 0%, #f3f8fd 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: var(--transition);
}
.about-info-item:hover { border-color: var(--brand); }
.about-info-item label {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-muted); display: block; margin-bottom: 3px;
}
.about-info-item span { font-size: .88rem; font-weight: 600; color: var(--text-primary); }

.values-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-icon-box {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-pale), rgba(11,126,181,0.12));
  border: 1px solid rgba(11,126,181,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.value-item:hover .value-icon-box { transform: scale(1.08); }
.value-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 3px;
}
.value-text p { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* About Card Label/Title */
.about-card-label {
  color: var(--text-muted); font-size: .88rem;
  text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; margin-bottom: 10px;
}
.about-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.25;
}
.about-card-desc {
  color: var(--text-muted); font-size: .9rem;
  line-height: 1.75; margin-top: 14px;
}

/* ── 2. CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark), #162a3e);
  padding: 68px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(11,126,181,0.12), transparent),
    radial-gradient(circle 200px at 20% 80%, rgba(0,214,143,0.06), transparent);
}
.cta-banner::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* Animated shine sweep across the CTA banner */
.cta-banner-inner::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  transform: translate3d(-80%, 0, 0) rotate(15deg);
  animation: ctaShine 6s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes ctaShine {
  0%, 100% { transform: translate3d(-80%, 0, 0) rotate(15deg); }
  50% { transform: translate3d(80%, 0, 0) rotate(15deg); }
}
.cta-banner-inner {
  position: relative; z-index: 1; padding: 0 8px;
  max-width: 760px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700; color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  margin-inline: auto;
}
.cta-banner p {
  color: rgba(255,255,255,0.74);
  max-width: 560px; margin: 0 auto 24px;
  font-size: .9rem; line-height: 1.7;
}
.cta-btn-lg {
  padding: 13px 30px; font-size: 1rem;
}


/* ── 3. CONTACTO ── */
#contacto { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 10px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  transition: var(--transition);
  box-shadow: 0 10px 26px rgba(15, 25, 35, 0.06);
}
.contact-card:hover {
  border-color: var(--brand);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-pale), rgba(11,126,181,0.12));
  border: 1px solid rgba(11,126,181,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-card-text label {
  display: block; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-muted); margin-bottom: 3px;
}
.contact-card-text span, .contact-card-text a { font-size: .9rem; font-weight: 600; color: var(--text-primary); }
.contact-card-text a:hover { color: var(--brand); }

/* Map container */
.contact-map {
  margin-top: 24px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(15, 25, 35, 0.08);
}

/* ── Formulario ── */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 22px 52px rgba(15, 25, 35, 0.08);
  position: relative; overflow: hidden;
}
.contact-form-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent));
}
.contact-form-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg-secondary);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text-primary);
  font-family: 'Outfit', sans-serif; font-size: .9rem;
  outline: none; transition: var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11,126,181,0.08), 0 4px 12px rgba(11,126,181,0.06);
  background: #fff;
  transform: translateY(-1px);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: #fff; }

.btn-form {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #25d366, #20bd5a);
  color: #fff; border: none; cursor: pointer;
  padding: 14px; border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37,211,102,0.25);
}
.btn-form:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,211,102,0.4); }

/* ── Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,126,181,0.15), transparent);
  border: 0;
  margin: 0;
}


/* ── 4. FOOTER ── */
footer {
  background:
    radial-gradient(circle at top right, rgba(11,126,181,0.08), transparent 24%),
    linear-gradient(180deg, #0f1923 0%, #09121b 100%);
  padding: 48px 0 24px; color: rgba(255,255,255,0.6);
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent), var(--brand));
  background-size: 300% 100%;
  animation: footerGradient 8s ease infinite;
}
@keyframes footerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: .88rem; margin-top: 12px;
  line-height: 1.75; max-width: 320px;
}
.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: .86rem; color: rgba(255,255,255,0.5);
  transition: color .3s ease, padding-left .3s ease;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.footer-col ul a:hover { color: rgba(255,255,255,0.9); padding-left: 8px; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-align: center;
  padding-top: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: .03em;
}

footer .nav-logo-name { color: #fff; font-size: 1.3rem; }

/* ── 5. CATEGORIAS GRID (Home) ── */
.categories-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin-top: 48px;
}
.category-card {
  display: block; position: relative;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 25, 35, 0.08);
  transition: var(--transition);
  height: 236px;
  border: 1px solid rgba(11, 126, 181, 0.08);
  background: var(--bg-card);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  z-index: 1;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 126, 181, 0.16);
  box-shadow: 0 24px 56px rgba(15, 25, 35, 0.12);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,24,0.88) 0%, rgba(9,16,24,0.16) 58%, rgba(9,16,24,0.02) 100%);
}
.category-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.category-card-title {
  color: white; margin: 0; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.34rem; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: -0.03em;
}
.category-card-copy {
  margin-top: 8px;
  max-width: 270px;
  color: rgba(255,255,255,0.86);
  font-size: .82rem;
  line-height: 1.55;
}
.category-card-icon {
  width: 46px; height: 46px; min-width: 46px; min-height: 46px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: white; transition: background 0.3s;
}
.category-card:hover .category-card-icon { background: var(--brand); }

/* ── 6. MARCAS (Brands) ── */
.brands-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px;
  margin: 34px auto 0; max-width: 980px;
}
.brand-item {
  display: flex; align-items: center; justify-content: center;
  width: 180px; height: 90px; padding: 16px 20px;
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 26px rgba(15, 25, 35, 0.05);
  filter: grayscale(100%) opacity(70%);
  transition: var(--transition); cursor: pointer;
  text-decoration: none;
}
.brand-item:hover {
  filter: grayscale(0%) opacity(100%);
  transform: translateY(-4px);
  border-color: rgba(11, 126, 181, 0.18);
  box-shadow: 0 18px 36px rgba(15, 25, 35, 0.1);
}
.brand-item > img {
  width: 100%;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  object-position: center;
}
.brand-item--tplink > img {
  width: auto;
  max-width: 130px;
  max-height: 44px;
}
.brand-item--samsung > img {
  max-width: 134px;
  max-height: 34px;
}
.brand-fallback {
  width: 100%;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brands-more {
  margin-top: 24px; font-weight: 600;
  font-size: .82rem;
  color: var(--text-muted);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.state-provider {
  margin-top: 30px; display: inline-block;
  padding: 14px 20px 0;
  border-top: 1px solid rgba(11, 126, 181, 0.24);
}
.state-provider span {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: var(--text-primary);
  letter-spacing: .08em;
}

/* ── 7. SHOWCASE (Product Carousel) ── */
.showcase-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  overflow: hidden;
}
.showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(11,126,181,0.06), transparent 36%);
  pointer-events: none;
}

.showcase-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  padding: 4px 0 2px;
  isolation: isolate;
  overflow: hidden;
  --showcase-edge-fade: clamp(96px, 11vw, 168px);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.showcase-shell::before,
.showcase-shell::after { display: none; }

.showcase-row {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  padding-inline: calc(var(--showcase-edge-fade) * 0.72);
  margin-inline: calc(var(--showcase-edge-fade) * -0.72);
  scrollbar-width: none;
}
.showcase-row::-webkit-scrollbar { display: none; }
.showcase-row::before, .showcase-row::after { display: none; }

.showcase-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes showcaseMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.showcase-row .showcase-track {
  animation: showcaseMarquee var(--showcase-duration, 42s) linear infinite;
}

.showcase-row--reverse .showcase-track {
  animation-direction: reverse;
}

@media (hover: hover) and (pointer: fine) {
  .showcase-row:hover .showcase-track,
  .showcase-row:focus-within .showcase-track {
    animation-play-state: paused;
  }
}

.showcase-group {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding-right: 16px;
}

.showcase-card {
  width: min(236px, 68vw);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
  box-shadow: 0 14px 32px rgba(15, 25, 35, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(15, 25, 35, 0.12);
  border-color: rgba(11, 126, 181, 0.24);
}

.showcase-card__media {
  aspect-ratio: 4 / 2.75;
  background:
    radial-gradient(circle at top, rgba(11, 126, 181, 0.08), transparent 50%),
    #eef4fb;
  overflow: hidden;
}

.showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 15px 16px;
}

.showcase-card__meta {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.showcase-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-card__price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-row .showcase-track {
    animation-duration: 320s !important;
  }

  .showcase-row--reverse .showcase-track {
    animation-duration: 352s !important;
  }
}

.showcase-shell--static {
  mask-image: none;
  -webkit-mask-image: none;
}

.showcase-row--interactive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.showcase-row--interactive::-webkit-scrollbar {
  display: none;
}

.showcase-row--interactive .showcase-card {
  scroll-snap-align: start;
}

/* ── 8. RESPONSIVE — TABLET (≥768px) ── */
@media (min-width: 768px) {
  .brands-grid { gap: 40px; }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 48px; }
  .about-card { padding: 36px; }
  .about-quote { font-size: 1.05rem; padding: 16px 20px; }
  .about-info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value-icon-box { width: 46px; height: 46px; }
  .value-text h4 { font-size: .95rem; }
  .value-text p { font-size: .84rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .cta-banner { padding: 80px 0; }
  .cta-banner h2 { font-size: 2.2rem; }
  .cta-banner p { font-size: 1rem; margin-bottom: 32px; }

  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 36px; margin-top: 48px; }
  .contact-card { padding: 20px 24px; gap: 18px; }
  .contact-card-icon { width: 48px; height: 48px; }
  .contact-form-box { padding: 36px; }
  .contact-form-box h3 { font-size: 1.35rem; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 14px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
  .footer-bottom {
    flex-direction: row; justify-content: space-between;
    text-align: left;
  }
  footer { padding: 64px 0 30px; }
  footer .nav-logo-name { font-size: 1.4rem; }
}

/* ── 9. RESPONSIVE — DESKTOP (≥1024px) ── */
@media (min-width: 1024px) {
  .about-grid { gap: 64px; }
  .about-card { padding: 40px; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .category-card { height: 260px; }
  .cta-banner { padding: 88px 0; }
  .cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  .contact-grid { gap: 44px; margin-top: 52px; }
  .contact-form-box { padding: 38px; }
}

/* ── 10. RESPONSIVE — MOBILE (≤767px) ── */
@media (max-width: 767px) {
  /* Category Cards */
  .categories-grid {
    margin-top: 24px;
    gap: 10px;
  }
  .category-card {
    height: 174px;
    border-radius: 18px;
  }
  .category-card-content {
    padding: 14px;
    gap: 10px;
  }
  .category-card-title {
    font-size: .96rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .category-card-copy {
    font-size: .72rem;
    line-height: 1.45;
    max-width: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .category-card-content > div:first-child {
    min-width: 0;
  }
  .category-card-icon {
    width: 36px; height: 36px;
    min-width: 36px; min-height: 36px;
  }

  /* Showcase Carousel */
  .showcase-card {
    width: clamp(142px, 41vw, 168px);
    border-radius: 16px;
  }
  .showcase-shell {
    --showcase-edge-fade: 24px;
    gap: 12px;
    margin-top: 18px;
    padding-bottom: 0;
  }
  .showcase-shell--static {
    --showcase-edge-fade: 0px;
    gap: 10px;
  }
  .showcase-row {
    padding-inline: calc(var(--showcase-edge-fade) * 0.52);
    margin-inline: calc(var(--showcase-edge-fade) * -0.52);
  }
  .showcase-shell--static .showcase-row {
    padding-inline: 0;
    margin-inline: 0;
    padding-bottom: 4px;
  }
  .showcase-group {
    gap: 12px;
    padding-right: 12px;
  }
  .showcase-shell--static .showcase-group {
    padding-right: 8px;
  }
  .showcase-card__media {
    aspect-ratio: 4 / 2.35;
  }
  .showcase-card__body {
    padding: 11px 11px 13px;
    gap: 6px;
  }
  .showcase-card__title {
    font-size: .84rem;
    line-height: 1.32;
  }
  .showcase-card__meta {
    font-size: .64rem;
    letter-spacing: .06em;
  }
  .showcase-card__price { font-size: .82rem; }

  /* Brands */
  .brand-item {
    width: min(38vw, 130px);
    height: 58px;
    border-radius: 14px;
    padding: 10px 12px;
    filter: none;
    box-shadow: 0 10px 22px rgba(15, 25, 35, 0.06);
  }
  .brand-item:hover,
  .brand-item:active {
    filter: none;
    transform: none;
    border-color: rgba(11, 126, 181, 0.08);
    box-shadow: 0 10px 22px rgba(15, 25, 35, 0.06);
  }
  .brands-more { margin-top: 18px; font-size: .75rem; }
  .state-provider { margin-top: 20px; }
  .state-provider span { font-size: .88rem; }

  /* About Section */
  .about-grid {
    gap: 18px;
    margin-top: 22px;
  }
  .about-card {
    padding: 18px;
    border-radius: 18px;
  }
  .about-card-title { font-size: 1.25rem; }
  .about-card-desc { font-size: .84rem; margin-top: 10px; }
  .about-quote {
    font-size: .88rem;
    padding: 12px 14px;
    margin: 14px 0;
  }
  .about-info-grid { gap: 8px; margin-top: 16px; }
  .about-info-item { padding: 11px 14px; }
  .about-info-item label { font-size: .6rem; }
  .about-info-item span { font-size: .82rem; }

  .values-list { gap: 12px; margin-top: 22px; }
  .value-icon-box { width: 38px; height: 38px; border-radius: 10px; }
  .value-text h4 { font-size: .85rem; }
  .value-text p { font-size: .76rem; }

  /* CTA Banner */
  .cta-banner { padding: 44px 0; }
  .cta-banner h2 { font-size: 1.35rem; margin-bottom: 10px; }
  .cta-banner p { font-size: .84rem; margin-bottom: 20px; }
  .cta-btn-lg { padding: 12px 24px; font-size: .9rem; }

  /* Contact */
  .contact-grid { gap: 18px; margin-top: 22px; }
  .contact-card {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 14px;
  }
  .contact-card-icon { width: 38px; height: 38px; border-radius: 10px; }
  .contact-form-box {
    padding: 18px;
    border-radius: 18px;
  }
  .contact-form-box h3 { font-size: 1.1rem; margin-bottom: 16px; }
  .contact-map { border-radius: 16px; margin-top: 16px; }

  /* Footer */
  footer { padding: 36px 0 20px; }
  .footer-grid { gap: 20px; padding-bottom: 20px; }
  .footer-brand p { font-size: .82rem; margin-top: 8px; line-height: 1.65; max-width: none; }
  .footer-logo-img {
    width: clamp(132px, 42vw, 156px);
    height: auto;
  }
  .footer-col h5 { font-size: .7rem; margin-bottom: 10px; }
  .footer-col ul { gap: 6px; }
  .footer-col ul a { font-size: .82rem; }
  .footer-bottom {
    padding-top: 16px;
    gap: 2px;
    font-size: .7rem;
  }

  /* Section Dividers */
  .section-divider {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .showcase-card {
    width: clamp(136px, 40vw, 156px);
  }
  .showcase-shell {
    --showcase-edge-fade: 16px;
  }
  .showcase-card__body {
    padding: 10px 10px 12px;
  }
  .showcase-card__title {
    font-size: .8rem;
  }
  .showcase-card__meta {
    font-size: .6rem;
  }
  .showcase-card__price {
    font-size: .76rem;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .showcase-row .showcase-track {
    animation-duration: 320s !important;
  }

  .showcase-row--reverse .showcase-track {
    animation-duration: 352s !important;
  }
}


/* =============================================================
   11. PROMO CAROUSEL
   ============================================================= */
.promo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a101d;
}
.promo-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.promo-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.promo-slide {
  min-width: 100%;
  position: relative;
}
.promo-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
  border-radius: 0;
}

/* Arrows */
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.promo-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-50%) scale(1.08);
}
.promo-arrow--prev { left: 16px; }
.promo-arrow--next { right: 16px; }

/* Dots */
.promo-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.promo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.promo-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}
.promo-dot:hover:not(.active) {
  background: rgba(255,255,255,0.4);
}

@media (max-width: 767px) {
  .promo-slide img {
    max-height: 200px;
    object-fit: cover;
  }
  .promo-arrow {
    width: 36px; height: 36px;
  }
  .promo-arrow--prev { left: 8px; }
  .promo-arrow--next { right: 8px; }
  .promo-arrow svg { width: 16px; height: 16px; }
  .promo-dots { bottom: 10px; gap: 6px; }
  .promo-dot { width: 8px; height: 8px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .promo-slide img { max-height: 300px; }
}


/* =============================================================
   12. CATEGORY TABS + SHOWCASE (Products by Category)
   ============================================================= */
.catshowcase-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.category-tab {
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: #fff;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.category-tab:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.category-tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(10, 112, 162, 0.25);
}

/* Carousel Wrapper */
.catshowcase-wrapper {
  position: relative;
  margin-top: 28px;
}

.catshowcase-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
}
.catshowcase-grid::-webkit-scrollbar { display: none; }

/* Carousel Arrows */
.catshowcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(15, 25, 35, 0.1);
}
.catshowcase-arrow:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(10, 112, 162, 0.25);
}
.catshowcase-arrow--prev { left: -21px; }
.catshowcase-arrow--next { right: -21px; }

/* Product Cards */
.catshowcase-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 25, 35, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}
.catshowcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 25, 35, 0.12);
  border-color: rgba(10, 112, 162, 0.2);
}

.catshowcase-card__media {
  height: 160px;
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catshowcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.catshowcase-card:hover .catshowcase-card__media img {
  transform: scale(1.05);
}

.catshowcase-card__body {
  padding: 14px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.catshowcase-card__brand {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.catshowcase-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catshowcase-card__price {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 2px;
}

.catshowcase-card__action {
  padding: 10px 16px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.3s ease;
}
.catshowcase-card:hover .catshowcase-card__action {
  gap: 10px;
}

.catshowcase-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  font-size: .9rem;
}

@media (max-width: 767px) {
  .category-tabs { gap: 6px; margin-top: 18px; }
  .category-tab { padding: 8px 16px; font-size: .78rem; }
  .catshowcase-wrapper { margin-top: 18px; }
  .catshowcase-card { flex: 0 0 170px; border-radius: 16px; }
  .catshowcase-card__body { padding: 10px 12px 4px; }
  .catshowcase-card__title { font-size: .8rem; }
  .catshowcase-card__price { font-size: .76rem; }
  .catshowcase-card__action { padding: 8px 12px 12px; font-size: .72rem; }
  .catshowcase-arrow { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .catshowcase-card { flex: 0 0 200px; }
}


/* =============================================================
   13. EQUIPA TU OFICINA
   ============================================================= */
.office-section {
  background:
    radial-gradient(circle at bottom right, rgba(10, 112, 162, 0.06), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.office-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 126, 181, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 25, 35, 0.07);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15, 25, 35, 0.12);
  border-color: rgba(10, 112, 162, 0.18);
}

.office-card__media {
  aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3fa 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}
.office-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.office-card:hover .office-card__media img {
  transform: scale(1.06);
}

.office-card__body {
  padding: 20px 22px 22px;
  text-align: center;
}
.office-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.office-card__desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.office-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.office-card:hover .office-card__btn {
  background: var(--brand);
  box-shadow: 0 8px 24px rgba(10, 112, 162, 0.3);
}

@media (max-width: 767px) {
  .office-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .office-card { border-radius: 18px; }
  .office-card__media { aspect-ratio: 16 / 10; }
  .office-card__body { padding: 14px 16px 18px; }
  .office-card__title { font-size: 1rem; }
  .office-card__desc { font-size: .78rem; margin-bottom: 10px; }
  .office-card__btn { padding: 9px 20px; font-size: .78rem; }
}

@media (min-width: 1024px) {
  .office-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .office-card__media { aspect-ratio: 1 / 1; }
}


/* =============================================================
   14. BRANDS PREVIEW (Hover Popup)
   ============================================================= */
.brands-grid--preview {
  position: relative;
}
.brands-grid--preview .brand-item {
  position: relative;
  cursor: pointer;
}
.brand-preview-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 400px;
  background: #fff;
  border: 1px solid rgba(11, 126, 181, 0.12);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 20px 52px rgba(15, 25, 35, 0.18);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-preview-popup.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.brand-preview-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
  border-right: 1px solid rgba(11, 126, 181, 0.12);
  border-bottom: 1px solid rgba(11, 126, 181, 0.12);
}

.brand-preview-img {
  display: block;
  width: 100%;
  height: 240px;
  max-height: none;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
  object-position: center bottom;
  background: linear-gradient(180deg, #f8fafe 0%, #eef3fa 100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-item:hover .brand-preview-img {
  transform: scale(1.03);
}
.brand-preview-btn {
  display: block;
  text-align: center;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.brand-preview-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 24px rgba(10, 112, 162, 0.3);
}

.brand-item.brand-active {
  filter: grayscale(0%) opacity(100%) !important;
  transform: translateY(-4px) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 18px 36px rgba(10, 112, 162, 0.15) !important;
  z-index: 101;
}

/* Mobile: popup appears below instead of above */
@media (max-width: 767px) {
  .brands-grid--preview {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .brands-grid--preview .brand-item {
    width: min(42vw, 140px);
    display: inline-flex;
  }
  .brand-preview-popup {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(90vw, 320px);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  }
  .brand-preview-popup.visible {
    transform: translate(-50%, -50%) scale(1);
  }
  .brand-preview-popup::after { display: none; }

  /* Overlay backdrop */
  .brand-item.brand-active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-preview-popup { width: 260px; }
}

/* ── PERFORMANCE: content-visibility for off-screen sections (Desktop only) ── */
@media (min-width: 768px) {
  #servicios, #nosotros, #contacto {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
}
