/* ============================================================
   GOOSE 3D — NEO-BRUTALIST INDUSTRIAL DESIGN SYSTEM
   Matches the aesthetic of the 5x5 cm photo upload pages:
   - Off-white canvas (#FAF9F6) with architectural grid
   - Heavy solid black borders (2px / 3px solid #000)
   - Chunky hard drop shadows (4px / 6px / 8px #000)
   - Signature Goose Coral (#DD614C), Golden Amber (#F59E0B), Cyan (#0EA5E9)
   - Space Grotesk + Plus Jakarta Sans + JetBrains Mono typography
   ============================================================ */

:root {
  --bg-page: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark: #0F172A;
  --border-black: #000000;

  --coral: #DD614C;
  --coral-hover: #C54E3A;
  --coral-light: #FEE2E2;

  --amber: #F59E0B;
  --amber-light: #FEF3C7;

  --cyan: #0EA5E9;
  --cyan-light: #E0F2FE;

  --green: #16A34A;
  --green-light: #DCFCE7;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-dim: #64748B;
  --text-light: #F8FAFC;

  --shadow-sm: 3px 3px 0 #000000;
  --shadow-md: 5px 5px 0 #000000;
  --shadow-lg: 8px 8px 0 #000000;
  --shadow-xl: 12px 12px 0 #000000;

  --container-max: 1280px;
  --container-pad: 24px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

h1, h2, h3, h4, h5, .brand-text, .btn, .badge, .stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

::selection {
  background: var(--coral);
  color: #fff;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============================================================
   NEO-BRUTALIST BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border: 2px solid var(--border-black);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}

.btn-primary {
  background-color: var(--coral);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--coral-hover);
}

.btn-amber {
  background-color: var(--amber);
  color: #000000;
}

.btn-amber:hover {
  background-color: #D97706;
  color: #fff;
}

.btn-dark {
  background-color: var(--border-black);
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #1E293B;
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background-color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-width: 3px;
  box-shadow: var(--shadow-md);
}

.btn-lg:hover {
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ============================================================
   BRUTALIST BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--border-black);
  box-shadow: 2px 2px 0 #000;
}

.badge-coral {
  background-color: var(--coral);
  color: #FFFFFF;
}

.badge-amber {
  background-color: var(--amber);
  color: #000000;
}

.badge-cyan {
  background-color: var(--cyan);
  color: #FFFFFF;
}

.badge-green {
  background-color: var(--green);
  color: #FFFFFF;
}

.badge-dark {
  background-color: var(--border-black);
  color: #FFFFFF;
}

.badge-white {
  background-color: #FFFFFF;
  color: var(--text-primary);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-surface);
  border-bottom: 3px solid var(--border-black);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-box {
  width: 40px;
  height: 40px;
  background-color: var(--coral);
  border: 2.5px solid var(--border-black);
  box-shadow: 3px 3px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--text-primary);
}

.logo-dim {
  color: var(--coral);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 12px;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-black);
  box-shadow: 2px 2px 0 #000;
}

.nav-link.active-link {
  background-color: var(--amber-light);
  border-color: var(--border-black);
  box-shadow: 2px 2px 0 #000;
}

.nav-upload-badge {
  background-color: var(--amber) !important;
  color: #000 !important;
  border: 2px solid var(--border-black) !important;
  box-shadow: 3px 3px 0 #000 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  padding: 8px 14px;
}

.nav-upload-badge:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000 !important;
}

.nav-backdrop {
  display: none;
}

.nav-drawer-header {
  display: none;
}

.mobile-toggle {
  display: none;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  padding: 8px;
  cursor: pointer;
}

/* ============================================================
   HERO SECTION (BRUTALIST VIDEO FRAME)
   ============================================================ */
#hero {
  padding: 40px 0 60px 0;
}

.hero-frame {
  position: relative;
  background-color: #000;
  border: 3.5px solid var(--border-black);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border-radius: var(--radius-sm);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(1.1) saturate(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(221, 97, 76, 0.45) 100%);
}

#lightning-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  padding: 60px 48px;
  max-width: 850px;
  color: #fff;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--amber);
  color: #000;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 20px;
}

.hero-title-accent {
  color: var(--coral);
  background: #FFF;
  color: #000;
  padding: 2px 12px;
  display: inline-block;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 var(--coral);
  margin-top: 6px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #F1F5F9;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  margin-bottom: 32px;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2.5px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 16px 24px;
  color: #000;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-wrapper {
  padding: 80px 0;
}

.section-header-box {
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  background-color: var(--coral);
  color: #fff;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-title span {
  color: var(--coral);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: 10px;
}

/* ============================================================
   TIENDA (STORE) SECTION
   ============================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.store-card {
  background-color: var(--bg-surface);
  border: 3px solid var(--border-black);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.store-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.store-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  background-color: #F8FAFC;
  border-bottom: 3px solid var(--border-black);
  overflow: hidden;
}

.store-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

.store-card-category {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: #000;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid #fff;
}

.store-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.store-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.store-price-current {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--coral);
}

.store-price-original {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.store-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
}

.store-card-features {
  margin-bottom: 20px;
  padding: 12px;
  background-color: var(--bg-subtle);
  border: 1.5px dashed var(--border-black);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 600;
}

.store-feature-item svg {
  flex-shrink: 0;
  color: var(--green);
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

.store-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-notice-bar {
  margin-top: 32px;
  background-color: var(--amber-light);
  border: 2px solid var(--border-black);
  box-shadow: var(--shadow-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ============================================================
   CATALOG (BENTO GRID)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.bento-card {
  background-color: var(--bg-surface);
  border: 3px solid var(--border-black);
  box-shadow: var(--shadow-md);
  padding: 24px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

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

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
}

.bento-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: #FFFFFF;
}

.bento-icon {
  width: 44px;
  height: 44px;
  background-color: var(--coral);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 14px;
}

.bento-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin-bottom: 14px;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber);
  text-transform: uppercase;
}

/* ============================================================
   PROCESO (STEPS)
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.process-card {
  background-color: var(--bg-surface);
  border: 2.5px solid var(--border-black);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}

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

.step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--coral);
  background-color: var(--coral-light);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  width: fit-content;
  padding: 2px 10px;
  margin-bottom: 14px;
}

.process-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   SERVICIOS / VENTAJAS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-surface);
  border: 2.5px solid var(--border-black);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--amber);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   COLORES (PALETTE)
   ============================================================ */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.palette-item {
  background: #fff;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.palette-swatch {
  height: 60px;
  width: 100%;
  border: 2px solid #000;
}

.palette-name {
  font-weight: 800;
  font-size: 0.9rem;
}

.palette-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 3px solid var(--border-black);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background-color: var(--bg-subtle);
  border: 2px solid var(--border-black);
  box-shadow: 2px 2px 0 #000;
  margin-bottom: 12px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.contact-link-row:hover {
  background-color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #000;
}

.contact-link-row svg {
  color: var(--coral);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background-color: var(--bg-dark);
  color: #fff;
  border-top: 4px solid var(--border-black);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #94A3B8;
  max-width: 400px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94A3B8;
}

/* ============================================================
   PRODUCT DETAIL MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #fff;
  border: 3.5px solid var(--border-black);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 16px 20px;
  background-color: var(--bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #000;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
}

.modal-close:hover {
  background: var(--coral);
  color: #fff;
}

.modal-body {
  padding: 24px;
}

/* ============================================================
   CONSTRUCTION / COMING SOON MODE (NEO-BRUTALIST)
   ============================================================ */
html.preview-active #constructionView {
  display: none !important;
}
html.preview-active #fullSiteView {
  display: block !important;
}
html.preview-active #previewBanner {
  display: flex !important;
}

.preview-mode-banner {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #FEF3C7;
  color: #92400E;
  border-bottom: 2px solid #000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 700;
  gap: 12px;
}

.construction-ticker {
  background: #000;
  color: #FFF;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 2px solid #000;
  overflow: hidden;
  white-space: nowrap;
}

.construction-nav {
  background: #FFF;
  border-bottom: 3px solid #000;
  padding: 14px 0;
}

.construction-main {
  padding: 48px 16px 80px;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.construction-hero-card {
  background: #FFF;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 56px 40px;
  text-align: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FEF3C7;
  color: #92400E;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 100%;
}

.construction-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  word-break: break-word;
}

.construction-subtext {
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.construction-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.construction-notice-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-subtle);
  border: 2px solid #000;
  font-size: 0.92rem;
  font-weight: 600;
}

.construction-teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.c-teaser-card {
  background: #FFF;
  border: 2.5px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 22px;
  transition: transform 0.15s ease;
}

.c-teaser-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.c-teaser-icon {
  width: 44px;
  height: 44px;
  background: var(--amber);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.c-teaser-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.c-teaser-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.construction-contact-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  background: #FFF;
  border: 2.5px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 24px;
}

.c-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-contact-item i {
  width: 28px;
  height: 28px;
  color: var(--coral);
}

.c-contact-item .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-dim);
}

.c-contact-item a {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE & TABLET OPTIMIZATIONS)
   ============================================================ */
@media (max-width: 768px) {
  /* Scaled shadow tokens so cards never clip or overflow screen bounds */
  :root {
    --container-pad: 16px;
    --shadow-sm: 2px 2px 0 #000000;
    --shadow-md: 3px 3px 0 #000000;
    --shadow-lg: 4px 4px 0 #000000;
    --shadow-xl: 4px 4px 0 #000000;
  }

  /* Zero horizontal overflow constraint */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
  }

  .section-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Construction Mode Mobile */
  .construction-main {
    padding: 32px 14px 50px;
    min-height: calc(100vh - 72px);
  }
  .construction-hero-card {
    padding: 36px 18px;
    border-width: 2.5px;
    box-shadow: 4px 4px 0 #000;
    margin-bottom: 0;
  }
  .construction-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    margin-bottom: 16px;
  }
  .construction-title {
    font-size: clamp(1.8rem, 6.8vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .construction-subtext {
    font-size: 0.96rem;
    line-height: 1.5;
  }
  .construction-contact-strip {
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  /* Navigation Bar Mobile */
  #navbar {
    padding: 10px 0;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 2px solid #000;
    box-shadow: 2.5px 2.5px 0 #000;
    cursor: pointer;
  }
  .mobile-toggle:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #000;
  }

  /* Off-canvas Navigation Drawer */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .nav-backdrop.nav-active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    border-left: 3px solid #000;
    box-shadow: -6px 0 0 rgba(0, 0, 0, 0.15);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    gap: 8px;
  }
  .nav-links.nav-open {
    transform: translateX(0);
  }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 2.5px solid #000;
    margin-bottom: 8px;
  }
  .nav-drawer-close {
    width: 38px;
    height: 38px;
    background: #F1F5F9;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-drawer-close:active {
    transform: translate(1px, 1px);
    box-shadow: 0 0 0 #000;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav-link:hover, .nav-link.active-link {
    background: #F8FAFC;
    border-color: #000;
    box-shadow: 2px 2px 0 #000;
  }
  .nav-upload-badge {
    margin-top: 6px;
    justify-content: center;
    padding: 12px !important;
  }
  .nav-cta-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Hero Frame on Mobile */
  #hero {
    padding: 16px 0 28px 0;
  }
  .hero-frame {
    min-height: auto;
    padding: 32px 16px 28px 16px;
    margin: 8px 0 20px 0;
    border-width: 2.5px;
    box-shadow: 4px 4px 0 #000;
  }
  .hero-content-wrapper {
    padding: 0;
    max-width: 100%;
  }
  .hero-top-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(2rem, 7.8vw, 2.7rem);
    line-height: 1.12;
    margin-bottom: 12px;
    text-shadow: 2px 2px 0 #000;
  }
  .hero-title-accent {
    font-size: clamp(1.8rem, 7.2vw, 2.3rem);
    padding: 2px 8px;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--coral);
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
    border-width: 2px;
    box-shadow: 2px 2px 0 #000;
  }
  .hero-stat-value {
    font-size: 1.35rem;
  }
  .hero-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  /* Section wrappers & headers */
  .section-wrapper {
    padding: 44px 0;
  }
  .section-header-box {
    margin-bottom: 28px;
  }
  .section-title {
    font-size: clamp(1.65rem, 6.2vw, 2.1rem);
    line-height: 1.18;
  }
  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .store-notice-bar {
    font-size: 0.82rem;
    padding: 10px 12px;
    gap: 8px;
    margin-top: 18px;
  }

  /* Store Product Cards */
  .store-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .store-card {
    border-width: 2.5px;
    box-shadow: 4px 4px 0 #000;
  }
  .store-card-img-wrapper {
    height: 200px;
    border-bottom-width: 2.5px;
  }
  .store-card-body {
    padding: 16px;
  }
  .store-card-title {
    font-size: 1.15rem;
  }
  .store-price-current {
    font-size: 1.5rem;
  }
  .store-card-actions {
    flex-direction: column;
    gap: 8px;
  }
  .store-card-actions .btn {
    width: 100%;
    padding: 12px;
  }

  /* Bento Catalog Cards */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card {
    min-height: 260px;
    padding: 18px;
    border-width: 2.5px;
    box-shadow: 4px 4px 0 #000;
  }

  /* Filament Palette Grid */
  .palette-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .palette-item {
    padding: 10px;
    box-shadow: 2px 2px 0 #000;
  }
  .palette-swatch {
    height: 48px;
  }
  .palette-name {
    font-size: 0.82rem;
  }

  /* Methodology / Process Grid */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-card {
    padding: 16px;
    border-width: 2px;
    box-shadow: 3px 3px 0 #000;
  }
  .step-num {
    font-size: 1.2rem;
    padding: 2px 8px;
    margin-bottom: 10px;
  }

  /* Services / Ventajas Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    padding: 18px 16px;
    border-width: 2px;
    box-shadow: 3px 3px 0 #000;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-card {
    padding: 20px 16px;
    border-width: 2.5px;
    box-shadow: 4px 4px 0 #000;
  }

  /* Footer */
  footer {
    padding: 40px 0 24px;
    border-top-width: 3px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.78rem;
  }

  /* Modal Dialog on Mobile */
  .modal-overlay {
    padding: 12px;
  }
  .modal-container {
    max-width: 100%;
    border-width: 2.5px;
    box-shadow: 4px 4px 0 #000;
    max-height: 88vh;
  }
  .modal-body {
    padding: 16px;
  }
}

/* Extra Compact Devices (iPhone SE, narrow viewports <= 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-title-accent {
    font-size: 1.65rem;
  }
  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .palette-grid {
    grid-template-columns: 1fr;
  }
  .section-container {
    padding: 0 12px;
  }
  .construction-hero-card {
    padding: 28px 14px;
  }
}

