/* ═══════════════════════════════════════════════════════
   MOLDART | Production CSS
   Self-contained — zero external dependencies
   ═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', sans-serif; background: #fff; color: #18181b; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; }
::selection { background: #18181b; color: #fff; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font: inherit; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── LAYOUT ── */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w { max-width: 80rem; }
.px { padding-left: 1.5rem; padding-right: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.ml-2 { margin-left: 0.5rem; }

/* ── FLEXBOX ── */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-14 { gap: 3.5rem; }
.gap-20 { gap: 5rem; }
.shrink-0 { flex-shrink: 0; }

/* ── GRID ── */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.col-span-2 { grid-column: span 2; }
.divide-x > * + * { border-left: 1px solid #e4e4e7; }

/* ── TYPOGRAPHY ── */
.font-display { font-family: 'Montserrat', sans-serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }

/* ── COLORS ── */
.text-white { color: #fff; }
.text-zinc-200 { color: #e4e4e7; }
.text-zinc-300 { color: #d4d4d8; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-zinc-700 { color: #3f3f46; }
.text-zinc-900 { color: #18181b; }
.bg-white { background: #fff; }
.bg-zinc-50 { background: #fafafa; }
.bg-zinc-100 { background: #f4f4f5; }
.bg-zinc-200 { background: #e4e4e7; }
.bg-zinc-800 { background: #27272a; }
.bg-zinc-900 { background: #18181b; }
.bg-zinc-950 { background: #09090b; }
.border-zinc-100 { border-color: #f4f4f5; }
.border-zinc-200 { border-color: #e4e4e7; }
.border-zinc-800 { border-color: #27272a; }
.border-zinc-900 { border-color: #18181b; }

/* ── BORDERS ── */
.border { border: 1px solid #f4f4f5; }
.border-b { border-bottom: 1px solid #f4f4f5; }
.border-t { border-top: 1px solid #f4f4f5; }
.border-y { border-top: 1px solid #f4f4f5; border-bottom: 1px solid #f4f4f5; }
.border-l-4 { border-left: 4px solid; }

/* ── POSITION ── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }

/* ── SIZING ── */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-16 { height: 4rem; }
.w-8 { width: 2rem; }
.w-5 { width: 1.25rem; }
.w-4 { width: 1rem; }
.w-3 { width: 0.75rem; }
.h-px { height: 1px; }
.w-px { width: 1px; }
.h-7 { height: 1.75rem; }
.h-12 { height: 3rem; }
.h-44 { height: 11rem; }
.h-52 { height: 13rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.min-h-hero { min-height: 88vh; }

/* ── OVERFLOW & OBJECT ── */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; width: 100%; height: 100%; }
.object-top { object-position: top; }
.grayscale { filter: grayscale(1); }

/* ── DISPLAY ── */
.block { display: block; }
.hidden { display: none; }
.self-end { align-self: flex-end; }

/* ── TRANSITIONS ── */
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-all { transition: all 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.transition-opacity { transition: opacity 0.5s ease; }
.duration-500 { transition-duration: 0.5s; }

/* ── BACKDROP ── */
.backdrop-blur { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bg-white-90 { background: rgba(255,255,255,0.9); }

/* ═══════════════════════════════════════════════════════
   COMPONENT STYLES
   ═══════════════════════════════════════════════════════ */

/* ── Page system ── */
.page { display: none; }
.page.active { display: block; animation: pageFadeIn 0.35s ease forwards; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Section label ── */
.section-label { letter-spacing: 0.25em; font-size: 0.65rem; text-transform: uppercase; color: #a1a1aa; font-weight: 500; }

/* ── Image hover ── */
.img-hover { overflow: hidden; }
.img-hover img { transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.img-hover:hover img { transform: scale(1.05); }

/* ── Link underline ── */
.link-line { position: relative; display: inline-block; }
.link-line::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: currentColor; transition: width 0.3s ease; }
.link-line:hover::after { width: 100%; }

/* ── Nav active ── */
.nav-link.is-active { color: #18181b; font-weight: 600; }

/* ── Spec table rows ── */
.spec-row { border-bottom: 1px solid #f4f4f5; }
.spec-row:last-child { border-bottom: none; }

/* ── Card hover ── */
.card-hover { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { border-color: #a1a1aa; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

/* ── Hero typography ── */
.hero-heading { font-family: 'Montserrat', sans-serif; font-weight: 900; line-height: 0.85; letter-spacing: -0.025em; color: #18181b; font-size: clamp(3.8rem, 11vw, 9.5rem); }
.page-heading { font-family: 'Montserrat', sans-serif; font-weight: 900; line-height: 0.85; letter-spacing: -0.025em; font-size: clamp(3.5rem, 10vw, 8rem); }

/* ── Buttons ── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; background: #18181b; color: #fff; font-size: 0.875rem; font-weight: 500; padding: 0.625rem 1.25rem; transition: background 0.15s ease; }
.btn-primary:hover { background: #3f3f46; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; border: 1px solid #e4e4e7; font-size: 0.875rem; font-weight: 500; padding: 0.625rem 1.25rem; transition: all 0.2s ease; }
.btn-outline:hover { border-color: #18181b; background: #18181b; color: #fff; }
.btn-lg { padding: 0.875rem 2rem; }

/* ── Mobile menu ── */
#mob-menu { display: none; }
#mob-menu.open { display: block; }

/* ── WhatsApp FAB ── */
.whatsapp-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: transform 0.2s ease, box-shadow 0.2s ease; animation: fabPulse 3s ease-in-out infinite; }
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); animation: none; }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }
@keyframes fabPulse { 0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); } }

/* ── Scroll fade ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* ── Page transitions ── */
.page { display: none; opacity: 0; }
.page.active { display: block; animation: pageIn 0.4s ease forwards; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Nav hover refinement ── */
.nav-link:hover { color: #18181b; }

/* ── Button press micro-animation ── */
.btn-primary:active, .btn-outline:active { transform: scale(0.97); }
.btn-primary, .btn-outline { transition: all 0.15s ease; }

/* ── Card lift on hover ── */
.card-hover { transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.card-hover:hover { border-color: #a1a1aa; box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .md-hidden { display: none !important; }
  .md-show { display: flex !important; }
  .md-grid-2, .md-grid-3, .md-grid-4 { grid-template-columns: 1fr; }
  .md-flex-col { flex-direction: column; }
  .md-gap-8 { gap: 2rem; }
  .divide-x > * + * { border-left: none; }
  .hero-heading { font-size: clamp(3rem, 12vw, 5rem); }
  .page-heading { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .p-12 { padding: 1.5rem; }
  .h-80 { height: 16rem; }
  .col-span-2 { grid-column: span 1; }
}
@media (min-width: 769px) {
  .md-hidden { display: flex; }
  .md-show { display: none !important; }
  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .md-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .md-flex-row { flex-direction: row; }
  .md-justify-end { justify-content: flex-end; }
}
