/* VietVape.club — coastal daylight design */

:root {
  --sea: #0b6e6b;
  --sea-deep: #084f4d;
  --sea-soft: #d6f0ee;
  --sand: #f2e8d5;
  --sand-deep: #e5d4b5;
  --coral: #e85d4c;
  --coral-deep: #c94435;
  --ink: #1a2423;
  --ink-soft: #4a5755;
  --white: #fffcf7;
  --line: rgba(11, 110, 107, 0.14);
  --radius: 4px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(8, 79, 77, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #b8ebe6 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #f7d7c8 0%, transparent 50%),
    linear-gradient(180deg, #eef8f6 0%, var(--white) 38%, var(--sand) 100%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.container {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 252, 247, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sea);
  color: var(--sand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--sea-deep);
}

.brand__name span { color: var(--coral); }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a {
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover { color: var(--sea); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--sea);
  color: var(--white) !important;
  border-radius: 999px;
}

.nav__cta:hover { background: var(--sea-deep); color: var(--white) !important; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 18px 0 28px;
  overflow: hidden;
}

.hero__bg {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  align-items: start;
}

.hero__copy { max-width: 560px; }

.hero__photo-wrap {
  order: -1;
  margin: 0 -14px;
  background:
    radial-gradient(circle at 50% 40%, #dff5f2 0%, transparent 65%),
    linear-gradient(180deg, #e7f7f5, #fffcf7);
  overflow: hidden;
}

.hero__photo {
  width: 100%;
  max-height: 42vh;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  animation: hero-float 5.5s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 11vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--sea-deep);
  margin-bottom: 12px;
}

.hero__brand em {
  font-style: normal;
  color: var(--coral);
}

.hero__lead {
  font-size: clamp(1.08rem, 4.2vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.hero__text {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 46ch;
  margin-bottom: 16px;
  line-height: 1.45;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 93, 76, 0.35);
}

.btn--primary:hover { background: var(--coral-deep); }

.btn--ghost {
  background: rgba(255, 252, 247, 0.85);
  border: 1px solid var(--line);
  color: var(--sea-deep);
}

.btn--ghost:hover { background: var(--white); }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sea-deep);
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--line);
  padding: 7px 10px;
}

/* ---------- Sections ---------- */

.section {
  padding: 40px 0;
}

.section--sand {
  background: linear-gradient(180deg, transparent, rgba(242, 232, 213, 0.55));
}

.section__head {
  max-width: 620px;
  margin-bottom: 28px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--sea-deep);
  margin-bottom: 10px;
}

.section__sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Delivery strip ---------- */

.delivery-grid {
  display: grid;
  gap: 14px;
}

.delivery-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px;
  background: rgba(255, 252, 247, 0.88);
  border-left: 4px solid var(--sea);
  box-shadow: 0 10px 28px rgba(8, 79, 77, 0.08);
}

.delivery-item--hot { border-left-color: var(--coral); }
.delivery-item--cam { border-left-color: #d4a017; }

.delivery-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sea-soft);
  font-size: 1.15rem;
}

.delivery-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.delivery-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Product ---------- */

.product-panel {
  display: grid;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-panel__visual {
  background:
    linear-gradient(180deg, #dff5f2, #fff),
    var(--sea-soft);
  padding: 20px;
}

.product-panel__visual img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
}

.product-panel__body { padding: 4px 16px 22px; }

.product-panel .btn { width: 100%; }

.product-panel__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.product-panel h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.product-panel__desc {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.price-row {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
}

.price--best {
  background: linear-gradient(90deg, #dff5f2, #fff8ef);
  border-color: rgba(11, 110, 107, 0.25);
}

.price__label { font-weight: 700; }
.price__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 5vw, 1.35rem);
  font-weight: 800;
  color: var(--sea-deep);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sea-deep);
  background: var(--sea-soft);
  padding: 7px 10px;
}

/* ---------- Why ---------- */

.why-list {
  display: grid;
  gap: 12px;
  counter-reset: why;
}

.why-item {
  counter-increment: why;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.why-item::before {
  content: counter(why, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral);
  font-size: 1.1rem;
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.why-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Payment ---------- */

.pay-grid {
  display: grid;
  gap: 12px;
}

.pay-tile {
  padding: 20px 18px;
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--line);
}

.pay-tile h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-tile__emoji {
  font-size: 1.25rem;
  line-height: 1;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.pay-tile p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Contacts ---------- */

.contact-row {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-link__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-link__icon--tg { background: #2aabee; }
.contact-link__icon--wa { background: #25d366; }

.contact-link strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.contact-link span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.footer {
  padding: 28px 0 calc(92px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer__inner {
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
}

.footer__age {
  width: 48px;
  height: 48px;
  border: 2px solid var(--coral);
  color: var(--coral);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.footer a {
  color: var(--sea);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Sticky messengers ---------- */

.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255, 252, 247, 0.97) 70%, rgba(255, 252, 247, 0));
}

.float-btn {
  min-height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.float-btn:active { transform: scale(0.97); }
.float-btn--tg { background: linear-gradient(135deg, #2aabee, #229ed9); }
.float-btn--wa { background: linear-gradient(135deg, #25d366, #128c3c); }
.float-btn__label { line-height: 1; }

/* ---------- Wiki ---------- */

.wiki-page { padding: 24px 0 88px; }

.wiki-back {
  display: inline-block;
  color: var(--sea);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 22px;
}

.wiki-article {
  max-width: 760px;
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.wiki-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--sea-deep);
  margin-bottom: 14px;
}

.wiki-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.wiki-article h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 28px 0 10px;
  color: var(--sea-deep);
}

.wiki-article p,
.wiki-article li {
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.wiki-article ul,
.wiki-article ol {
  padding-left: 1.2rem;
  margin-bottom: 14px;
}

.wiki-article a { color: var(--coral-deep); font-weight: 700; }

.wiki-faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.wiki-faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.wiki-disclaimer {
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--sand);
  border-left: 4px solid var(--coral);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__photo { animation: none; }
}

/* ---------- Mobile tweaks ---------- */

@media (max-width: 759px) {
  .nav a:not(.nav__cta) { display: none; }

  .brand__name { font-size: 1.05rem; }

  .section__title {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .section__sub { font-size: 0.95rem; }

  .product-panel__visual {
    padding: 12px 12px 0;
  }

  .product-panel__visual img {
    max-height: 260px;
  }

  .product-panel h3 { font-size: 1.45rem; }

  .contact-link {
    min-height: 72px;
  }

  .wiki-article {
    padding: 18px 16px;
  }

  .wiki-article h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 48px));
  }

  .topbar__inner { min-height: 64px; }

  .hero {
    min-height: min(88vh, 820px);
    padding: 36px 0 56px;
  }

  .hero__bg {
    display: block;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(100deg, rgba(255, 252, 247, 0.97) 0%, rgba(255, 252, 247, 0.88) 46%, rgba(11, 110, 107, 0.08) 100%),
      url("../img/mickey-50000.png") 92% center / min(52vw, 640px) no-repeat;
    z-index: 0;
  }

  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(238, 248, 246, 0.95) 100%);
  }

  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    min-height: min(72vh, 680px);
    gap: 28px;
  }

  .hero__photo-wrap { display: none; }

  .hero__actions {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
  }

  .hero__text { font-size: 1.05rem; margin-bottom: 22px; }
  .hero__brand { margin-bottom: 18px; }
  .hero__tags { gap: 8px; }
  .tag { font-size: 0.82rem; padding: 8px 12px; }

  .section { padding: 56px 0; }

  .delivery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-grid .delivery-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 7px);
  }

  .product-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .product-panel__body {
    padding: 32px 32px 32px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-panel .btn { width: auto; align-self: flex-start; }

  .price-row { grid-template-columns: 1fr 1fr; }

  .pay-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-row { grid-template-columns: 1fr 1fr; }

  .float-bar {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: auto;
    grid-template-columns: none;
    gap: 12px;
    padding: 0;
    background: none;
  }

  .float-btn {
    width: 56px;
    height: 56px;
    min-height: 56px;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  }

  .float-btn:hover { transform: scale(1.06); }
  .float-btn__label { display: none; }

  .footer { padding-bottom: 48px; }
  .wiki-page { padding: 36px 0 64px; }
}
