/* =========================================================
   Refrigeración Are-Cold — hoja de estilos
   Tokens de marca al inicio para poder ajustar la paleta
   en vivo durante la reunión con el cliente.
   ========================================================= */

:root{
  /* --- Paleta: parte del azul real del logo --- */
  --ink:            #0E2436;
  --ink-soft:       #1B3B54;
  --blue-800:       #204a6b;
  --blue-700:       #2c5d84;
  --blue-600:       #3e6e9e; /* azul del logo */
  --blue-500:       #4a7ba6; /* azul del logo */
  --blue-400:       #6d97bf;
  --blue-300:       #9dbcd8;
  --blue-150:       #d3e3ef;
  --blue-100:       #e7f0f6;
  --frost:          #f6f9fb;
  --white:          #ffffff;

  /* --- Acento cálido: contraste contra el frío del producto --- */
  --accent:         #e07a29;
  --accent-dark:    #b85f1a;
  --accent-light:   #f5a75c;
  --accent-pale:    #fdedde;

  /* --- WhatsApp: solo en su propio componente --- */
  --whatsapp:       #25d366;
  --whatsapp-dark:  #1da851;

  /* --- Neutros de texto --- */
  --text-body:      #2c3e4a;
  --text-muted:     #5c7284;
  --text-on-dark:   #dce8f0;
  --text-on-dark-muted: #9db4c4;

  /* --- Estado --- */
  --focus-ring:     #e07a29;

  /* --- Tipografía --- */
  --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  /* --- Radios (sistema único: cards 18px, paneles grandes 22px, botones full-pill) --- */
  --radius-card: 18px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* --- Sombra: siempre con tinte azul, offset + blur --- */
  --shadow-sm: 0 2px 8px rgba(14, 36, 54, 0.08);
  --shadow-md: 0 10px 28px rgba(14, 36, 54, 0.14);
  --shadow-lg: 0 22px 48px rgba(14, 36, 54, 0.20);

  /* --- Layout --- */
  --container: 1240px;
  --header-h: 72px;

  color-scheme: light;
}

/* =========================================================
   Reset y base
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
input, textarea{ font: inherit; color: inherit; }

::selection{ background: var(--accent); color: var(--white); }

::-webkit-scrollbar{ width: 12px; height: 12px; }
::-webkit-scrollbar-track{ background: var(--blue-100); }
::-webkit-scrollbar-thumb{ background: var(--blue-400); border-radius: var(--radius-pill); border: 3px solid var(--blue-100); }
::-webkit-scrollbar-thumb:hover{ background: var(--blue-500); }

:focus-visible{
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link{
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s ease;
}
.skip-link:focus{ top: 1rem; }

.icon{ width: 1em; height: 1em; fill: none; flex-shrink: 0; }
.icon-sprite{ position: absolute; width: 0; height: 0; overflow: hidden; }

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px){
  .container{ padding-inline: 2rem; }
}

.section{ padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tight{ padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--frost{ background: var(--frost); }
.section--ink{ background: var(--ink); color: var(--text-on-dark); }

.section-head{
  max-width: 640px;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head h2{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.section--ink .section-head h2{ color: var(--white); }
.section-head p{
  margin-top: .65rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 56ch;
}
.section--ink .section-head p{ color: var(--text-on-dark-muted); }

.section-head-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section-head-row .section-head{ margin-bottom: 0; }

/* =========================================================
   Botones
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .98rem;
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s ease, background-color .18s ease;
  line-height: 1;
}
.btn .icon{ width: 1.15em; height: 1.15em; }
.btn:active{ transform: scale(.97); }

.btn--primary{
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{ background: var(--accent-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn--ghost{
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn--ghost:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

.btn--ghost-dark{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--blue-300);
}
.btn--ghost-dark:hover{ background: var(--blue-100); border-color: var(--blue-500); }

.btn--whatsapp{
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--whatsapp:hover{ background: var(--whatsapp-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn--sm{ padding: .6rem 1.15rem; font-size: .88rem; }
.btn--block{ width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--blue-150);
}
.site-header__bar{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__logo img{
  height: 46px;
  width: auto;
}
.site-header__nav{
  display: none;
}
@media (min-width: 1024px){
  .site-header__nav{
    display: flex;
    align-items: center;
    gap: 1.9rem;
  }
  .site-header__nav a{
    font-weight: 600;
    font-size: .96rem;
    color: var(--ink-soft);
    position: relative;
    padding-block: .3rem;
  }
  .site-header__nav a::after{
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    transition: right .22s cubic-bezier(.16,1,.3,1);
  }
  .site-header__nav a:hover::after,
  .site-header__nav a[aria-current="page"]::after{ right: 0; }
  .site-header__nav a[aria-current="page"]{ color: var(--ink); }
}

.site-header__actions{
  display: flex;
  align-items: center;
  gap: .6rem;
}
.icon-btn{
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background-color .18s ease;
}
.icon-btn:hover{ background: var(--blue-100); }
.icon-btn .icon{ width: 22px; height: 22px; }

.nav-toggle{ display: inline-flex; }
@media (min-width: 1024px){ .nav-toggle{ display: none; } }

.header-whatsapp{ display: none; }
@media (min-width: 480px){ .header-whatsapp{ display: inline-flex; } }

/* Buscador desplegable del header */
.search-panel{
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--blue-150);
  box-shadow: var(--shadow-md);
  padding-block: 1.1rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s cubic-bezier(.16,1,.3,1);
}
.search-panel.is-open{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.search-panel form{
  display: flex;
  gap: .6rem;
  align-items: center;
}
.search-panel input{
  flex: 1;
  border: 1.5px solid var(--blue-150);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: 1rem;
  background: var(--frost);
}
.search-panel input:focus-visible{ border-color: var(--accent); }

/* Menú móvil */
.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.mobile-nav__top img{ height: 40px; }
.mobile-nav__links{
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.mobile-nav__links a{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav__footer{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.mobile-nav__contact{
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-on-dark-muted);
  font-size: .95rem;
}

body.nav-locked{ overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  background: linear-gradient(155deg, var(--ink) 0%, var(--blue-800) 62%, var(--blue-700) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  position: relative;
}
.hero__grid{
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px){
  .hero__grid{
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
  }
}
.hero__copy h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.hero__copy h1 em{
  font-style: normal;
  color: var(--accent-light);
}
.hero__copy p{
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: var(--text-on-dark-muted);
  max-width: 46ch;
}
.hero__actions{
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.hero__visual{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.2;
  background:
    linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow: var(--shadow-lg);
}
.hero__visual-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14,36,54,.78) 0%, rgba(14,36,54,.15) 42%, rgba(14,36,54,0) 60%);
}
.hero__visual .frost-edge{
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%;
  height: 44px;
  color: var(--white);
  z-index: 2;
}
.hero__visual-content{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.6rem 1.8rem 3rem;
}
.hero__visual-content strong{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}
.hero__visual-content span{
  font-size: .92rem;
  color: rgba(255,255,255,.75);
}
.photo-note{
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(14,36,54,.55);
  color: rgba(255,255,255,.85);
  font-size: .74rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  letter-spacing: .01em;
}

/* Franja de icing de hielo, recurso puntual */
.frost-divider{
  width: 100%;
  height: 34px;
  color: var(--white);
  display: block;
}
.frost-divider--top{ transform: scaleY(-1); }

/* =========================================================
   Ofertas / destacados (carrusel horizontal con scroll-snap)
   ========================================================= */
.offers{ background: var(--white); }
.offers__track{
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  margin: 0 -1.25rem;
  padding-inline: 1.25rem;
  scrollbar-width: thin;
}
@media (min-width: 768px){
  .offers__track{ margin: 0 -2rem; padding-inline: 2rem; }
}
.offer-card{
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(320px, 82vw);
  background: var(--frost);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.offer-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-card__media{ position: relative; }
.offer-card__body{ padding: 1.1rem 1.2rem 1.3rem; }
.offer-card__body h3{
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}
.offer-card__body .cat{
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .2rem;
}
.offer-card__body .btn{ margin-top: .9rem; }

.badge{
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.badge__icon{
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: none;
}
.badge--oferta{ background: var(--accent); color: var(--white); }
.badge--destacado{ background: var(--ink); color: var(--white); }
.badge--nuevo{ background: var(--white); color: var(--blue-700); border: 1.5px solid var(--blue-300); box-shadow: none; }

/* =========================================================
   Placeholder de foto de producto
   ========================================================= */
.photo-block{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, var(--blue-100) 0 14px, var(--blue-150) 14px 28px);
}
.photo-block .icon{
  width: 34%;
  height: 34%;
  max-width: 72px;
  max-height: 72px;
  color: var(--blue-400);
}
.photo-block--photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-block__tag{
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  font-size: .68rem;
  color: var(--blue-700);
  background: rgba(255,255,255,.82);
  padding: .25rem .55rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* =========================================================
   Categorías — mosaico asimétrico
   ========================================================= */
.cat-mosaic{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
@media (min-width: 640px){
  .cat-mosaic{ grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px){
  .cat-mosaic{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: 108px; }
  .cat-mosaic .cat-tile--big{ grid-column: span 2; grid-row: span 2; }
}
.cat-tile{
  border-radius: var(--radius-card);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  background: var(--blue-100);
  color: var(--ink);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, background-color .2s ease;
  position: relative;
  overflow: hidden;
}
.cat-tile:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-tile .icon{ width: 26px; height: 26px; }
.cat-tile span{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.2;
}
.cat-tile--big{ min-height: 232px; background: var(--blue-600); color: var(--white); }
.cat-tile--big .icon{ width: 34px; height: 34px; }
.cat-tile--big span{ font-size: 1.15rem; }
.cat-tile--accent{ background: var(--accent); color: var(--white); }
.cat-tile--dark{ background: var(--ink); color: var(--white); }

/* =========================================================
   Grilla de productos
   ========================================================= */
.product-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}
@media (min-width: 1024px){
  .product-grid{ grid-template-columns: repeat(4, 1fr); }
}

.product-card{
  background: var(--white);
  border: 1px solid var(--blue-150);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-300);
}
.product-card__media{ position: relative; }
.product-card__body{
  padding: .95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.product-card__cat{
  font-size: .74rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-card__name{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
}
.product-card .btn{
  margin-top: auto;
  padding-top: .95rem;
}
.product-card button.product-card__open{
  text-align: left;
  display: block;
  width: 100%;
}

/* =========================================================
   Catálogo: filtros
   ========================================================= */
.catalog-toolbar{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.catalog-search{
  position: relative;
}
.catalog-search .icon{
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--text-muted);
}
.catalog-search input{
  width: 100%;
  padding: .9rem 1rem .9rem 2.7rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue-150);
  background: var(--frost);
  font-size: 1rem;
}
.catalog-search input:focus-visible{ border-color: var(--accent); }

.chip-row{
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-bottom: .3rem;
  scrollbar-width: thin;
}
.chip{
  flex: 0 0 auto;
  padding: .55rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--blue-150);
  background: var(--white);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.chip:hover{ border-color: var(--blue-400); }
.chip.is-active{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.catalog-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: .92rem;
}

.empty-state{
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
}
.empty-state .icon{
  width: 48px; height: 48px;
  color: var(--blue-300);
  margin-inline: auto;
  margin-bottom: 1rem;
}
.empty-state h3{
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

/* Transición suave de la grilla al filtrar */
.product-grid.is-filtering .product-card{
  opacity: 0;
  transform: translateY(8px);
}
.product-card{
  animation: card-in .32s cubic-bezier(.16,1,.3,1) both;
}
@keyframes card-in{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Repuestos block
   ========================================================= */
.spares{
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.spares__frost{
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%;
  height: 30px;
  color: var(--white);
  z-index: 1;
}
@media (min-width: 860px){
  .spares{ grid-template-columns: 1.1fr .9fr; align-items: center; }
}
.spares__copy h2{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
}
.spares__copy p{
  margin-top: .9rem;
  color: var(--text-on-dark-muted);
  max-width: 48ch;
}
.spares__list{
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.spares__list li{
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text-on-dark);
  font-size: .96rem;
}
.spares__list .icon{ width: 20px; height: 20px; color: var(--accent-light); flex-shrink: 0; }
.spares__actions{ margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }

.spares__panel{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1.6rem;
}
.spares__panel-row{
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-block: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.spares__panel-row:last-child{ border-bottom: none; }
.spares__panel-row .icon{ width: 24px; height: 24px; color: var(--accent-light); flex-shrink: 0; }
.spares__panel-row strong{ display: block; font-size: .95rem; }
.spares__panel-row span{ display: block; font-size: .82rem; color: var(--text-on-dark-muted); }

/* =========================================================
   Cómo comprar — pasos
   ========================================================= */
.steps{
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
}
@media (min-width: 768px){
  .steps{ grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
}
.step{
  position: relative;
  padding-top: .5rem;
}
.step::before{
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue-200, var(--blue-150));
  -webkit-text-stroke: 1.5px var(--blue-400);
  color: transparent;
  line-height: 1;
  display: block;
}
.step h3{
  margin-top: .6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 600;
}
.step p{
  margin-top: .4rem;
  color: var(--text-muted);
  font-size: .95rem;
}
.step:not(:last-child){
  border-bottom: 1px solid var(--blue-150);
  padding-bottom: 1.4rem;
}
@media (min-width: 768px){
  .step:not(:last-child){
    border-bottom: none;
    border-right: 1px solid var(--blue-150);
    padding-bottom: 0;
    padding-right: 1.8rem;
  }
}

/* =========================================================
   Dónde estamos
   ========================================================= */
.location{
  display: grid;
  gap: 1.8rem;
}
@media (min-width: 860px){
  .location{ grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.location__card{
  background: var(--white);
  border: 1px solid var(--blue-150);
  border-radius: var(--radius-card);
  padding: 1.8rem;
}
.location__row{
  display: flex;
  gap: .9rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--blue-150);
}
.location__row:first-of-type{ padding-top: 0; }
.location__row:last-of-type{ border-bottom: none; }
.location__row .icon{ width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; margin-top: .1rem; }
.location__row strong{ display: block; color: var(--ink); font-size: .98rem; margin-bottom: .15rem; }
.location__row span, .location__row p{ color: var(--text-muted); font-size: .92rem; margin: 0; }
.location__social{
  display: flex;
  gap: .6rem;
  margin-top: 1.3rem;
}
.location__social a{
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  transition: background-color .18s ease;
}
.location__social a:hover{ background: var(--blue-150); }
.location__map{
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background:
    linear-gradient(145deg, var(--blue-500), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.location__map-content{
  text-align: center;
  padding: 2rem;
}
.location__map-content .icon{ width: 40px; height: 40px; margin-inline: auto; margin-bottom: .8rem; color: var(--accent-light); }
.location__map-content .btn{ margin-top: 1.2rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: var(--text-on-dark-muted);
}
.site-footer__top{
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  gap: 2.2rem;
}
@media (min-width: 768px){
  .site-footer__top{ grid-template-columns: 1.3fr 1fr 1fr; }
}
.site-footer__brand img{ height: 52px; margin-bottom: 1rem; }
.site-footer__brand p{ max-width: 34ch; font-size: .92rem; }
.site-footer h4{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .9rem;
}
.site-footer__list{ display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.site-footer__list a:hover{ color: var(--white); }
.site-footer__social{ display: flex; gap: .6rem; margin-top: 1rem; }
.site-footer__social a{
  width: 38px; height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-on-dark);
}
.site-footer__social a:hover{ background: rgba(255,255,255,.16); }
.site-footer__bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .82rem;
  text-align: center;
}
@media (min-width: 640px){
  .site-footer__bottom{ flex-direction: row; justify-content: space-between; text-align: left; }
}
.site-footer__bottom a{ color: var(--text-on-dark); font-weight: 600; }

/* =========================================================
   WhatsApp flotante
   ========================================================= */
.float-whatsapp{
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease;
}
.float-whatsapp:hover{ transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 32px rgba(37, 211, 102, 0.48); }
.float-whatsapp .icon{ width: 28px; height: 28px; }

/* =========================================================
   Modal ficha de producto
   ========================================================= */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(14, 36, 54, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
@media (min-width: 768px){
  .modal-overlay{ align-items: center; padding: 2rem; }
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }

.product-modal{
  background: var(--white);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: translateY(24px);
  transition: transform .26s cubic-bezier(.16,1,.3,1);
  position: relative;
}
@media (min-width: 768px){
  .product-modal{ border-radius: var(--radius-lg); }
}
.modal-overlay.is-open .product-modal{ transform: translateY(0); }

.product-modal__close{
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}
.product-modal__media{
  aspect-ratio: 16/10;
  position: relative;
}
.product-modal__body{ padding: 1.6rem 1.6rem 2rem; }
.product-modal__cat{
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-modal__body h2{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink);
  margin-top: .3rem;
  line-height: 1.2;
}
.product-modal__desc{
  margin-top: .9rem;
  color: var(--text-body);
  max-width: 60ch;
}
.product-modal__features{
  margin-top: 1.3rem;
  display: grid;
  gap: .6rem;
}
.product-modal__features li{
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--text-body);
  padding-block: .5rem;
  border-bottom: 1px solid var(--blue-150);
}
.product-modal__features li:last-child{ border-bottom: none; }
.product-modal__features .icon{ width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; margin-top: .15rem; }
.product-modal__actions{
  margin-top: 1.6rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

/* =========================================================
   Formulario de contacto
   ========================================================= */
.form-grid{
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 640px){
  .form-row-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
.field{ display: flex; flex-direction: column; gap: .45rem; }
.field label{ font-size: .9rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea{
  border: 1.5px solid var(--blue-150);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  background: var(--frost);
  font-size: .98rem;
  resize: vertical;
}
.field input:focus-visible, .field textarea:focus-visible{ border-color: var(--accent); }
.field small{ color: var(--text-muted); font-size: .8rem; }
.form-note{
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: .3rem;
}
.form-note .icon{ width: 20px; height: 20px; color: var(--blue-600); flex-shrink: 0; margin-top: .1rem; }

.form-success{
  display: none;
  text-align: center;
  padding: 2.4rem 1rem;
}
.form-success.is-visible{ display: block; }
.form-success .icon{ width: 52px; height: 52px; color: var(--whatsapp); margin-inline: auto; margin-bottom: 1rem; }
.form-success h3{ font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.form-success p{ margin-top: .5rem; color: var(--text-muted); max-width: 42ch; margin-inline: auto; }

/* =========================================================
   Página "Nosotros" bloques compartidos (hero simple de páginas internas)
   ========================================================= */
.page-hero{
  background: linear-gradient(155deg, var(--ink) 0%, var(--blue-700) 100%);
  color: var(--text-on-dark);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1{
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  max-width: 20ch;
}
.page-hero p{
  margin-top: .8rem;
  color: var(--text-on-dark-muted);
  max-width: 52ch;
}

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; }
}

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
