:root {
  --ink: #0f172a;
  --muted: #526174;
  --line: #dfe5ed;
  --bg: #ffffff;
  --soft: #f5f8fc;
  --brand: #1d4ed8;
  --brand-dark: #1539a2;
  --brand-soft: #eaf1ff;
  --teal: #0f766e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; color: var(--brand); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--muted); }
.lang-select { padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 13px; cursor: pointer; outline: none; }
.lang-select:focus { border-color: var(--brand); }
.nav a:hover { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  padding: 13px 22px; border-radius: 9px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-small { padding: 9px 16px; font-size: 13px; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); border-color: var(--muted); color: var(--ink); }
.btn-block { width: 100%; margin-top: 6px; }

.hero { padding: 74px 0 66px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.22; margin: 0 0 18px; }
h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.3vw, 39px); letter-spacing: -0.02em; }
h3 { font-size: 17px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; font-size: 17px; }
.hero-facts span { font-size: 12px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.rack-svg { width: 100%; max-width: 520px; }
.hero-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--soft); box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14); }
.hero-photo img { display: block; width: 100%; height: 420px; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 22px 16px; color: #fff; font-size: 12px; letter-spacing: 0.02em; background: linear-gradient(transparent, rgba(15, 23, 42, 0.82)); }
.page-hero-photo { margin: 34px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.page-hero-photo img { display: block; width: 100%; height: 320px; object-fit: cover; }
.inline-photo { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.inline-photo img, .wide-photo img { display: block; width: 100%; height: 280px; object-fit: cover; }
.wide-photo { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.inline-photo figcaption, .wide-photo figcaption, .photo-trio figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.photo-trio figure { margin: 0; }
.photo-trio img { display: block; width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius); }
.art-bg { fill: var(--soft); }
.frame { fill: none; stroke: var(--brand); stroke-width: 7; stroke-linecap: round; }
.shelf { fill: none; stroke: #94a3b8; stroke-width: 5; stroke-linecap: round; }
.rail { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; }
.products rect { fill: #bfdbfe; }
.boxes rect { fill: #dbeafe; }
.boxes.alt rect { fill: #ccfbf1; }
.badge-circle { fill: var(--brand); }
.badge-text { fill: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.corners { fill: none; stroke: #cbd5e1; stroke-width: 2; stroke-linecap: round; }

.strip { background: var(--ink); color: #e2e8f0; }
.strip-inner { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; font-size: 13px; flex-wrap: wrap; }
.strip-inner span::before { content: "•"; color: #60a5fa; margin-right: 8px; }

.section { padding: 86px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .sub, .sub { color: var(--muted); font-size: 16px; margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .app-grid article {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p, .app-grid p { color: var(--muted); font-size: 14px; margin: 0; }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature h3 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.check { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 14px; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 3px solid var(--brand); padding: 22px 14px 0 0; }
.steps li span { display: block; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; }
.steps h3 { font-size: 16px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 13px; margin: 0; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app-grid article { background: var(--bg); }
.app-grid h3 { font-size: 16px; margin-bottom: 8px; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; position: relative; padding-right: 32px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; color: var(--brand); font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

.quote-section { background: var(--brand-soft); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.quote-copy h2 { margin-bottom: 16px; }
.contact-block { margin-top: 34px; padding-top: 24px; border-top: 1px solid #c7d7f5; }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 6px; }
.contact-mail { font-size: 19px; font-weight: 700; color: var(--brand); word-break: break-all; }
.whatsapp-label { margin-top: 18px !important; }
.contact-whatsapp { font-size: 17px; font-weight: 700; color: var(--teal); }
.contact-note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.quote-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.quote-form label.full { margin-bottom: 16px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; font-size: 14px; font-weight: 400; color: var(--ink);
  background: #fff; resize: vertical;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.consent { display: flex !important; gap: 9px; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; font-size: 12px !important; }
.consent input { width: 16px !important; height: 16px; margin: 2px 0 0 !important; flex: 0 0 auto; }
.form-status { min-height: 22px; margin: 12px 0 0; font-size: 13px; color: var(--teal); }
.form-status.error { color: #b91c1c; }

.site-footer { background: var(--ink); color: #cbd5e1; padding: 48px 0 30px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.footer-brand { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 0.06em; margin-bottom: 8px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; border-top: 1px solid #334155; padding-top: 20px; color: #94a3b8; font-size: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.text-link { color: var(--brand); font-weight: 600; font-size: 15px; }
.snapshot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.snapshot-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.snapshot-item strong { display: block; font-size: 22px; color: var(--brand); margin-bottom: 6px; }
.snapshot-item span { font-size: 13px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; background: var(--bg); box-shadow: var(--shadow); transition: transform 0.15s ease, border-color 0.15s ease; }
.project-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.project-card span { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: 0.1em; }
.project-card h3 { font-size: 17px; margin: 10px 0 6px; }
.project-card p { margin: 0; color: var(--muted); font-size: 13px; }
.project-gallery { grid-template-columns: repeat(3, 1fr); }
.project-gallery .project-card { padding: 0; overflow: hidden; }
.project-gallery .project-card img { display: block; width: 100%; height: 180px; object-fit: cover; }
.project-gallery .project-card span { display: block; padding: 18px 18px 0; }
.project-gallery .project-card h3 { margin: 10px 18px 6px; }
.project-gallery .project-card p { padding: 0 18px 18px; }
.photo-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.photo-pair figure, .photo-grid figure, .case-photo { margin: 0; }
.photo-pair img, .photo-grid img, .case-photo img { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.photo-pair figcaption, .photo-grid figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.case-photo { margin-bottom: 20px; }
.case-photo img { height: 300px; }
.quote-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.quote-card p { margin: 0 0 16px; font-size: 15px; color: var(--ink); }
.quote-card footer { font-size: 12px; color: var(--muted); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 8px 24px rgba(15, 118, 110, 0.32); }
.hero-small { padding: 64px 0 48px; }
.hero-small h1 { font-size: clamp(32px, 4vw, 48px); }
.case { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 18px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.case-head span { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--brand); text-transform: uppercase; }
.case-head h3 { margin: 8px 0 22px; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-grid h4 { font-size: 14px; margin: 0 0 8px; }
.case-grid p { margin: 0; font-size: 13px; color: var(--muted); }
.cta-center { text-align: center; max-width: 720px; }
.cta-center .sub { margin-bottom: 26px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .lang-select { margin-left: 4px; padding: 7px 6px; }
  .hero-grid, .quote-grid, .faq-wrap, .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { order: -1; }
  .card-grid, .app-grid, .grid-3, .project-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { height: 300px; }
  .photo-trio, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .case-photo img { height: 240px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 64px; }
  .brand span { display: none; }
  .hero { padding: 46px 0 50px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .card-grid, .app-grid, .grid-3, .project-grid, .case-grid, .snapshot, .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .strip-inner { gap: 8px 16px; }
  .hero-photo img { height: 240px; }
  .page-hero-photo img { height: 200px; }
  .inline-photo img, .wide-photo img { height: 220px; }
  .photo-trio { grid-template-columns: 1fr; }
  .photo-trio img, .photo-grid img, .photo-pair img { height: 150px; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .project-gallery .project-card img { height: 140px; }
  .case-photo img { height: 190px; }
}
