.store-home {
  --home-graphite: #101012;
  --home-carbon: #404045;
  --home-white: #f8f9fa;
  --home-turquoise: #0fbfb0;
  --home-turquoise-ink: #00706a;
  --home-gold: var(--color-gold, #d4b46a);
  --home-sapphire: #17375c;
  overflow: clip;
  background: var(--home-white);
  color: var(--home-graphite);
}

.store-home *, .store-home *::before, .store-home *::after { box-sizing: border-box; }
.store-shell { width: min(100% - 40px, 1280px); margin-inline: auto; }
.store-section { padding: clamp(76px, 9vw, 132px) 0; }
.store-eyebrow { margin: 0 0 20px; color: var(--home-turquoise); font-size: .75rem; font-weight: 800; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
.store-products .store-eyebrow, .store-wellness .store-eyebrow { color: var(--home-turquoise-ink); }
.store-home h1, .store-home h2, .store-home h3, .store-home p { margin-top: 0; }
.store-home h2 { max-width: 850px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.store-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: clamp(42px, 6vw, 76px); }
.store-heading-row > p { max-width: 380px; margin: 0; color: #616168; font-size: 1.05rem; line-height: 1.6; }
.store-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; padding: 0 0 7px; color: inherit; font-size: .9rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.store-link span { color: var(--home-turquoise); transition: transform .2s ease; }
.store-link:hover span { transform: translate(3px, -2px); }
.store-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid transparent; color: inherit; font-size: .84rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.store-button:hover { transform: translateY(-2px); }
.store-button--primary { background: var(--home-white); color: var(--home-graphite); }
.store-button--primary:hover { background: var(--home-turquoise); color: var(--home-graphite); }
.store-button--dark { background: var(--home-graphite); color: var(--home-white); }
.store-button--dark:hover { background: var(--home-turquoise); color: var(--home-graphite); }
.store-home a:focus-visible { outline: 3px solid var(--home-turquoise); outline-offset: 4px; }

.store-hero { min-height: min(900px, calc(100svh - 76px)); position: relative; display: grid; align-items: center; isolation: isolate; background: #08090b; color: var(--home-white); }
.store-hero__media { position: absolute; z-index: -3; inset: 0; overflow: hidden; }
.store-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,9,.98) 0%, rgba(6,7,9,.9) 36%, rgba(6,7,9,.38) 70%, rgba(6,7,9,.16)), linear-gradient(0deg, rgba(6,7,9,.65), transparent 45%); }
.store-hero__media picture { display: block; width: 100%; height: 100%; }
.store-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 36%; filter: saturate(.72) contrast(1.06); }
.store-hero__content { position: relative; z-index: 2; padding-block: 100px; }
.store-hero h1 { max-width: 780px; margin: 0 0 28px; color: var(--home-white); font-size: clamp(2.45rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.068em; line-height: .95; text-wrap: balance; }
.store-hero h1 em, .store-closing h2 em { color: var(--home-gold); font-family: inherit; font-weight: inherit; font-style: normal; }
.store-hero__lead { max-width: 590px; margin-bottom: 34px; color: rgba(248,249,250,.76); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.store-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.store-proof { display: flex; gap: 26px; margin: 44px 0 0; padding: 0; color: rgba(248,249,250,.58); font-size: .75rem; letter-spacing: .04em; list-style: none; }
.store-proof li + li::before { content: "·"; margin-right: 26px; color: var(--home-turquoise); }
/* Campo Quantum: el componente esta en static/css/quantum_lens.css, que
 * esta plantilla carga aparte. Aqui solo su lugar en la portada, donde
 * pesa mas que en el resto del sitio.
 *
 * --ql-coherent (no opacity a secas) porque quantum_lens.css la usa como
 * punto de partida de la decoherencia al hacer scroll; opacity la sigue
 * fijando esta misma regla, asi que en un navegador sin esa animacion el
 * campo se ve exactamente igual que antes. */
.store-hero .quantum-lens { top: 50%; left: 58%; width: min(68vw, 920px); --ql-coherent: .52; opacity: var(--ql-coherent); }

.store-intents { background: var(--home-graphite); color: var(--home-white); }
.store-intents .store-heading-row > p { color: rgba(248,249,250,.58); }
.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid rgba(248,249,250,.15); }
.intent-card { min-height: 190px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px; padding: 24px 22px; color: var(--home-white); text-decoration: none; transition: background .25s ease; }
.intent-card + .intent-card { border-left: 1px solid rgba(248,249,250,.15); }
.intent-card:hover { background: rgba(15,191,176,.08); }
.intent-card__number { align-self: start; color: var(--home-gold); font-size: .75rem; letter-spacing: .12em; }
.intent-card strong, .intent-card small { display: block; }
.intent-card strong { margin-bottom: 9px; font-size: clamp(1.12rem, 1.5vw, 1.35rem); font-weight: 400; letter-spacing: -.015em; }
.intent-card small { color: rgba(248,249,250,.56); font-size: .8rem; line-height: 1.45; }
.intent-card b { color: var(--home-turquoise); font-size: 1rem; font-weight: 400; }

.store-products { padding-block: clamp(52px, 6vw, 82px); background: #ececeb; }
.store-products .store-heading-row { margin-bottom: clamp(28px, 3.5vw, 44px); }
.store-products h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.home-product-card { min-width: 0; }
.home-product-card__image { aspect-ratio: 4 / 4.5; position: relative; display: block; overflow: hidden; background: #dededc; }
.home-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.home-product-card__image:hover img { transform: scale(1.025); }
.home-product-card__image > span { position: absolute; top: 14px; left: 14px; padding: 6px 9px; background: var(--home-graphite); color: var(--home-white); font-size: .65rem; text-transform: uppercase; }
.home-product-card__content { padding-top: 18px; }
.home-product-card__content > p { margin-bottom: 5px; color: #5f6066; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.home-product-card h3 { margin-bottom: 13px; font-size: 1.02rem; font-weight: 800; line-height: 1.35; }
.home-product-card h3 a { color: inherit; text-decoration: none; }
.home-product-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.home-product-card__meta strong { font-size: .92rem; }
.home-product-card__meta small { color: #5f6066; }
.store-empty { padding: var(--space-8); border: 1px solid #cececc; text-align: center; }

.store-story { min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); padding-inline: max(0px, calc((100% - 1440px) / 2)); background: var(--home-graphite); color: var(--home-white); }
.store-story__image { min-height: 620px; overflow: hidden; }
.store-story__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.06); }
.store-story__content { align-self: center; padding: clamp(60px, 8vw, 120px); }
.store-story h2 { margin-bottom: 30px; }
.store-story__content > p:not(.store-eyebrow) { max-width: 580px; color: rgba(248,249,250,.7); line-height: 1.7; }
.technology-list { margin: var(--space-7) 0 0; }
.technology-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(248,249,250,.18); }
.technology-list dt { color: var(--home-gold); font-size: .75rem; }
.technology-list strong, .technology-list span { display: block; }
.technology-list strong { margin-bottom: 5px; font-weight: 800; }
.technology-list span { color: rgba(248,249,250,.56); font-size: .86rem; }

.store-wellness { background: var(--home-white); }
.store-wellness__grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(44px, 8vw, 110px); }
.store-wellness__copy h2 { margin-bottom: 28px; }
.store-wellness__copy > p:not(.store-eyebrow) { margin-bottom: var(--space-6); color: #65656a; line-height: 1.65; }
.store-wellness img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.store-closing { min-height: 760px; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--home-graphite); color: var(--home-white); text-align: center; }
.store-closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7,8,10,.58), rgba(7,8,10,.82)), radial-gradient(circle, transparent, #090a0c 75%); }
/* Descendiente y no hijo directo: la imagen va envuelta en un <picture>
   (partials/_picture.html). picture usa display: contents, que la saca del
   arbol de CAJAS pero no del arbol de SELECTORES, asi que un combinador
   "> img" deja de casar y la foto de cierre se pintaba a tamano intrinseco
   estirando la seccion. */
.store-closing img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: grayscale(.2) saturate(.62); }
.store-closing > div { position: relative; z-index: 1; padding: 80px 20px; }
.store-closing h2 { margin: 0 0 38px; color: var(--home-white); font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 400; letter-spacing: -.065em; line-height: .9; }

@media (max-width: 980px) {
  .store-heading-row { align-items: start; flex-direction: column; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 18px; }
  .store-story { grid-template-columns: 1fr; }
  .store-story__image { min-height: 520px; }
  .store-wellness__grid { grid-template-columns: 1fr; }
  .store-wellness__copy { max-width: 760px; }
}

@media (max-width: 720px) {
  .store-shell { width: min(100% - 32px, 1280px); }
  .store-section { padding-block: 72px; }
  .store-hero { min-height: 760px; align-items: end; }
  .store-hero__content { padding-block: 110px 54px; }
  .store-hero__media::after { background: linear-gradient(0deg, rgba(6,7,9,.98) 0%, rgba(6,7,9,.8) 62%, rgba(6,7,9,.35)); }
  .store-hero__media img { object-position: 58% center; }
  .store-hero h1 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .store-hero__lead { font-size: .96rem; }
  .store-proof { gap: 9px; justify-content: space-between; font-size: .75rem; }
  .store-proof li + li::before { margin-right: 9px; }
  .store-products { padding-block: 48px 64px; }
  .store-hero .quantum-lens { top: 34%; left: 55%; width: 130vw; --ql-coherent: .42; opacity: var(--ql-coherent); }
  .intent-grid { grid-template-columns: 1fr; }
  .intent-card { min-height: 175px; }
  .intent-card + .intent-card { border-top: 1px solid rgba(248,249,250,.15); border-left: 0; }
  .store-story__image { min-height: 420px; }
  .store-story__content { padding: var(--space-8) var(--space-5) 76px; }
  .store-closing { min-height: 650px; }
}

@media (max-width: 420px) {
  .store-actions { align-items: stretch; flex-direction: column; }
  .store-button { width: 100%; }
  .store-actions .store-link { align-self: center; }
  .home-product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .store-home *, .store-home *::before, .store-home *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* Titulos de tarjeta: enlace de al menos 24 px de alto. */
.store-home h3 a { display: inline-block; padding-block: 4px; }
