:root {
  --apple-blue: #0071e3;
  --apple-gray: #f5f5f7;
  --apple-text: #1d1d1f;
  --apple-muted: #6e6e73;
}
body {
  color: var(--apple-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
}
.container { width: min(1280px, calc(100% - 44px)); }
.topbar {
  padding: 7px 15px;
  background: #050505;
  color: #f5f5f7;
  border: 0;
  font-size: 12px;
  letter-spacing: .1px;
}
.topbar span { color: #31bde9; margin: 0 8px; }
.site-header {
  position: sticky;
  top: 0;
  color: var(--apple-text);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(0,0,0,.09);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-wrap {
  min-height: auto;
  display: grid;
  grid-template-columns: auto minmax(280px,520px) auto;
  grid-template-areas: "brand search actions" "nav nav nav";
  align-items: center;
  column-gap: 28px;
  padding-top: 8px;
}
.brand { grid-area: brand; color: #080808; }
.brand img { width: 46px; height: 46px; border: 0; }
.brand b { color: #087fb5; }
.header-search {
  grid-area: search;
  height: 38px;
  display: flex;
  background: var(--apple-gray);
  border-radius: 20px;
  overflow: hidden;
}
.header-search input {
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 16px;
  color: #111;
  font: inherit;
  font-size: 13px;
}
.header-search button { width: 42px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.main-nav {
  grid-area: nav;
  justify-content: center;
  gap: 34px;
  border-top: 1px solid #ececef;
  margin-top: 8px;
  padding: 9px 0 10px;
}
.main-nav a,.icon-link { color: #333336; font-size: 13px; }
.main-nav a:hover,.icon-link:hover,.main-nav a.active { color: var(--apple-blue); }
.nav-actions { grid-area: actions; justify-self: end; }
.cart-link { background: var(--apple-blue); border-radius: 18px; padding: 8px 13px; font-size: 13px; }
.menu-toggle { grid-area: toggle; }
.apple-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 50% 115%, #0d80b6 0, #092c43 25%, #06090f 57%, #000 100%);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg,rgba(0,0,0,.52),rgba(0,9,16,.62) 52%,rgba(0,12,21,.78)); }
.apple-hero:not(.video-hero) .hero-overlay { background: radial-gradient(circle at 50% 115%,rgba(13,128,182,.08),rgba(0,0,0,.04)); }
.video-hero .apple-hero-inner { display: flex; min-height: min(780px,78vh); padding-bottom: 75px; flex-direction: column; justify-content: center; }
.apple-hero-inner { min-height: 650px; padding: 70px 0 0; text-align: center; position: relative; }
.apple-hero-inner { z-index: 2; }
.hero-kicker { color: #6cd9ff; font-size: 14px; font-weight: 700; letter-spacing: .8px; }
.apple-hero h1 { margin: 12px 0 16px; font-size: clamp(49px,7vw,88px); line-height: .98; letter-spacing: -4.5px; }
.apple-hero p { max-width: 750px; margin: auto; color: #c8cbd0; font-size: clamp(17px,2vw,21px); line-height: 1.45; }
.apple-hero .hero-actions { justify-content: center; align-items: center; margin-top: 25px; }
.text-link { color: var(--apple-blue); font-weight: 600; }
.apple-hero .text-link { color: #67cfff; }
.hero-visual { position: absolute; left: 50%; bottom: -112px; transform: translateX(-50%); width: 390px; height: 390px; display: grid; place-items: center; }
.hero-visual img { position: relative; width: 270px; height: 270px; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 20px 35px rgba(0,0,0,.5)); }
.hero-glow { position: absolute; inset: 45px; border-radius: 50%; background: #24bbf0; filter: blur(70px); opacity: .45; }
.promo-ribbon { background: #f5f5f7; border-bottom: 1px solid #e5e5e7; text-align: center; font-size: 14px; }
.promo-ribbon .container { padding: 13px 20px; }
.promo-ribbon span { color: var(--apple-muted); margin-left: 7px; }
.promo-ribbon a { color: var(--apple-blue); margin-left: 12px; }
.section-compact { padding: 58px 0 20px; }
.apple-heading { align-items: end; }
.apple-heading h2 { color: var(--apple-text); font-size: clamp(34px,4.5vw,54px); letter-spacing: -2.4px; line-height: 1.05; }
.apple-heading p { font-size: 18px; color: var(--apple-muted); }
.eyebrow { color: #087eae; }
.path-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.path-grid a { padding: 25px 12px 20px; border-radius: 22px; background: var(--apple-gray); text-align: center; transition: transform .2s, box-shadow .2s; }
.path-grid a:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(0,0,0,.08); }
.path-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 22px; color: #fff; background: linear-gradient(145deg,#101820,#007ab5); font-size: 25px; font-weight: 750; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); overflow:hidden; }
.path-icon img { width: 100%; height: 100%; object-fit: cover; }
.path-grid b,.path-grid small { display: block; }
.path-grid b { font-size: 16px; }
.path-grid small { margin-top: 3px; color: var(--apple-muted); }
.soft-section { background: var(--apple-gray); }
.home-catalog { scroll-margin-top: 125px; }
.storefront-grid { grid-template-columns: repeat(4,1fr); gap: 18px; }
.apple-product-card { border: 0; border-radius: 24px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.045); transition: transform .22s, box-shadow .22s; }
.home-catalog:not(.soft-section) .apple-product-card { background: var(--apple-gray); box-shadow: none; }
.apple-product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(0,0,0,.09); }
.apple-product-card .product-image { aspect-ratio: 1/1.03; padding: 24px 24px 6px; background: transparent; }
.apple-product-card .product-image img { transition: transform .25s, opacity .2s; }
.apple-product-card:hover .product-image img { transform: scale(1.025); }
.apple-product-card .product-body { padding: 15px 20px 22px; text-align: center; }
.card-topline { min-height: 23px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.card-brand { font-size: 10px; font-weight: 750; letter-spacing: .8px; color: var(--apple-muted); }
.offer-badge { padding: 3px 7px; background: #eaf7ff; color: #0073a8; border-radius: 12px; font-size: 10px; font-weight: 700; }
.apple-product-card h3 { min-height: 46px; margin: 7px 0 2px; font-size: 18px; }
.card-condition { color: var(--apple-muted); font-size: 12px; }
.apple-product-card .price { min-height: 34px; margin: 10px 0; font-size: 20px; }
.apple-product-card .price small { font-size: 11px; font-weight: 500; color: var(--apple-muted); }
.card-colors { min-height: 31px; display: flex; justify-content: center; align-items: center; gap: 7px; margin: 4px 0 13px; }
.card-color { width: 20px; height: 20px; padding: 3px; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.card-color span { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(0,0,0,.13); }
.card-color:hover,.card-color:focus-visible,.card-color.active { border-color: #202124; }
.card-cta { align-self: center; width: 100%; border-radius: 20px; padding: 9px 14px; background: var(--apple-blue); font-size: 13px; }
.compact-products { grid-template-columns: repeat(3,1fr); }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.benefit-grid article { min-height: 270px; padding: 25px; border-radius: 24px; background: var(--apple-gray); }
.benefit-grid article>span { display: block; font-size: 34px; margin-bottom: 27px; }
.benefit-grid small { color: #087eae; font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.benefit-grid h3 { margin: 8px 0; font-size: 23px; line-height: 1.12; letter-spacing: -.7px; }
.benefit-grid p { color: var(--apple-muted); font-size: 14px; }
.location-card { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 15px 50px rgba(0,0,0,.08); }
.location-copy { padding: clamp(32px,5vw,68px); }
.location-copy h2 { margin: 8px 0 20px; font-size: clamp(36px,4.5vw,58px); line-height: 1.02; letter-spacing: -2.5px; }
.location-address { font-size: 19px; }
.location-photo { min-height: 470px; background: #09121c; display: grid; place-items: center; text-align: center; color: #fff; }
.location-photo>img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.location-photo div img { width: 190px; height: 190px; border-radius: 50%; }
.location-photo div p { max-width: 320px; padding: 0 20px; color: #c5d0d8; }
.footer { margin-top: 0; background: #090b0e; }
.wa-float { background: #1fb96a; }
.store-banner { position: relative; min-height: 370px; display: grid; align-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 25%,#147daa,#082a40 34%,#060a10 72%); }
.store-banner>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.87) 0,rgba(0,9,16,.68) 47%,rgba(0,0,0,.15) 100%); }
.store-banner-content { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 35px; padding-top: 65px; padding-bottom: 65px; }
.store-banner-content>div { max-width: 720px; }
.store-banner-content span { color: #6bd9ff; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }
.store-banner-content h2 { margin: 8px 0 12px; font-size: clamp(39px,5vw,68px); line-height: 1; letter-spacing: -3px; }
.store-banner-content p { margin: 0; max-width: 620px; color: #d5dbe0; font-size: 18px; }
.banner-button { flex: none; padding: 13px 21px; border-radius: 25px; color: #111; background: #fff; font-weight: 700; }
.banner-slot-2 { background: radial-gradient(circle at 75% 25%,#174e9b,#121733 42%,#05060a 78%); }
.banner-slot-3 { background: radial-gradient(circle at 75% 25%,#087f76,#073833 40%,#050908 78%); }
.reveal { transition: opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.mobile-dock { display: none; }

@media(max-width:1000px) {
  .nav-wrap { grid-template-columns: auto 1fr auto; grid-template-areas: "brand search actions" "nav nav nav"; }
  .main-nav { gap: 20px; }
  .storefront-grid { grid-template-columns: repeat(3,1fr); }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:900px) {
  .nav-wrap { grid-template-columns: 1fr auto auto; grid-template-areas: "brand actions toggle" "search search search" "nav nav nav"; padding: 8px 0; gap: 8px; }
  .header-search { margin-top: 3px; }
  .menu-toggle { display: block; background: #f2f2f4; color: #111; border-color: #ddd; }
  .main-nav { display: none; position: static; margin: 4px 0 0; padding: 12px; background: #f5f5f7; border-radius: 14px; border: 0; color: #111; }
  .main-nav.open { display: flex; }
  .nav-actions .icon-link { display: none; }
  .path-grid { grid-template-columns: repeat(3,1fr); }
  .location-card { grid-template-columns: 1fr; }
  .location-photo { min-height: 380px; }
  .store-banner-content { align-items: flex-start; flex-direction: column; }
}
@media(max-width:680px) {
  .container { width: min(100% - 24px,1280px); }
  .topbar span { display: none; }
  .topbar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand span { display: none; }
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .site-header { top: 0; }
  .apple-hero-inner { min-height: 570px; padding: 55px 4px 0; }
  .video-hero .apple-hero-inner { min-height: 72vh; max-height: 720px; padding: 55px 4px; }
  .apple-hero h1 { font-size: clamp(40px,12vw,49px); letter-spacing: -3.2px; }
  .apple-hero p { font-size: 17px; }
  .hero-visual { width: 330px; height: 330px; bottom: -98px; }
  .hero-visual img { width: 220px; height: 220px; }
  .promo-ribbon span { display: none; }
  .apple-heading { align-items: start; }
  .apple-heading h2 { font-size: 37px; letter-spacing: -1.8px; }
  .section { padding: 48px 0; }
  .section-head { gap: 10px; }
  .path-grid { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .path-grid a { min-width: 145px; scroll-snap-align: start; }
  .storefront-grid,.compact-products { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .apple-product-card { border-radius: 18px; }
  .apple-product-card .product-image { padding: 13px 10px 3px; }
  .apple-product-card .product-body { padding: 11px 10px 15px; }
  .apple-product-card h3 { min-height: 39px; font-size: 15px; }
  .apple-product-card .price { font-size: 17px; }
  .card-condition { font-size: 10px; }
  .card-colors { gap: 3px; }
  .card-color { width: 18px; height: 18px; padding: 3px; }
  .card-color span { width: 10px; height: 10px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: auto; }
  .location-copy { padding: 30px 22px; }
  .location-copy h2 { font-size: 39px; }
  .location-photo { min-height: 300px; }
  .store-banner { min-height: 430px; }
  .store-banner-shade { background: linear-gradient(180deg,rgba(0,0,0,.44),rgba(0,7,13,.91)); }
  .store-banner-content { min-height: 430px; justify-content: flex-end; padding: 45px 0; }
  .store-banner-content h2 { font-size: 42px; letter-spacing: -2px; }
  .store-banner-content p { font-size: 16px; }
  .banner-button { padding: 11px 18px; }
  .footer { padding-bottom: 28px; }
  .wa-float { display: none; }
  .mobile-dock { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: calc(65px + env(safe-area-inset-bottom)); padding: 7px 7px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); align-items: start; background: rgba(255,255,255,.94); border-top: 1px solid rgba(0,0,0,.12); box-shadow: 0 -8px 25px rgba(0,0,0,.08); backdrop-filter: saturate(180%) blur(18px); }
  .mobile-dock a { position: relative; display: flex; flex-direction: column; align-items: center; color: #333; font-size: 9px; font-weight: 650; line-height: 1.1; }
  .mobile-dock a span { height: 30px; font-size: 22px; line-height: 28px; color: #087eae; }
  .mobile-dock a small { position: absolute; top: -2px; left: calc(50% + 8px); min-width: 16px; padding: 2px 4px; border-radius: 10px; background: #0071e3; color: #fff; font-size: 9px; text-align:center; }
}
@media(max-width:390px) {
  .storefront-grid,.compact-products { grid-template-columns: 1fr; }
  .apple-product-card .product-image { max-height: 330px; }
  .path-grid a { min-width: 132px; }
  .nav-actions .cart-link { font-size: 0; }
  .nav-actions .cart-link:before { content: "Carrito"; font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .reveal,.apple-product-card,.path-grid a { transition: none; }
  .js-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
