/* APP Technologies — static site styles. No build step: edit and upload. */
:root {
  --ink: #13202B;
  --ground: #F5F6F3;
  --surface: #FFFFFF;
  --line: #DCE0DA;
  --muted: #4A5763;
  --field: #9AA5AF;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --dark-muted: #A9B4BE;
  --dark-text: #C9D1D8;
  --dark-line: #2C3B48;
  --dark-edge: #3A4A58;
  --display: "Archivo", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.caption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 4px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .04em; border-radius: 4px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name strong { font-family: var(--display); font-size: 18px; }
.brand-name span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px 8px; }
.nav a { text-decoration: none; font-weight: 500; padding: 10px 12px; }
.nav .btn { margin-left: 8px; padding: 10px 18px; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 72px 56px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-block: 20px 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.certs { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 24px; }
.hero img { width: 100%; aspect-ratio: 4 / 3; max-height: 460px; object-fit: cover; object-position: 60% 40%; border-radius: 6px; }

/* Facts */
.facts { background: var(--ink); color: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; padding-block: 40px; }
.facts li { border-top: 2px solid var(--accent); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--dark-muted); }

/* Sections */
.section { padding-block: 96px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -.01em; }

/* Capability tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 24px; }
.tab { font: inherit; font-weight: 600; font-size: 15px; padding: 12px 18px; min-height: 44px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
.panel + .panel { margin-top: 24px; }
.js .panel + .panel { margin-top: 0; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 28px; margin-bottom: 16px; }
.panel p { color: var(--muted); font-size: 17px; }
.points { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points li::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: 0 0 8px; transform: translateY(-2px); }
.spec { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 20px; }
.panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* Process */
.process { padding-bottom: 96px; }
.process h2 { font-size: 24px; margin-bottom: 28px; }
.process ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.process li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.process .n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.process strong { font-family: var(--display); font-size: 18px; }
.process span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Materials */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 72px; }
.band h2 { font-size: 28px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: 14px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; }

/* Quality (dark) */
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: #F5A27A; }
.dark .intro { color: var(--dark-text); font-size: 17px; max-width: 620px; margin-top: 12px; }
.quality-top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.quality-top > div:first-child { flex: 1 1 480px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { border: 1px solid var(--dark-edge); border-radius: 6px; padding: 16px 20px; min-width: 140px; display: flex; flex-direction: column; gap: 2px; }
.badge strong { font-family: var(--display); font-size: 20px; }
.badge span { font-size: 13px; color: var(--dark-muted); }
.quality-cols { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 48px; }
.quality-cols h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.lines li { padding: 12px 0; border-bottom: 1px solid var(--dark-line); color: #E9EDF0; }
.quality-cols img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.dark .caption { color: var(--dark-muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.about h2 { font-size: clamp(28px, 3.2vw, 36px); margin-block: 12px 16px; }
.about p + p { margin-top: 16px; }
.about p:not(.eyebrow) { font-size: 17px; color: var(--muted); }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; padding-block: 96px; }
.contact h2 { font-size: clamp(28px, 3.2vw, 36px); margin-block: 12px; }
address { font-style: normal; margin-block: 24px; display: flex; flex-direction: column; }
address strong { font-family: var(--display); font-size: 18px; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 24px; }
.contact dt { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.contact dd { margin: 0; }
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 6px; background: var(--ground); }

.form { background: var(--ground); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.field label small { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; padding: 12px; min-height: 44px; border: 1px solid var(--field); border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.field input[type="file"] { border-style: dashed; padding: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); max-width: 380px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 4px; font-size: 15px; }
.form-msg.err { background: #FDECEC; color: #8A1C1C; border: 1px solid #F2B8B8; }
.form-msg[hidden] { display: none; }
.thanks { background: var(--ground); border: 1px solid var(--line); border-radius: 6px; padding: 48px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.thanks[hidden] { display: none; }
.thanks h3 { font-size: 26px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--dark-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 32px; }
.site-footer a { color: var(--dark-muted); }
.site-footer .mono { font-family: var(--mono); font-size: 13px; }

/* Responsive */
@media (max-width: 1080px) {
  .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quality-cols { grid-template-columns: 1fr 1fr; }
  .quality-cols figure { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .hero, .panel, .band .wrap, .about, .contact .wrap { grid-template-columns: 1fr; }
  .hero { padding-block: 40px; gap: 32px; }
  .panel { padding: 24px; gap: 24px; }
  .section { padding-block: 64px; }
  .contact .wrap { padding-block: 64px; gap: 40px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .facts ul, .process ol, .quality-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .quality-cols { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .brand-name span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
