/* AdverTote S.R.L. - Custom Tactile Raw Cotton & Terracotta Atelier Architecture (#1 of 10) */
:root {
  --bg-linen: #F6F1E6;
  --bg-card: #FCF9F2;
  --bg-alt: #EFE8D8;
  --ink-dark: #1C1917;
  --ink-muted: #57534E;
  --terracotta: #C84B31;
  --terracotta-dark: #9E341D;
  --sage: #3F6254;
  --cobalt: #1D4ED8;
  --border-ink: #1C1917;
  --radius-pill: 999px;
  --radius-card: 20px;
  --shadow-brutal: 0 8px 0 #1C1917;
  --shadow-soft: 0 18px 40px rgba(28, 25, 23, 0.09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-linen);
  background-image: radial-gradient(rgba(28, 25, 23, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .hero-title, .section-title, .inner-title {
  font-family: 'Fraunces', Georgia, serif;
  text-wrap: balance;
  line-height: 1.12;
  margin-top: 0;
}
p, li { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

/* FLOATING PILL DOCK HEADER (ZERO TOP-BAR!) */
.pill-dock-wrapper {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 3vw;
  margin-top: 16px;
}
.pill-dock-header {
  max-width: 1260px;
  margin: 0 auto;
  background: rgba(252, 249, 242, 0.95);
  backdrop-filter: blur(16px);
  border: 2px solid var(--border-ink);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 0 var(--border-ink);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.woven-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1C1917;
  color: #FCF9F2;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(252, 249, 242, 0.35);
}
.woven-stitch-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.woven-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.woven-brand-text strong { font-size: 1rem; letter-spacing: -0.02em; }
.woven-brand-text small { font-family: 'JetBrains Mono', monospace; font-size: 0.64rem; color: #E7E5E4; }

.pill-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pill-link {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-dark);
  padding: 10px 13px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pill-link:hover, .pill-link.is-active {
  background: #E7DEC8;
}

.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 310px;
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 18px;
  box-shadow: var(--shadow-brutal);
  padding: 10px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 1200;
}
.has-dropdown.is-open .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}
.dropdown-menu li a:hover { background: var(--bg-alt); }
.dd-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: var(--ink-dark);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
}

.pill-dock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulpo-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  background: #E4EFEA;
  color: #1B4332;
  border: 1.5px solid #1B4332;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.22);
}

.btn-pill-cta, .btn-primary {
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  min-height: 46px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-ink);
  box-shadow: 0 4px 0 var(--border-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-pill-cta:hover, .btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--border-ink);
}
.btn-outline {
  background: var(--bg-card);
  color: var(--ink-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  min-height: 46px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-outline:hover { background: var(--bg-alt); }

/* HERO ATELIER STAGE (CENTERED + FULL WIDTH 3D STAGE ABOVE THE FOLD) */
.hero-atelier-stage {
  padding: 40px 0 64px;
}
.hero-centered-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 32px;
}
.material-quick-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.mat-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-ink);
  background: var(--bg-card);
  color: var(--ink-dark);
  cursor: pointer;
  transition: all 0.18s;
}
.mat-pill.is-active, .mat-pill:hover {
  background: var(--ink-dark);
  color: #FCF9F2;
}
.hero-title {
  font-size: clamp(2.4rem, 4.7vw, 4.35rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--ink-dark);
}
.serif-italic {
  font-style: italic;
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 820px;
  margin: 0 auto 24px;
}
.hero-cta-cluster {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* 3D PERSPECTIVE COVERFLOW STAGE */
.coverflow-shell {
  background: #181615;
  color: #FCF9F2;
  border: 2.5px solid var(--border-ink);
  border-radius: 28px;
  box-shadow: 0 12px 0 var(--border-ink);
  padding: 24px 24px 36px;
  margin-bottom: 24px;
  overflow: hidden;
}
.coverflow-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(252, 249, 242, 0.14);
  padding-bottom: 16px;
  margin-bottom: 22px;
}
.mono-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #FDBA74;
  display: block;
}
.coverflow-controls {
  display: flex;
  gap: 8px;
}
.stage-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #FCF9F2;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  min-height: 44px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  cursor: pointer;
}
.stage-nav-btn:hover { background: var(--terracotta); border-color: var(--terracotta); }

.tote-3d-viewport {
  position: relative;
  height: 510px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tote-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.tote-3d-card {
  position: absolute;
  top: 10px;
  left: 50%;
  width: min(430px, 84vw);
  margin-left: calc(min(430px, 84vw) / -2);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, filter 0.55s ease;
  cursor: pointer;
  user-select: none;
}
.tote-3d-card-inner {
  background: #FCF9F2;
  color: var(--ink-dark);
  border: 2px solid var(--border-ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.tote-3d-media {
  position: relative;
  height: 215px;
  overflow: hidden;
  border-bottom: 2px solid var(--border-ink);
}
.tote-3d-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tote-3d-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1C1917;
  color: #FCF9F2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.tote-3d-body {
  padding: 18px 20px;
}
.tote-3d-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--terracotta);
  font-weight: 700;
}
.tote-3d-body h3 {
  font-size: 1.32rem;
  margin: 4px 0 8px;
}
.tote-3d-body p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tote-3d-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.tote-3d-meta small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--ink-muted);
}
.tote-3d-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* MIRROR FLOOR REFLECTION */
.tote-3d-reflection {
  height: 70px;
  margin-top: 6px;
  border-radius: 16px;
  overflow: hidden;
  transform: scaleY(-1);
  opacity: 0.24;
  filter: blur(2px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
  pointer-events: none;
}
.tote-3d-reflection img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.stage-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.stage-dot {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  color: #FCF9F2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  cursor: pointer;
}
.stage-dot.is-active {
  background: var(--terracotta);
  border-color: #fff;
  font-weight: 700;
}

/* SWATCH INSPECTOR DOCK */
.swatch-inspector-dock {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 22px;
  box-shadow: var(--shadow-brutal);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}
.swatch-col-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink-muted);
}
.swatch-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-ink);
  background: var(--bg-linen);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
}
.swatch-chip.is-selected {
  background: var(--ink-dark);
  color: #FCF9F2;
}
.swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
}
.swatch-readout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--bg-alt);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--border-ink);
}
.swatch-metric small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  color: var(--ink-muted);
}
.swatch-metric strong { font-size: 0.92rem; }
.accent-price { color: var(--terracotta); }

/* SECTIONS & CONFIGURATOR */
.section-pad { padding: 76px 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 2px solid var(--border-ink);
  border-bottom: 2px solid var(--border-ink);
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
.section-configurator {
  padding: 72px 0;
  border-top: 2px solid var(--border-ink);
}
.atelier-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 8px;
}
.section-header-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.85rem); margin-bottom: 12px; }
.section-sub { color: var(--ink-muted); font-size: 1.04rem; margin: 0; }

.configurator-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.configurator-controls, .configurator-receipt {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 24px;
  box-shadow: var(--shadow-brutal);
  padding: 28px;
}
.cfg-field { margin-bottom: 20px; }
.cfg-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 700;
}
.cfg-live-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--terracotta);
  font-size: 0.92rem;
}
.cfg-slider {
  width: 100%;
  accent-color: var(--terracotta);
  height: 10px;
  cursor: pointer;
}
.cfg-scale-marks {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 6px;
}
.cfg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  min-height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--border-ink);
  background: #fff;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink-dark);
}
.form-input:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}
.form-input:user-valid { border-color: #15803D; }
.form-input:user-invalid { border-color: #B91C1C; }

.receipt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.receipt-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  background: var(--ink-dark);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
}
.receipt-unit-box {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-ink);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}
.unit-big-price {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  color: var(--terracotta);
  margin: 4px 0;
}
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.receipt-table td, .receipt-table th {
  padding: 10px 4px;
  border-bottom: 1px dashed rgba(28, 25, 23, 0.25);
}
.text-right { text-align: right; font-family: 'JetBrains Mono', monospace; }
.receipt-grand { font-size: 1.25rem; color: var(--terracotta); }
.receipt-cta-btn { width: 100%; justify-content: center; }
.receipt-foot-note { font-size: 0.8rem; color: var(--ink-muted); text-align: center; margin: 12px 0 0; }

/* PRODUCT & CASE GRIDS */
.atelier-prod-grid, .cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.atelier-prod-card, .case-card {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 22px;
  box-shadow: var(--shadow-brutal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.atelier-prod-img, .case-img-wrap {
  position: relative;
  height: 220px;
  border-bottom: 2px solid var(--border-ink);
}
.atelier-prod-img img, .case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-code-badge, .case-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink-dark);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.atelier-prod-content, .case-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-tags-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.prod-price-pill {
  background: #FDECE8;
  color: var(--terracotta-dark);
  padding: 3px 9px;
  border-radius: 6px;
}
.prod-mini-specs {
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin: 10px 0 18px;
}
.prod-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.btn-text-arrow { font-weight: 700; color: var(--terracotta); font-size: 0.9rem; }

/* WORKSHOP TABS */
.workshop-tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.ws-tab-btn {
  padding: 14px 16px;
  min-height: 48px;
  border: 2px solid var(--border-ink);
  border-radius: 14px;
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.ws-tab-btn.is-active {
  background: var(--ink-dark);
  color: #FCF9F2;
  box-shadow: 0 5px 0 var(--terracotta);
}
.workshop-tab-panel {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 24px;
  box-shadow: var(--shadow-brutal);
  padding: 32px;
}
.ws-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.ws-code-box {
  background: #181615;
  color: #E7E5E4;
  border-radius: 16px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  overflow-x: auto;
}
.ws-code-header {
  color: #FDBA74;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}

/* CASE FILTER & METRICS */
.case-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.case-filter-btn {
  padding: 10px 18px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-ink);
  background: var(--bg-card);
  font-weight: 700;
  cursor: pointer;
}
.case-filter-btn.is-active { background: var(--terracotta); color: #fff; }
.case-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-alt);
  padding: 10px 12px;
  border-radius: 12px;
  margin: 14px 0;
  font-family: 'JetBrains Mono', monospace;
}
.case-metrics-bar small { display: block; font-size: 0.65rem; color: var(--ink-muted); }
.case-metrics-bar strong { font-size: 0.82rem; }

/* COMPARISON TABLE */
.table-responsive { overflow-x: auto; }
.spec-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-brutal);
}
.spec-comparison-table th, .spec-comparison-table td {
  padding: 14px 16px;
  border: 1px solid rgba(28, 25, 23, 0.2);
  text-align: left;
  font-size: 0.92rem;
}
.spec-comparison-table thead th {
  background: var(--ink-dark);
  color: #FCF9F2;
  font-family: 'Fraunces', serif;
}
.is-featured-col { background: #FDECE8; }

/* FAQ & CONTACT FORM */
.contact-faq-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.accordion-item {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  min-height: 48px;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-body { padding: 0 20px 18px; color: var(--ink-muted); }

.atelier-form-card {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 24px;
  box-shadow: var(--shadow-brutal);
  padding: 30px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form-check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; margin-bottom: 16px; }
.form-feedback {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #DCFCE7;
  border: 1.5px solid #15803D;
  color: #14532D;
  font-weight: 600;
}

/* INNER PAGES */
.inner-main { padding-top: 24px; }
.inner-hero-banner {
  padding: 36px 0 48px;
  border-bottom: 2px solid var(--border-ink);
  background: var(--bg-alt);
}
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; margin-bottom: 14px; }
.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.inner-title { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.inner-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.inner-stat-pills > div {
  background: var(--bg-card);
  border: 1.5px solid var(--border-ink);
  padding: 10px 16px;
  border-radius: 14px;
}
.inner-stat-pills small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--ink-muted); }
.inner-hero-media img {
  border-radius: 20px;
  border: 2px solid var(--border-ink);
  box-shadow: var(--shadow-brutal);
}
.inner-2col-content {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
}
.sidebar-box {
  background: var(--bg-card);
  border: 2px solid var(--border-ink);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
}
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links a { font-weight: 600; color: var(--terracotta); }

/* FOOTER */
.site-footer {
  background: #181615;
  color: #E7E5E4;
  padding: 64px 0 36px;
  border-top: 3px solid var(--border-ink);
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
.footer-top-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 42px;
}
.ribbon-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #FDBA74;
}
.btn-arrepentimiento-footer {
  display: inline-block;
  margin-top: 4px;
  background: var(--terracotta);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #D6D3D1; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact-chips { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #A8A29E;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 94vw);
  background: #181615;
  color: #FCF9F2;
  border: 2px solid #FCF9F2;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  padding: 16px 22px;
  z-index: 2000;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.88rem; flex: 1; min-width: 260px; }
.cookie-banner a { color: #FDBA74; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn-outline {
  background: rgba(255,255,255,0.08);
  color: #FCF9F2;
  border-color: rgba(252, 249, 242, 0.45);
}

/* MOBILE DRAWER */
.mobile-drawer-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--border-ink);
  background: var(--bg-card);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.mobile-drawer-btn span { width: 20px; height: 2px; background: var(--ink-dark); display: block; }
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  z-index: 1500;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-inner {
  background: var(--bg-card);
  width: min(360px, 88vw);
  height: 100%;
  padding: 24px;
  border-right: 2px solid var(--border-ink);
  overflow-y: auto;
}
.mobile-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-close-btn { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid var(--border-ink); background: #fff; cursor: pointer; }
.mobile-nav-links { list-style: none; padding: 0; margin: 0 0 18px; }
.mobile-nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.1); font-weight: 700; }
.mobile-prod-grid { display: grid; gap: 8px; }
.mobile-prod-grid a { font-size: 0.85rem; padding: 8px 10px; background: var(--bg-alt); border-radius: 8px; }

@media (max-width: 1024px) {
  .pill-nav, .pulpo-live-chip { display: none; }
  .mobile-drawer-btn { display: inline-flex; }
  .swatch-inspector-dock, .configurator-shell, .atelier-prod-grid, .cases-grid, .ws-panel-grid, .contact-faq-split, .inner-hero-grid, .inner-2col-content, .footer-grid, .footer-top-ribbon {
    grid-template-columns: 1fr;
  }
  .workshop-tab-buttons { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
