/* Aneta Staffing Solutions — design system
   Visual DNA: accent #ffcc00, Merriweather + Ubuntu, white shell,
   yellow CTAs, staffing-agency composition from the source site. */

:root {
  --anet-accent: #ffcc00;
  --anet-accent-dark: #e6b800;
  --anet-ink: #1f2424;
  --anet-muted: #656c6c;
  --anet-line: #ececec;
  --anet-surface: #ffffff;
  --anet-soft: #f7f7f5;
  --anet-dark: #111417;
  --anet-max: 1140px;
  --anet-radius: 2px;
  --anet-font-body: "Ubuntu", "Segoe UI", sans-serif;
  --anet-font-display: "Merriweather", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--anet-ink);
  background: var(--anet-surface);
  font-family: var(--anet-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--anet-ink);
  text-decoration: none;
}

a:hover {
  color: var(--anet-accent-dark);
}

h1, h2, h3, h4 {
  font-family: var(--anet-font-display);
  line-height: 1.25;
  font-weight: 700;
  color: var(--anet-ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.container {
  width: min(100% - 2rem, var(--anet-max));
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  background: var(--anet-surface);
  border-bottom: 1px solid var(--anet-line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.site-logo img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--anet-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--anet-ink);
  border-bottom-color: var(--anet-accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--anet-line);
  background: #fff;
  width: 44px;
  height: 40px;
  border-radius: var(--anet-radius);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--anet-ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border: 2px solid var(--anet-accent);
  border-radius: var(--anet-radius);
  background: var(--anet-accent);
  color: var(--anet-ink);
  font-family: var(--anet-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--anet-accent-dark);
  border-color: var(--anet-accent-dark);
  color: var(--anet-ink);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--ghost:hover {
  background: var(--anet-accent);
  border-color: var(--anet-accent);
  color: var(--anet-ink);
}

.btn--dark {
  background: var(--anet-dark);
  border-color: var(--anet-dark);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — brand-first, full-bleed */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(17, 20, 23, 0.88) 0%, rgba(17, 20, 23, 0.55) 55%, rgba(17, 20, 23, 0.35) 100%),
    url("/assets/img/hero-banner.jpg") center / cover no-repeat;
}

.hero__inner {
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  margin-bottom: 0.35em;
  letter-spacing: -0.02em;
}

.hero__tag {
  margin: 0 0 0.5rem;
  font-family: var(--anet-font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: var(--anet-accent);
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--soft {
  background: var(--anet-soft);
}

.section--dark {
  background: var(--anet-dark);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: #fff;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--anet-accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.section__lead {
  color: var(--anet-muted);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.75);
}

/* About split */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-grid__media img {
  width: 100%;
  object-fit: cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-block {
  background: #fff;
  border: 1px solid var(--anet-line);
  border-top: 4px solid var(--anet-accent);
  padding: 1.4rem 1.35rem 1.5rem;
}

.service-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-block ul {
  color: var(--anet-muted);
  margin-bottom: 1.25rem;
}

.service-block li {
  margin-bottom: 0.3rem;
}

/* Values / stats — keep original metric focus */
.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value-item {
  text-align: left;
  padding: 0.5rem 0.25rem;
}

.value-item__score {
  font-family: var(--anet-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--anet-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.value-item__label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Jobs embed */
.jobs-panel {
  background: #fff;
  border: 1px solid var(--anet-line);
  padding: 1rem 1.25rem 1.5rem;
}

.jobs-panel .embed_jobs_with_style .rec-job-info a {
  color: var(--anet-accent-dark);
  font-size: 1.25rem;
}

/* Meeting CTA */
.meeting-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.meeting-bar h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

/* Page header (inner pages / articles / catalog) */
.page-header {
  padding: 2.5rem 0 1.25rem;
  border-bottom: 1px solid var(--anet-line);
  margin-bottom: 1.75rem;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.page-header p {
  margin: 0.65rem 0 0;
  color: var(--anet-muted);
  max-width: 42rem;
}

/* Article / catalog content */
.romlicontainer {
  width: 100%;
  max-width: min(48rem, 100%);
  margin: 0 auto 2.5rem;
  font-size: 1.02rem;
  overflow-x: clip;
}

.romlicontainer > *:first-child {
  margin-top: 0;
}

.romlicontainer h2,
.romlicontainer h3 {
  margin-top: 1.6em;
}

.romlicontainer a {
  color: #b38600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.romlicontainer img {
  margin: 1rem 0;
}

/* Only the table scrolls sideways on narrow screens — not the whole page */
.romlicontainer .table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  overscroll-behavior-x: contain;
}

.romlicontainer .table-scroll table {
  margin: 0;
  width: max-content;
  min-width: 100%;
  max-width: none;
}

.romlicontainer table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95em;
}

.romlicontainer th,
.romlicontainer td {
  border: 1px solid #ddd;
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.romlicontainer th {
  background: var(--anet-soft);
  font-weight: 700;
}

@media (min-width: 761px) {
  .romlicontainer th,
  .romlicontainer td {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.catalog-shell {
  padding-bottom: 3rem;
}

/* Footer */
.site-footer {
  background: #0f1214;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.75rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--anet-accent);
}

.site-footer .footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 0.75rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--anet-accent);
}

.footer-phone {
  font-family: var(--anet-font-display);
  font-size: 1.35rem;
  color: var(--anet-accent);
  margin: 0;
}

.sitewide-slot {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.site-copy {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Links block on home */
.links-slot {
  padding: 1.5rem 0 0.5rem;
}

/* Forms */
.anet-form {
  max-width: 40rem;
  display: grid;
  gap: 1rem;
}

.anet-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--anet-ink);
}

.anet-form input,
.anet-form select,
.anet-form textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: var(--anet-radius);
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}

.anet-form textarea {
  min-height: 140px;
  resize: vertical;
}

.anet-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.anet-form .form-note {
  color: var(--anet-muted);
  font-size: 0.92rem;
}

.iframe-frame {
  border: 1px solid var(--anet-line);
  background: #fff;
  min-height: 850px;
}

.iframe-frame iframe {
  width: 100%;
  height: 850px;
  border: 0;
  display: block;
}

.article-list {
  display: grid;
  gap: 1.25rem;
}

.article-list a {
  display: block;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--anet-line);
  border-left: 4px solid var(--anet-accent);
  background: #fff;
}

.article-list a:hover {
  border-color: var(--anet-accent);
}

.article-list strong {
  display: block;
  font-family: var(--anet-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--anet-ink);
}

.article-list span {
  color: var(--anet-muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .anet-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .services-grid,
  .values-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-strip {
    gap: 1.25rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 1rem;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .about-grid,
  .services-grid,
  .values-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
    align-items: center;
  }

  .hero__inner {
    padding: 3.5rem 0 2.75rem;
  }

  .meeting-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
