/* ==========================================================================
   1x5 Games LLC — Modern Playful Retail
   ========================================================================== */

/* ---------- Fonts (bundled locally) ---------- */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --cream: #fbf6ec;
  --cream-soft: #fffdf7;
  --white: #ffffff;
  --navy: #24325e;
  --navy-deep: #1b2749;
  --navy-soft: #4d5b85;
  --coral: #ff6b57;
  --coral-deep: #ef5140;
  --coral-soft: #ffe4de;
  --yellow: #ffc53d;
  --yellow-deep: #f0a71c;
  --yellow-soft: #fff1d0;
  --teal: #2fb8ac;
  --teal-deep: #1f9489;
  --teal-soft: #def2ef;
  --ink: #2a375f;
  --muted: #67719a;
  --line: #ecdfc8;
  --radius-s: 14px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --shadow-s: 0 6px 18px rgba(36, 50, 94, 0.08);
  --shadow-m: 0 14px 34px rgba(36, 50, 94, 0.14);
  --shadow-l: 0 24px 60px rgba(27, 39, 73, 0.22);
  --font-display: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 4%, rgba(255, 197, 61, 0.12) 0, transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(47, 184, 172, 0.1) 0, transparent 24%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--coral-deep);
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  margin-bottom: 16px;
}

.eyebrow--coral {
  color: var(--coral-deep);
  background: var(--coral-soft);
}

.eyebrow--yellow {
  color: #9a6d05;
  background: var(--yellow-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 87, 0.38);
}

.btn-coral:hover {
  background: var(--coral-deep);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 107, 87, 0.46);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(27, 39, 73, 0.3);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: #fff;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(255, 197, 61, 0.4);
}

.btn-yellow:hover {
  background: var(--yellow-deep);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(36, 50, 94, 0.28);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.92rem;
}

.btn .btn-arrow {
  transition: transform 0.22s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 50, 94, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: var(--yellow-soft);
  color: var(--navy);
}

.main-nav a.active {
  background: var(--navy);
  color: #fff;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero::before {
  width: 420px;
  height: 420px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.28), transparent 68%);
}

.hero::after {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(47, 184, 172, 0.2), transparent 66%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

.hero-copy p.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}

.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--coral-deep);
}

.hero-stats .stat span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-art {
  position: relative;
}

.hero-art > img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}

.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  animation: floaty 5s ease-in-out infinite;
}

.hero-float .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}

.hero-float.f1 {
  left: -26px;
  bottom: 44px;
}

.hero-float.f1 .dot {
  background: var(--teal);
}

.hero-float.f2 {
  right: -18px;
  top: 38px;
  animation-delay: 1.6s;
}

.hero-float.f2 .dot {
  background: var(--coral);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
}

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-s);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card .cat-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 253, 247, 0.94);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-s);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(36, 50, 94, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: cardIn 0.55s ease both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    animation: none;
  }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.product-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.product-card figure img {
  width: 100%;
  aspect-ratio: 8 / 6;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover figure img {
  transform: scale(1.06);
}

.product-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-card .pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 20px 22px 24px;
}

.pc-cat {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.pc-body h3 {
  margin: 0;
  font-size: 1.18rem;
}

.pc-body .pc-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.pc-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--coral-deep);
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow-s);
}

.badge.hot {
  background: var(--coral);
}

.badge.new {
  background: var(--yellow);
  color: var(--navy-deep);
}

/* ---------- Feature (Why shop) cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(36, 50, 94, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.fi-coral {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

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

.fi-teal {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.fi-navy {
  background: rgba(36, 50, 94, 0.09);
  color: var(--navy);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Promo banners ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  padding: 40px 42px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: #fff;
}

.promo-banner h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
  max-width: 20ch;
}

.promo-banner p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.promo-banner .btn {
  align-self: flex-start;
}

.promo-banner::before,
.promo-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.promo-coral {
  background: linear-gradient(120deg, #ff7a5c, #ef5140);
}

.promo-coral::before {
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.14);
  right: -80px;
  top: -90px;
}

.promo-coral::after {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.12);
  right: 120px;
  bottom: -60px;
}

.promo-teal {
  background: linear-gradient(120deg, #35c3b6, #1f9489);
}

.promo-teal::before {
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.14);
  right: -60px;
  bottom: -110px;
}

.promo-teal::after {
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.12);
  right: 150px;
  top: -50px;
}

.promo-banner .promo-art {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  opacity: 0.95;
  pointer-events: none;
}

/* ---------- Split sections (about teaser / CTA) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media > img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.split-media .media-badge {
  position: absolute;
  right: -20px;
  bottom: -24px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-m);
  padding: 16px 22px;
  box-shadow: var(--shadow-m);
  text-align: center;
  line-height: 1.25;
}

.split-media .media-badge b {
  display: block;
  font-size: 1.5rem;
}

.checklist {
  list-style: none;
  margin: 22px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 600;
}

.checklist li svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 3px;
  color: var(--teal-deep);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, #2c3d74 100%);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 58px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-l);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.25), transparent 65%);
  right: -90px;
  top: -120px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 46ch;
}

.cta-band .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--yellow-soft);
  border: 1px dashed rgba(240, 167, 28, 0.65);
  border-radius: var(--radius-l);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.newsletter h2 {
  margin-bottom: 6px;
}

.newsletter p {
  color: var(--muted);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(240, 167, 28, 0.55);
  background: var(--white);
  color: var(--navy);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--yellow-deep);
}

.newsletter-note {
  margin-top: 12px;
  font-weight: 700;
  color: var(--teal-deep);
  min-height: 1.4em;
}

.newsletter-note.error {
  color: var(--coral-deep);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 84px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 44px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand small {
  color: var(--yellow);
}

.site-footer p {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-col a:hover {
  color: var(--yellow);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.hours-table td {
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.78);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #fff;
}

.footer-contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.footer-contact-line svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  color: var(--yellow);
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.78);
  word-break: break-all;
}

.footer-contact-line a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, #31447e 100%);
  color: #fff;
  padding: 64px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.28), transparent 65%);
  right: -70px;
  top: -110px;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 184, 172, 0.3), transparent 65%);
  left: -60px;
  bottom: -100px;
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: var(--yellow);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0;
  font-size: 1.08rem;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
  color: var(--yellow);
}

/* ---------- Shop toolbar ---------- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.search-box svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  font: inherit;
  padding: 14px 20px 14px 50px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 184, 172, 0.16);
}

.result-count {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 39, 73, 0.25);
}

.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--white);
  border-radius: var(--radius-l);
  border: 1px dashed var(--line);
}

.empty-state .big-emoji {
  font-size: 3rem;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--muted);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(27, 39, 73, 0.55);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--cream-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  animation: popIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(27, 39, 73, 0.75);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--coral-deep);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.modal-media {
  position: relative;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.modal-info {
  padding: 40px 42px;
}

.modal-info h3 {
  font-size: 1.65rem;
  margin: 8px 0 4px;
}

.modal-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--coral-deep);
  margin: 10px 0 16px;
}

.modal-info .modal-desc {
  color: var(--muted);
  margin-bottom: 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.spec-table th {
  color: var(--navy);
  font-weight: 700;
  width: 42%;
}

.spec-table td {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 28px 26px;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(36, 50, 94, 0.05);
}

.info-card + .info-card {
  margin-top: 22px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card .ic-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
}

.info-card .ic-icon svg {
  width: 22px;
  height: 22px;
}

.info-card p,
.info-card address {
  font-style: normal;
  color: var(--muted);
  margin: 0;
}

.info-card a {
  font-weight: 700;
}

.hours-card .hours-table td {
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.hours-card .hours-table tr:last-child td {
  border-bottom: none;
}

.hours-card .hours-table td:last-child {
  color: var(--coral-deep);
  text-align: right;
}

.map-card {
  margin-top: 22px;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}

.map-card img {
  width: 100%;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 40px 42px;
  box-shadow: var(--shadow-m);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  border: 2px solid var(--line);
  background: var(--cream-soft);
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 184, 172, 0.16);
  background: #fff;
}

.form-success {
  display: none;
  background: var(--teal-soft);
  border: 1px solid rgba(47, 184, 172, 0.4);
  color: var(--teal-deep);
  font-weight: 700;
  border-radius: var(--radius-s);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.form-success.show {
  display: block;
  animation: popIn 0.35s ease;
}

.form-hint {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 14px;
}

.enquire-note {
  display: none;
  background: var(--yellow-soft);
  border: 1px solid rgba(240, 167, 28, 0.5);
  color: #9a6d05;
  font-weight: 700;
  border-radius: var(--radius-s);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.enquire-note.show {
  display: block;
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-collage {
  position: relative;
  padding-bottom: 46px;
}

.about-collage img.main {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.about-collage img.small {
  position: absolute;
  width: 46%;
  right: -6px;
  bottom: 0;
  border-radius: var(--radius-m);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-m);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  border-top: 5px solid var(--teal);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.value-card:nth-child(2) {
  border-top-color: var(--coral);
}

.value-card:nth-child(3) {
  border-top-color: var(--yellow);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.value-card .v-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: rgba(36, 50, 94, 0.14);
}

.value-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

.stats-band {
  background: linear-gradient(115deg, var(--teal-deep), #35c3b6);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 44px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  box-shadow: var(--shadow-m);
}

.stats-band b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
}

.stats-band span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy p.lead {
    max-width: 42rem;
  }

  .product-grid,
  .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 60px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    display: none;
    padding: 12px 4%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    padding: 13px 18px;
  }

  .header-cta .btn {
    display: none;
  }

  .split,
  .about-grid,
  .newsletter,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 32px;
  }

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

  .contact-form-card {
    padding: 30px 24px;
  }

  .newsletter {
    padding: 34px 26px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-float {
    display: none;
  }

  .split-media .media-badge {
    right: 8px;
    bottom: -18px;
  }
}

@media (max-width: 520px) {
  .product-grid,
  .product-grid.cols-4,
  .feature-grid,
  .category-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
    padding: 34px 26px;
  }

  .promo-banner {
    padding: 32px 26px;
  }

  .promo-banner .promo-art {
    display: none;
  }
}
