/* ==========================================================================
   CoCo's Landing Page — Adapted from moppie.me editorial architecture
   Palette harmonized with CoCo's Premium Cotton packaging (ivory + olive gold)
   ========================================================================== */

:root {
  --bg-page: #f8f8f8;
  --bg-surface: #ffffff;
  --bg-warm: #f3efe6;
  --text-main: #272727;
  --text-muted: #6e6c68;
  --brand-gold: #78622f;
  --brand-gold-dark: #574620;
  --brand-gold-soft: #ebe3d0;
  --brand-burgundy: #542221;
  --border-subtle: rgba(39, 39, 39, 0.08);

  /* Moppie-inspired 4-card category pastel system */
  --card-plum-bg: #f3e9ee;
  --card-plum-ink: #3a2b36;
  --card-slate-bg: #e8f0fa;
  --card-slate-ink: #3d5472;
  --card-rose-bg: #f7ece8;
  --card-rose-ink: #622f30;
  --card-sage-bg: #eaf1ec;
  --card-sage-ink: #343a38;

  /* Footer pastel (echoing moppie.me #d3e6ff softened for Coco's warm cotton) */
  --footer-bg: #e4eefb;
  --footer-ink: #344a66;
  --footer-link: #466896;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(39, 39, 39, 0.05);
  --shadow-hover: 0 16px 40px rgba(39, 39, 39, 0.09);

  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container-max), 100% - 32px);
  margin-inline: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background-color: var(--brand-gold);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--brand-gold-dark);
}

.btn--secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: rgba(39, 39, 39, 0.14);
}

.btn--secondary:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold-dark);
}

.btn--ghost {
  background-color: transparent;
  color: var(--brand-burgundy);
  border-color: rgba(84, 34, 33, 0.2);
}

.btn--ghost:hover {
  background-color: rgba(84, 34, 33, 0.06);
}

.btn--card {
  background-color: #272727;
  color: #ffffff;
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn--card:hover {
  background-color: var(--brand-gold-dark);
}

.btn--card-outline {
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  border-color: rgba(39, 39, 39, 0.16);
  padding: 10px 14px;
  font-size: 0.875rem;
}

.btn--card-outline:hover {
  background-color: #ffffff;
}

.btn--footer-outline {
  background-color: rgba(255, 255, 255, 0.75);
  color: var(--footer-ink);
  border-color: rgba(61, 84, 113, 0.22);
}

.btn--footer-outline:hover {
  background-color: #ffffff;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(248, 248, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8c7239, #bfa76a);
  color: #ffffff;
  font-size: 1rem;
}

.brand-logo__text {
  font-size: 1.35rem;
  color: var(--brand-gold-dark);
}

.brand-logo__tag {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-warm);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--brand-burgundy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  cursor: pointer;
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
}

.mobile-nav {
  padding: 16px 20px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  gap: 12px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
}

.mobile-nav__actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-gold-dark);
  margin-bottom: 20px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.3vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-title span {
  display: block;
  color: var(--brand-gold);
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 54ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 12px 14px;
}

.stat-pill strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-main);
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-showcase {
  position: relative;
  padding: 12px 0 28px 20px;
}

.hero-card {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-card--main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card--float {
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 44%;
  border: 4px solid var(--bg-page);
  box-shadow: var(--shadow-hover);
}

.hero-card--float img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
}

.hero-badge--top {
  top: 16px;
  right: 16px;
}

.hero-badge--bottom {
  bottom: 10px;
  left: 10px;
  right: 10px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.hero-badge__label {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* ==========================================================================
   Shared Section Headers
   ========================================================================== */
.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
}

.section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-note {
  margin: 0;
  max-width: 44ch;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(39, 39, 39, 0.12);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pill:hover {
  border-color: var(--brand-gold);
}

.pill.is-active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* ==========================================================================
   4-Card Category Bento Grid (moppie.me rec1166768746 adaptation)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card[hidden] {
  display: none;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.bento-card--plum {
  background: var(--card-plum-bg);
  color: var(--card-plum-ink);
}

.bento-card--slate {
  background: var(--card-slate-bg);
  color: var(--card-slate-ink);
}

.bento-card--rose {
  background: var(--card-rose-bg);
  color: var(--card-rose-ink);
}

.bento-card--sage {
  background: var(--card-sage-bg);
  color: var(--card-sage-ink);
}

.bento-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.bento-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bento-card__desc {
  margin: 0;
  font-size: 0.94rem;
  opacity: 0.86;
  max-width: 46ch;
}

.bento-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}

.bento-card__media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.bento-card__media--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: transparent;
}

.bento-card__media--dual img {
  border-radius: 16px;
  height: 290px;
  object-fit: cover;
}

.bento-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-price strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.bento-price span {
  font-size: 0.8rem;
  opacity: 0.78;
}

.bento-links {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Bundles
   ========================================================================== */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bundle-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.bundle-card--featured {
  background: linear-gradient(180deg, #fbf8f1 0%, #ffffff 100%);
  border: 2px solid var(--brand-gold);
}

.bundle-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-gold-soft);
  color: var(--brand-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.bundle-card__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

.bundle-card__subtitle {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bundle-card__list {
  margin: 0 0 20px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  flex: 1;
}

.bundle-card__pricing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.old-price {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.new-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.save-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: #1f6b43;
  background: #e3f4ea;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Comfort & 9 Layers
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-subtle);
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-warm);
  color: var(--brand-gold-dark);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.layers-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-subtle);
}

.layers-box__header {
  margin-bottom: 22px;
}

.layers-box__header h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.layers-box__header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.layers-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.layers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.layer-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--bg-page);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.layer-btn span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-gold);
}

.layer-btn:hover {
  border-color: rgba(120, 98, 47, 0.3);
}

.layer-btn.is-active {
  background: var(--brand-gold);
  color: #ffffff;
}

.layer-btn.is-active span {
  color: #f3e4bc;
}

.layer-detail {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.layer-detail__num {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold-dark);
}

.layer-detail__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.layer-detail__text {
  margin: 0;
  color: #46433e;
  font-size: 0.96rem;
}

.layer-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layer-detail__meta span {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
}

/* ==========================================================================
   Certificates
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.cert-card__preview {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--bg-warm);
  cursor: pointer;
  overflow: hidden;
  display: block;
  width: 100%;
}

.cert-card__preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cert-card__preview:hover img {
  transform: scale(1.03);
}

.cert-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(39, 39, 39, 0.82);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
}

.cert-card__body {
  padding: 20px 22px 24px;
}

.cert-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  background: var(--brand-gold-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.cert-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.cert-card__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Reviews (moppie.me rec1178200631 rounded 20px white cards)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-stars {
  color: #d99a26;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
  flex: 1;
}

.review-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
}

.review-meta span {
  font-size: 0.8rem;
  color: #737373;
}

/* ==========================================================================
   FAQ Accordion (modern-web-guidance: native <details>, ::before marker,
   ::details-content smooth height animation)
   ========================================================================== */
.faq-container {
  max-width: 860px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 0 22px;
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: '';
  inline-size: 1em;
  block-size: 1em;
  flex-shrink: 0;
  background-color: var(--brand-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }

  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 0 18px 28px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Footer (moppie.me rec1155358026 rounded soft pastel block)
   ========================================================================== */
.buy-section {
  padding-bottom: 40px;
}

.footer-surface {
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(61, 84, 113, 0.14);
}

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

.footer-tagline {
  margin: 14px 0 22px;
  font-size: 1rem;
  color: var(--footer-ink);
  opacity: 0.86;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links-col h4 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.72;
}

.footer-links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
}

.footer-links-col a,
.link-btn {
  color: var(--footer-link);
  transition: color 0.18s ease;
}

.footer-links-col a:hover,
.link-btn:hover {
  color: var(--footer-ink);
  text-decoration: underline;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.84rem;
  opacity: 0.75;
}

/* ==========================================================================
   Floating Contact Widget
   ========================================================================== */
.floating-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-menu {
  display: grid;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-hover);
}

.floating-menu[hidden] {
  display: none;
}

.floating-item {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-page);
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.floating-item:hover {
  background: var(--brand-gold);
  color: #ffffff;
}

.floating-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-gold);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(87, 70, 32, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-trigger:hover {
  background: var(--brand-gold-dark);
  transform: scale(1.05);
}

/* ==========================================================================
   Native Modal Dialogs (modern-web-guidance: dialog & light-dismiss-a-dialog)
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background-color: rgba(24, 24, 24, 0.56);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(500px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  border-radius: var(--radius-md);
  overflow: visible;
}

.modal-dialog--wide {
  width: min(760px, calc(100% - 24px));
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-title {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.modal-title--sm {
  font-size: 1.15rem;
}

.modal-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  color: var(--text-main);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: #e9e9e9;
}

.partner-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field select:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 1px;
  border-color: var(--brand-gold);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.2em;
  color: #1f6b43;
}

.form-status.is-error {
  color: #b42318;
}

.cert-lightbox-body {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-warm);
}

.cert-lightbox-body img {
  width: 100%;
  max-height: 75dvh;
  object-fit: contain;
  margin-inline: auto;
}

/* ==========================================================================
   Scroll Entry Animation (modern-web-guidance: scroll-entry-exit-effects)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        translate: 0 24px;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    .reveal {
      animation: reveal-up auto linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

.reveal.is-js-hidden {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.45s ease, translate 0.45s ease;
}

.reveal.is-js-visible {
  opacity: 1;
  translate: 0 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

@media (max-width: 820px) {
  .header-actions .btn--ghost {
    display: none;
  }

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

  .bento-grid,
  .pillars-grid,
  .certs-grid,
  .reviews-grid,
  .layers-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .bento-card__media img,
  .bento-card__media--dual img {
    height: 220px;
  }

  .footer-surface {
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  .brand-logo__tag,
  .header-actions .btn--primary {
    display: none;
  }

  .hero {
    padding: 32px 0 44px;
  }

  .hero-showcase {
    padding: 0 0 24px 0;
  }

  .hero-card--float {
    width: 48%;
    left: 8px;
  }

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

  .bento-card {
    padding: 20px;
  }

  .layers-box {
    padding: 20px;
  }
}
