/* ============================================
   Temiq.store — Design System & Styles
   ============================================ */

:root {
  --bg: #ffffff;
  --ash: #f6f7f9;
  --navy: #365486;
  --navy-dark: #2a4269;
  --orange: #f59e42;
  --orange-hover: #e88d2e;
  --mint: #4db6ac;
  --ink: #20262e;
  --gray: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;

  --font-display: "General Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;

  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 12px 40px rgba(32, 38, 46, 0.08);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

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

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  background: var(--white);
  color: var(--ink);
}

.btn-quick-add {
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 1rem;
  background: var(--ash);
  color: var(--ink);
  font-size: 0.875rem;
}

.btn-quick-add:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.text-link {
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--navy);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(32, 38, 46, 0.04);
}

.header-inner {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--gray);
  font-weight: 500;
}

.nav-primary {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 1.75rem;
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.2s;
  position: relative;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--ash);
}

.cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: calc(100vh - var(--header-h));
  max-height: 920px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 40%, rgba(77, 182, 172, 0.08), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #f6f7f9 55%, #eef2f6 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  max-width: 560px;
  margin-left: auto;
  animation: fadeUp 0.9s var(--ease) both;
}

.brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.hero-lead {
  color: var(--gray);
  font-size: 1.0625rem;
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.1s var(--ease) 0.15s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 420px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 247, 249, 0.35) 0%, transparent 18%);
  pointer-events: none;
}

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

.section {
  padding: var(--space-2xl) 1.5rem;
}

.collections,
.essentials,
.inspiration,
.reviews,
.cta {
  background: var(--ash);
}

.setups,
.builder,
.why,
.knowledge {
  background: var(--bg);
}

.section-header {
  max-width: var(--max);
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  gap: 1.5rem;
}

.section-header-row .section-lead {
  margin-left: 0;
  margin-right: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--gray);
  max-width: 42ch;
  margin: 0 auto;
}

/* ---------- Collections ---------- */

.collection-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.collection-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.collection-card:hover img,
.collection-card:focus-visible img {
  transform: scale(1.05);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(32, 38, 46, 0.78) 0%, rgba(32, 38, 46, 0.15) 55%, transparent 100%);
  transition: background 0.35s var(--ease);
}

.collection-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.collection-overlay p,
.collection-cta {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.collection-overlay p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  max-width: 28ch;
}

.collection-cta {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--orange);
}

.collection-card:hover .collection-overlay p,
.collection-card:hover .collection-cta,
.collection-card:focus-visible .collection-overlay p,
.collection-card:focus-visible .collection-cta {
  opacity: 1;
  transform: translateY(0);
}

.collection-card:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- Hotspots ---------- */

.hotspot-stage {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ash);
}

.hotspot-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  padding: 0;
  z-index: 2;
}

.hotspot-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(245, 158, 66, 0.45);
  animation: hotspotPulse 2.2s ease-out infinite;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.hotspot:hover .hotspot-dot,
.hotspot[aria-expanded="true"] .hotspot-dot {
  background: var(--navy);
  transform: scale(1.15);
  animation: none;
}

.hotspot:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
  border-radius: 50%;
}

.hotspot-panels {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  max-width: min(360px, calc(100% - 2.5rem));
}

.hotspot-panel {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  animation: fadeUp 0.35s var(--ease);
}

.hotspot-panel[hidden] {
  display: none;
}

.hotspot-panel img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.hotspot-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hotspot-panel .mono {
  color: var(--navy);
  margin-bottom: 0.35rem;
}

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

.carousel-wrap {
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
}

.product-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-carousel:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ash);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-info {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stars {
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.product-info h3 {
  font-size: 1.0625rem;
}

.product-price {
  color: var(--navy);
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--navy);
  background: var(--ash);
}

/* ---------- Builder ---------- */

.builder-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.builder-preview {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ash);
}

.builder-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.35s var(--ease);
}

.builder-preview img.is-updating {
  opacity: 0.55;
}

.builder-summary {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.builder-estimate {
  color: var(--gray);
  font-size: 0.9375rem;
}

.builder-estimate .mono {
  color: var(--navy);
  font-weight: 500;
  font-size: 1rem;
}

.builder-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.builder-form fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.builder-form legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-chip {
  cursor: pointer;
}

.option-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-chip span {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.option-chip:hover span {
  border-color: var(--navy);
}

.option-chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.option-chip input:focus-visible + span {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

/* ---------- Inspiration ---------- */

.inspiration-masonry {
  max-width: var(--max);
  margin: 0 auto;
  columns: 3;
  column-gap: 1rem;
}

.inspo-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.inspo-card img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
}

.inspo-card:hover img {
  transform: scale(1.04);
}

.inspo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(32, 38, 46, 0.82), transparent 60%);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.inspo-card:hover .inspo-overlay,
.inspo-card:focus-within .inspo-overlay {
  opacity: 1;
}

.inspo-overlay h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.inspo-overlay p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.85rem;
}

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

.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-item {
  padding: 1.75rem 1.25rem;
  border-top: 2px solid var(--mint);
}

.feature-icon {
  display: inline-flex;
  color: var(--navy);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.9375rem;
}

/* ---------- Reviews ---------- */

.reviews-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.review-workspace img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.review-body {
  padding: 1.25rem;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}

.review-stars {
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.review-body blockquote {
  margin: 0;
}

.review-body blockquote p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ---------- Knowledge Hub ---------- */

.article-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.article-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--ash);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.article-card:hover img {
  transform: scale(1.04);
}

.article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-tag {
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
  margin-bottom: 0.65rem;
}

.article-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.article-content p {
  color: var(--gray);
  font-size: 0.875rem;
}

/* ---------- CTA ---------- */

.cta {
  padding: var(--space-2xl) 1.5rem;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(77, 182, 172, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 158, 66, 0.1), transparent 45%),
    var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-inner > p {
  color: var(--gray);
  max-width: 40ch;
  margin: 0 auto 2rem;
}

.cta-inner .hero-ctas {
  justify-content: center;
}

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-2xl) 1.5rem var(--space-lg);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto var(--space-xl);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  font-size: 0.875rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.trust-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.payment-icons {
  display: flex;
  gap: 0.4rem;
}

.pay-icon {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
}

.footer-policies {
  display: flex;
  gap: 1.25rem;
}

.footer-policies a {
  font-size: 0.8125rem;
}

.footer-policies a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.social-links a:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

/* ---------- Toast & Loader ---------- */

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  box-shadow: var(--shadow-soft);
  animation: fadeUp 0.35s var(--ease);
}

.toast[hidden] {
  display: none;
}

.page-loader {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.page-loader.is-active {
  opacity: 1;
}

.loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--navy), var(--mint), var(--orange));
  transition: width 0.4s var(--ease);
}

.page-loader.is-active .loader-bar {
  width: 100%;
  animation: loadBar 0.8s var(--ease) forwards;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 66, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(245, 158, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 66, 0); }
}

@keyframes loadBar {
  0% { width: 0; }
  70% { width: 85%; }
  100% { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-list {
    gap: 1.1rem;
  }

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

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

@media (max-width: 960px) {
  .nav-primary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto;
  }

  .hero-content {
    max-width: none;
    margin: 0;
    padding-block: 3rem 2rem;
    animation-delay: 0s;
  }

  .brand-signal {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-visual {
    min-height: 320px;
    max-height: 480px;
  }

  .hero-visual img {
    min-height: 320px;
  }

  .hero-visual::after {
    background: linear-gradient(0deg, rgba(246, 247, 249, 0.2) 0%, transparent 20%);
  }

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

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-preview {
    position: static;
  }

  .inspiration-masonry {
    columns: 2;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

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

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

  .article-card img {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-xl) 1.15rem;
  }

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

  .collection-card {
    aspect-ratio: 16 / 11;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .inspiration-masonry {
    columns: 1;
  }

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

  .hotspot-panels {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }

  .collection-overlay p,
  .collection-cta {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}
