/* Base */
:root {
  --background: #050505;
  --background-secondary: #090909;
  --surface: #0d0d0d;
  --surface-light: #121212;
  --border: rgba(255, 255, 255, 0.10);
  --border-red: rgba(255, 37, 43, 0.42);
  --text-primary: #f5f5f5;
  --text-secondary: #9b9b9b;
  --accent: #ff252b;
  --accent-dark: #9e090d;
  --container: 1240px;
  --radius: 10px;
  --title: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; overflow-x: hidden; background: var(--background); color: var(--text-primary); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container { width: calc(100% - 48px); max-width: var(--container); margin-inline: auto; }
.section { position: relative; padding: 92px 0; border-top: 1px solid rgba(255,255,255,.065); }
.section:nth-of-type(even) { background: var(--background-secondary); }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .11em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--title); line-height: 1.2; }
h2 { margin-bottom: 18px; font-size: clamp(1.65rem, 2.6vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.08rem; }
p { color: var(--text-secondary); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10000; padding: 10px 14px; background: var(--accent); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Buttons */
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid var(--border); border-radius: 8px; color: #fff; font-size: .86rem; font-weight: 600; transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { border-color: #ff4045; background: linear-gradient(135deg, #ff292f, #c41116); box-shadow: 0 8px 26px rgba(221, 15, 21, .22); }
.whatsapp-icon { display: block; object-fit: contain; filter: brightness(0) invert(1); }
.btn .whatsapp-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255,37,43,.75); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(221, 15, 21, .35); }
.btn-outline { background: rgba(8,8,8,.66); border-color: rgba(255,37,43,.65); }
.btn-small { min-height: 42px; padding-inline: 16px; font-size: .78rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 84px; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease; }
.site-header.scrolled { background: rgba(5,5,5,.88); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.nav-wrap { height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { width: 142px; flex: 0 0 142px; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 30px); flex: 1; }
.desktop-nav a { position: relative; padding: 31px 0 25px; color: #bbb; font-size: .75rem; white-space: nowrap; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; }
.desktop-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 21px; height: 2px; background: var(--accent); }
.header-cta { flex: 0 0 auto; min-height: 44px; padding-inline: 16px; font-size: .76rem; }
.menu-toggle, .mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 730px; display: flex; align-items: center; overflow: hidden; background: #030303 url("../assets/hero-section.webp") right 16% / auto 120% no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.99) 0%, rgba(0,0,0,.92) 28%, rgba(0,0,0,.38) 61%, rgba(0,0,0,.16) 100%), linear-gradient(0deg, #050505 0%, transparent 18%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 50%, rgba(255,37,43,.08), transparent 35%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-top: 80px; }
.hero-copy { max-width: 570px; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(2.45rem, 3.85vw, 4.05rem); letter-spacing: -.05em; }
.hero h1 span { display: block; color: var(--accent); }
.hero-description { max-width: 530px; margin-bottom: 30px; font-size: .98rem; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 30px; }
.hero-benefits { display: grid; grid-template-columns: 1.35fr .8fr 1.15fr; max-width: 570px; padding: 13px 0; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(12,12,12,.78); backdrop-filter: blur(8px); }
.hero-benefits > div { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 18px; }
.hero-benefits > div + div { border-left: 1px solid var(--border); }
.hero-benefits svg { width: 31px; height: 31px; flex: 0 0 auto; padding: 5px; border: 1px solid rgba(255,37,43,.38); border-radius: 10px; background: linear-gradient(145deg,rgba(255,37,43,.12),rgba(255,37,43,.02)); fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 1px rgba(255,255,255,.05); }
.hero-benefits p { display: flex; flex-direction: column; margin: 0; font-size: .73rem; line-height: 1.4; }
.hero-benefits strong { color: #eee; font-weight: 500; }

/* Headings */
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-bottom: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 58px; }
.store-scene { position: relative; min-height: 370px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #090909; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.store-photo { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center; }
.about-copy > p:not(.eyebrow) { margin-bottom: 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.about-features div { display: flex; align-items: center; gap: 11px; color: #c7c7c7; font-size: .78rem; }
.about-features svg { width: 38px; height: 38px; flex: 0 0 auto; padding: 7px; border: 1px solid rgba(255,37,43,.42); border-radius: 12px; background: linear-gradient(145deg,rgba(255,37,43,.12),rgba(255,37,43,.02)); fill: none; stroke: var(--accent); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 1px rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.2); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.service-card { position: relative; min-height: 270px; padding: 25px 17px 34px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(150deg, #111, #090909); text-align: center; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 10%, rgba(255,37,43,.08), transparent 45%); opacity: 0; transition: opacity .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-red); box-shadow: inset 0 1px rgba(255,255,255,.04), 0 16px 30px rgba(0,0,0,.28); }
.service-card:hover::before { opacity: 1; }
.service-icon { position: relative; width: 62px; height: 62px; margin-bottom: 18px; overflow: visible; padding: 12px; border: 1px solid rgba(255,37,43,.42); border-radius: 17px; background: linear-gradient(145deg,rgba(255,37,43,.14),rgba(255,37,43,.025)); fill: none; stroke: var(--accent); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 1px rgba(255,255,255,.055), 0 12px 24px rgba(0,0,0,.23); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card:hover .service-icon { border-color: rgba(255,58,64,.72); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 28px rgba(150,0,5,.22); transform: translateY(-2px); }
.service-card h3 { position: relative; min-height: 42px; margin-bottom: 10px; font-size: .95rem; }
.service-card p { position: relative; margin-bottom: 0; font-size: .75rem; line-height: 1.55; }
.card-arrow { position: absolute; bottom: 12px; left: 50%; color: var(--accent); transform: translateX(-50%); }
.ghost { display: none; }

/* Product cards */
.product-layout { display: grid; grid-template-columns: 210px 1fr 1fr; gap: 18px; align-items: stretch; }
.side-heading { align-self: center; padding-right: 16px; }
.side-heading h2 { font-size: clamp(1.55rem, 2.1vw, 2rem); }
@media (min-width: 993px) { .product-layout .side-heading h2 { font-size: clamp(1.4rem, 1.7vw, 1.65rem); line-height: 1.25; } }
.phone-card { min-height: 0; display: grid; grid-template-columns: 48% 52%; align-items: stretch; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, #141414, #090909); transition: border-color .3s ease, transform .3s ease; }
.phone-card:hover { border-color: var(--border-red); transform: translateY(-3px); }
.phone-card > div:last-child { padding: 22px 22px 22px 6px; }
.phone-card h3 { margin-bottom: 14px; }
.phone-card ul { margin: 0 0 22px; padding: 0; list-style: none; color: var(--text-secondary); font-size: .8rem; }
.phone-card li { margin: 5px 0; }
.phone-card li::before { content: "•"; margin-right: 8px; color: var(--accent); }
.phone-card a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 7px; font-size: .75rem; }
.phone-card a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; }
.phone-card a .whatsapp-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.phone-visual { position: relative; align-self: stretch; min-width: 0; overflow: hidden; background: radial-gradient(circle at 50% 65%, rgba(255,255,255,.12), transparent 48%); }
.phone-visual::after { content: ""; position: absolute; left: 12%; right: 2%; bottom: 8%; height: 12px; border-radius: 50%; background: rgba(0,0,0,.8); filter: blur(6px); }
.phone-product-image { position: absolute; z-index: 1; top: 0; left: 50%; width: 116%; height: 112%; object-fit: contain; object-position: center top; transform: translateX(-50%); filter: drop-shadow(0 16px 24px rgba(0,0,0,.45)); }
.xiaomis .phone-product-image { top: -14px; }

/* Accessories */
.accessories-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; }
.accessory-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.accessory-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #0d0d0d; text-align: center; transition: transform .3s ease, border-color .3s ease; }
.accessory-card:hover { transform: translateY(-4px); border-color: var(--border-red); }
.accessory-card h3 { margin: 12px 10px 5px; font-size: .9rem; }
.accessory-card p { min-height: 46px; margin: 0 12px 15px; font-size: .7rem; line-height: 1.5; }
.accessory-art { position: relative; height: 150px; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 50% 80%, #292929, #090909 65%); }
.accessory-product-image { position: absolute; left: 50%; bottom: 0; width: 94%; height: 96%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); }
.charger-art .accessory-product-image, .pods-art .accessory-product-image { width: 88%; height: 90%; bottom: 5%; }

/* Courses */
.course-grid { display: grid; grid-template-columns: .85fr 1.35fr; gap: 55px; align-items: center; }
.course-copy > p:not(.eyebrow) { max-width: 560px; }
.course-features { display: flex; gap: 22px; margin: 28px 0; }
.course-features span { display: flex; align-items: center; gap: 8px; color: #c2c2c2; font-size: .73rem; }
.course-features svg { width: 34px; height: 34px; flex: 0 0 auto; padding: 6px; border: 1px solid rgba(255,37,43,.44); border-radius: 11px; background: linear-gradient(145deg,rgba(255,37,43,.12),rgba(255,37,43,.02)); fill: none; stroke: var(--accent); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 1px rgba(255,255,255,.05); }
.course-gallery { width: 100%; height: 460px; max-height: 460px; display: grid; grid-template-rows: minmax(0,1fr) 62px; gap: 10px; align-self: center; padding: 9px; border: 1px solid var(--border); border-radius: var(--radius); background: #090909; }
.course-gallery-main { position: relative; min-height: 0; overflow: hidden; border-radius: 7px; background: #030303; }
.course-gallery-main::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent,rgba(0,0,0,.45)); pointer-events: none; }
.course-image-open { display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.course-gallery-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; transform-origin: center; }
.course-gallery-image.is-zooming { animation: courseZoomOut 5s cubic-bezier(.2,.65,.3,1) both; }
.course-gallery-arrow { position: absolute; z-index: 3; top: 50%; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(5,5,5,.72); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.course-gallery-arrow:hover { border-color: var(--accent); background: rgba(158,9,13,.88); transform: translateY(-50%) scale(1.05); }
.course-gallery-prev { left: 14px; }.course-gallery-next { right: 14px; }
.course-gallery-counter { position: absolute; z-index: 3; right: 12px; bottom: 10px; padding: 3px 9px; border-radius: 12px; background: rgba(0,0,0,.7); color: #aaa; font-size: .65rem; }
.course-gallery-counter strong { color: #fff; }
.course-gallery-thumbnails { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; min-height: 0; }
.course-gallery-thumbnails button { min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: #111; cursor: pointer; opacity: .55; transition: opacity .2s ease, border-color .2s ease; }
.course-gallery-thumbnails button:hover, .course-gallery-thumbnails button.active { opacity: 1; border-color: var(--accent); }
.course-gallery-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.course-lightbox { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: 44px 76px; background: rgba(0,0,0,.94); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.course-lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.course-lightbox-image { max-width: 100%; max-height: calc(100vh - 88px); object-fit: contain; filter: drop-shadow(0 20px 55px rgba(0,0,0,.65)); }
.course-lightbox-close, .course-lightbox-arrow { position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.2); background: rgba(12,12,12,.82); color: #fff; font-size: 0; line-height: 1; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.course-lightbox-close:hover, .course-lightbox-arrow:hover { border-color: var(--accent); background: var(--accent-dark); }
.course-lightbox-close { top: 22px; right: 24px; width: 44px; height: 44px; border-radius: 50%; }
.course-lightbox-close::before, .course-lightbox-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.course-lightbox-close::before { transform: translate(-50%,-50%) rotate(45deg); }.course-lightbox-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.course-lightbox-arrow { top: 50%; width: 48px; height: 48px; border-radius: 50%; transform: translateY(-50%); }
.course-lightbox-arrow::before { content: ""; width: 11px; height: 11px; border: solid currentColor; border-width: 0 3px 3px 0; }
.course-lightbox-prev::before { margin-left: 4px; transform: rotate(135deg); }.course-lightbox-next::before { margin-right: 4px; transform: rotate(-45deg); }
.course-lightbox-arrow:hover { transform: translateY(-50%) scale(1.05); }
.course-lightbox-prev { left: 20px; }.course-lightbox-next { right: 20px; }
.course-lightbox-counter { position: absolute; bottom: 18px; left: 50%; padding: 4px 12px; border-radius: 15px; background: rgba(20,20,20,.85); color: #aaa; font-size: .72rem; transform: translateX(-50%); }
.course-lightbox-counter strong { color: #fff; }

@keyframes courseZoomOut { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Structure gallery */
.gallery { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.gallery-card { position: relative; min-width: 0; aspect-ratio: 1.6; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background-color: #0d0d0d; box-shadow: inset 0 -50px 60px #050505; }
.gallery-card::before, .gallery-card::after { content: ""; position: absolute; }
.gallery-card span { position: absolute; z-index: 3; bottom: 9px; left: 12px; font: 500 .75rem var(--title); }
.facade { background: linear-gradient(#080808 35%,#171717 36%); }.facade::before { inset: 37% 8% 12%; border: 1px solid #444; background: repeating-linear-gradient(90deg,#111 0 21%,#ff252b 22% 23%); }.facade::after { top: 29%; left: 25%; right: 25%; height: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.reception { background: radial-gradient(circle at 50% 30%,#222,#070707 65%); }.reception::before { left: 10%; right: 10%; bottom: 18%; height: 35%; transform: perspective(100px) rotateX(18deg); background: linear-gradient(170deg,#2c2c2c,#090909); border-top: 2px solid #d0181d; }.reception::after { left: 20%; right: 20%; top: 18%; height: 2px; background: var(--accent); box-shadow: 0 0 15px var(--accent); }
.classroom { background: linear-gradient(150deg,#121212,#050505); }.classroom::before { inset: 23% 10% 22%; background: repeating-linear-gradient(90deg, transparent 0 20%,#272727 21% 23%), repeating-linear-gradient(0deg, transparent 0 36%,#202020 37% 40%); }.classroom::after { left: 44%; top: 10%; width: 25%; height: 30%; border: 2px solid #333; background: #151515; box-shadow: 0 0 15px rgba(255,37,43,.25); }
.showcase { background: radial-gradient(circle,#1b1b1b,#060606); }.showcase::before { inset: 15% 8% 20%; border: 2px solid #292929; background: repeating-linear-gradient(90deg, transparent 0 14%,#2d0809 15% 16%), repeating-linear-gradient(0deg,transparent 0 30%,#601013 31% 33%); }.showcase::after { inset: 16% 8% auto; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.service-area { background: linear-gradient(135deg,#171717,#040404); }.service-area::before { left: 8%; right: 8%; bottom: 18%; height: 35%; border-top: 5px solid #272727; background: repeating-linear-gradient(90deg,#101010 0 22%,#252525 23% 24%); }.service-area::after { left: 14%; top: 14%; width: 32%; height: 28%; border: 3px solid #222; background: linear-gradient(135deg,#1b1b1b,#350708); }

/* Testimonials */
.testimonial-wrap { position: relative; }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { position: relative; min-width: 0; min-height: 215px; padding: 24px; scroll-snap-align: start; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg,#141414,#0b0b0b); }
.stars { color: #ffb326; letter-spacing: 3px; }
.google-review-logo { position: absolute; top: 22px; right: 24px; width: 20px; height: 20px; object-fit: contain; }
blockquote { margin: 18px 0; color: #bbb; font-size: .83rem; font-style: italic; }
.customer { display: flex; align-items: center; gap: 11px; }
.customer > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,37,43,.38); border-radius: 50%; background: #251012; color: #fff; font-size: .68rem; }
.customer p { display: flex; flex-direction: column; margin: 0; line-height: 1.35; }
.customer strong { color: #fff; font-size: .78rem; }.customer small { font-size: .67rem; }
.carousel-btn { position: absolute; z-index: 5; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; border: 0; background: transparent; color: var(--accent); font-size: 3rem; cursor: pointer; transform: translateY(-50%); }
.carousel-btn.prev { left: -52px; }.carousel-btn.next { right: -52px; }
.review-counter { display: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.2fr .9fr; gap: 22px; align-items: stretch; }
.contact-info h2 { font-size: clamp(1.45rem,2.2vw,2rem); }
address { display: grid; gap: 10px; font-style: normal; }
address p { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .76rem; }
address svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
address strong { color: #f1f1f1; font-weight: 600; }
address a:hover { color: #fff; }
.map-embed { position: relative; min-height: 260px; overflow: hidden; scroll-margin-top: 104px; border: 1px solid var(--border); border-radius: var(--radius); background: #111; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 260px; }
.map-mobile-link { display: none; }
.contact-actions { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; min-height: 120px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #0e0e0e; transition: transform .25s ease, border-color .25s ease; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--border-red); }
.contact-card svg, .contact-card .whatsapp-icon { width: 38px; height: 38px; flex: 0 0 auto; }.contact-card svg { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-card p { display: flex; flex-direction: column; margin: 0; line-height: 1.5; }.contact-card strong { color: #fff; font-size: .84rem; }.contact-card span { font-size: .7rem; }
.whatsapp-card { border-color: #d3262b; background: linear-gradient(135deg,#be1c21,#69090c); }
.whatsapp-card p span { color: rgba(255,255,255,.7); }

/* Footer */
.site-footer { padding-top: 56px; border-top: 1px solid var(--border); background: #0a0b0c; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .9fr 1fr; gap: 55px; padding-bottom: 42px; }
.footer-brand img { width: 160px; margin-bottom: 14px; mix-blend-mode: screen; }
.footer-brand p, .site-footer > .container p { font-size: .72rem; }
.site-footer h3 { margin-bottom: 15px; color: var(--accent); font-size: .67rem; letter-spacing: .08em; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.footer-links a, .footer-contact { color: #898989; font-size: .7rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.payment-methods-image { width: 185px; max-width: 100%; height: auto; margin-bottom: 8px; }
.copyright { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--border); color: #606060; font-size: .63rem; }
.developer-credit { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.developer-credit img { width: 72px; height: auto; }

/* Floating WhatsApp */
.floating-whatsapp { position: fixed; z-index: 950; right: 24px; bottom: 24px; display: flex; min-height: 52px; align-items: center; gap: 9px; padding: 0 18px; border: 1px solid #49e486; border-radius: 28px; background: linear-gradient(135deg,#25d366,#128c4a); box-shadow: 0 10px 28px rgba(15,145,73,.32), 0 8px 22px rgba(0,0,0,.38); color: #fff; font-size: .77rem; font-weight: 600; animation: floatingPulse 3s infinite; transition: transform .25s ease, box-shadow .25s ease; }
.floating-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,145,73,.42), 0 10px 24px rgba(0,0,0,.4); }
.floating-whatsapp .whatsapp-icon { width: 22px; height: 22px; flex: 0 0 auto; }

@keyframes floatingPulse { 0%,100% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(255,37,43,.25); } 50% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 10px rgba(255,37,43,0); } }
@keyframes mapPulse { 0%,100% { transform: scale(.85); opacity: .4; } 50% { transform: scale(1.2); opacity: 1; } }

/* Responsive */
@media (max-width: 1200px) {
  .desktop-nav { gap: 15px; }.desktop-nav a { font-size: .68rem; }.header-cta { padding-inline: 12px; }
  .service-grid { grid-template-columns: repeat(3,1fr); }.service-card { min-height: 245px; }
  .product-layout { grid-template-columns: 190px 1fr 1fr; }.phone-card { grid-template-columns: 44% 56%; }
  .accessories-layout { grid-template-columns: 220px 1fr; }.accessory-art { height: 135px; }
  .carousel-btn.prev { left: -20px; }.carousel-btn.next { right: -20px; }
}

@media (max-width: 992px) {
  .site-header, .nav-wrap { height: 74px; }.desktop-nav, .header-cta { display: none; }.brand { width: 128px; flex-basis: 128px; }.menu-toggle { display: grid; width: 46px; height: 46px; margin-left: auto; padding: 11px; border: 1px solid var(--border); border-radius: 8px; background: #0d0d0d; place-content: center; gap: 5px; cursor: pointer; }.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.menu-toggle.open span:nth-child(2) { opacity: 0; }.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 74px 0 auto; max-height: calc(100vh - 74px); padding: 12px 24px 28px; overflow: auto; border-bottom: 1px solid var(--border); background: rgba(6,6,6,.98); transform: translateY(-120%); opacity: 0; transition: transform .3s ease, opacity .3s ease; }.mobile-menu.open { display: grid; transform: translateY(0); opacity: 1; }.mobile-menu a:not(.btn) { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88rem; }.mobile-menu .btn { margin-top: 16px; }
  .hero { min-height: 680px; background-size: auto 100%; background-position: 64% center; }.hero::before { background: linear-gradient(90deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.86) 48%,rgba(0,0,0,.42) 100%), linear-gradient(0deg,#050505,transparent 22%); }.hero-copy { max-width: 530px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }.store-scene { min-height: 420px; }
  .product-layout { grid-template-columns: 1fr 1fr; }.product-layout .side-heading { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 30px; }.product-layout .side-heading h2 { margin-bottom: 0; }.product-layout .side-heading .btn { flex: 0 0 auto; }
  .accessories-layout { grid-template-columns: 1fr; }.accessory-grid { grid-template-columns: repeat(3,1fr); }.accessory-art { height: 155px; }
  .course-grid { grid-template-columns: 1fr; }.course-gallery { height: 420px; max-height: 420px; }
  .gallery { grid-template-columns: repeat(3,1fr); }.gallery-card:nth-last-child(-n+2) { display: none; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }.contact-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }.contact-card { min-height: 105px; }
  .footer-grid { grid-template-columns: 1.25fr .8fr 1fr; }.footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }.section { padding: 72px 0; }
  .hero { min-height: auto; align-items: flex-start; background-image: url("../assets/hero-mobile-optimized.webp"); background-size: auto 390px; background-position: 50% 84px; }.hero::before { background: linear-gradient(180deg,rgba(5,5,5,.02) 70px,rgba(5,5,5,.08) 220px,rgba(5,5,5,.74) 345px,#050505 440px), linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.04) 58%,rgba(0,0,0,.16)); }.hero-inner { padding: clamp(365px,55vw,430px) 0 45px; }.hero h1 { font-size: clamp(2.2rem,8.5vw,3rem); }.hero-description { font-size: .9rem; }
  .hero-benefits { max-width: 100%; overflow-x: auto; }.hero-benefits > div { padding: 0 13px; }
  .store-scene { min-height: 330px; }.about-features { gap: 16px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .phone-card { grid-template-columns: 1fr; }.phone-visual { min-height: 230px; }.phone-card > div:last-child { padding: 20px; }
  .accessory-grid { grid-template-columns: repeat(2,1fr); }
  .course-features { flex-direction: column; gap: 12px; }.course-gallery { height: 380px; max-height: 380px; }
  .course-lightbox { padding: 68px 14px; }.course-lightbox-arrow { width: 42px; height: 42px; }.course-lightbox-prev { left: 8px; }.course-lightbox-next { right: 8px; }
  .gallery { display: flex; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; scroll-snap-type: x mandatory; }.gallery::-webkit-scrollbar { display: none; }.gallery-card, .gallery-card:nth-last-child(-n+2) { display: block; flex: 0 0 72%; scroll-snap-align: start; }
  .testimonial-track { grid-auto-columns: 82%; gap: 12px; }.carousel-btn { display: none; }
  .contact-grid { grid-template-columns: 1fr; }.map-embed, .map-embed iframe { min-height: 300px; }.contact-actions { grid-column: auto; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }.footer-grid > div:last-child { grid-column: auto; }.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .section { padding: 62px 0; }.eyebrow { font-size: .66rem; }
  .hero { min-height: auto; background-size: auto 335px; background-position: 50% 78px; }.hero::before { background: linear-gradient(180deg,rgba(5,5,5,.02) 62px,rgba(5,5,5,.08) 205px,rgba(5,5,5,.78) 315px,#050505 410px), linear-gradient(90deg,rgba(0,0,0,.4),rgba(0,0,0,.03) 58%,rgba(0,0,0,.14)); }.hero-inner { padding: 350px 0 45px; }.hero h1 { font-size: 2.15rem; }.hero-copy .eyebrow { display: block; max-width: 330px; margin-bottom: 12px; font-size: .58rem; line-height: 1.55; letter-spacing: .08em; }.hero-actions { flex-direction: column; }.hero-actions .btn { width: 100%; }.hero-benefits { grid-template-columns: repeat(3, minmax(145px,1fr)); }.hero-benefits > div { min-width: 145px; }.hero-benefits > div + div { border-left: 1px solid var(--border); }
  .store-scene { min-height: 245px; }.about-features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }.about-features div { flex-direction: column; justify-content: flex-start; gap: 9px; text-align: center; line-height: 1.45; }.about-features svg { width: 42px; height: 42px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.service-card { min-height: 255px; padding-inline: 12px; }.service-card h3 { font-size: .83rem; }.service-card p { font-size: .68rem; }.service-icon { width: 52px; height: 52px; padding: 10px; border-radius: 14px; }
  .product-layout { grid-template-columns: 1fr; }.product-layout .side-heading { display: block; }.product-layout .side-heading h2 { margin-bottom: 18px; }.phone-card { min-height: 0; }.phone-visual { min-height: 260px; }
  .accessory-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.accessory-art { height: 125px; }.accessory-card p { font-size: .66rem; }.accessory-grid .accessory-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 44% 56%; grid-template-rows: 1fr 1fr; min-height: 132px; text-align: left; }.accessory-grid .accessory-card:last-child .accessory-art { grid-row: 1 / 3; height: 100%; border-right: 1px solid var(--border); border-bottom: 0; }.accessory-grid .accessory-card:last-child h3 { align-self: end; margin: 0 14px 4px; }.accessory-grid .accessory-card:last-child p { align-self: start; min-height: 0; margin: 0 14px; }
  .course-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.course-features span { flex-direction: column; justify-content: flex-start; gap: 8px; text-align: center; font-size: .66rem; line-height: 1.4; }.course-features span:last-child { grid-column: auto; width: auto; justify-self: stretch; }.course-features svg { width: 38px; height: 38px; }
  .course-gallery { height: 330px; max-height: 330px; grid-template-rows: minmax(0,1fr) 56px; padding: 7px; }
  .gallery-card, .gallery-card:nth-last-child(-n+2) { flex-basis: 84%; }
  .testimonial-track { grid-auto-columns: 92%; }.testimonials .carousel-btn { display: grid; top: 50%; width: 36px; height: 44px; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--accent); font-size: 2.35rem; line-height: 1; box-shadow: none; text-shadow: 0 2px 10px rgba(0,0,0,.8); }.testimonials .carousel-btn:focus-visible { outline: 0; color: #ff555a; text-shadow: 0 0 9px rgba(255,37,43,.45), 0 2px 10px rgba(0,0,0,.8); }.testimonials .carousel-btn.prev { left: 8px; }.testimonials .carousel-btn.next { right: 8px; }.review-counter { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin-top: 14px; color: #777; font-size: .72rem; }.review-counter strong { color: #fff; font: 600 .9rem var(--title); }
  .contact-info address p { font-size: .9rem; line-height: 1.65; }.contact-info address svg { width: 19px; height: 19px; margin-top: 3px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 10px; }.footer-brand, .footer-grid > div:last-child { grid-column: auto; }.site-footer h3 { font-size: .76rem; }.footer-brand p, .site-footer .footer-grid p, .footer-contact { font-size: .82rem; line-height: 1.65; }.footer-grid > div:last-child p { margin-bottom: 0; }
  .copyright { gap: 12px; }.developer-credit img { width: 62px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; min-height: 54px; justify-content: center; padding: 0; border-radius: 50%; }.floating-whatsapp span { display: none; }
  .floating-whatsapp .whatsapp-icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Premium perception refinement */
:root {
  --surface-deep: #070707;
  --surface-elevated: rgba(18,18,19,.86);
  --stroke-subtle: rgba(255,255,255,.075);
  --stroke-highlight: rgba(255,255,255,.14);
  --red-muted: rgba(255,37,43,.24);
  --red-ambient: rgba(126,8,12,.18);
  --shadow-soft: 0 22px 55px rgba(0,0,0,.28);
  --shadow-card: 0 14px 34px rgba(0,0,0,.22);
}

body {
  background:
    radial-gradient(circle at 78% 4%, rgba(126,8,12,.08), transparent 26rem),
    var(--background);
}

:focus-visible {
  outline-color: rgba(255,82,87,.9);
  outline-offset: 5px;
}

.section {
  isolation: isolate;
  overflow: clip;
  padding: 114px 0;
  border-top-color: rgba(255,255,255,.045);
}

.section > .container { position: relative; z-index: 1; }
.section-heading { margin-bottom: 50px; }
.eyebrow { color: #ff3b41; }
p { color: #a5a5a8; }

.section.about {
  background:
    radial-gradient(circle at 16% 48%, rgba(255,37,43,.055), transparent 30rem),
    linear-gradient(180deg,#070707,#050505);
}

.section.services {
  background:
    linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px),
    radial-gradient(circle at 50% 12%, rgba(255,37,43,.055), transparent 34rem),
    #080808;
  background-size: 52px 52px,52px 52px,auto,auto;
}

.section.product-section {
  background:
    radial-gradient(circle at 42% 54%, rgba(143,77,57,.07), transparent 27rem),
    radial-gradient(circle at 85% 50%, rgba(24,91,145,.075), transparent 25rem),
    #050505;
}

.section.accessories {
  background: linear-gradient(180deg,#090909 0%,#070707 55%,#050505 100%);
}

.section.courses {
  background:
    radial-gradient(ellipse at 78% 48%, rgba(255,37,43,.085), transparent 34rem),
    linear-gradient(135deg,#050505,#090909 52%,#050505);
}

.section.structure {
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 45%),
    #050505;
}

.section.testimonials {
  background:
    radial-gradient(circle at 50% 34%, rgba(255,37,43,.045), transparent 32rem),
    #080808;
}

.section.contact {
  background: linear-gradient(180deg,#050505,#090909);
}

.reveal {
  transform: translateY(24px);
  transition-timing-function: cubic-bezier(.2,.72,.25,1);
  transition-duration: .8s;
}

/* Buttons reserve the strongest red for intentional actions. */
.btn {
  position: relative;
  overflow: hidden;
  border-color: var(--stroke-highlight);
  border-radius: 9px;
  background-color: rgba(12,12,13,.68);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  transition: transform .28s cubic-bezier(.2,.72,.25,1), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent 20%,rgba(255,255,255,.14) 48%,transparent 72%);
  transform: translateX(-130%);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}

.btn:hover::before { transform: translateX(130%); }
.btn:hover { border-color: rgba(255,255,255,.25); box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.07); }
.btn-primary { border-color: rgba(255,96,101,.72); box-shadow: 0 11px 32px rgba(190,12,18,.2), inset 0 1px rgba(255,255,255,.14); }
.btn-primary:hover { border-color: rgba(255,129,133,.9); box-shadow: 0 15px 38px rgba(190,12,18,.3), inset 0 1px rgba(255,255,255,.18); }
.btn-outline { border-color: rgba(255,255,255,.16); background: rgba(8,8,9,.62); }

/* Layered hero image with a nearly imperceptible cinematic drift. */
.hero {
  isolation: isolate;
  background: #030303;
}

.hero::before {
  z-index: -2;
  background: url("../assets/hero-section.webp") right 16% / auto 120% no-repeat;
  transform: scale(1.012);
  transform-origin: 72% 48%;
  animation: heroAmbientDrift 13s ease-in-out infinite alternate;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg,rgba(0,0,0,.99) 0%,rgba(0,0,0,.92) 28%,rgba(0,0,0,.39) 61%,rgba(0,0,0,.16) 100%),
    linear-gradient(0deg,#050505 0%,transparent 18%),
    radial-gradient(circle at 72% 50%,rgba(255,37,43,.08),transparent 35%);
}

.hero-benefits {
  border-color: var(--stroke-subtle);
  background: linear-gradient(135deg,rgba(18,18,19,.8),rgba(8,8,9,.7));
  box-shadow: 0 18px 45px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
}

.hero-benefits svg,
.about-features svg,
.course-features svg {
  border-color: rgba(255,255,255,.1);
  background: linear-gradient(145deg,rgba(255,37,43,.09),rgba(255,255,255,.015));
  stroke: #ff454b;
  box-shadow: inset 0 1px rgba(255,255,255,.045),0 10px 22px rgba(0,0,0,.2);
}

/* About */
.about-grid { gap: 74px; }
.store-scene {
  border-color: var(--stroke-subtle);
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.02);
}
.store-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(255,255,255,.055),transparent 20%,transparent 75%,rgba(255,37,43,.04));
  pointer-events: none;
}
.about-features { gap: 24px 28px; }

/* Shared restrained surfaces */
.service-card,
.phone-card,
.accessory-card,
.testimonial-card,
.contact-card {
  border-color: var(--stroke-subtle);
  background: linear-gradient(145deg,rgba(19,19,20,.9),rgba(8,8,9,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.035),var(--shadow-card);
}

.service-card,
.phone-card,
.accessory-card,
.testimonial-card,
.contact-card { position: relative; overflow: hidden; }

.service-card::after,
.phone-card::before,
.accessory-card::before,
.testimonial-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: -70%;
  width: 62%;
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,74,79,.72),transparent);
  transition: left .72s cubic-bezier(.2,.72,.25,1);
  pointer-events: none;
}

.service-card:hover::after,
.phone-card:hover::before,
.accessory-card:hover::before,
.testimonial-card:hover::before,
.contact-card:hover::before { left: 108%; }

.service-card:hover,
.phone-card:hover,
.accessory-card:hover,
.testimonial-card:hover,
.contact-card:hover {
  border-color: rgba(255,255,255,.15);
  box-shadow: inset 0 1px rgba(255,255,255,.055),0 24px 52px rgba(0,0,0,.34);
}

/* Services */
.service-grid { gap: 16px; }
.service-card { min-height: 282px; padding: 31px 22px 39px; }
.service-card::before { background: radial-gradient(circle at 50% 5%,rgba(255,37,43,.065),transparent 48%); }
.service-card:hover { transform: translateY(-4px); }
.service-icon {
  border-color: rgba(255,255,255,.1);
  background: linear-gradient(145deg,rgba(255,37,43,.095),rgba(255,255,255,.012));
  box-shadow: inset 0 1px rgba(255,255,255,.05),0 14px 30px rgba(0,0,0,.22);
}
.service-card:hover .service-icon { border-color: rgba(255,70,76,.42); box-shadow: inset 0 1px rgba(255,255,255,.07),0 14px 32px rgba(95,0,3,.16); }
.card-arrow { opacity: .72; }

/* Smartphones become editorial rather than two identical generic cards. */
.product-layout { gap: 24px; }
.phone-card { border-radius: 14px; }
.phone-card:first-of-type { background: radial-gradient(circle at 22% 58%,rgba(143,84,65,.13),transparent 45%),linear-gradient(140deg,#151414,#080808); }
.phone-card:last-of-type { background: radial-gradient(circle at 22% 58%,rgba(39,113,169,.15),transparent 46%),linear-gradient(140deg,#111417,#080808); }
.phone-card > div:last-child { padding: 28px 26px 28px 10px; }
.phone-card a { border-color: rgba(255,255,255,.1); background: rgba(0,0,0,.18); transition: background .25s ease,border-color .25s ease,transform .25s ease; }
.phone-card a:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.035); transform: translateX(2px); }
.phone-visual { background: radial-gradient(circle at 48% 62%,rgba(255,255,255,.105),transparent 50%); }

/* Accessories read as a single curated shelf. */
.accessories-layout { gap: 40px; }
.accessory-grid { gap: 14px; padding: 10px; border: 1px solid rgba(255,255,255,.045); border-radius: 16px; background: rgba(255,255,255,.014); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.accessory-card { border-radius: 11px; box-shadow: none; }
.accessory-card:hover { transform: translateY(-3px); }
.accessory-art { border-bottom-color: rgba(255,255,255,.055); background: radial-gradient(circle at 50% 80%,#242425,#080809 68%); }

/* Courses are treated as the site's cinematic proof point. */
.course-grid { gap: 70px; }
.course-gallery {
  padding: 11px;
  border-color: rgba(255,255,255,.1);
  border-radius: 15px;
  background: linear-gradient(145deg,rgba(20,20,21,.9),rgba(5,5,6,.98));
  box-shadow: 0 30px 70px rgba(0,0,0,.42),0 0 55px rgba(118,5,9,.08),inset 0 1px rgba(255,255,255,.045);
}
.course-gallery-main { border-radius: 10px; }
.course-gallery-main::before { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.04); border-radius: inherit; pointer-events: none; }
.course-gallery-thumbnails button { border-color: rgba(255,255,255,.07); border-radius: 8px; }
.course-gallery-thumbnails button:hover,.course-gallery-thumbnails button.active { border-color: rgba(255,69,75,.68); box-shadow: 0 0 18px rgba(255,37,43,.1); }
.course-gallery-arrow { backdrop-filter: blur(9px); }

/* Structure, reviews and contact each receive a distinct depth level. */
.gallery { gap: 14px; }
.gallery-card { border-color: rgba(255,255,255,.07); border-radius: 11px; box-shadow: inset 0 -50px 60px #050505,0 14px 30px rgba(0,0,0,.18); transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease; }
.gallery-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.14); box-shadow: inset 0 -50px 60px #050505,0 22px 45px rgba(0,0,0,.3); }
.testimonial-track { gap: 24px; }
.testimonial-card { min-height: 232px; padding: 30px; border-radius: 13px; transition: transform .3s ease,border-color .3s ease,box-shadow .3s ease; }
.testimonial-card::before { display: none; }
.testimonial-card:hover {
  transform: none;
  border-color: var(--stroke-subtle);
  box-shadow: inset 0 1px rgba(255,255,255,.035),var(--shadow-card);
}
.customer > span { border-color: rgba(255,255,255,.1); background: linear-gradient(145deg,#261113,#13090a); }
.map-embed { border-color: var(--stroke-subtle); border-radius: 14px; box-shadow: var(--shadow-soft); }
.contact-grid { gap: 28px; }
.contact-card { min-height: 126px; padding: 26px; border-radius: 13px; }
.whatsapp-card { border-color: rgba(255,63,69,.35); background: linear-gradient(135deg,#a5171b,#5b090c); }

/* Footer completion and hierarchy */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  border-top-color: rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 12% 5%,rgba(255,37,43,.075),transparent 24rem),
    linear-gradient(180deg,#0a0a0b,#060607);
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,55,61,.38),transparent); }
.footer-grid { position: relative; gap: 68px; padding-bottom: 56px; }
.site-footer h3 { color: #ff444a; }
.footer-links a,.footer-contact { color: #96969a; }
.payment-methods-image { filter: drop-shadow(0 8px 18px rgba(0,0,0,.34)); animation: paymentAmbient 6s ease-in-out infinite; }
.copyright { padding: 19px 0; border-top-color: rgba(255,255,255,.065); }

.site-header.scrolled {
  background: linear-gradient(180deg,rgba(8,8,9,.94),rgba(5,5,6,.86));
  border-bottom-color: rgba(255,255,255,.065);
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(18px) saturate(115%);
}

.floating-whatsapp {
  border-color: rgba(103,239,155,.66);
  box-shadow: 0 12px 32px rgba(15,145,73,.27),0 10px 26px rgba(0,0,0,.36);
  animation: whatsappAmbient 4.5s ease-in-out infinite;
}

/* Calm motion is restricted to key visual anchors. */
@media (min-width: 769px) {
  .phone-product-image { animation: productFloat 7s ease-in-out infinite alternate; }
  .phone-card:last-of-type .phone-product-image { animation-delay: -2.4s; }
  .accessory-product-image { transition: transform .45s cubic-bezier(.2,.72,.25,1),filter .45s ease; }
  .accessory-card:hover .accessory-product-image { transform: translateX(-50%) translateY(-5px) scale(1.025); filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
}

@keyframes heroAmbientDrift {
  0% { transform: scale(1.012) translate3d(0,0,0); }
  100% { transform: scale(1.022) translate3d(-7px,4px,0); }
}

@keyframes productFloat {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes paymentAmbient {
  0%,100% { filter: drop-shadow(0 8px 18px rgba(0,0,0,.34)); }
  50% { filter: drop-shadow(0 8px 22px rgba(255,37,43,.11)); }
}

@keyframes whatsappAmbient {
  0%,100% { box-shadow: 0 12px 32px rgba(15,145,73,.25),0 10px 26px rgba(0,0,0,.36),0 0 0 0 rgba(37,211,102,.13); }
  50% { box-shadow: 0 14px 36px rgba(15,145,73,.32),0 10px 26px rgba(0,0,0,.38),0 0 0 8px rgba(37,211,102,0); }
}

@media (max-width: 1200px) {
  .section { padding: 104px 0; }
  .service-card { min-height: 258px; }
  .footer-grid { gap: 50px; }
}

@media (max-width: 992px) {
  .section { padding: 92px 0; }
  .about-grid,.course-grid { gap: 48px; }
  .accessories-layout { gap: 30px; }
  .contact-card { min-height: 112px; }
}

@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  body { background: var(--background); }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 40px; }
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header,
  .site-header.scrolled {
    background: rgba(6,6,7,.97);
    border-bottom: 1px solid rgba(255,255,255,.055);
    box-shadow: none;
    backdrop-filter: none;
  }
  .section { overflow: visible; }
  .hero-copy,
  .about-copy,
  .accessories .side-heading,
  .course-copy { text-align: center; }
  .hero-copy .eyebrow { margin-inline: auto; text-align: center; }
  .accessories .side-heading { padding-right: 0; }
  .product-layout .side-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-right: 0;
    text-align: center;
  }
  .product-layout .side-heading h2 { margin-bottom: 0; }
  .product-layout .side-heading .btn { margin: 22px auto 0; }
  .contact-info > .eyebrow,
  .contact-info > h2 { text-align: center; }
  .hero-copy,
  .hero-description,
  .about-copy > p:not(.eyebrow),
  .course-copy > p:not(.eyebrow) { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-benefits { text-align: left; }
  .hero-benefits,
  .course-gallery-arrow { backdrop-filter: none; }
  .hero-benefits,
  .gallery,
  .testimonial-track {
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }
  .course-copy .btn { margin-inline: auto; }
  .hero::before {
    background-image: url("../assets/hero-mobile-optimized.webp");
    background-repeat: no-repeat;
    background-size: auto 390px;
    background-position: 50% 84px;
    transform-origin: 50% 25%;
    animation: none;
    transform: none;
  }
  .hero::after {
    background:
      linear-gradient(180deg,rgba(5,5,5,.02) 70px,rgba(5,5,5,.08) 220px,rgba(5,5,5,.74) 345px,#050505 440px),
      linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.04) 58%,rgba(0,0,0,.16));
  }
  .service-card { padding: 28px 18px 38px; }
  .phone-card > div:last-child { padding: 24px; }
  .accessory-grid { padding: 8px; }
  .testimonial-card { min-height: 225px; padding: 26px; }
  .course-gallery-image.is-zooming,
  .payment-methods-image,
  .floating-whatsapp { animation: none; }
  .phone-product-image,
  .accessory-product-image,
  .payment-methods-image { filter: none; }
  .service-card,
  .phone-card,
  .accessory-card,
  .testimonial-card,
  .contact-card,
  .store-scene,
  .course-gallery,
  .map-embed { box-shadow: none; }
  .service-card::after,
  .phone-card::before,
  .accessory-card::before,
  .testimonial-card::before,
  .contact-card::before { display: none; }
  .map-embed iframe { pointer-events: none; }
  .map-mobile-link {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    touch-action: pan-y;
  }
  .map-mobile-link span {
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(7,7,8,.9);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .floating-whatsapp { box-shadow: 0 10px 26px rgba(15,145,73,.24),0 8px 20px rgba(0,0,0,.32); }
  .site-footer { padding-top: 66px; }
  .footer-grid { gap: 42px; padding-bottom: 34px; }
}

@media (hover: none), (pointer: coarse) {
  .btn,
  .service-card,
  .phone-card,
  .accessory-card,
  .contact-card,
  .accessory-product-image { transition: none; }
  .btn::before { display: none; }
}

@media (max-width: 520px) {
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .hero::before { background-size: auto 335px; background-position: 50% 78px; }
  .hero::after {
    background:
      linear-gradient(180deg,rgba(5,5,5,.02) 62px,rgba(5,5,5,.08) 205px,rgba(5,5,5,.78) 315px,#050505 410px),
      linear-gradient(90deg,rgba(0,0,0,.4),rgba(0,0,0,.03) 58%,rgba(0,0,0,.14));
  }
  .about-grid { gap: 38px; }
  .about-features { gap: 24px 14px; }
  .service-grid { gap: 10px; }
  .service-card { min-height: 260px; padding: 25px 13px 36px; }
  .product-layout { gap: 18px; }
  .accessory-grid { gap: 9px; padding: 7px; border-radius: 13px; }
  .course-grid { gap: 42px; }
  .course-gallery { padding: 8px; border-radius: 13px; }
  .testimonial-card { min-height: 228px; padding: 25px 23px; }
  .contact-grid { gap: 22px; }
  .contact-card { padding: 24px; }
  .site-footer { padding-top: 62px; }
  .footer-grid { gap: 34px; padding-bottom: 14px; }
  .copyright { padding-block: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .phone-product-image,
  .payment-methods-image,
  .floating-whatsapp { animation: none !important; }
  .btn::before { display: none; }
}
