/* estilos.css — Juguería Valenzuela · tema orgánico: salvia, crema y hojas */
* { box-sizing: border-box; }

:root {
  --verde: #6f8f5f;            /* salvia */
  --verde-oscuro: #34503a;     /* bosque */
  --verde-profundo: #243a2a;
  --naranja: #e8a06a;
  --naranja-btn: #b4532a;      /* terracota: texto blanco 5.6:1 */
  --naranja-texto: #a34a22;
  --fondo: #faf6ee;
  --crema: #f6e7d3;
  --texto: #26352a;
  --suave: #5f6f62;
  --borde: rgba(52, 80, 58, .16);
  --vidrio: rgba(255, 255, 255, .62);
  --radio: 28px;
  --titulos: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --hoja-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8 92C6 44 46 8 92 8c2 48-38 84-84 84z' fill='%236f8f5f' fill-opacity='.55'/%3E%3Cpath d='M8 92L66 34M38 62l22 4M30 70l-2-22M48 52l-2-20M56 44l20 2' stroke='%23fbf7ef' stroke-opacity='.7' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  --hoja-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8 92C6 44 46 8 92 8c2 48-38 84-84 84z' fill='%238fb078' fill-opacity='.45'/%3E%3Cpath d='M8 92L66 34M38 62l22 4M30 70l-2-22M48 52l-2-20M56 44l20 2' stroke='%23fbf7ef' stroke-opacity='.7' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  --hoja-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8 92C6 44 46 8 92 8c2 48-38 84-84 84z' fill='%23e8a06a' fill-opacity='.5'/%3E%3Cpath d='M8 92L66 34M38 62l22 4M30 70l-2-22M48 52l-2-20M56 44l20 2' stroke='%23fbf7ef' stroke-opacity='.7' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

html { scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--texto);
  line-height: 1.6;
  background:
    radial-gradient(520px 420px at 95% 4%, rgba(232, 160, 106, .30), transparent 70%),
    radial-gradient(640px 520px at 0% 28%, rgba(143, 176, 120, .32), transparent 70%),
    radial-gradient(560px 460px at 100% 70%, rgba(246, 231, 211, .9), transparent 70%),
    radial-gradient(600px 500px at 5% 100%, rgba(143, 176, 120, .26), transparent 70%),
    var(--fondo);
  background-attachment: fixed;
}
/* hojas decorativas, difuminadas, en las esquinas de toda la página */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}
body::before { top: -40px; left: -50px; width: 260px; height: 260px; background-image: var(--hoja-1); transform: rotate(-20deg); filter: blur(1.5px); }
body::after { bottom: -50px; right: -40px; width: 300px; height: 300px; background-image: var(--hoja-2); transform: rotate(150deg); filter: blur(2px); }

/* los filtros ocultan tarjetas con el atributo hidden; sin esto, display:flex de .producto lo ignora */
[hidden] { display: none !important; }

h1, h2, h3, .marca { font-family: var(--titulos); font-weight: 600; letter-spacing: -.01em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }

/* ---------- Encabezado (vidrio) ---------- */
.appbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 238, .7);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--borde);
}
.appbar__inner { max-width: 1040px; margin: 0 auto; padding: .55rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marca { display: flex; align-items: center; gap: .6rem; color: var(--verde-oscuro); font-size: 1.3rem; text-decoration: none; }
.marca img { height: 42px; width: auto; }
.appbar__acciones { display: flex; align-items: center; gap: .6rem; }
.appbar__enlace { color: var(--verde-oscuro); font-weight: 500; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; }
.appbar__enlace:hover { background: rgba(111, 143, 95, .16); }
.carrito-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--verde-oscuro);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: .4rem .45rem .4rem 1rem;
  border-radius: 999px;
}
.carrito-btn:hover { background: var(--verde-profundo); }
.carrito-btn__num { min-width: 1.7rem; height: 1.7rem; display: inline-grid; place-items: center; background: var(--naranja-btn); border-radius: 999px; font-size: .85rem; }
.estado-conexion { font-size: .8rem; font-weight: 500; color: var(--verde-oscuro); white-space: nowrap; }
.estado-conexion--offline { color: var(--naranja-texto); }

main { max-width: 1040px; margin: 0 auto; padding: 1.5rem 1rem 3.5rem; }
section h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); color: var(--verde-oscuro); margin: 0 0 .3rem; }

/* ---------- Portada ---------- */
.portada {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 3rem;
  margin-bottom: 3rem;
  color: var(--verde-profundo);
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, .7);
  background:
    radial-gradient(420px 300px at 88% 20%, rgba(232, 160, 106, .45), transparent 70%),
    radial-gradient(520px 360px at 10% 90%, rgba(143, 176, 120, .55), transparent 70%),
    linear-gradient(135deg, #fbf3e4 0%, #e9f0da 100%);
  box-shadow: 0 30px 60px -30px rgba(52, 80, 58, .45);
}
.portada::before, .portada::after { content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.portada::before { width: 190px; height: 190px; left: -40px; bottom: -50px; background-image: var(--hoja-1); transform: rotate(25deg); filter: blur(1px); }
.portada::after { width: 150px; height: 150px; right: 28%; top: -40px; background-image: var(--hoja-3); transform: rotate(-35deg); filter: blur(2.5px); }
.portada h1 { margin: 0 0 .7rem; font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.05; color: var(--verde-oscuro); font-weight: 500; }
.portada p { margin: 0 0 1.6rem; max-width: 36ch; font-size: 1.1rem; color: var(--suave); }
.portada__boton {
  display: inline-block;
  background: var(--verde-oscuro);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: .85rem 1.8rem;
  border-radius: 999px;
  box-shadow: 0 14px 26px -12px rgba(36, 58, 42, .7);
}
.portada__boton:hover { background: var(--verde-profundo); }
.portada__marco {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 70%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;   /* forma de guijarro (solo el marco, el logo no se recorta) */
  box-shadow: 0 30px 60px -26px rgba(52, 80, 58, .55), inset 0 0 40px rgba(143, 176, 120, .22);
}
.portada__marco::before {   /* resplandor suave detrás del logo */
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(232, 160, 106, .45), transparent 70%);
  filter: blur(18px);
}
.portada__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 66%;
  max-height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(52, 80, 58, .25));
}

/* ---------- Catálogo ---------- */
.catalogo__intro { margin: 0 0 1.2rem; color: var(--suave); font-style: italic; font-family: var(--titulos); }
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.filtros button {
  background: var(--vidrio);
  color: var(--verde-oscuro);
  border: 1px solid var(--borde);
  border-radius: 999px;
  padding: .45rem 1.15rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.filtros button:hover { border-color: var(--verde); }
.filtros button[aria-pressed="true"] { background: var(--verde-oscuro); border-color: var(--verde-oscuro); color: #fff; }

.grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.producto {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  background: var(--vidrio);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--radio);
  padding: .65rem .65rem 1.1rem;
  box-shadow: 0 18px 40px -26px rgba(52, 80, 58, .55), inset 0 0 0 1px var(--borde);
}
.producto__foto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-bottom: .5rem; background: #e9f0da; }
.producto strong { font-family: var(--titulos); font-size: 1.12rem; font-weight: 600; color: var(--verde-oscuro); padding: 0 .4rem; }
.producto .precio { align-self: flex-start; margin: 0 .4rem; font-family: var(--titulos); font-style: italic; font-size: 1.15rem; color: var(--naranja-texto); }
.producto p { margin: .1rem .4rem .6rem; font-size: .82rem; color: var(--suave); }
.producto button {
  margin: auto .3rem 0;
  background: transparent;
  color: var(--naranja-btn);
  border: 1px solid var(--naranja-btn);
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
}
.producto button:hover { background: var(--naranja-btn); color: #fff; }
.producto button.agregado { background: var(--verde); border-color: var(--verde); color: #fff; }

/* esqueleto de carga: mismo tamaño que la tarjeta real (CLS ≈ 0) */
@keyframes brillo { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.producto--cargando strong, .producto--cargando .precio, .producto--cargando p {
  color: transparent;
  border-radius: 8px;
  background: linear-gradient(90deg, #e9f0da 25%, #f6f9ee 50%, #e9f0da 75%) 0 0 / 200% 100%;
  animation: brillo 1.6s linear infinite;
}
.producto--cargando strong { width: 70%; }
.producto--cargando .precio { width: 30%; }
.producto--cargando p { width: 45%; }
.producto--cargando button { visibility: hidden; }

/* ---------- Carrito y ubicación ---------- */
.carrito, .ubicacion {
  position: relative;
  overflow: hidden;
  background: var(--vidrio);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 36px;
  padding: 1.8rem 1.9rem;
  margin-top: 3rem;
  box-shadow: 0 24px 50px -32px rgba(52, 80, 58, .55), inset 0 0 0 1px var(--borde);
}
.carrito::after, .ubicacion::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -34px;
  width: 140px;
  height: 140px;
  background: var(--hoja-3) no-repeat center / contain;
  transform: rotate(40deg);
  filter: blur(1.5px);
  pointer-events: none;
}
#carrito-lista { list-style: none; padding: 0; margin: .8rem 0; }
#carrito-lista li { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--borde); }
#carrito-lista li.carrito__vacio { display: block; text-align: center; color: var(--suave); font-style: italic; font-family: var(--titulos); padding: 1.8rem 0; border: 0; }
.carrito-nombre { font-family: var(--titulos); font-size: 1.05rem; font-weight: 600; color: var(--verde-oscuro); }
.carrito-cantidad { display: flex; align-items: center; gap: .45rem; }
.carrito-cantidad button { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--borde); background: rgba(255, 255, 255, .8); color: var(--verde-oscuro); font-weight: 700; cursor: pointer; }
.carrito-cantidad button:hover { background: var(--verde-oscuro); border-color: var(--verde-oscuro); color: #fff; }
.carrito-cantidad__valor { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.carrito-precio { font-family: var(--titulos); font-style: italic; font-size: 1.1rem; color: var(--naranja-texto); white-space: nowrap; }
.carrito-quitar { background: transparent; border: 0; color: #9a4040; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.carrito-quitar:hover { color: #6e2a2a; }
.carrito__total { font-family: var(--titulos); font-size: 1.6rem; color: var(--verde-oscuro); margin: .9rem 0; }

.boton-secundario { background: var(--verde-oscuro); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.4rem; font-weight: 600; cursor: pointer; margin: .2rem .4rem .2rem 0; }
.boton-secundario:hover:not(:disabled) { background: var(--verde-profundo); }
.boton-secundario:disabled { opacity: .55; cursor: default; }
.mensaje { color: var(--suave); font-size: .92rem; min-height: 1.2em; margin: .4rem 0; }
.mensaje a { color: var(--naranja-texto); font-weight: 600; }

.mapa { height: 320px; margin-top: .9rem; border: 1px solid var(--borde); border-radius: 26px; background: var(--crema); display: grid; place-items: center; }

/* ---------- Pie ---------- */
.pie { background: var(--verde-oscuro); color: #e4edd6; margin-top: 2rem; padding-top: .6rem; border-radius: 40px 40px 0 0; }
.pie__inner { max-width: 1040px; margin: 0 auto; padding: 1.8rem 1rem 2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; }
.pie strong { color: #fff; font-family: var(--titulos); font-size: 1.2rem; font-weight: 600; }
.pie span { font-size: .92rem; }

/* ---------- Celular ---------- */
@media (max-width: 720px) {
  body::before { width: 170px; height: 170px; }
  body::after { width: 190px; height: 190px; }
  .portada { grid-template-columns: 1fr; padding: 2rem 1.4rem; text-align: center; border-radius: 34px; }
  .portada p { margin-inline: auto; }
  .portada__marco { max-width: 190px; order: -1; margin-bottom: .6rem; }
  .appbar__enlace { display: none; }
  .marca span { font-size: 1.05rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .producto strong { font-size: .98rem; }
  .carrito, .ubicacion { padding: 1.3rem 1.1rem; border-radius: 28px; }
  #carrito-lista li { grid-template-columns: auto 1fr auto; grid-template-areas: "f n n" "f c p" "q q q"; }
  .carrito-foto { grid-area: f; }
  .estrella { grid-template-columns: 1fr; min-height: 560px; padding: 1rem; border-radius: 32px; }
  .carrito-nombre { grid-area: n; }
  .carrito-cantidad { grid-area: c; }
  .carrito-precio { grid-area: p; justify-self: end; }
  .carrito-quitar { grid-area: q; justify-self: start; padding: 0; }
}

/* ================= Fotos con precio encima ================= */
.producto__media, .estrella__media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: .5rem;
  perspective: 700px;
}
.producto__media .producto__foto, .estrella__foto {
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--zoom, 1));
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.producto__media:hover .producto__foto, .estrella__media:hover .estrella__foto { --zoom: 1.08; }
.producto__media::after, .estrella__media::after {   /* velo suave abajo para que el precio se lea */
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(36, 58, 42, .55));
  pointer-events: none;
}
.producto__media .precio, .estrella__media .precio {
  position: absolute;
  z-index: 2;
  right: .6rem;
  bottom: .6rem;
  margin: 0;
  padding: .15rem .85rem;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--naranja-texto);
  font-size: 1.1rem;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}
.producto__media .insignia { z-index: 2; }

/* ================= Producto estrella ================= */
.estrella {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 340px;      /* reserva el espacio: el contenido de abajo no brinca al cargar */
  margin-bottom: 3rem;
  padding: 1.4rem;
  background: var(--vidrio);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 40px;
  box-shadow: 0 24px 50px -30px rgba(52, 80, 58, .55), inset 0 0 0 1px var(--borde);
}
.estrella::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 170px;
  height: 170px;
  background: var(--hoja-2) no-repeat center / contain;
  transform: rotate(200deg);
  filter: blur(2px);
  pointer-events: none;
}
.estrella__media { margin: 0; min-height: 260px; background: #e9f0da; border-radius: 30px; }
.estrella__media .precio { font-size: 1.5rem; right: 1rem; bottom: 1rem; padding: .2rem 1.1rem; }
.estrella__texto { position: relative; z-index: 1; }
.estrella__texto h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; line-height: 1.1; margin: .6rem 0; }
.estrella__texto p { color: var(--suave); max-width: 38ch; margin: 0 0 1.3rem; }
.estrella__etiqueta { display: inline-block; background: var(--crema); color: var(--naranja-texto); font-weight: 600; font-size: .85rem; padding: .25rem .95rem; border-radius: 999px; }
.estrella__boton {
  background: var(--naranja-btn);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .8rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 26px -12px rgba(180, 83, 42, .8);
}
.estrella__boton:hover:not(:disabled) { background: #96431f; }
.estrella__boton:disabled { opacity: .5; cursor: default; }
.producto--estrella { box-shadow: 0 18px 40px -26px rgba(52, 80, 58, .55), inset 0 0 0 2px rgba(232, 160, 106, .65); }

/* ================= Carrito con fotos ================= */
.carrito-foto { width: 56px; height: 56px; object-fit: cover; border-radius: 16px; box-shadow: 0 8px 16px -8px rgba(52, 80, 58, .5); background: #e9f0da; }
.carrito-item--nuevo { animation: resaltar 1.2s ease-out; }
@keyframes resaltar { 0% { background: rgba(232, 160, 106, .35); } 100% { background: transparent; } }
.boton-fantasma { background: transparent; border: 1px solid var(--borde); color: var(--suave); border-radius: 999px; padding: .4rem 1rem; font-size: .85rem; cursor: pointer; margin-bottom: .6rem; }
.boton-fantasma:hover { border-color: #9a4040; color: #9a4040; }

/* ================= Visor de imagen ================= */
.visor { border: 0; padding: 0; border-radius: 30px; max-width: min(92vw, 560px); overflow: hidden; background: #fff; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); }
.visor::backdrop { background: rgba(36, 58, 42, .55); backdrop-filter: blur(8px); }
.visor[open] { animation: aparecer .35s cubic-bezier(.22, 1, .36, 1); }
.visor__foto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visor__info { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1rem 1.3rem 1.3rem; }
.visor__info strong { font-family: var(--titulos); font-size: 1.3rem; color: var(--verde-oscuro); flex: 1 1 100%; }
.visor__precio { font-family: var(--titulos); font-style: italic; font-size: 1.3rem; color: var(--naranja-texto); }
.visor__agregar { margin-left: auto; background: var(--naranja-btn); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.4rem; font-weight: 600; cursor: pointer; }
.visor__cerrar { position: absolute; top: .7rem; right: .7rem; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); cursor: pointer; font-size: 1rem; z-index: 2; }

/* foto que vuela al carrito */
.volando { position: fixed; z-index: 60; border-radius: 18px; object-fit: cover; pointer-events: none; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }

/* ================= Portada rediseñada ================= */
.etiqueta { display: inline-block; background: rgba(255, 255, 255, .7); border: 1px solid var(--borde); color: var(--verde-oscuro); font-weight: 600; font-size: .82rem; padding: .3rem .95rem; border-radius: 999px; }
.portada h1 { margin-top: .9rem; }
.portada h1 em { display: block; font-style: italic; color: var(--naranja-texto); }
.portada__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.portada__enlace { color: var(--verde-oscuro); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.portada__enlace:hover { color: var(--naranja-texto); }
.portada__datos { display: flex; flex-wrap: wrap; gap: .8rem 2rem; list-style: none; padding: 1.2rem 0 0; margin: 1.8rem 0 0; border-top: 1px solid var(--borde); }
.portada__datos strong { display: block; font-family: var(--titulos); font-size: 1.9rem; font-weight: 500; line-height: 1; color: var(--verde-oscuro); font-variant-numeric: tabular-nums; }
.portada__datos span { font-size: .85rem; color: var(--suave); }
.portada__logo { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 10px); transition: translate .25s ease-out; }
.chip {
  position: absolute;
  z-index: 3;
  white-space: nowrap;
  padding: .4rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--verde-oscuro);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 12px 24px -12px rgba(52, 80, 58, .55);
  translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -22px);
  transition: translate .25s ease-out;
  animation: flotar 5s ease-in-out infinite;
}
.chip--1 { top: 6%; left: -16%; }
.chip--2 { top: 44%; right: -22%; animation-delay: 1.4s; }
.chip--3 { bottom: 4%; left: -6%; animation-delay: 2.6s; }

/* ================= Sobre nosotros ================= */
.nosotros {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  padding: 2.1rem 2.3rem 2.3rem;
  background: var(--vidrio);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 40px;
  box-shadow: 0 24px 50px -30px rgba(52, 80, 58, .55), inset 0 0 0 1px var(--borde);
}
.nosotros::after { content: ""; position: absolute; right: -34px; top: -40px; width: 180px; height: 180px; background: var(--hoja-1) no-repeat center / contain; transform: rotate(35deg); filter: blur(2px); pointer-events: none; }
.nosotros h2 { position: relative; z-index: 1; font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: .7rem 0 1.2rem; }
.pestanas { position: relative; z-index: 1; display: inline-flex; gap: .3rem; padding: .3rem; max-width: 100%; overflow-x: auto; background: rgba(52, 80, 58, .08); border-radius: 999px; margin-bottom: 1.4rem; }
.pestanas button { border: 0; background: transparent; color: var(--verde-oscuro); font-weight: 600; padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.pestanas button:hover { background: rgba(255, 255, 255, .7); }
.pestanas button[aria-selected="true"] { background: var(--verde-oscuro); color: #fff; box-shadow: 0 8px 16px -8px rgba(36, 58, 42, .8); }
.paneles { position: relative; z-index: 1; }
.paneles [role="tabpanel"] { animation: aparecer .45s cubic-bezier(.22, 1, .36, 1); }
.paneles p { max-width: 64ch; color: var(--suave); margin: 0 0 1.3rem; }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.valor { background: rgba(255, 255, 255, .72); border: 1px solid var(--borde); border-radius: 24px; padding: 1.15rem 1.25rem; transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s; }
.valor:hover { transform: translateY(-5px); box-shadow: 0 18px 30px -20px rgba(52, 80, 58, .6); }
.valor__icono { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--crema); font-size: 1.4rem; margin-bottom: .6rem; }
.valor strong { display: block; font-family: var(--titulos); font-size: 1.1rem; color: var(--verde-oscuro); margin-bottom: .15rem; }
.valor span:not(.valor__icono) { font-size: .92rem; color: var(--suave); }

@media (max-width: 720px) {
  .portada__datos { justify-content: center; gap: .8rem 1.4rem; }
  .portada__acciones { justify-content: center; }
  .chip { font-size: .72rem; padding: .3rem .7rem; }
  .chip--1 { left: -8%; } .chip--2 { right: -10%; } .chip--3 { left: 0; }
  .nosotros { padding: 1.5rem 1.1rem 1.6rem; border-radius: 30px; }
  .valores { grid-template-columns: 1fr; }
}