/* AppleAurora — estilos globales y responsive */
:root{color-scheme:dark;--bg:#080a10;--panel:#131723;--line:#30374a;--text:#f6f7fa;--muted:#b6bece;--accent:#82e8e4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}.container{width:min(1160px,92%);margin:auto}header{position:fixed;top:0;left:0;right:0;width:100%;z-index:100;background:rgba(8,10,16,.32);backdrop-filter:saturate(120%) blur(7px);-webkit-backdrop-filter:saturate(120%) blur(7px);border-bottom:1px solid rgba(255,255,255,.08);transition:background-color .28s ease,border-color .28s ease,box-shadow .28s ease}header.is-scrolled{background:rgba(8,10,16,.70);border-bottom-color:rgba(255,255,255,.15);box-shadow:0 8px 28px rgba(0,0,0,.14)}.nav{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:82px}.brand img{display:block;width:270px;height:auto;max-height:75px;object-fit:contain}.brand{font-size:23px;font-weight:800;letter-spacing:-.05em}.brand span{background:linear-gradient(110deg,#8be8e3,#a9a3fa,#f5b6dd);background-clip:text;color:transparent}nav{display:flex;gap:22px;color:#d2d8e3}nav a:hover{color:var(--accent)}.hero{text-align:center;padding:110px 0 115px;background:radial-gradient(ellipse at 20% 30%,#075d555e,transparent 43%),radial-gradient(ellipse at 80% 45%,#6b22a15b,transparent 40%),#090b13}.eyebrow{color:#92eae6;letter-spacing:.24em;font-size:12px;font-weight:800}.hero h1{font-size:clamp(48px,8vw,100px);letter-spacing:-.075em;line-height:1.06;margin:18px 0;background:linear-gradient(105deg,#eafcfa,#a5e6ed,#b7a7ff,#f4b2e6);color:transparent;background-clip:text}.hero p{color:#c8cbd7;max-width:590px;margin:0 auto 30px;font-size:19px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #84e5e2;background:linear-gradient(110deg,#74dbd7,#a59af4);color:#09101b;font-weight:750;padding:13px 24px;border-radius:100px;cursor:pointer}.button.secondary{background:transparent;color:white;border-color:#454a61}.actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.section{padding:75px 0}.section h2{font-size:clamp(30px,4vw,46px);letter-spacing:-.05em;margin:0 0 8px}.sub{color:var(--muted);margin:0 0 32px}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px}.filter{border:1px solid var(--line);border-radius:99px;padding:10px 17px;background:#121722;color:#d9deea;cursor:pointer}.filter.active{border-color:#7de9e4;color:#091018;background:#83e5df}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product{background:linear-gradient(145deg,#161a27,#10131c);border:1px solid #303447;border-radius:22px;overflow:hidden;display:flex;flex-direction:column}.art{height:220px;display:grid;place-items:center;background:radial-gradient(circle at 50% 70%,#48346a80,transparent 65%),#0e121c}.phone{height:170px;width:87px;border-radius:20px;border:5px solid #b5bbc7;background:linear-gradient(145deg,#1d3547,#66438a 55%,#1c202b);box-shadow:20px 12px 35px #0008;transform:rotate(-12deg);position:relative}.phone:before{content:'';position:absolute;top:9px;left:24px;width:32px;height:10px;background:#0b0d14;border-radius:12px}.product:nth-child(2) .phone{background:linear-gradient(145deg,#253b31,#b7b6a5,#2a343a)}.product:nth-child(3) .phone{background:linear-gradient(145deg,#37375d,#6f84a6,#151b32)}.body{padding:22px;display:flex;flex-direction:column;flex:1}.tag{color:#85e5df;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:800}.product h3{font-size:24px;margin:8px 0}.product p{color:#aeb6c7;margin:0 0 20px}.product .button{margin-top:auto}.empty{display:none;color:#b4bac9}.about{background:#111521;border-block:1px solid #252c3d}.aboutgrid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.about p{color:#b9c0ce}.info{border:1px solid #354052;border-radius:22px;padding:30px;background:linear-gradient(135deg,#12343c,#1c1939)}footer{padding:38px 0;color:#9ba3b4;text-align:center;font-size:14px}footer strong{color:#f4f6fa}/* Responsive layout */
html{scroll-padding-top:100px;overflow-x:hidden}
body{min-width:320px;overflow-x:hidden}
img{max-width:100%}
.container{width:min(1160px,calc(100% - 48px))}
.brand img{width:clamp(190px,23vw,270px);height:auto;max-height:none}
.product,.body,.aboutgrid>*,.info{min-width:0}
.button{min-height:46px;text-align:center}
button,a{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

/* Footer de contacto */
.footer-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:32px;align-items:stretch;text-align:left}
.footer-brand{font-size:22px;color:#f4f6fa}
.footer-grid p{color:#b6bece}
.footer-grid a:not(.button){color:#a9e9e6;text-decoration:underline;text-underline-offset:3px}
.map-wrap{min-height:270px;border:1px solid #30374a;border-radius:20px;overflow:hidden;background:#131723}
.map-wrap iframe{width:100%;height:100%;min-height:270px;border:0;display:block}
.footer-legal{border-top:1px solid #252b39;margin-top:30px;padding-top:16px;font-size:12px;text-align:center}

/* Componentes de navegación, catálogo y WhatsApp */
.menu-toggle{display:none;border:1px solid var(--line);background:#151a27;color:var(--text);border-radius:12px;width:44px;height:44px;padding:10px;cursor:pointer}
.menu-toggle span{display:block;height:2px;background:currentColor;margin:5px 0;border-radius:2px}
.catalog-heading{margin:38px 0 18px;scroll-margin-top:110px}
.catalog-heading h2{font-size:clamp(25px,3vw,34px);margin:0 0 5px}
.catalog-heading .sub{margin:0}
.catalog-note{margin-top:20px}
.product[hidden],.empty[hidden],.chat-bubble[hidden]{display:none!important}
.product{transition:transform .22s ease,border-color .22s ease}
.product:hover{transform:translateY(-4px);border-color:#83e5df}
.product .art{position:relative}
.product .art:after{content:"APPLEAURORA";position:absolute;bottom:12px;font-size:9px;letter-spacing:.22em;color:#aeb6c766}
.product .tag{display:inline-flex;align-self:flex-start;padding:5px 9px;border-radius:30px;background:#83e5df16}
.whatsapp-float{position:fixed;right:24px;bottom:24px;z-index:50;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#2be477,#16bd5b);color:#fff;border:1px solid #b9ffd4;box-shadow:0 8px 24px #071b1280,0 0 0 5px #25d3661c;transition:transform .22s ease,box-shadow .22s ease;isolation:isolate;animation:whatsapp-pulse 2.4s ease-out infinite}.whatsapp-float:before{content:"";position:absolute;inset:-7px;border:2px solid #25d36680;border-radius:50%;animation:whatsapp-ring 2.4s ease-out infinite;pointer-events:none}.whatsapp-float:hover{transform:translateY(-3px) scale(1.06);box-shadow:0 12px 30px #071b1299,0 0 0 7px #25d36624}.whatsapp-float:focus-visible{outline:3px solid #b7f7ce;outline-offset:5px}.whatsapp-float svg{position:relative;display:block;width:32px;height:32px;fill:currentColor;filter:drop-shadow(0 1px 1px #087b3b55)}@keyframes whatsapp-pulse{0%,100%{box-shadow:0 8px 24px #071b1280,0 0 0 5px #25d3661c}50%{box-shadow:0 10px 28px #071b1290,0 0 0 9px #25d3660c}}@keyframes whatsapp-ring{0%{transform:scale(.88);opacity:.75}70%,100%{transform:scale(1.35);opacity:0}}@media(prefers-reduced-motion:reduce){.whatsapp-float,.whatsapp-float:before{animation:none}}
.chat-bubble{position:fixed;right:24px;bottom:94px;z-index:39;width:min(310px,calc(100vw - 36px));padding:18px 18px 16px;border:1px solid #3d5260;border-radius:18px;background:#141b25;color:#f6f7fa;box-shadow:0 12px 36px #0009;font-size:14px}
.chat-bubble a{display:block;margin-top:12px;color:#83e5df;font-weight:750}
.chat-close{position:absolute;right:8px;top:5px;border:0;background:transparent;color:#cbd2df;font-size:23px;cursor:pointer}
.footer-grid{scroll-margin-top:90px}

/* Hero cinematográfico y carrusel AppleAurora */
.hero-carousel{position:relative;isolation:isolate;min-height:560px;padding:0;display:grid;place-items:center;overflow:hidden;background-color:#182235;background-image:url('/assets/images/MDP.jpg');background-position:center 54%;background-size:cover;background-repeat:no-repeat;padding-top:82px;box-sizing:border-box}
.hero-carousel:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,#080a1070,#080a1020 48%,#080a1055),linear-gradient(0deg,#080a1065,transparent 42%,#080a1025);backdrop-filter:blur(.5px)}
.hero-slides{position:relative;z-index:1;width:100%;min-width:0;min-height:560px;display:grid;place-items:center}
.hero-slide{grid-area:1/1;width:100%;min-width:0;min-height:560px;display:grid;place-items:center;padding:90px 70px 115px;opacity:0;visibility:hidden;transform:translateX(18px);transition:opacity .7s ease,transform .7s ease,visibility .7s}
.hero-slide.is-active{opacity:1;visibility:visible;transform:translateX(0)}
.hero-copy{width:min(100%,1040px);max-width:1040px;min-width:0;margin:auto;padding:0 28px;text-align:center;box-sizing:border-box}
.hero-copy .eyebrow{color:#c7dfff;text-shadow:0 2px 20px #000}
.hero-copy h1{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:.22em .30em .28em;margin:24px auto;white-space:normal;overflow:visible;font-size:clamp(36px,6vw,78px);letter-spacing:-.025em;line-height:1.16;overflow-wrap:normal;word-break:normal;color:#fff;background:none;-webkit-text-fill-color:#fff;text-shadow:0 5px 28px #0009}
.hero-copy h1 span{display:inline;max-width:100%;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:linear-gradient(100deg,#77eaff,#a9a1ff 52%,#f2a9ed);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 18px #9e7aff80)}
.hero-copy p{max-width:670px;color:#f1f3fa;font-size:clamp(16px,2vw,21px);text-shadow:0 2px 14px #000}
.hero-copy .button{box-shadow:0 8px 28px #6e7dff55}
.hero-cta{background:linear-gradient(110deg,#54c8f2,#7563ed 55%,#d76be9);border:1px solid #ffffff80;color:white}
.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);z-index:3;width:52px;height:52px;border:1px solid #ffffff70;border-radius:50%;background:#10152280;color:white;font-size:32px;line-height:1;cursor:pointer;backdrop-filter:blur(10px);transition:background .2s,transform .2s}
.hero-arrow:hover{background:#7266dc;transform:translateY(-50%) scale(1.06)}
.hero-prev{left:24px}.hero-next{right:24px}
.hero-dots{position:absolute;bottom:28px;left:0;right:0;display:flex;justify-content:center;gap:10px;z-index:3}
.hero-dots button{width:10px;height:10px;padding:0;border:0;border-radius:20px;background:#ffffff80;cursor:pointer;transition:width .25s,background .25s}
.hero-dots button.is-active{width:30px;background:linear-gradient(90deg,#70e4f4,#d68afa);box-shadow:0 0 14px #a68bff}
.hero-benefits{width:min(1160px,92%);margin:-1px auto 0;padding:24px 18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:linear-gradient(110deg,#111624,#171528);border:1px solid #34364f;border-radius:0 0 22px 22px}
.hero-benefits>div{display:flex;align-items:center;justify-content:center;gap:13px;padding:8px;border-right:1px solid #ffffff25}
.hero-benefits>div:last-child{border:0}
.hero-benefits span{font-size:30px;color:#b69aff;text-shadow:0 0 18px #a779ff}
.hero-benefits p{margin:0;color:#cbd2e2;font-size:13px;line-height:1.45}
.hero-benefits strong{color:#fff;font-size:14px}
@media(max-width:700px){.hero-carousel,.hero-slides,.hero-slide{min-height:500px}.hero-slide{padding:76px 42px 95px}.hero-copy{padding-inline:8px}.hero-copy h1{font-size:clamp(32px,8.2vw,48px);letter-spacing:-.02em;line-height:1.18;padding:.08em .16em .18em;white-space:normal;overflow:visible;word-break:normal;overflow-wrap:break-word}.hero-copy h1 span{display:inline}.hero-copy p{font-size:16px}.hero-arrow{width:36px;height:36px;font-size:24px}.hero-prev{left:8px}.hero-next{right:8px}.hero-benefits{grid-template-columns:repeat(2,1fr);padding:12px 8px;border-radius:0 0 18px 18px}.hero-benefits>div{justify-content:flex-start;border-right:0;border-bottom:1px solid #ffffff20;padding:12px 8px}.hero-benefits>div:nth-child(odd){border-right:1px solid #ffffff20}.hero-benefits>div:nth-child(n+3){border-bottom:0}.hero-benefits span{font-size:25px}.hero-benefits p{font-size:12px}.hero-benefits strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}


/* Navegación principal: mayor contraste, jerarquía y subrayado animado */
header nav#site-nav > a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 2px;
  color:rgba(255,255,255,.96);
  font-weight:550;
  text-shadow:0 1px 10px rgba(0,0,0,.48);
  transition:color .24s ease,transform .24s ease,opacity .24s ease;
}
header nav#site-nav > a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:3px;
  height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,#78eaff,#b6a0ff 55%,#f0a6e9);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .28s cubic-bezier(.2,.75,.25,1);
}
header nav#site-nav > a:hover,
header nav#site-nav > a:focus-visible{
  color:#fff;
  transform:translateY(-2px);
}
header nav#site-nav > a:hover::after,
header nav#site-nav > a:focus-visible::after{
  transform:scaleX(1);
}
header nav#site-nav > a:last-child{
  padding:9px 17px;
  margin-left:3px;
  border:1px solid rgba(190,174,255,.62);
  border-radius:999px;
  color:#fff;
  font-weight:700;
  background:linear-gradient(110deg,rgba(102,207,255,.22),rgba(169,128,255,.28));
  box-shadow:0 4px 18px rgba(133,111,255,.18),inset 0 1px rgba(255,255,255,.16);
}
header nav#site-nav > a:last-child::after{
  left:16px;
  right:16px;
  bottom:5px;
}
header nav#site-nav > a:last-child:hover{
  border-color:rgba(220,205,255,.9);
  background:linear-gradient(110deg,rgba(102,207,255,.32),rgba(169,128,255,.40));
  box-shadow:0 6px 22px rgba(133,111,255,.28);
}
@media(prefers-reduced-motion:reduce){
  header nav#site-nav > a,header nav#site-nav > a::after{transition:none}
}


/* Cards de catálogo AppleAurora: naturales, claras y de consulta rápida */
.products{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:22px}
.product{
  background:linear-gradient(155deg,#fff 0%,#fcfbff 68%,#f5f3ff 100%);
  color:#171827;border:1px solid #e5ddfb;border-radius:22px;
  box-shadow:0 8px 26px rgba(27,22,58,.10);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.product:hover{transform:translateY(-4px);border-color:#c5a9fa;box-shadow:0 14px 32px rgba(83,58,150,.15)}
.product .art{
  height:205px;position:relative;overflow:hidden;
  background:radial-gradient(ellipse at 50% 75%,rgba(150,116,255,.19),transparent 58%),
             radial-gradient(ellipse at 18% 25%,rgba(82,220,222,.17),transparent 52%),
             linear-gradient(135deg,#f7faff,#f5efff);
}
.product .art:before{
  content:"";position:absolute;inset:0;opacity:.7;pointer-events:none;
  background:linear-gradient(120deg,transparent 25%,rgba(255,255,255,.75) 48%,transparent 70%);
}
.product .art:after{content:"APPLEAURORA";position:absolute;bottom:12px;font-size:9px;letter-spacing:.2em;color:#8174a8aa}
.product .phone{
  width:88px;height:164px;border:4px solid #d9dce7;border-radius:22px;
  background:linear-gradient(145deg,#d9f6f6 0%,#b9c7ff 48%,#d8b8f5 100%);
  box-shadow:14px 12px 28px rgba(49,43,85,.20);transform:rotate(-8deg);
}
.product .phone:before{top:7px;left:25px;width:30px;height:9px;background:#20212b}
.product:nth-child(3n) .phone{background:linear-gradient(145deg,#e5e8ed,#9ca8bb 55%,#3e4658)}
.product:nth-child(3n+2) .phone{background:linear-gradient(145deg,#f6e7fb,#c5a5e9 55%,#7d78b9)}
.product .body{padding:19px 20px 20px;gap:0}
.product .tag{
  color:#6650a8;background:linear-gradient(90deg,#eee9ff,#e5f9f8);
  border:1px solid #e4dcfa;border-radius:999px;padding:6px 10px;
  font-size:10px;letter-spacing:.07em;font-weight:800;
}
.product h3{font-size:21px;line-height:1.2;letter-spacing:-.025em;color:#171827;margin:13px 0 7px}
.product .product-description{font-size:13px;line-height:1.45;color:#6d7080;margin:0 0 15px}
.product .product-price{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  border-top:1px solid #ece8f4;padding:12px 0 15px;margin-top:auto;
}
.product .product-price span{font-size:12px;color:#77778a}
.product .product-price strong{font-size:17px;color:#392c63;font-weight:800}
.product .product-cta{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:46px;padding:11px 14px;border-radius:13px;
  background:#19a968;color:#fff;border:1px solid #15975c;
  box-shadow:0 4px 12px rgba(25,169,104,.16);font-size:14px;font-weight:750;
  text-decoration:none;transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.product .product-cta:hover{background:#128d57;transform:translateY(-1px);box-shadow:0 7px 16px rgba(25,169,104,.23)}
.product .product-cta .wa-mini{font-size:17px;line-height:1}
