:root {
  --ink: #f8fafc;
  --muted: #9ba8b9;
  --page: #090e14;
  --surface: #101720;
  --surface-2: #141e29;
  --line: #273341;
  --brand: #d71920;
  --brand-dark: #a50f15;
  --gold: #f3b61f;
  --green: #20c878;
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: Tahoma, Arial, sans-serif; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -60px; background: #fff; color: #000; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { top: 10px; }

.topline { background: #281f0a; color: #ffd76a; font-size: 13px; border-bottom: 1px solid #5d4712; }
.topline .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 6px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(9,14,20,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-row { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 116px; height: 52px; object-fit: contain; background: #fff; padding: 7px 10px; border-radius: 12px; }
.brand-copy strong, .brand-copy span { display: block; }
.brand-copy strong { font-size: 17px; }
.brand-copy span { color: var(--muted); font-size: 11px; }
.nav { display: flex; justify-content: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav a { color: #d6dde7; padding-block: 28px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: #fff; border-color: var(--brand); }
.header-actions { display: flex; gap: 10px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: #fff; background: transparent; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 11px 20px; font-weight: 800; line-height: 1.2; cursor: pointer; }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(215,25,32,.22); }
.button-primary:hover { background: #ec2229; }
.button-outline { border-color: #3a4655; background: rgba(255,255,255,.02); }
.button-whatsapp { background: var(--green); color: #052616; }

.hero { padding: 48px 0 58px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 10%, rgba(215,25,32,.12), transparent 32%); }
.breadcrumbs { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.breadcrumbs a { color: #d9e0e9; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px; align-items: center; }
.hero-copy, .card, .model-card, .guide-body { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #ffd75c; background: #2a210d; border: 1px solid #604811; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 800; }
h1, h2, h3 { line-height: 1.3; margin-top: 0; }
h1 { font-size: clamp(34px, 5vw, 62px); margin: 20px 0 16px; letter-spacing: -.7px; }
h2 { font-size: clamp(27px, 3vw, 40px); }
h3 { font-size: 20px; }
.hero-lead { color: #bdc7d4; font-size: 18px; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust-item { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 13px; text-align: center; }
.trust-item strong, .trust-item span { display: block; }
.trust-item span { color: var(--muted); font-size: 12px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #33404e; min-height: 490px; }
.hero-media img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.media-label { position: absolute; inset-inline: 18px; bottom: 18px; padding: 16px 18px; background: rgba(8,13,19,.91); border: 1px solid #344150; border-radius: 14px; }
.media-label strong, .media-label span { display: block; }
.media-label span { color: var(--muted); font-size: 12px; }

.section { padding: 84px 0; }
.section-alt { background: #0c1219; border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading p { color: var(--muted); max-width: 650px; margin: 0; }
.listing-context { max-width: 980px; margin: 0 0 38px; padding: 26px 30px; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: 16px; background: var(--surface); }
.listing-context h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.listing-context p { color: #c7d0dc; margin: 0; }
.listing-context p + p { margin-top: 12px; }
.kicker { color: var(--brand); font-weight: 900; margin-bottom: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 24px; transition: .2s ease; }
.card:hover { transform: translateY(-3px); border-color: #435365; background: var(--surface-2); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 13px; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card-link { color: #fff; font-weight: 800; }
.card-link::after { content: ' ←'; color: var(--brand); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-inline-start: 23px; margin: 7px 0; color: #c6d0dc; }
.check-list li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 900; }

.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.model-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--surface); }
.model-mark { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: #202a35; color: #fff; font-weight: 900; font-size: 24px; }
.model-card p { color: var(--muted); margin-bottom: 8px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: process; }
.process-item { counter-increment: process; padding: 25px; border-top: 3px solid var(--brand); background: var(--surface); border-radius: 4px 4px 16px 16px; }
.process-item::before { content: counter(process, decimal-leading-zero); display: block; color: var(--brand); font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.process-item p { color: var(--muted); margin-bottom: 0; }

.guide-card { padding: 0; overflow: hidden; }
.guide-visual { position: relative; min-height: 165px; overflow: hidden; background: #111923; }
.guide-visual img { position: absolute; inset: 0; width: auto; max-width: none; height: 100%; object-fit: cover; }
.guide-visual span { position: absolute; z-index: 1; inset-inline-start: 20px; bottom: 20px; max-width: calc(100% - 40px); color: #ffd76a; border: 1px solid #6c5216; background: rgba(16,12,3,.82); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.guide-body { padding: 24px; }
.guide-meta { color: var(--muted); font-size: 12px; }

.notice { border: 1px solid #785a15; background: #241c0b; color: #f8dda0; border-radius: 14px; padding: 18px 20px; }
.workshop-gallery-section { background: #0c1219; border-block: 1px solid var(--line); }
.workshop-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.workshop-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.workshop-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.workshop-photo figcaption { padding: 11px 13px; color: #cbd4df; font-size: 13px; }
.gallery-source-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.gallery-source-note a { color: #ff8589; text-decoration: underline; }
.cta-band { padding: 38px; background: linear-gradient(110deg, #7f0e13, var(--brand)); border-radius: 24px; display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: var(--shadow); }
.cta-band p { margin-bottom: 0; color: #ffdfe0; }
.cta-band .button { background: #fff; color: #171717; }

.page-hero { padding: 54px 0; background: #0c131b; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.prose { font-size: 17px; color: #d3dbe5; }
.prose h2 { margin-top: 50px; color: #fff; }
.prose h3 { margin-top: 34px; color: #fff; }
.prose p, .prose li { max-width: 78ch; }
.prose a { color: #ff8589; text-decoration: underline; text-underline-offset: 3px; }
.article-intro { color: #f5f7fa; font-size: 20px; line-height: 1.9; border-right: 4px solid var(--brand); padding-right: 18px; }
.article-figure { margin: 34px 0; }
.article-figure img { width: 100%; max-height: 520px; object-fit: cover; border: 1px solid var(--line); border-radius: 18px; }
.article-figure figcaption { color: var(--muted); font-size: 12px; margin-top: 8px; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 16px; }
.sidebar-card { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 22px; }
.sidebar-card p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.contact-list { display: grid; gap: 12px; }
.contact-item { border: 1px solid var(--line); background: var(--surface); padding: 18px; border-radius: 14px; }
.contact-item strong, .contact-item span { display: block; }
.contact-item span { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; color: #fff; background: #0b1118; border: 1px solid #364454; border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(215,25,32,.28); border-color: var(--brand); }
.form-help { color: var(--muted); font-size: 12px; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-message { grid-column: 1 / -1; border: 1px solid; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.form-message ul { margin: 0; padding-inline-start: 20px; }
.form-message-success { color: #b9f7d5; border-color: #1f8d58; background: #0d2a1d; }
.form-message-error { color: #ffd0d2; border-color: #a33b40; background: #321316; }

.site-footer { margin-top: 80px; padding-top: 56px; background: #080c11; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 38px; }
.footer-brand img { width: 145px; background: #fff; border-radius: 14px; padding: 9px 12px; }
.footer-brand p { color: var(--muted); max-width: 380px; }
.footer-links { display: grid; align-content: start; gap: 8px; color: #c2ccd8; }
.footer-links h2 { font-size: 16px; color: #fff; margin-bottom: 10px; }
.footer-bottom { margin-top: 42px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 980px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .brand-copy, .header-actions .button-outline { display: none; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; inset: 82px 16px auto; background: #0e151e; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
  .nav[data-open] { display: grid; justify-content: stretch; gap: 0; }
  .nav a { padding: 13px; border-bottom: 1px solid var(--line); }
  .hero-grid, .content-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; min-height: 380px; }
  .hero-media img { min-height: 380px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .workshop-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .topline .container { white-space: nowrap; overflow: hidden; }
  .topline span:last-child { display: none; }
  .site-header { position: relative; }
  .header-row { min-height: 72px; gap: 10px; }
  .brand img { width: 90px; height: 44px; }
  .header-actions .button { min-height: 42px; padding: 10px 12px; font-size: 12px; }
  .nav { inset-block-start: 72px; }
  .header-actions { justify-self: end; }
  .brand { min-width: 0; }
  .hero { padding-top: 30px; }
  h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .trust-row { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 340px; }
  .section { padding: 58px 0; }
  .section-heading { align-items: start; display: grid; }
  .card-grid, .model-grid, .process-grid, .workshop-gallery, .footer-grid { grid-template-columns: 1fr; }
  .model-card { grid-template-columns: 74px 1fr; }
  .cta-band, .footer-bottom { align-items: stretch; display: grid; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
