/* ==========================================================================
   Meeblebuild — styles.css
   Mobile-first, primary-color, playful-but-modern
   ========================================================================== */

:root {
  --red:    #ff4d5e;
  --yellow: #ffb020;
  --blue:   #2f8fff;
  --green:  #20c07a;

  --ink:    #1e2233;
  --ink-soft:#525a72;
  --bg:     #ffffff;
  --bg-soft:#f5f7fd;
  --bg-blue:#eef4ff;
  --line:   #e7ebf5;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(30,34,51,.06);
  --shadow-md: 0 14px 34px rgba(30,34,51,.10);
  --shadow-lg: 0 26px 60px rgba(30,34,51,.16);

  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --nav-h: 74px;
  --announce-h: 44px;
  --max: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 14px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(255,77,94,.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255,77,94,.42); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 2px solid var(--line); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); color: var(--blue); }

/* ---------- Brand mark (4-stud block) ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  position: relative; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #1f6fe0);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
  flex: none;
}
.brand-mark .stud { border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: inset 0 -1px 1px rgba(0,0,0,.15); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; color: var(--ink); letter-spacing: -.2px; }
.brand-name span { color: var(--red); }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: var(--announce-h);
  display: flex; align-items: center;
  background: linear-gradient(90deg, var(--ink), #2a3050);
  color: #fff;
}
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; }
.announce p { font-size: .92rem; font-weight: 600; text-align: center; }
.announce p strong { color: var(--yellow); }
.announce i.fa-truck-fast { color: var(--yellow); margin-right: 4px; }
.announce-close {
  position: absolute; right: 0; background: none; border: none; color: #fff; opacity: .7;
  cursor: pointer; font-size: 1rem; padding: 6px; transition: opacity .2s;
}
.announce-close:hover { opacity: 1; }
body.announce-hidden .announce { display: none; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed; top: var(--announce-h); left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, top .3s ease;
}
body.announce-hidden .navbar { top: 0; }
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 4px 22px rgba(30,34,51,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: 9px 15px; border-radius: 999px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--bg-blue); color: var(--blue); }
.nav-links .nav-cta { background: var(--yellow); color: var(--ink); font-weight: 600; box-shadow: 0 8px 18px rgba(255,176,32,.34); }
.nav-links .nav-cta:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; padding: calc(var(--announce-h) + var(--nav-h) + 56px) 0 120px;
  background:
    radial-gradient(900px 420px at 82% -8%, #e9f2ff 0%, transparent 60%),
    radial-gradient(680px 380px at -6% 12%, #fff2f3 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  color: var(--ink-soft); box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.15rem); font-weight: 700; letter-spacing: -1px; }
.hero-title .build-line { display: block; }
.hero-title .accent { color: var(--red); }
.hero-sub { font-size: 1.16rem; color: var(--ink-soft); max-width: 40ch; margin: 20px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 32px; margin-top: 42px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--blue); line-height: 1; }
.hero-stats span { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }

/* Hero visual: stacked bricks + blob */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-blob {
  position: absolute; inset: 6% 8%; z-index: 0;
  background: linear-gradient(150deg, #fff4d6, #ffe1e4 55%, #dcecff);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  filter: blur(2px); animation: blobMorph 12s ease-in-out infinite;
}
@keyframes blobMorph {
  0%,100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
  50%     { border-radius: 58% 42% 40% 60% / 44% 58% 42% 56%; }
}
.build-stack { position: relative; z-index: 1; display: grid; gap: 14px; }
.brick {
  position: relative; width: 210px; height: 66px; border-radius: 14px;
  box-shadow: var(--shadow-md), inset 0 -6px 0 rgba(0,0,0,.14);
  opacity: 0; transform: translateY(-40px) scale(.9);
  animation: dropIn .7s cubic-bezier(.2,.8,.3,1.2) forwards;
}
.brick::before, .brick::after {
  content: ""; position: absolute; top: -9px; width: 26px; height: 14px; border-radius: 6px 6px 3px 3px;
  background: inherit; box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); filter: brightness(1.02);
}
.brick::before { left: 40px; }
.brick::after  { right: 40px; }
.b-red    { background: var(--red);    animation-delay: .15s; }
.b-yellow { background: var(--yellow); width: 180px; animation-delay: .35s; }
.b-blue   { background: var(--blue);   width: 200px; animation-delay: .55s; }
.b-green  { background: var(--green);  width: 168px; animation-delay: .75s; }
@keyframes dropIn {
  0%   { opacity: 0; transform: translateY(-46px) scale(.9); }
  70%  { opacity: 1; transform: translateY(6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating particles injected by JS */
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 6px; opacity: .55;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12);
  animation: floatY linear infinite;
}
@keyframes floatY {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-26px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }
.hero-wave path { fill: var(--bg-soft); }

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 54px; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  color: var(--blue); background: var(--bg-blue); padding: 6px 14px;
  border-radius: 999px; font-size: .86rem; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-lead { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }

/* ==========================================================================
   VALUE CARDS
   ========================================================================== */
.values { background: var(--bg-soft); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative; overflow: hidden;
}
.value-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; background: var(--c); margin-bottom: 18px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 40%, transparent);
}
.value-card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: .98rem; }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-thumb { aspect-ratio: 5/4; display: grid; place-items: center; position: relative; }
.product-thumb svg { width: 62%; fill: #fff; filter: drop-shadow(0 6px 10px rgba(0,0,0,.14)); }
.thumb-robot   { background: linear-gradient(150deg, #ff7a86, var(--red)); }
.thumb-vehicle { background: linear-gradient(150deg, #63abff, var(--blue)); }
.thumb-fantasy { background: linear-gradient(150deg, #ffca5c, var(--yellow)); }
.thumb-bucket  { background: linear-gradient(150deg, #5cd6a1, var(--green)); }
.product-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-tag {
  align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  background: var(--bg-blue); color: var(--blue); padding: 4px 11px; border-radius: 999px;
}
.product-body h3 { font-size: 1.2rem; }
.product-body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.product-link {
  font-family: var(--font-head); font-weight: 600; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.product-link i { transition: transform .2s ease; }
.product-link:hover i { transform: translateX(4px); }

/* ==========================================================================
   WORKSHOP / GALLERY
   ========================================================================== */
.workshop { background: var(--bg-soft); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 20px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-item:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
.gallery-art { position: absolute; inset: 0; }
.art-1 { background:
  repeating-linear-gradient(45deg, #2f8fff 0 26px, #63abff 26px 52px), var(--blue); }
.art-2 { background:
  radial-gradient(circle at 30% 30%, #ff7a86 0 40%, transparent 41%),
  radial-gradient(circle at 75% 70%, #ffd166 0 30%, transparent 31%), var(--red); }
.art-3 { background:
  conic-gradient(from 200deg, #ffb020, #ff4d5e, #ffb020), var(--yellow); }
.art-4 { background:
  repeating-linear-gradient(135deg, #20c07a 0 22px, #5cd6a1 22px 44px), var(--green); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(transparent, rgba(20,24,40,.78));
  color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  padding: 26px 16px 14px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.about-visual { display: grid; place-items: center; }
.about-grid-blocks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  width: min(340px, 80%); aspect-ratio: 1;
}
.about-grid-blocks span {
  border-radius: 14px; box-shadow: var(--shadow-sm), inset 0 -5px 0 rgba(0,0,0,.12);
  animation: pop .5s ease-out both;
}
.about-grid-blocks span:nth-child(1){ background: var(--red);    animation-delay:.05s; }
.about-grid-blocks span:nth-child(2){ background: var(--yellow); animation-delay:.10s; }
.about-grid-blocks span:nth-child(3){ background: var(--blue);   animation-delay:.15s; }
.about-grid-blocks span:nth-child(4){ background: var(--green);  animation-delay:.20s; }
.about-grid-blocks span:nth-child(5){ background: var(--blue);   animation-delay:.25s; }
.about-grid-blocks span:nth-child(6){ background: var(--red);    animation-delay:.30s; }
.about-grid-blocks span:nth-child(7){ background: var(--yellow); animation-delay:.35s; }
.about-grid-blocks span:nth-child(8){ background: var(--green);  animation-delay:.40s; }
.about-grid-blocks span:nth-child(9){ background: var(--yellow); animation-delay:.45s; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

.about-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 14px 0 18px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.06rem; }
.about-points { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--ink); }
.about-points i { color: var(--green); font-size: 1.15rem; }

/* ==========================================================================
   CTA / NEWSLETTER
   ========================================================================== */
.cta { padding-top: 40px; }
.cta-card {
  background: linear-gradient(135deg, #2f8fff, #1f6fe0);
  border-radius: 28px; padding: 54px 48px; color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; border-radius: 14px; opacity: .18; background: #fff;
}
.cta-card::before { width: 120px; height: 120px; top: -30px; right: 12%; transform: rotate(18deg); }
.cta-card::after  { width: 80px; height: 80px; bottom: -24px; left: 6%; transform: rotate(-12deg); }
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,.9); }
.cta-form { position: relative; z-index: 1; }
.cta-field { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow-md); }
.cta-field input {
  flex: 1; border: none; outline: none; background: transparent; padding: 10px 16px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); min-width: 0;
}
.cta-note { margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.85); }
.cta-note.success { color: #d6ffe9; font-weight: 700; }
.cta-note.error { color: #ffe0e3; font-weight: 700; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: #c7cde0; padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; color: #9aa2bd; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #9aa2bd; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem; transition: transform .2s, background .2s;
}
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: #8a92ad; font-size: .9rem; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; min-height: 300px; }
  .value-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.big { grid-column: span 2; grid-row: span 1; }
  .about-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { order: -1; }
  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: calc(var(--announce-h) + var(--nav-h)); left: 0; right: 0; bottom: auto;
    flex-direction: column; gap: 4px;
    background: #fff; padding: 18px 22px 26px; align-items: stretch;
    box-shadow: 0 20px 30px rgba(30,34,51,.14);
    transform: translateY(-160%); transition: transform .35s cubic-bezier(.2,.8,.3,1);
    max-height: calc(100vh - var(--announce-h) - var(--nav-h)); overflow-y: auto;
  }
  body.announce-hidden .nav-links { top: var(--nav-h); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; font-size: 1.05rem; }
  .nav-links .nav-cta { text-align: center; margin-top: 6px; }
  .navbar:not(.scrolled) { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .value-grid, .product-grid, .gallery { grid-template-columns: 1fr; }
  .gallery-item.big { grid-column: span 1; }
  .hero-stats { gap: 22px; }
  .cta-card { padding: 34px 22px; }
  .cta-field { flex-direction: column; background: transparent; padding: 0; box-shadow: none; gap: 12px; }
  .cta-field input { background: #fff; border-radius: 999px; padding: 15px 20px; box-shadow: var(--shadow-md); }
  .cta-field .btn { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

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

/* ==========================================================================
   ADDED SECTIONS
   ========================================================================== */

/* ---- Hero trust line ---- */
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero-trust span { color: var(--yellow); font-size: .95rem; letter-spacing: 1px; }
.hero-trust p { color: var(--ink-soft); font-size: .96rem; }
.hero-trust strong { color: var(--ink); }

/* ---- Trust / certification strip ---- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 30px; }
.trust-lead { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.trust-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.trust-badges li { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.trust-badges i { color: var(--blue); font-size: 1.1rem; }

/* ---- Product extras ---- */
.product-thumb { position: relative; }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .72rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .3px;
}
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.product-meta .price { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.product-meta .pieces { font-size: .82rem; color: var(--ink-soft); background: var(--bg-soft); padding: 3px 10px; border-radius: 999px; }
.products-cta { text-align: center; margin-top: 40px; }

/* ---- Shop by age ---- */
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.age-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden; display: block;
  transition: transform .28s ease, box-shadow .28s ease;
}
.age-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c);
}
.age-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.age-num {
  display: inline-grid; place-items: center; min-width: 62px; height: 40px; padding: 0 12px;
  background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; border-radius: 12px; margin-bottom: 16px;
}
.age-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.age-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.age-go { font-family: var(--font-head); font-weight: 600; color: var(--c); display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; }
.age-go i { transition: transform .2s ease; }
.age-card:hover .age-go i { transform: translateX(4px); }

/* ---- Stats band ---- */
.stats { background: linear-gradient(135deg, #2f8fff, #1f6fe0); color: #fff; padding: 54px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3rem); display: block; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.88); font-weight: 600; }
.stat + .stat { position: relative; }

/* ---- How it works ---- */
.how-grid { display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.how-step {
  flex: 1; max-width: 300px; text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.how-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; box-shadow: 0 8px 16px rgba(255,77,94,.35);
}
.how-icon {
  width: 64px; height: 64px; margin: 8px auto 16px; border-radius: 18px; display: grid; place-items: center;
  background: var(--bg-blue); color: var(--blue); font-size: 1.6rem;
}
.how-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.how-step p { color: var(--ink-soft); font-size: .96rem; }
.how-connector { flex: 0 0 40px; align-self: center; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }

/* ---- Testimonials ---- */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); margin: 0; transition: transform .28s ease, box-shadow .28s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--yellow); margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.testi-card footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none;
}
.testi-card footer strong { display: block; font-family: var(--font-head); }
.testi-card footer em { font-style: normal; color: var(--ink-soft); font-size: .88rem; }

/* ---- Awards & press ---- */
.press-logos {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}
.press-logos li {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow-sm); font-family: var(--font-head);
  font-weight: 600; color: var(--ink); min-width: 190px; transition: transform .2s ease, box-shadow .2s ease;
}
.press-logos li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.press-logos i { font-size: 1.5rem; color: var(--blue); }
.press-logos span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .82rem; }

/* ---- FAQ ---- */
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--blue); transition: transform .25s ease; flex: none; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { color: var(--ink-soft); }

/* ---- Expanded footer ---- */
.footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-contact { display: grid; gap: 8px; margin: 18px 0; }
.footer-contact a, .footer-contact span { color: #9aa2bd; display: flex; align-items: center; gap: 9px; font-size: .92rem; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { color: var(--blue); width: 16px; }
.footer-brand .socials { margin-top: 4px; }

/* ---- X (Twitter) ---- */
.x-logo { width: 1em; height: 1em; fill: currentColor; flex: none; }
/* Match the sibling email/location rows: 16px icon slot, same muted color. */
.footer-contact .x-link .x-logo { width: 16px; height: 16px; color: var(--blue); }
.socials a.social-x .x-logo { width: 1.05rem; height: 1.05rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: #8a92ad; font-size: .9rem; }
.footer-legal a:hover { color: #fff; }
.footer-pay { display: flex; gap: 10px; font-size: 1.7rem; color: #7b83a0; }
.footer-pay i { color: #7b83a0; }

/* ---- Back to top ---- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--blue); color: #fff; font-size: 1.05rem; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #1f6fe0; transform: translateY(-3px); }

/* ---- Cookie notice ---- */
.cookie {
  position: fixed; left: 22px; bottom: 22px; z-index: 95; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.cookie.show { transform: translateY(0); }
.cookie p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { padding: 10px 20px; font-size: .95rem; }

/* ==========================================================================
   RESPONSIVE — added sections
   ========================================================================== */
@media (max-width: 980px) {
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .how-grid { flex-direction: column; align-items: center; gap: 30px; }
  .how-step { max-width: 460px; width: 100%; }
  .how-connector { width: 3px; height: 26px; flex: 0 0 26px; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .faq-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .announce p { font-size: .8rem; padding-right: 24px; }
  .announce p .fa-truck-fast { display: none; }
  .trust-inner { gap: 10px 18px; }
}

@media (max-width: 560px) {
  .age-grid { grid-template-columns: 1fr; }
  .press-logos li { min-width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .to-top { right: 14px; bottom: 14px; }
}
