/* VIAZU — Corporate pages shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: rgba(37, 99, 235, .1);
  --ink: #0B1220;
  --mute: #64748B;
  --line: rgba(15, 23, 42, .1);
  --bg: #F4F7FB;
  --surface: #fff;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; font-size: var(--corp-font-size, 100%); }
html.corp-high-contrast { filter: contrast(1.15); }
html.corp-dark { --bg: #0B1220; --surface: #1E293B; --ink: #F8FAFC; --mute: #94A3B8; --line: rgba(255,255,255,.12); }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6; min-height: 100vh; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.corp-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(244, 247, 251, .92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
html.corp-dark .corp-nav { background: rgba(11, 18, 32, .94); }
.corp-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--ink); text-decoration: none; }
.corp-brand img { width: 40px; height: 40px; border-radius: 8px; background: #fff; }
.corp-nav-links { display: none; gap: 20px; font-size: .88rem; font-weight: 500; color: var(--mute); }
.corp-nav-links a { color: inherit; text-decoration: none; }
.corp-nav-links a:hover { color: var(--blue); }
.corp-nav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.corp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; font-size: .88rem; font-weight: 700;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.corp-btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.corp-btn-primary:hover { background: var(--blue-dark); text-decoration: none; color: #fff; }
.corp-btn:hover { text-decoration: none; }

.corp-hero {
  padding: 48px clamp(16px, 4vw, 40px) 36px;
  max-width: 1100px; margin: 0 auto;
}
.corp-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-soft); border-radius: 99px; padding: 5px 12px; margin-bottom: 12px;
}
.corp-hero h1 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px;
}
.corp-hero p { color: var(--mute); max-width: 42rem; font-size: 1.05rem; }

.corp-main { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 64px; }
.corp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.corp-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; transition: .18s; color: inherit; text-decoration: none;
}
.corp-card:hover {
  border-color: rgba(37, 99, 235, .4); box-shadow: 0 10px 28px rgba(37, 99, 235, .1);
  transform: translateY(-2px); text-decoration: none;
}
.corp-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.corp-card p { font-size: .88rem; color: var(--mute); margin: 0; }
.corp-card .ico { font-size: 1.4rem; margin-bottom: 8px; display: block; }

.corp-section { margin-bottom: 40px; }
.corp-section h2 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.corp-prose p, .corp-prose li { color: var(--mute); margin-bottom: 10px; font-size: .95rem; }
.corp-prose ul { padding-left: 20px; margin: 10px 0; }
.corp-prose h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; color: var(--ink); }

.corp-table-wrap { overflow-x: auto; margin: 16px 0; }
.corp-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  background: var(--surface); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.corp-table th, .corp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.corp-table th { background: var(--blue-soft); font-weight: 700; }
.corp-table tr:last-child td { border-bottom: none; }

.corp-form { display: grid; gap: 12px; max-width: 480px; }
.corp-form input, .corp-form select, .corp-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: .95rem;
}
.corp-form label { font-size: .85rem; font-weight: 600; color: var(--mute); }

.corp-status { display: grid; gap: 10px; }
.corp-status-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px;
}
.corp-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; margin-right: 10px; }
.corp-status-dot.warn { background: #F59E0B; }

.corp-footer {
  background: #0B1220; color: rgba(255,255,255,.65);
  padding: 48px clamp(16px, 4vw, 40px) 24px; margin-top: 48px;
}
.corp-footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 20px;
}
.corp-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 12px; font-family: var(--font-display);
}
.corp-footer a {
  display: block; font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 8px; text-decoration: none;
}
.corp-footer a:hover { color: #93C5FD; text-decoration: none; }
.corp-footer-bottom {
  max-width: 1100px; margin: 32px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; color: rgba(255,255,255,.35);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}
.corp-social { display: flex; gap: 10px; flex-wrap: wrap; }
.corp-social a {
  display: inline-flex; padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: #93C5FD; font-size: .8rem;
}

.corp-wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  font-size: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  text-decoration: none;
}
.corp-wa-float:hover { transform: scale(1.05); text-decoration: none; color: #fff; }

.corp-a11y-bar {
  position: fixed; bottom: 20px; left: 20px; z-index: 90;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.corp-a11y-bar button {
  padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); font-size: .75rem; cursor: pointer; color: var(--ink);
}

.corp-map-placeholder {
  height: 320px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #1E3A8A, #0B1220);
  display: grid; place-items: center; color: rgba(255,255,255,.7); text-align: center; padding: 20px;
}

.corp-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.corp-stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; text-align: center;
}
.corp-stat strong { display: block; font-size: 1.5rem; color: var(--blue); font-family: var(--font-display); }
.corp-stat span { font-size: .8rem; color: var(--mute); }

.corp-blog-post {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; margin-bottom: 14px;
}
.corp-blog-post time { font-size: .78rem; color: var(--mute); }
.corp-blog-post h3 { font-size: 1.1rem; margin: 8px 0; }

@media (min-width: 900px) { .corp-nav-links { display: flex; } }
@media (max-width: 640px) { .corp-a11y-bar { bottom: 84px; } }
