/* ============================================
   Arcio Global Styles
   Shared across all pages
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Hero palette — deep slate */
  --hero-bg:      #0f172a;
  --hero-bg2:     #1e293b;
  --hero-border:  rgba(255,255,255,0.08);
  --hero-text:    #e2e8f0;
  --hero-muted:   #94a3b8;

  /* Body palette — clean white */
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-tint:      #f0fdfa;
  --border:       #e2e8f0;
  --border-mid:   #cbd5e1;

  /* Brand — teal accent */
  --teal:         #0d9488;
  --teal-lt:      #14b8a6;
  --teal-dark:    #0f766e;
  --teal-pale:    rgba(13,148,136,0.08);
  --teal-glow:    rgba(13,148,136,0.25);

  /* Supporting */
  --amber:        #d97706;
  --green:        #16a34a;
  --red:          #dc2626;
  --slate:        #0f172a;

  /* Text */
  --heading:      #0f172a;
  --text:         #1e293b;
  --muted:        #64748b;
  --faint:        #94a3b8;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(15,23,42,.05);
  --shadow-sm:  0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.05);
  --shadow-md:  0 4px 16px rgba(15,23,42,.1),  0 2px 4px rgba(15,23,42,.06);
  --shadow-lg:  0 12px 40px rgba(15,23,42,.12), 0 4px 8px rgba(15,23,42,.06);
  --shadow-teal:0 6px 24px rgba(13,148,136,.3);

  --radius:    16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { text-decoration: none; color: var(--teal); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }

/* ── Containers ── */
.container         { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px;  margin: 0 auto; padding: 0 28px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 9px; font-size: 15px;
  font-weight: 600; cursor: pointer; transition: all .18s ease;
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-teal {
  background: var(--teal); color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
  background: var(--teal-dark); transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(13,148,136,.4); color: #fff;
}

/* Ghost on dark */
.btn-ghost-dark {
  background: rgba(255,255,255,.06); color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff;
}

/* Ghost on light */
.btn-ghost-light {
  background: var(--bg); color: var(--teal);
  border: 1.5px solid var(--border-mid);
  box-shadow: var(--shadow-xs);
}
.btn-ghost-light:hover {
  border-color: var(--teal); background: var(--teal-pale);
}

.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 10px; }

/* ── Section label ── */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.section-label--dark { color: var(--teal-lt); }

/* ── Page Hero (shared dark banner for inner pages) ── */
.page-hero {
  background: var(--hero-bg);
  padding: 72px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(13,148,136,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px); color: #fff;
  letter-spacing: -1px; position: relative; z-index: 1;
}
.page-hero p {
  color: var(--hero-muted); font-size: 17px;
  max-width: 500px; margin: 12px auto 0;
  position: relative; z-index: 1;
}

/* ── SVG Icon system ── */
.ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ico-xs { width: 13px; height: 13px; stroke-width: 2.5; }
.ico-sm { width: 16px; height: 16px; stroke-width: 2.5; }
.ico-md { width: 20px; height: 20px; stroke-width: 2; }
.ico-xl { width: 28px; height: 28px; stroke-width: 1.8; }

/* ── NAV ── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hero-border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: #fff;
  text-decoration: none;
}
.nav-logo:hover { color: #fff; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { color: var(--hero-muted); font-size: 14px; font-weight: 500; transition: color .15s; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-links .current-menu-item a,
.nav-links .current_page_item a { color: #fff; }
/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); right: 0;
  background: rgba(15,23,42,.97); border: 1px solid var(--hero-border);
  border-radius: 8px; padding: 8px 0; min-width: 180px;
  list-style: none; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.nav-dropdown-menu li a {
  display: block; padding: 8px 18px; font-size: 13px;
  color: var(--hero-muted); text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu li a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Mobile hamburger */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: #e2e8f0;
}
.nav-hamburger svg { display: block; }

/* ── FOOTER ── */
footer.site-footer {
  border-top: 1px solid var(--hero-border);
  padding: 32px 0;
  background: var(--hero-bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-logo {
  font-weight: 800; font-size: 17px; color: #fff;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.footer-logo:hover { color: #fff; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--hero-muted); transition: color .15s; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; width: 100%; }
.footer-legal a { font-size: 12px; color: rgba(148,163,184,.5); transition: color .15s; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(148,163,184,.4); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.nav-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(15,23,42,.98); padding: 20px 28px;
    border-bottom: 1px solid var(--hero-border);
    gap: 16px;
  }
  .nav-cta .btn { font-size: 13px; padding: 8px 14px; }
  .nav-dropdown-menu { position: static; background: none; border: none; box-shadow: none; padding: 4px 0 0 16px; min-width: 0; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu li a { padding: 6px 0; }
}

@media print {
  nav.site-nav,
  footer.site-footer,
  .nav-hamburger,
  .hero-wave,
  .btn,
  .final-cta { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .page-hero { background: #fff; padding: 20px 0; }
  .page-hero h1 { color: #000; }
  .container, .container--narrow { max-width: 100%; padding: 0 20px; }
}
