/*
Theme Name: Hersaz Technologies
Theme URI: https://www.hersaz.com
Author: Hersaz Technologies LLC
Author URI: https://www.hersaz.com
Description: Custom theme for Hersaz Technologies LLC — woman-owned technology consulting, professional services and IT staffing. On activation it creates all pages (Home, Services, IT Staffing, About, Partners, Supplier Information, Contact), the main menu and the static front page. Contact details, team photos and supplier IDs are editable in Appearance → Customize → Hersaz Settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary – Hersaz Technologies LLC
Text Domain: hersaz
*/

/* ---------- Brand tokens (from Hersaz Brand Guidelines v1.0) ---------- */
:root {
  --hz-blue: #0077db;
  --hz-navy: #003580;
  --hz-ink: #0b1b33;
  --hz-text: #3d4b5f;
  --hz-muted: #6b7a90;
  --hz-line: #e3eaf4;
  --hz-bg: #ffffff;
  --hz-tint: #f2f7fd;
  --hz-tint-2: #e6f0fb;
  --hz-radius: 18px;
  --hz-radius-sm: 12px;
  --hz-shadow: 0 10px 30px rgba(0, 53, 128, 0.08);
  --hz-shadow-lg: 0 20px 50px rgba(0, 53, 128, 0.14);
  --hz-max: 1200px;
  --hz-font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--hz-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--hz-text);
  background: var(--hz-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hz-blue); text-decoration: none; }
a:hover { color: var(--hz-navy); }
h1, h2, h3, h4 { color: var(--hz-ink); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.hz-accent { color: var(--hz-blue); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.hz-container { width: 100%; max-width: var(--hz-max); margin: 0 auto; padding: 0 24px; }
.hz-section { padding: 88px 0; }
.hz-section--tint { background: var(--hz-tint); }
.hz-section--tight { padding: 56px 0; }
.hz-center { text-align: center; }
.hz-lead { font-size: 1.1rem; color: var(--hz-text); max-width: 680px; }
.hz-center .hz-lead { margin-left: auto; margin-right: auto; }

/* Eyebrow label, as in the PSD ("CONNECT • INNOVATE • GROW") */
.hz-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hz-blue); margin-bottom: 18px;
}
.hz-eyebrow::after { content: ""; width: 64px; height: 1px; background: var(--hz-blue); opacity: .5; }
.hz-hero .hz-eyebrow { letter-spacing: .12em; line-height: 1.6; }
.hz-hero .hz-eyebrow::after { display: none; }
.hz-center .hz-eyebrow::before { content: ""; width: 64px; height: 1px; background: var(--hz-blue); opacity: .5; }

/* ---------- Buttons ---------- */
.hz-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid var(--hz-blue); transition: all .2s ease; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.hz-btn svg { width: 18px; height: 18px; }
.hz-btn--primary { background: var(--hz-blue); color: #fff; }
.hz-btn--primary:hover { background: var(--hz-navy); border-color: var(--hz-navy); color: #fff; }
.hz-btn--ghost { background: transparent; color: var(--hz-blue); }
.hz-btn--ghost:hover { background: var(--hz-blue); color: #fff; }
.hz-btn--white { background: #fff; color: var(--hz-navy); border-color: #fff; }
.hz-btn--white:hover { background: transparent; color: #fff; }
.hz-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.hz-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227,234,244,.7);
}
.admin-bar .hz-header { top: 32px; }
.hz-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.hz-logo img { height: 46px; width: auto; }
.hz-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.hz-nav a {
  display: block; padding: 10px 12px; color: var(--hz-ink); font-weight: 500; font-size: .93rem; position: relative;
}
.hz-nav a:hover, .hz-nav .current-menu-item > a, .hz-nav .current_page_item > a { color: var(--hz-blue); }
.hz-nav .current-menu-item > a::after, .hz-nav .current_page_item > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--hz-blue); border-radius: 2px;
}
.hz-header__cta { flex-shrink: 0; }
.hz-menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--hz-ink); }
.hz-menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero (home) ---------- */
.hz-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 10% 0%, #ffffff 0%, rgba(255,255,255,0) 60%),
              linear-gradient(180deg, #eef5fd 0%, #f6faff 70%, #ffffff 100%);
  padding: 70px 0 150px;
}
.hz-hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,119,219,.12), rgba(0,119,219,0) 65%);
}
.hz-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hz-hero h1 { margin-bottom: 22px; }
.hz-hero p.hz-lead { margin-bottom: 30px; }
.hz-hero__media {
  position: relative; border-radius: 220px 28px 28px 28px; overflow: hidden; box-shadow: var(--hz-shadow-lg);
  aspect-ratio: 596 / 400;
}
.hz-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hz-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,53,128,.25), rgba(0,53,128,0) 40%); }

/* Floating feature strip */
.hz-strip { position: relative; margin-top: -92px; z-index: 5; }
.hz-strip__card {
  background: #fff; border-radius: var(--hz-radius); box-shadow: var(--hz-shadow-lg);
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 26px 10px;
}
.hz-strip__item { text-align: center; padding: 6px 14px; border-right: 1px solid var(--hz-line); }
.hz-strip__item:last-child { border-right: 0; }
.hz-strip__item svg { width: 34px; height: 34px; color: var(--hz-blue); margin: 0 auto 10px; display: block; }
.hz-strip__item strong { display: block; color: var(--hz-ink); font-size: .95rem; font-weight: 600; }
.hz-strip__item span { font-size: .82rem; color: var(--hz-muted); }

/* ---------- Page hero (inner pages) ---------- */
.hz-page-hero {
  background: linear-gradient(180deg, #eef5fd 0%, #ffffff 100%);
  padding: 72px 0 56px; position: relative; overflow: hidden;
}
.hz-page-hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,119,219,.14), rgba(0,119,219,0) 65%);
}
.hz-page-hero .hz-container { position: relative; }
.hz-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 820px; }
.hz-page-hero .hz-lead { margin-bottom: 0; }

/* ---------- About teaser (home) ---------- */
.hz-about { display: grid; grid-template-columns: 1fr 1.1fr .55fr; gap: 48px; align-items: center; }
.hz-about__visual {
  border-radius: var(--hz-radius); min-height: 330px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--hz-navy) 0%, var(--hz-blue) 100%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--hz-shadow);
}
.hz-about__visual img { width: 46%; position: relative; z-index: 2; }
.hz-about__visual::before, .hz-about__visual::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
}
.hz-about__visual::before { width: 380px; height: 380px; }
.hz-about__visual::after { width: 250px; height: 250px; }
.hz-facts { border-left: 1px solid var(--hz-line); padding-left: 30px; }
.hz-fact { margin-bottom: 22px; }
.hz-fact:last-child { margin-bottom: 0; }
.hz-fact strong { display: block; font-size: 2.3rem; line-height: 1.1; color: var(--hz-blue); font-weight: 700; }
.hz-fact span { font-size: .88rem; color: var(--hz-ink); }

/* ---------- Cards ---------- */
.hz-grid { display: grid; gap: 24px; }
.hz-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hz-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hz-card {
  background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius); padding: 32px 28px;
  box-shadow: 0 2px 0 rgba(0,0,0,0); transition: all .25s ease; height: 100%;
}
.hz-card:hover { box-shadow: var(--hz-shadow); transform: translateY(-3px); border-color: #cfe0f5; }
.hz-card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--hz-tint-2); color: var(--hz-blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.hz-card__icon svg { width: 28px; height: 28px; }
.hz-card h3 { margin-bottom: 10px; }
.hz-card p { font-size: .95rem; }
.hz-card__link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.hz-card__link svg { width: 16px; height: 16px; }
.hz-section-head { margin-bottom: 46px; }

/* Steps */
.hz-steps { counter-reset: step; }
.hz-step { position: relative; padding-top: 8px; }
.hz-step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--hz-blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(0,119,219,.3);
}
.hz-step h3 { font-size: 1.08rem; }
.hz-step p { font-size: .93rem; margin: 0; }

/* Check list */
.hz-checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.hz-checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.hz-checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--hz-tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077db' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Chips */
.hz-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hz-chip { padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--hz-line); font-weight: 600; font-size: .9rem; color: var(--hz-ink); }

/* Split feature rows (services page) */
.hz-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hz-split + .hz-split { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--hz-line); }
.hz-split__label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hz-split__label .hz-card__icon { margin: 0; }
.hz-panel { background: var(--hz-tint); border-radius: var(--hz-radius); padding: 30px; }
.hz-panel h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hz-blue); margin-bottom: 14px; }

/* Team */
.hz-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.hz-person { text-align: center; }
.hz-person__photo {
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  background: linear-gradient(140deg, var(--hz-navy), var(--hz-blue)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 700; box-shadow: var(--hz-shadow);
}
.hz-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.hz-person__role { color: var(--hz-blue); font-weight: 600; font-size: .9rem; margin-bottom: 12px; display: block; }
.hz-person p { font-size: .93rem; text-align: left; }

/* Supplier table */
.hz-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--hz-radius); overflow: hidden; box-shadow: var(--hz-shadow); }
.hz-table th, .hz-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hz-line); font-size: .95rem; }
.hz-table th { width: 34%; color: var(--hz-ink); font-weight: 600; background: var(--hz-tint); }
.hz-table tr:last-child th, .hz-table tr:last-child td { border-bottom: 0; }
.hz-table ul { margin: 0; padding-left: 1.1em; }

/* Woman-owned badge */
.hz-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: var(--hz-tint-2); color: var(--hz-navy); font-weight: 600; font-size: .85rem;
}
.hz-badge svg { width: 18px; height: 18px; color: var(--hz-blue); }

/* CTA band */
.hz-cta {
  background: linear-gradient(120deg, var(--hz-navy) 0%, var(--hz-blue) 100%);
  border-radius: 26px; padding: 56px; color: #dbe9fb; display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.hz-cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.hz-cta h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.hz-cta p { margin: 0; }

/* ---------- Forms ---------- */
.hz-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hz-form .hz-full { grid-column: 1 / -1; }
.hz-form label { display: block; font-weight: 600; font-size: .88rem; color: var(--hz-ink); margin-bottom: 6px; }
.hz-form input, .hz-form select, .hz-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #cfdbea; border-radius: 12px; font: inherit; font-size: .95rem; color: var(--hz-ink); background: #fff;
}
.hz-form input:focus, .hz-form select:focus, .hz-form textarea:focus { outline: none; border-color: var(--hz-blue); box-shadow: 0 0 0 4px rgba(0,119,219,.12); }
.hz-form textarea { min-height: 150px; resize: vertical; }
.hz-hp { position: absolute; left: -9999px; }
.hz-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.hz-notice--ok { background: #e8f6ee; color: #146c3a; }
.hz-notice--err { background: #fdecec; color: #9b1c1c; }
.hz-contact { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.hz-contact__info .hz-card { padding: 28px; }
.hz-info-row { display: flex; gap: 14px; margin-bottom: 18px; }
.hz-info-row svg { width: 22px; height: 22px; color: var(--hz-blue); flex-shrink: 0; margin-top: 3px; }
.hz-info-row strong { display: block; color: var(--hz-ink); font-size: .9rem; }

/* Generic page content */
.hz-content { max-width: 820px; }
.hz-content h2 { margin-top: 1.4em; font-size: 1.6rem; }

/* ---------- Footer ---------- */
.hz-footer { background: #061a3a; color: #a9bbd6; padding: 72px 0 0; font-size: .93rem; }
.hz-footer a { color: #cfdcef; }
.hz-footer a:hover { color: #fff; }
.hz-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.hz-footer__logo img { height: 44px; width: auto; margin-bottom: 18px; }
.hz-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.hz-footer ul { list-style: none; padding: 0; margin: 0; }
.hz-footer li { margin-bottom: 9px; }
.hz-footer__tagline { color: #fff; font-weight: 600; margin-top: 6px; }
.hz-footer .hz-badge { background: rgba(255,255,255,.08); color: #fff; margin-top: 8px; }
.hz-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hz-nav, .hz-header__cta { display: none; }
  .hz-menu-toggle { display: block; }
  .hz-header.is-open .hz-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--hz-line); box-shadow: var(--hz-shadow);
  }
  .hz-header.is-open .hz-nav ul { flex-direction: column; padding: 12px 24px 20px; gap: 0; }
  .hz-header.is-open .hz-nav a { padding: 12px 0; border-bottom: 1px solid var(--hz-line); }
  .hz-header.is-open .hz-nav .current-menu-item > a::after { display: none; }
  .hz-about { grid-template-columns: 1fr 1fr; }
  .hz-facts { grid-column: 1 / -1; border-left: 0; padding-left: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hz-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hz-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hz-section { padding: 64px 0; }
  .hz-hero { padding: 48px 0 130px; }
  .hz-hero__grid, .hz-split, .hz-contact, .hz-about { grid-template-columns: 1fr; }
  .hz-hero__media { border-radius: 120px 24px 24px 24px; }
  .hz-strip__card { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hz-strip__item { border-right: 0; }
  .hz-strip__item:last-child { grid-column: 1 / -1; }
  .hz-grid--2, .hz-grid--3 { grid-template-columns: 1fr; }
  .hz-cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .hz-form { grid-template-columns: 1fr; }
  .hz-split + .hz-split { margin-top: 48px; padding-top: 48px; }
}
@media (max-width: 560px) {
  .hz-grid--4, .hz-footer__grid { grid-template-columns: 1fr; }
  .hz-facts { grid-template-columns: 1fr; }
  .hz-logo img { height: 38px; }
  .hz-table th, .hz-table td { display: block; width: 100%; }
  .hz-table th { border-bottom: 0; padding-bottom: 4px; }
  .admin-bar .hz-header { top: 0; }
}
