@font-face { font-family: 'Young Serif'; font-weight: 400; font-display: swap; src: url(assets/fonts/youngserif-latin.woff2) format('woff2'); }
@font-face { font-family: 'Chivo'; font-weight: 100 900; font-display: swap; src: url(assets/fonts/chivo-latin.woff2) format('woff2'); }

:root {
  --navy: #0a223e; --navy-2: #12355f; --ink: #0f2a40; --soft: #4a6274;
  --paper: #eef4f6; --panel: #fff; --gold: #f4b634; --signal: #ec7a00; --line: rgba(15, 42, 64, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 Chivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; letter-spacing: -.01em; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); padding: max(22px, env(safe-area-inset-top)) 0 64px; }
.hero-bg { position: absolute; inset: 0; background: url(assets/hero.jpg) center 40% / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(10,34,62,.96) 0%, rgba(10,34,62,.86) 38%, rgba(10,34,62,.35) 70%, rgba(10,34,62,.15) 100%),
  linear-gradient(180deg, rgba(10,34,62,0) 60%, rgba(10,34,62,.9) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; margin-bottom: 36px; }
.brand img { border-radius: 11px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.hero h1 { font-size: clamp(44px, 7vw, 68px); line-height: 1.02; margin: 0 0 20px; }
.hero h1 span { color: var(--gold); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: #d6e4ee; max-width: 540px; margin: 0 0 30px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px 12px 18px; border-radius: 16px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.35); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .15s ease; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 12px; opacity: .85; }
.store-btn b { font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.store-btn[aria-disabled="true"] { cursor: default; }
.cta-note { margin: 0; max-width: 260px; font-size: 14px; color: #b5c8d6; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.chips li { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }

.hero-phone { display: flex; justify-content: center; }
.phone { width: min(300px, 80%); padding: 11px; border-radius: 50px; background: #0e141c; box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 2px #2a3644; transform: rotate(5deg); }
.phone img { border-radius: 40px; }

/* Gallery */
.gallery-sec { padding-top: 64px; }
h2 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.1; margin: 0 0 10px; }
.sub { color: var(--soft); max-width: 620px; margin: 0 0 28px; font-size: 18px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px; margin: 0 -4px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { border-radius: 26px; box-shadow: 0 16px 34px rgba(8,30,48,.2); }
.gallery figcaption { font-size: 14px; font-weight: 700; color: var(--soft); margin-top: 12px; text-align: center; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 34px; }
.features article { background: var(--panel); border-radius: 22px; padding: 22px 20px; box-shadow: 0 10px 30px rgba(8,30,48,.07); }
.features .ico { font-size: 28px; }
.features h3 { font-size: 21px; margin: 10px 0 6px; line-height: 1.15; }
.features p { margin: 0; color: var(--soft); font-size: 15px; }

/* Share */
.share { padding-top: 40px; }
.share-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: 30px 32px; }
.share-card h2 { font-size: 30px; }
.share-card p { color: #c9d9e5; margin: 0 0 18px; max-width: 460px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); font: inherit; font-weight: 800; border: 0; cursor: pointer; padding: 12px 26px; border-radius: 999px; }
.share-btn::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l5 5-1.4 1.4L13 5.8V15h-2V5.8L8.4 8.4 7 7l5-5zM4 11h2v9h12v-9h2v11H4V11z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l5 5-1.4 1.4L13 5.8V15h-2V5.8L8.4 8.4 7 7l5-5zM4 11h2v9h12v-9h2v11H4V11z'/%3E%3C/svg%3E") center/contain no-repeat; }
.share-ok { margin-left: 12px; font-size: 14px; color: #c9d9e5; }
.qr { background: #fff; border-radius: 18px; padding: 8px; flex: none; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 40px 20px max(40px, env(safe-area-inset-bottom)); color: var(--soft); font-size: 14px; }
.foot nav a { margin-left: 16px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10,34,62,.88) 0%, rgba(10,34,62,.78) 55%, rgba(10,34,62,.95) 100%); }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .brand { margin-bottom: 26px; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features article { padding: 18px 16px; }
  .features h3 { font-size: 18px; }
  .features p { font-size: 14px; }
  .share-card { padding: 26px 22px; }
  .qr { display: none; }
  .foot nav a { margin: 0 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .store-btn { transition: none; } }
