/* ===========================
   SALVA AGENTS — Global Styles
   Colors: Hague Blue & Gold
   =========================== */

:root {
  --hague: #1C3D4F;
  --hague-dark: #112530;
  --hague-mid: #2A5468;
  --gold: #C49A2A;
  --gold-light: #D9B44A;
  --gold-pale: #F5E9CC;
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --gray-light: #EBEBEB;
  --gray-mid: #9A9A9A;
  --text-dark: #0A0A0A;
  --text-mid: #444444;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --max-w: 1160px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(17,37,48,0.14);
  --shadow-card: 0 2px 16px rgba(17,37,48,0.08);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--hague-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-mid); }

/* UTILITY */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--dark { background: var(--hague-dark); }
.section--blue { background: var(--hague); }
.section--off { background: var(--off-white); }
.section--gold { background: var(--gold-pale); }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--hague); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hague-dark);
  border-bottom: 2px solid var(--gold);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar__logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar__logo span { color: var(--gold); }
.navbar__nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.navbar__nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.navbar__nav a:hover { color: var(--gold-light); }
.navbar__cta { margin-left: 16px; }

/* Hamburger */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
.navbar__menu { display: flex; align-items: center; }

/* Mobile nav */
@media (max-width: 768px) {
  .navbar__toggle { display: flex; }
  .navbar__menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--hague-dark);
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 2px solid var(--gold);
  }
  .navbar__menu.open { display: flex; }
  .navbar__nav { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .navbar__nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .navbar__nav a { display: block; padding: 14px 0; font-size: 1rem; }
  .navbar__cta { margin: 16px 0 0; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #112530 0%, #1C3D4F 60%, #2A5468 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(196,154,42,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(196,154,42,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.15rem; margin-bottom: 36px; max-width: 580px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gold);
  padding: 20px 0;
}
.stats-bar__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item__number { font-size: 1.8rem; font-weight: 800; font-family: var(--font-head); display: block; }
.stat-item__label { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

/* ===== PAIN POINTS / CHALLENGES ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid var(--gold);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card__icon { font-size: 2rem; margin-bottom: 14px; }
.pain-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.pain-card p { font-size: 0.93rem; }

/* ===== HOW IT WORKS ===== */
.steps { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 220px;
  text-align: center;
  position: relative;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 32px;
  font-size: 1.5rem;
  color: var(--gold);
}
.step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-head);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.93rem; }

/* ===== FEATURES / WHY US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 52px;
}
.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,154,42,0.25);
  border-radius: var(--radius);
  padding: 36px 30px;
  color: var(--white);
}
.feature-card__icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { color: var(--gold-light); margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* ===== AI BADGE ===== */
.ai-section { background: var(--gold-pale); }
.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ai-badge {
  background: var(--hague-dark);
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
  color: var(--white);
}
.ai-badge__icon { font-size: 4rem; margin-bottom: 16px; }
.ai-badge h3 { color: var(--gold-light); font-size: 1.6rem; margin-bottom: 10px; }
.ai-badge p { color: rgba(255,255,255,0.78); }
.ai-list { list-style: none; margin-top: 24px; }
.ai-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-list li::before { content: '✦'; color: var(--gold); font-size: 0.7rem; }
.ai-text h2 { margin-bottom: 16px; }
.ai-text p { margin-bottom: 16px; font-size: 1.02rem; }
.ai-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.ai-pillar {
  background: var(--hague);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--gold);
}
.testimonial-card__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.97rem; font-style: italic; color: var(--text-mid); margin-bottom: 20px; }
.testimonial-card__author { font-weight: 700; font-size: 0.9rem; color: var(--hague); }
.testimonial-card__role { font-size: 0.82rem; color: var(--gray-mid); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(90deg, #112530 0%, #2A5468 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.80); font-size: 1.05rem; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--hague-dark) 0%, var(--hague) 100%);
  padding: 72px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 600px; margin: 16px auto 0; }

/* ===== SERVICES PAGE ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 10px; color: var(--hague); }
.service-card ul { list-style: none; margin-top: 12px; }
.service-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--gray-light);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; }

/* ===== ABOUT PAGE ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 52px;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--hague) 0%, var(--hague-mid) 100%);
  border-radius: 12px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--off-white);
}
.value-card__icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { color: var(--hague); margin-bottom: 6px; font-size: 1rem; }
.value-card p { font-size: 0.88rem; }

/* ===== CAREERS PAGE ===== */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
  flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow); }
.job-card__info h3 { color: var(--hague); margin-bottom: 6px; }
.job-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  background: var(--gold-pale);
  color: var(--hague);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ===== FAQ PAGE ===== */
.faq-list { margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 24px 0;
}
.faq-item__q {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hague);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  display: none;
  margin-top: 12px;
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.open .faq-item__a { display: block; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-top: 52px;
  align-items: start;
}
.contact-info h3 { color: var(--hague); margin-bottom: 12px; }
.contact-info p, .contact-info a { font-size: 0.97rem; color: var(--text-mid); }
.contact-info a:hover { color: var(--gold); }
.contact-block { margin-bottom: 32px; }
.contact-block__icon { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form { background: var(--off-white); border-radius: var(--radius); padding: 40px 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hague);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #DDD;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--hague-dark);
  padding: 60px 0 0;
  border-top: 3px solid var(--gold);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.7;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}
.footer__logo span { color: var(--gold); }
.footer__heading {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold-light); }
.footer__contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.footer__contact a { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  color: rgba(255,255,255,0.40);
  font-size: 0.82rem;
}
.footer__socials { display: flex; gap: 16px; }
.footer__socials a {
  color: rgba(255,255,255,0.50);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer__socials a:hover { color: var(--gold-light); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .ai-inner, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .steps { flex-direction: column; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
