/* ==========================================================================
   Cyrten Inc. — cyrten.com
   Reconstructed static site stylesheet
   Brand: navy #202058 / orange #F06020
   Vanilla CSS, Flexbox + Grid, mobile-first responsive. No frameworks.
   ========================================================================== */

:root {
  --navy: #27235D;
  --navy-dark: #1a1740;
  --orange: #F16723;
  --orange-dark: #d2531a;
  --ink: #1f2433;
  --body: #41475a;
  --muted: #6b7280;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --bg-navy: #202058;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(32, 32, 88, 0.08);
  --shadow-lg: 0 18px 50px rgba(32, 32, 88, 0.14);
  --maxw: 1140px;
  --font-head: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .2px;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(32,32,88,.05);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 12px 0;
}
.nav__logo img { height: 46px; width: auto; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
}
.nav__toggle span {
  display: block; height: 3px; width: 100%; background: var(--navy);
  border-radius: 3px; margin: 5px 0; transition: .25s;
}
.nav__menu { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.nav__menu a:hover, .nav__menu a.active { color: var(--orange); background: var(--bg-alt); }
.nav__phone {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  white-space: nowrap; padding-left: 6px;
}
.nav__phone:hover { color: var(--orange); }
.nav__cta { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2c2c74 60%, #343499 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: clamp(60px, 10vw, 120px) 0;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(240,96,32,.22), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: .8rem;
  color: var(--orange); margin-bottom: 14px;
}
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--bg-navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--navy .section__head p { color: rgba(255,255,255,.82); }
.eyebrow-c {
  display: block; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; font-size: .78rem;
  color: var(--orange); margin-bottom: 10px;
}

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__num {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: #fff; background: var(--orange); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; margin-bottom: 18px;
}
.card h3 { color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--body); margin: 0; }

/* ---------- Value / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.value-list { list-style: none; padding: 0; margin: 18px 0 0; }
.value-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.value-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  background: var(--orange); border-radius: 50%;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, #ff7a3d 100%);
  color: #fff; text-align: center; padding: clamp(48px, 7vw, 78px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 26px; color: rgba(255,255,255,.95); font-size: 1.12rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Recruit areas grid ---------- */
.areas {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px 26px;
  grid-template-columns: repeat(3, 1fr);
}
.areas li {
  position: relative; padding-left: 26px; color: var(--ink); font-weight: 500;
}
.areas li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; background: var(--orange); border-radius: 50%;
}
.areas li.more { color: var(--orange); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-block { margin-bottom: 22px; }
.info-block h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-block p { margin: 0; color: var(--body); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1px solid #d3d7e3; border-radius: 8px; background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,96,32,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #c0392b; font-size: .85rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.form__status { display: none; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.form__status.ok { display: block; background: #e7f7ee; color: #1d7a46; border: 1px solid #b6e6cb; }
.form__status.bad { display: block; background: #fdecea; color: #b03325; border: 1px solid #f5c3bc; }

/* ---------- Iframe (jobs) ---------- */
.jobs-frame { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background:#fff; }
.jobs-frame iframe { display: block; width: 100%; min-height: 800px; border: 0; }
.jobs-fallback { margin-top: 18px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c7c9e0; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .5px; margin-bottom: 14px; }
.site-footer a { color: #c7c9e0; }
.site-footer a:hover { color: var(--orange); }
.footer-logo { background:#fff; padding:12px 14px; border-radius:8px; display:inline-block; margin-bottom:16px; }
.footer-logo img { height: 40px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-contact p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .9rem; color: #9a9cc0; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }
.social { display: flex; gap: 12px; margin-top: 6px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.social a:hover { background: var(--orange); }
.social svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Page banner ---------- */
.page-banner { background: linear-gradient(135deg, var(--navy) 0%, #343499 100%); color: #fff; padding: clamp(50px, 8vw, 84px) 0; text-align: center; }
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 10px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__menu li { width: 100%; }
  .nav__menu a { display: block; padding: 12px 8px; border-radius: 6px; }
  .nav__phone, .nav__cta { display: none; }
  .nav__menu .nav__phone-m, .nav__menu .nav__cta-m { display: block; }
}
@media (min-width: 761px) {
  .nav__phone-m, .nav__cta-m { display: none; }
}
@media (max-width: 560px) {
  .cards, .areas, .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero__actions .btn, .cta-band .btn { width: 100%; }
}
