/* Fuentes propias (latin) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Paleta del logo */
  --azul-taller: #1F3A5C;
  --azul-logo: #32557C;
  --azul-acero: #5B82AD; /* solo bordes y decoración, no sirve para texto */
  --hielo: #E3EDF7;
  --escarcha: #F5F9FC;
  --blanco: #FFFFFF;
  --verde-wa: #1F8F4E;
  /* Derivados */
  --tinta: #162A41;        /* texto principal */
  --texto-suave: #46586F;  /* texto secundario */
  --verde-wa-oscuro: #17713D; /* fondo de botones WhatsApp (texto blanco 6.06:1) */
  --verde-wa-hover: #125C32;
  --radius: 12px;
  /* Escala tipográfica (base 16px) */
  --fs-0: .875rem;  /* 14 */
  --fs-1: 1rem;     /* 16 */
  --fs-2: 1.25rem;  /* 20 */
  --fs-3: 1.5625rem; /* 25 */
  --fs-4: 1.9375rem; /* 31 */
  --fs-5: 2.4375rem; /* 39 */
  --font-titulo: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-texto: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-texto);
  font-size: var(--fs-1);
  font-weight: 400;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
}

h1, h2, h3 { font-family: var(--font-titulo); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--azul-taller); }
h1 { font-size: var(--fs-4); }
h2 { font-size: var(--fs-3); }
h3 { font-size: var(--fs-2); }
button, input, select, textarea { font-family: inherit; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--azul-taller); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .section-blue :focus-visible, .site-footer :focus-visible { outline-color: var(--blanco); }
.carousel-viewport :focus-visible { outline-color: var(--azul-taller); }
main:focus { outline: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blanco); color: var(--azul-taller); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--azul-logo); color: var(--blanco);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .5rem; color: var(--blanco); text-decoration: none; font-weight: 600; }
.brand-logo {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--blanco); border-radius: 50%;
}
.brand-logo img { display: block; width: 44px; height: 44px; }
.brand-name { font-size: var(--fs-1); font-weight: 600; line-height: 1.15; }

.nav-toggle {
  background: none; border: 2px solid var(--blanco); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--blanco); content: ""; position: relative;
}
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }

.nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--azul-taller);
}
.nav.open { display: block; }
.nav a { display: block; padding: .9rem 1rem; color: var(--blanco); text-decoration: none; font-weight: 600; }
.nav a:hover { background: var(--azul-logo); }

/* Botones */
.actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 600;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  min-height: 48px; font-size: var(--fs-1);
}
.btn-whatsapp { background: var(--verde-wa-oscuro); border-color: var(--verde-wa); color: var(--blanco); }
.btn-whatsapp:hover { background: var(--verde-wa-hover); }
.btn-outline { border-color: var(--blanco); color: var(--blanco); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-light { background: var(--blanco); color: var(--azul-taller); }
.btn-light:hover { background: var(--hielo); }

/* Secciones */
.hero {
  background: var(--azul-taller);
  color: var(--blanco); padding: 3rem 0 3.5rem;
}
.hero h1 { color: var(--blanco); font-size: clamp(2.4rem, 1.6rem + 3.2vw, 3.6rem); line-height: 1.05; }
.hero-logo {
  width: 120px; height: 120px; border-radius: 50%; background: var(--blanco);
  display: grid; place-items: center; padding: 5%; margin: 0 0 1.25rem; box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lead { font-size: var(--fs-2); max-width: 36rem; }

/* Carrusel */
.hero-grid { display: grid; gap: 2rem; }
.carousel { position: relative; min-width: 0; max-width: 560px; width: 100%; margin: 0 auto; }
.carousel[hidden] { display: none; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); background: var(--blanco); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.carousel-track { display: flex; touch-action: pan-y; user-select: none; transition: transform .4s ease; }
.carousel-slide { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; color: var(--tinta); }
.carousel-slide .product-img { height: auto; aspect-ratio: auto; display: flex; align-items: center; justify-content: center; background: var(--blanco); padding: 1rem; }
.carousel-slide .product-img img { width: auto; height: auto; max-width: min(100%, 420px); max-height: 280px; object-fit: contain; margin: 0 auto; }
@media (min-width: 768px) { .carousel-slide .product-img img { max-height: 340px; } }
.carousel-slide .product-img img { -webkit-user-drag: none; }
.carousel-caption { padding: .75rem 1rem 1rem; display: flex; flex-direction: column; gap: .5rem; }
.carousel-meta { margin: 0; font-size: var(--fs-0); font-weight: 600; color: var(--texto-suave); }
.hero .notice { color: var(--tinta); }
.carousel-name { margin: 0; font-weight: 600; color: var(--azul-taller); font-size: var(--fs-1); }
.carousel-bar { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .75rem; }
.carousel-count { min-width: 5rem; text-align: center; font-weight: 600; color: var(--blanco); font-size: var(--fs-1); }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--azul-acero);
  background: var(--blanco); color: var(--azul-taller); font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding: 0 0 .15rem;
}
.carousel-btn:hover { background: var(--hielo); }
.carousel-btn[hidden] { display: none; }
.carousel-pause { margin-left: .5rem; padding: 0; }
.carousel-pause .ico-play, .carousel-pause[data-estado="pausa"] .ico-pausa { display: none; }
.carousel-pause[data-estado="pausa"] .ico-play { display: block; }

.section { padding: 3rem 0; }
.section-alt { background: var(--escarcha); }
.section-blue { background: var(--azul-logo); color: var(--blanco); }
.section-blue h2 { color: var(--blanco); }
.intro { max-width: 40rem; }

.services { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; }
.service { display: flex; gap: 1rem; align-items: flex-start; }
.service-icon { flex: none; color: var(--azul-logo); }
.service h3 { margin: 0 0 .25rem; font-size: var(--fs-2); }
.service p { margin: 0; }

/* Catálogo (estilo tienda) */
:root { --header-h: 64px; --focus: var(--azul-taller); }
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.shop button:focus-visible, .shop input:focus-visible, .shop summary:focus-visible,
.shop .results:focus-visible, .filter-panel :focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.shop .results:focus { outline: none; }

.shop { margin-top: 1.5rem; }
.shop-main { min-width: 0; }
.results { scroll-margin-top: calc(var(--header-h) + 16px); }

.btn-primary { background: var(--azul-logo); color: var(--blanco); cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: var(--azul-taller); }
.btn-secondary { background: var(--blanco); color: var(--azul-taller); border-color: var(--azul-acero); cursor: pointer; font-family: inherit; }
.btn-secondary:hover { background: var(--hielo); }

/* Barra superior */
.shop-bar { display: flex; gap: .6rem; align-items: stretch; }
.search-box { flex: 1; min-width: 0; }
.search-input::placeholder { color: var(--texto-suave); opacity: 1; }  /* #46586F sobre blanco = 7.28:1 */
.search-input {
  width: 100%; min-height: 48px; font: inherit; color: var(--tinta);
  background: var(--blanco); border: 2px solid var(--azul-acero); border-radius: 10px;
  padding: .5rem .85rem;
}
.btn-filter {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  min-height: 48px; padding: 0 1rem; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--azul-logo); color: var(--blanco); border: 2px solid var(--azul-logo); border-radius: 10px;
}
.btn-filter:hover { background: var(--azul-taller); }
.count { margin: 1rem 0 .5rem; font-weight: 600; color: var(--azul-taller); }

/* Chips de filtros activos */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; max-width: 100%; min-height: 36px;
  background: var(--hielo); color: var(--azul-taller); border-radius: 999px;
  padding-left: .8rem; font-weight: 600; font-size: var(--fs-0);
}
.chip-text { min-width: 0; overflow-wrap: anywhere; }
.chip-x {
  flex: none; width: 44px; height: 44px; margin: -4px -4px -4px 0; border: 0; background: none;
  color: var(--azul-taller); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%;
}
.chip-x:hover { color: var(--azul-acero); }
.link-btn {
  min-height: 44px; padding: 0 .25rem; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--azul-logo); text-decoration: underline;
}

.notice {
  background: var(--blanco); border-left: 5px solid var(--azul-acero);
  border-radius: var(--radius); padding: 1rem; font-weight: 600;
}
.notice p { margin: 0 0 .75rem; }
.notice .btn { margin: 0; }

/* Panel de filtros: bottom sheet en celular */
.filter-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(22, 42, 65, .6); }
.filter-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; flex-direction: column;
  max-height: 85vh; max-height: 85dvh;
  background: var(--blanco); border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 30px rgba(31, 58, 92, .3);
  transform: translateY(100%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.filter-panel.open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.filter-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: .5rem .5rem .25rem 1rem; }
.filter-head h3 { margin: 0; }
.filter-close {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; border-radius: 50%; color: var(--azul-taller);
}
.filter-close:hover { background: var(--hielo); }
.filter-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 1rem; }
.filter-foot {
  flex: none; display: flex; gap: .6rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hielo); background: var(--blanco);
}
.filter-foot .btn { margin: 0; flex: 1; padding: .6rem .8rem; }

.filter-section { border-bottom: 1px solid var(--hielo); padding-bottom: .5rem; }
.filter-section summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; cursor: pointer; font-weight: 600; color: var(--azul-taller); list-style: none;
}
.filter-section summary::-webkit-details-marker { display: none; }
.filter-section summary::after {
  content: ""; width: 9px; height: 9px; margin-right: .4rem;
  border-right: 2px solid var(--azul-logo); border-bottom: 2px solid var(--azul-logo);
  transform: rotate(45deg); transition: transform .2s;
}
.filter-section[open] summary::after { transform: rotate(-135deg); }
.opt { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.opt input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--azul-logo); cursor: pointer; }
.opt-label {
  flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center;
  justify-content: space-between; gap: .5rem; cursor: pointer;
}
.opt-name { overflow-wrap: anywhere; }
.opt-count { flex: none; color: var(--texto-suave); font-size: var(--fs-0); }
/* Atenuado sin opacity: --texto-suave sobre blanco = 7.28:1 */
.opt.is-empty .opt-name, .opt.is-empty .opt-count { color: var(--texto-suave); }
.opt[hidden], .opt.is-gone { display: none; }
.opt-more { display: block; margin-top: .25rem; }

/* Tarjetas */
.products { display: grid; gap: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product[hidden] { display: none; }
.product {
  background: var(--blanco); border: 1px solid var(--hielo); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(31, 58, 92, .08); display: flex; flex-direction: column;
  transition: box-shadow .2s ease;
}
.product:hover, .product:focus-within { box-shadow: 0 8px 22px rgba(31, 58, 92, .18); }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.products .product > .product-img { background: var(--blanco); padding: 8px; box-sizing: border-box; }
.products .product > .product-img img { object-fit: contain; }
.product-img {
  height: 140px; overflow: hidden; display: grid; place-items: center;
  background: var(--hielo); color: var(--azul-logo);
}
.product-img svg { width: 56px; height: 56px; }
.products .product > .product-img { height: auto; aspect-ratio: 1 / 1; background: var(--escarcha); }
.products .product > .product-img svg { width: 30%; height: 30%; }
.product-body { padding: .6rem; display: flex; flex-direction: column; flex: 1; }
.product-body .btn { margin-top: auto; }
.product-name {
  margin: 0 0 .4rem; font-size: .9375rem; line-height: 1.2; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-body .product-code { font-size: .8125rem; }
.product-body .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding-left: .5rem; padding-right: .5rem; gap: .4rem; }
.product-body .btn svg { flex: none; }
@media (min-width: 600px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } .product-body { padding: .85rem; } }
@media (min-width: 1200px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-fit {
  margin: 0 0 .75rem; padding: .45rem .6rem; background: var(--escarcha);
  border-left: 3px solid var(--azul-acero); font-size: .8125rem; line-height: 1.35; color: var(--tinta);
}
.fit-line { margin: 0; overflow-wrap: anywhere; }
.fit-line + .fit-line { margin-top: .15rem; }
.fit-models { margin-top: .3rem; }
.fit-models .fit-chips { max-height: 8rem; overflow-y: auto; }
.fit-models .fit-chips:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fit-models summary { cursor: pointer; font-weight: 600; color: var(--azul-logo); }
.fit-chips { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.fit-chips li {
  padding: .1rem .5rem; background: var(--blanco); border: 1px solid var(--hielo);
  border-radius: 999px; font-size: .8125rem; overflow-wrap: anywhere;
}

/* Ubicación */
.info p { margin-bottom: .5em; }
address { font-style: normal; }

.phone-text { margin-top: 1rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--azul-taller); color: var(--blanco); padding: 1.5rem 0; text-align: center; font-size: var(--fs-0); }
.site-footer p { margin: 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.schedule { margin: .25rem 0 0; font-size: var(--fs-0); }

/* Escritorio */
@media (min-width: 700px) {
  h1 { font-size: var(--fs-5); }
  .hero-logo { width: 200px; height: 200px; }
  h2 { font-size: var(--fs-4); }
  .actions { flex-direction: row; flex-wrap: wrap; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 5rem 0; }
  .brand-name { font-size: var(--fs-2); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: block; position: static; background: none; }
  .nav ul { display: flex; gap: .25rem; }
  .nav a { padding: .5rem .8rem; border-radius: 8px; }
  .nav a:hover { background: var(--azul-taller); }
  .shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
  .btn-filter, .filter-close, .filter-apply { display: none; }
  .filter-backdrop { display: none !important; }
  .filter-panel {
    position: sticky; top: calc(var(--header-h) + 16px); z-index: auto;
    max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto;
    transform: none; visibility: visible; transition: none; border-radius: var(--radius);
    border: 1px solid var(--hielo); box-shadow: 0 1px 6px rgba(31, 58, 92, .1); display: block;
  }
  .filter-head { padding: 1rem 1rem .25rem; }
  .filter-body { overflow: visible; }
  .filter-foot { border-top: 0; padding: 1rem; }
  .hero.has-carousel .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero.has-carousel .carousel { margin: 0 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
  .filter-panel, .filter-panel.open, .product, .filter-section summary::after { transition: none; }
}

/* Catálogo: etiquetas, código y "Ver más" */
.product-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .5rem; }
.tag { padding: .15rem .6rem; border-radius: 999px; font-size: var(--fs-0); font-weight: 600; }
.tag-new { background: var(--azul-logo); color: var(--blanco); }
.tag-out { background: var(--hielo); color: var(--texto-suave); border: 1px solid var(--azul-acero); }
.product-code { margin: 0 0 .6rem; font-size: var(--fs-0); color: var(--texto-suave); overflow-wrap: anywhere; }
.more { display: flex; justify-content: center; margin-top: 1.5rem; }
.more[hidden] { display: none; }
.more .btn { margin: 0; }

/* Facebook */
.social { margin: 1rem 0 0; }
.fb-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--blanco); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.fb-link svg { flex: none; }

/* ¿Qué aparato tiene? */
.devices { background: var(--hielo); padding: 2rem 0; }
.devices h2 { text-align: center; margin-bottom: 1rem; }
.device-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.device-grid > li { flex: 0 0 calc((100% - 1.2rem) / 3); min-width: 0; }   /* 3 + 2 centrados en celular */
@media (min-width: 700px) { .device-grid > li { flex-basis: calc((100% - 2.4rem) / 5); } }   /* 5 en una fila */
.device-btn {
  width: 100%; min-height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  padding: .6rem .25rem; background: var(--blanco); color: var(--azul-taller); border: 2px solid var(--azul-acero); border-radius: var(--radius);
  font-weight: 600; font-size: var(--fs-0); line-height: 1.2; text-align: center; cursor: pointer; overflow-wrap: anywhere;
}
.device-btn:hover { background: var(--azul-taller); color: var(--blanco); border-color: var(--azul-taller); }
.device-btn svg { flex: none; }

/* Franja de marcas */
.brands { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin: 0 0 1rem; font-family: var(--font-texto); font-weight: 600; font-size: var(--fs-2); letter-spacing: 0; text-transform: none; color: var(--azul-logo); }
.brands-label { font-family: var(--font-texto); font-size: var(--fs-0); letter-spacing: 0; text-transform: none; color: var(--texto-suave); font-weight: 600; }

/* Acabado visual (paso 8) */
.site-header { background: rgba(50, 85, 124, .96); backdrop-filter: blur(6px); }
.hero {
  background:
    radial-gradient(120% 80% at 90% 0%, rgba(91, 130, 173, .45) 0%, rgba(91, 130, 173, 0) 60%),
    linear-gradient(160deg, #1F3A5C 0%, #162A41 100%);
}
.hero h1 { letter-spacing: -.01em; text-wrap: balance; }
.hero-logo { box-shadow: 0 0 0 6px rgba(255,255,255,.14), 0 8px 22px rgba(0,0,0,.3); }
.btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.btn-whatsapp { font-weight: 700; }
.section h2, .devices h2 { position: relative; padding-bottom: .5rem; }
.section h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; margin-top: .5rem; background: var(--azul-acero); }
.section-blue h2::after { background: var(--blanco); opacity: .8; }
.devices h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; margin: .5rem auto 0; background: var(--azul-acero); }
.service { background: var(--escarcha); border: 1px solid var(--hielo); border-radius: 14px; padding: 1.1rem; transition: box-shadow .2s ease, transform .2s ease; }
.service:hover { box-shadow: 0 8px 22px rgba(31,58,92,.14); transform: translateY(-2px); }
.service-icon { padding: 8px; box-sizing: content-box; background: var(--hielo); border-radius: 12px; }
.device-btn { box-shadow: 0 2px 6px rgba(31,58,92,.1); transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.device-btn:hover { transform: translateY(-2px); }
.brands span:not(.brands-label) { padding: .1rem .6rem; border: 1px solid var(--hielo); border-radius: 999px; background: var(--blanco); }
@media (prefers-reduced-motion: reduce) {
  .btn, .service, .device-btn { transition: none; }
  .btn:hover, .service:hover, .device-btn:hover { transform: none; }
}

/* Etiquetas de aparato: sin cortar palabras */
.device-btn { word-break: normal; overflow-wrap: normal; hyphens: none; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--verde-wa-oscuro); color: var(--blanco);
  border: 2px solid var(--blanco); box-shadow: 0 4px 14px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.wa-float:hover { background: var(--verde-wa-hover); }
.wa-float:focus-visible { outline: 3px solid var(--azul-taller); outline-offset: 0; box-shadow: 0 0 0 3px var(--blanco), 0 0 0 6px var(--azul-taller), 0 4px 14px rgba(0,0,0,.3); }
.wa-float.visible { opacity: 1; visibility: visible; transform: none; }
body.no-scroll .wa-float { display: none; }
body { padding-bottom: 5rem; }
@media (min-width: 700px) { body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; transform: none; } }
.hours { margin: 0 0 1rem; }
