@import url('https://fonts.cdnfonts.com/css/bankgothic-lt-bt');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Tipografía (referencia Trazabilidad Industrial) */
  --sans: 'BankGothic Lt BT', 'BankGothic', 'Rajdhani', 'Barlow Condensed', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Paleta tema Ratio Verde */
  --side: #0A1628;
  --side-2: #112038;
  --side-text: #C8D8E8;
  --side-muted: #6B8299;
  --green: #5BB827;
  --green-700: #4EA020;
  --green-light: #EBF7E0;
  --ink: #0A1628;
  --bg: #F0F4F8;
  --card: #FFFFFF;
  --surface-hover: #F8FAFC;
  --line: #D1D5DB;
  --line-light: #E5E7EB;
  --text: #1A202C;
  --muted: #6B7280;
  --text-light: #9CA3AF;
  --red: #DC2626; --red-bg: #FEE2E2; --red-tx: #B91C1C;
  --yellow-bg: #FEF3C7; --yellow-tx: #B45309;
  --row-hover: #E3EEF8;
  --radius: 12px;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 15px; letter-spacing: .01em; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { letter-spacing: .04em; }
.icn { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--muted); }

/* ================= App shell ================= */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 240px; flex: none; background: var(--side); color: var(--side-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-brand { display: flex; align-items: center; gap: 11px; padding: 20px 18px 16px; }
.side-brand .brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--green); color: #062100; border-radius: 10px; font-weight: 800; font-size: 20px; }
.brand-logo { width: 42px; height: 42px; flex: none; background: #fff; border-radius: 10px; display: grid; place-items: center; padding: 5px; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo.big { width: 74px; height: 74px; border-radius: 16px; padding: 9px; margin: 0 auto 14px; }
.side-brand .bt { line-height: 1.2; }
.side-brand .bt strong { display: block; color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.side-brand .bt span { font-family: var(--mono); font-size: 10px; color: var(--side-muted); letter-spacing: .1em; }

.side-nav { display: flex; flex-direction: column; gap: 3px; padding: 12px 10px; flex: 1; overflow-y: auto; }
.side-nav a { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 9px; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--side-text); transition: background .12s, color .12s; }
.side-nav a:hover { background: var(--side-2); color: #fff; }
.side-nav a.active { background: var(--green); color: #062100; font-weight: 600; }
.side-nav a.active .icn { color: #062100; }

.side-foot { padding: 16px 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.side-foot .who { color: var(--side-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.side-foot .name { color: #fff; font-weight: 600; margin: 3px 0 7px; letter-spacing: .04em; }
.side-foot .role-pill { display: inline-block; background: rgba(91,184,39,.15); color: var(--green); text-transform: uppercase; font-size: 10px; letter-spacing: .06em; padding: 4px 10px; border-radius: 20px; font-weight: 700; }
.side-foot .logout { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--side-text); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 4px; }
.side-foot .logout:hover { color: #fff; }

.main { flex: 1; min-width: 0; height: 100vh; overflow-y: auto; }

/* ================= Page / headings ================= */
.page { padding: 26px 32px; max-width: 1320px; }
.page.narrow { max-width: 720px; }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.page-head h1, .page-head h2 { margin: 0; text-transform: uppercase; letter-spacing: .05em; font-size: 26px; color: var(--ink); font-weight: 700; }
.page-head h2 { font-size: 20px; }
.page-sub { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-top: 4px; letter-spacing: 0; }
.ml-auto { margin-left: auto; }
.muted { color: var(--muted); }

/* ================= Buttons ================= */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; padding: 10px 18px; border-radius: 9px; font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s, color .12s, opacity .12s; white-space: nowrap; }
.btn .icn { width: 16px; height: 16px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-700); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #16233b; }
.btn.sm { padding: 7px 13px; font-size: 11.5px; }

/* ================= Cards / grid ================= */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-light); }
.grid-2 { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } }

/* ================= Tabs (menú de empresa) ================= */
.tabs { display: flex; gap: 6px; background: var(--card); border: 1px solid var(--line-light); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); margin-bottom: 20px; flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 8px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .05em; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; border: 1px solid transparent; background: transparent; }
.tab:hover { background: var(--bg); color: var(--text); }
.tab.active { background: var(--green-light); color: var(--green-700); border-color: #cdeab3; }
.tab .icn { width: 17px; height: 17px; }
.tab-count { background: var(--bg); color: var(--muted); font-size: 10.5px; padding: 1px 8px; border-radius: 20px; font-weight: 700; }
.tab.active .tab-count { background: #fff; color: var(--green-700); }

/* ================= Search / toolbar ================= */
.toolbar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search-inline input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; min-width: 300px; background: var(--card); font-family: var(--sans); }
.search-inline input:focus { outline: 2px solid var(--green); border-color: transparent; }

/* ================= Tables ================= */
.table-wrap { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line-light); }
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; padding: 13px 16px; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
table.tbl td { padding: 13px 16px; border-top: 1px solid var(--line-light); vertical-align: middle; }
table.tbl tbody tr:hover { background: var(--row-hover); }
.tbl .strong { font-weight: 600; color: var(--ink); letter-spacing: .03em; }
.tbl-empty { padding: 22px; text-align: center; color: var(--muted); }

.actions { display: flex; gap: 4px; justify-content: flex-end; }
.actions form { margin: 0; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.icon-btn:hover { background: #eef2f7; color: var(--ink); border-color: var(--line-light); }
.icon-btn.danger:hover { background: var(--red-bg); color: var(--red); border-color: #f3c2c2; }
.icon-btn.go:hover { background: var(--green-light); color: var(--green-700); border-color: #cdeab3; }

/* ================= Badges ================= */
.badge { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 11px; border-radius: 20px; font-weight: 700; }
.role-super_admin { background: var(--red-bg); color: #b91c1c; }
.role-ratio_staff { background: #fef3e2; color: #b45309; }
.role-company_admin { background: #DBEAFE; color: #1D4ED8; }
.role-user { background: #eef1f6; color: #55627a; }

/* ================= Flash ================= */
.flash-wrap { padding: 16px 32px 0; }
.flash { padding: 11px 16px; border-radius: 9px; margin-bottom: 8px; font-weight: 600; font-size: 13.5px; letter-spacing: .02em; }
.flash-error { background: var(--red-bg); color: #a01818; border: 1px solid #f5c6c6; }
.flash-success { background: #DCFCE7; color: #15803D; border: 1px solid #bfe6cf; }

/* ================= Forms ================= */
.form-card { padding: 22px; }
.form-card h3 { margin: 0 0 16px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.field-label { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: block; }
.field input, .field select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 400; color: var(--text); background: #fff; font-family: var(--sans); text-transform: none; letter-spacing: .01em; }
.field input:disabled { background: var(--bg); color: var(--muted); }
.field input:focus, .field select:focus { outline: 2px solid var(--green); border-color: transparent; }
.field small { font-weight: 400; color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; }
.hint { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-transform: none; letter-spacing: 0; }
.checkbox-grid { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 9px; padding: 10px; }
.checkbox { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 13.5px; color: var(--text); cursor: pointer; padding: 4px; text-transform: none; letter-spacing: .01em; }
.checkbox input { width: 16px; height: 16px; }

/* ================= Transfer admin ================= */
.transfer-section { margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--red-bg); }
.transfer-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: var(--red); }
.transfer-section h3 .icn { color: var(--red); }
.transfer-warn { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.transfer-company-name { color: var(--ink); font-style: normal; }
.btn-danger { background: var(--red); color: #fff; border-color: transparent; }
.btn-danger:hover { background: #b91c1c; }
.btn-danger:disabled { background: #e5a0a0; cursor: not-allowed; opacity: .65; }

/* ================= Dashboard (3 columnas) ================= */
.layout { display: grid; grid-template-columns: 250px 1fr 380px; gap: 16px; padding: 18px; height: 100vh; }
@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 0px); padding: 14px; gap: 14px; }
  .col-projects { max-height: 42vh; }
  .layout.viewer-expanded { grid-template-columns: 1fr; }
  .layout.viewer-expanded .acc-body iframe { height: 66vh; }
}
/* Estado extendido: se oculta el explorador y el visor gana el espacio */
.layout.viewer-expanded { grid-template-columns: 250px 1fr; }
.layout.viewer-expanded .content { display: none; }
.layout.viewer-expanded .acc-body iframe { height: 74vh; }

.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.viewer-head .section-heading { margin: 0; }
.btn-expand .ic-expand, .btn-expand .ic-compress { display: inline-flex; }
.btn-expand .ic-compress, .btn-expand .lbl-compress { display: none; }
.viewer-expanded .btn-expand .ic-expand, .viewer-expanded .btn-expand .lbl-expand { display: none; }
.viewer-expanded .btn-expand .ic-compress { display: inline-flex; }
.viewer-expanded .btn-expand .lbl-compress { display: inline; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-light); }
.col-projects { display: flex; flex-direction: column; overflow: hidden; }
.search-box { padding: 13px; border-bottom: 1px solid var(--line-light); }
.search-box input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 13.5px; background: var(--bg); font-family: var(--sans); }
.search-box input:focus { outline: 2px solid var(--green); border-color: transparent; background: #fff; }
.project-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; }
.project-item { padding: 10px 12px; border-radius: 9px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.project-item:hover { background: var(--bg); }
.project-item.active { background: var(--green-light); box-shadow: inset 3px 0 0 var(--green); }
.project-code { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--green-700); }
.project-name { font-size: 13px; line-height: 1.3; letter-spacing: .02em; }
.empty { padding: 20px; color: var(--muted); text-align: center; }

.content { padding: 24px; overflow-y: auto; }
.placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); gap: 10px; text-align: center; }
.placeholder-icon { font-size: 44px; opacity: .4; }
#projectTitle { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .05em; font-size: 19px; color: var(--ink); }
.chip { display: inline-block; background: var(--green-light); color: var(--green-700); padding: 4px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.section-heading { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 12px; font-weight: 700; border-left: 3px solid var(--green); padding-left: 10px; }

.browser-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 14px; flex-wrap: wrap; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.upload-actions { display: inline-flex; gap: 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; }
.bc-item { color: var(--green-700); font-weight: 700; padding: 3px 6px; border-radius: 6px; font-family: var(--mono); font-size: 12px; }
.bc-item[href]:hover { background: var(--green-light); }
.bc-item.current { color: var(--ink); }
.bc-sep { color: var(--muted); }
.upload-status { margin: 10px 0 0; padding: 9px 14px; border-radius: 9px; background: #DCFCE7; color: #15803D; border: 1px solid #bfe6cf; font-size: 13px; font-weight: 600; }

.browser { display: flex; flex-direction: column; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.entry-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; border-top: 1px solid var(--line-light); transition: background .1s; }
.entry-row:first-child { border-top: 0; }
.entry-row:hover { background: var(--bg); }
.entry-icon { font-size: 19px; width: 24px; text-align: center; }
.entry-name { flex: 1; font-weight: 500; word-break: break-all; letter-spacing: .02em; }
.entry-meta { color: var(--muted); font-size: 12px; white-space: nowrap; font-family: var(--mono); }
.entry-dl { color: var(--green-700); font-weight: 700; font-size: 12px; opacity: 0; text-transform: uppercase; }
.entry-row.is-file:hover .entry-dl { opacity: 1; }
.entry-zip { color: var(--green-700); font-weight: 700; font-size: 11px; border: 1px solid var(--line); border-radius: 7px; padding: 3px 9px; opacity: 0; text-transform: uppercase; }
.entry-row:hover .entry-zip { opacity: 1; }
.entry-zip:hover { background: var(--green-light); }
.browser-empty { padding: 28px; text-align: center; color: var(--muted); }

.col-viewer { padding: 20px; overflow-y: auto; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.acc-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 15px; background: var(--bg); border: 0; cursor: pointer; font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--ink); text-align: left; }
.acc-head:hover { background: #e8edf4; }
.acc-arrow { transition: transform .18s; color: var(--muted); }
.acc-item.open .acc-arrow { transform: rotate(90deg); }
.acc-body { display: none; padding: 13px; }
.acc-item.open .acc-body { display: block; }
.acc-filename { font-size: 12px; color: var(--green-700); font-weight: 600; word-break: break-all; margin-bottom: 10px; display: block; font-family: var(--mono); }
.acc-body iframe { width: 100%; height: 440px; border: 1px solid var(--line-light); border-radius: 8px; }
.acc-empty { color: var(--muted); font-size: 13px; padding: 6px 0; }
.btn-upload-sm { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; cursor: pointer; }
.btn-upload-sm:hover { background: #16233b; }

/* ================= Acerca de ================= */
.about-hero { display: flex; align-items: center; gap: 18px; padding: 26px; margin-bottom: 20px; }
.about-hero .brand-mark { width: 64px; height: 64px; display: grid; place-items: center; background: var(--green); color: #062100; border-radius: 14px; font-weight: 800; font-size: 30px; }
.about-logo { height: 76px; width: auto; flex: none; }
.about-hero h2 { margin: 0; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-size: 22px; }
.about-hero p { margin: 4px 0 0; color: var(--muted); }
.about-hero .ver { font-family: var(--mono); font-size: 12px; }

.legal-card { padding: 26px; }
.legal-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-size: 16px; }
.legal-lead { color: var(--muted); margin: 0 0 18px; }
.legal-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.legal-item:first-of-type { border-top: 0; }
.legal-item .li-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--green-light); color: var(--green-700); }
.legal-item h4 { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; font-size: 13.5px; color: var(--ink); }
.legal-item p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; letter-spacing: .01em; }
.legal-note { margin-top: 18px; padding: 14px 16px; background: var(--yellow-bg); color: var(--yellow-tx); border: 1px solid #f5e3b3; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.about-foot { margin-top: 18px; color: var(--text-light); font-family: var(--mono); font-size: 11.5px; text-align: center; }

/* ================= Login ================= */
.login-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1200px 600px at 50% -10%, #112038, var(--side)); padding: 20px; }
.login-card { background: #0d1a30; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 38px 34px; width: min(400px, 94vw); box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.login-brand { text-align: center; margin-bottom: 24px; }
.login-brand .brand-mark { width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--green); color: #062100; border-radius: 14px; font-weight: 800; font-size: 28px; }
.login-brand h1 { margin: 0; text-transform: uppercase; letter-spacing: .06em; font-size: 21px; color: #fff; }
.login-brand p { color: var(--side-muted); margin: 8px 0 0; font-size: 12px; font-family: var(--mono); }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; color: var(--side-muted); text-transform: uppercase; letter-spacing: .06em; }
.login-form input { padding: 12px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; font-size: 15px; background: #0a1424; color: #fff; font-family: var(--sans); }
.login-form input:focus { outline: 2px solid var(--green); border-color: transparent; }
.login-form .btn-green { margin-top: 6px; justify-content: center; padding: 13px; }
.login-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; }
.login-links a { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.login-body .flash { text-align: center; }

/* ================= Responsive: tablet ================= */
@media (max-width: 1024px) {
  .page { padding: 22px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  /* Tablas con scroll horizontal para no romper el layout */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.tbl { min-width: 560px; }
}

/* ================= Responsive: sidebar en riel de iconos ================= */
@media (max-width: 820px) {
  .sidebar { width: 62px; }
  .side-brand .bt, .side-nav a span, .side-foot .who, .side-foot .name, .side-foot .role-pill, .side-foot .logout span { display: none; }
  .side-nav a { justify-content: center; padding: 12px 0; }
  .side-brand { justify-content: center; padding: 16px 0; }
  .side-foot { padding: 12px 6px; text-align: center; }
  .side-foot .logout { justify-content: center; }
}

/* ================= Responsive: móvil ================= */
@media (max-width: 640px) {
  .page { padding: 16px 14px; }
  .page-head { flex-wrap: wrap; }
  .page-head h1, .page-head h2 { font-size: 19px; }
  .page-head .btn, .page-head .ml-auto { margin-left: 0; }
  .btn { padding: 9px 13px; font-size: 12px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab { white-space: nowrap; }
  .search-inline input { min-width: 0; width: 100%; }
  .toolbar-row { width: 100%; }
  .browser-toolbar { align-items: stretch; }
  .col-projects { max-height: 38vh; }
  .about-hero { flex-direction: column; text-align: center; }
  .legal-item { flex-direction: column; }
}
