/* Lumio Wild landing — tokens & reset-lite */
:root {
  --color-yellow: #ffd700;
  --color-yellow-soft: #fff9e6;
  --color-yellow-muted: #ffe066;
  --color-cream: #fdfbf5;
  --color-bg: #fffcf7;
  --color-text: #2d2519;
  --color-text-soft: #5c5348;
  --color-white: #ffffff;
  --color-outline: #2d2519;
  --shadow-soft: 0 8px 32px rgba(45, 37, 25, 0.08);
  --shadow-card: 0 4px 20px rgba(45, 37, 25, 0.06);
  --radius-pill: 999px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 72px;
  --container: min(1120px, calc(100% - 2 * clamp(1rem, 4vw, 2rem)));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-text);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-yellow);
  color: var(--color-text);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 37, 25, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-yellow);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  box-shadow: var(--shadow-card);
}

.logo-text {
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-outline);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  height: 3px;
  width: 24px;
  margin-inline: auto;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-outline);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-cart {
  white-space: nowrap;
}

.icon {
  flex-shrink: 0;
}

/* Sections */
.section {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.section--cream {
  background: var(--color-cream);
}

.section--yellow-soft {
  background: var(--color-yellow-soft);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-title--decor {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-title .decor {
  color: var(--color-yellow-muted);
  font-size: 1.25rem;
}

.gallery-head .section-title {
  margin-bottom: 0;
}

/* Hero */
.hero {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy h1 {
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-proof p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-soft);
  max-width: 280px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--color-yellow-muted), var(--color-yellow));
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.placeholder-circle {
  background: linear-gradient(135deg, #e8e0d5, var(--color-yellow-soft));
}

.hero-visual {
  min-height: 280px;
  margin: 0;
}

/* Media placeholders — để trống cho ảnh sau; thêm img con hoặc background trong CSS */
.lumio-media-slot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-yellow-soft);
  box-shadow: var(--shadow-soft);
}

.lumio-media-slot::after {
  content: attr(data-placeholder-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
  pointer-events: none;
  opacity: 0.65;
}

.lumio-media-slot:has(img[src]:not([src=""]))::after {
  display: none;
}

.lumio-media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lumio-media-slot--hero {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(100%, 560px);
  margin-inline: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Ảnh hero không “nổi khối” — khớp nền trang */
.lumio-media-slot--hero img {
  object-position: center;
}

.lumio-media-slot--product {
  aspect-ratio: 5 / 4;
  min-height: 260px;
}

.lumio-media-slot--square {
  aspect-ratio: 1;
}

.lumio-media-slot--portrait {
  aspect-ratio: 3 / 4;
  min-height: 280px;
}

.lumio-media-slot--banner {
  position: absolute;
  inset: 0;
  border-radius: 0;
  min-height: 100%;
}

/* Shell bọc section — nền kem + khối trắng bo tròn lớn */
.rounded-shell {
  background: var(--color-white);
  border-radius: clamp(28px, 6vw, 40px);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  border: 1px solid rgba(45, 37, 25, 0.06);
  box-shadow: none;
}

.section-title--in-shell {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.decor--spark {
  color: #e8942f;
  font-size: 1.1rem;
  line-height: 1;
}

/* Value cards — layout ngang: icon tròn trái + text phải */
.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

.feature-card {
  background: var(--color-white);
  padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 37, 25, 0.08);
  box-shadow: none;
}

.feature-card--row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  text-align: left;
}

.feature-card-body {
  min-width: 0;
}

.feature-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
}

.feature-card-body p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-text);
}

.feature-icon--soft {
  background: linear-gradient(145deg, #fff4d4 0%, #ffe9a8 100%);
  border: 1px solid rgba(232, 148, 47, 0.15);
}

/* Product — khối trắng trong shell, 2 cột */
.product-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  background: linear-gradient(145deg, #fff0d9 0%, #ffd89e 100%);
  color: var(--color-text);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  border: 1px solid rgba(232, 148, 47, 0.2);
}

.tag-star {
  flex-shrink: 0;
  color: #e8942f;
}

.product-copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--color-text-soft);
  max-width: 38ch;
  font-size: 1rem;
  margin-bottom: 0;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 1.35rem 0 1.5rem;
}

.highlight-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  padding: 0.65rem 0.5rem;
  min-height: 88px;
  background: var(--color-white);
  border: 1px solid rgba(45, 37, 25, 0.08);
  border-radius: 14px;
}

.highlight-icon {
  display: grid;
  place-items: center;
  color: #e8942f;
}

.highlight-icon--text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  color: #e8942f;
}

.highlight-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.25;
}

.highlight-line {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
}

.highlight-cell:first-child .highlight-meta .highlight-line {
  font-size: 0.78rem;
}

.btn-arrow .icon {
  margin-left: 0.15rem;
}

.lumio-media-slot--product {
  aspect-ratio: 5 / 4;
  min-height: 220px;
  border-radius: clamp(18px, 3vw, 26px);
  box-shadow: none;
  border: 1px dashed rgba(45, 37, 25, 0.12);
  background: rgba(255, 249, 230, 0.45);
}

.lumio-media-slot--product:has(img[src]:not([src=""])) {
  border-style: solid;
  border-color: rgba(45, 37, 25, 0.06);
  background: var(--color-yellow-soft);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--color-yellow);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.step-icon-box {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
}

.step-label {
  margin: 0;
  font-weight: 600;
  max-width: 16ch;
}

/* Gallery */
.gallery-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
}

.link-arrow::after {
  content: " →";
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.animal-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.animal-media {
  border-radius: 0;
  box-shadow: none;
}

.animal-card h3 {
  padding: 0.85rem 1rem;
  margin: 0;
  font-size: 1rem;
  text-align: center;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.trust-points h2 {
  margin-bottom: 1.25rem;
}

.trust-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.trust-list li:last-child {
  margin-bottom: 0;
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--color-yellow);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--color-text);
}

.trust-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.trust-list p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--color-text-soft);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-card {
  margin: 0;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.quote-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.quote-avatar {
  width: 40px;
  height: 40px;
}

.stars {
  color: var(--color-yellow-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.quote-card p {
  font-style: italic;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.quote-card footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

/* Final CTA */
.final-cta {
  position: relative;
  padding-block: clamp(4rem, 12vw, 6rem);
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.final-cta-inner h2 {
  color: var(--color-text);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.final-cta-inner p {
  color: var(--color-text-soft);
  margin-bottom: 1.5rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.store-badge--dark {
  background: var(--color-text);
  color: var(--color-white);
}

.store-badge--dark:hover {
  opacity: 0.9;
  color: var(--color-white);
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.88);
  padding-block: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) and (max-width: 899px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-brand .logo--footer {
  color: var(--color-white);
}

.footer-brand .logo-mark {
  background: var(--color-yellow);
  color: var(--color-text);
}

.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.footer-col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 0.75rem;
}

.footer-email {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-yellow);
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.anchor-helper {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

#blog {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Tablet */
@media (min-width: 640px) {
  .animal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .product-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 4vw, 3rem);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 12%;
    right: 12%;
    height: 0;
    border-top: 2px dashed rgba(45, 37, 25, 0.15);
    pointer-events: none;
  }

  .trust-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr) auto;
    gap: 1.5rem 2rem;
    align-items: start;
  }
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(255, 252, 247, 0.98);
    border-bottom: 1px solid rgba(45, 37, 25, 0.08);
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(45, 37, 25, 0.08);
    margin-bottom: 1rem;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 0.65rem 0;
    font-size: 1.05rem;
  }

  .btn-cart {
    width: 100%;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
