/* =============================================
   SUN VISION LLC — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --sun-gold:   #E8A045;
  --sun-amber:  #EDB96A;
  --sun-deep:   #C96F1A;
  --sun-glow:   #FDF4E7;
  --navy:       #0D1B2A;
  --navy-mid:   #1A2E45;
  --navy-light: #243B55;
  --white:      #FFFFFF;
  --gray-light: #F8F9FA;
  --gray-text:  #6B7280;
  --text-dark:  #111827;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--sun-amber); text-decoration: none; }
.topbar span { margin: 0 12px; }

/* ── NAVBAR ── */
nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span { color: var(--sun-gold); }
.logo-sub {
  font-size: 10px;
  color: var(--gray-text);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--sun-glow); color: var(--sun-deep); }
.nav-cta {
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-deep)) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(232,160,69,0.4) !important; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a3a5c 100%);
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,160,69,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--sun-amber); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero h1 .highlight {
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

/* ── MAIN HERO (homepage) ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a3a5c 100%);
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,201,72,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.sun-rays {
  position: absolute;
  right: 80px; top: 50%;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  opacity: 0.12;
}
.sun-rays svg { width: 100%; height: 100%; }
.hero-inner {
  max-width: 680px;
  margin-left: calc((100vw - 1200px) / 2);
  padding: 80px 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 1200px) { .hero-inner { margin-left: 0; } }
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 800;
  color: var(--sun-amber); line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-deep));
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(232,160,69,0.35);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,160,69,0.5); }
.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--sun-amber); color: var(--sun-amber); }

/* ── SECTION LAYOUT ── */
.section { padding: 90px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--sun-glow);
  color: var(--sun-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sun-gold), var(--sun-deep));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--sun-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: var(--gray-text); line-height: 1.7; margin-bottom: 20px; }
.service-link {
  color: var(--sun-deep);
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link:hover { gap: 10px; }

/* ── WHY US ── */
.why-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 90px 32px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.why-text .section-title { color: white; }
.why-text .section-sub { color: rgba(255,255,255,0.7); }
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-check {
  width: 36px; height: 36px; min-width: 36px;
  background: rgba(232,160,69,0.15);
  border: 1px solid rgba(232,160,69,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sun-amber); font-size: 16px;
}
.why-item h4 { font-size: 16px; font-weight: 600; color: white; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s;
}
.why-card:hover { background: rgba(232,160,69,0.1); border-color: rgba(232,160,69,0.3); }
.why-card-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 800;
  color: var(--sun-amber); margin-bottom: 8px;
}
.why-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ── STAFFING CARDS ── */
.staffing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.staffing-card {
  background: var(--gray-light);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.staffing-card:hover { background: white; border-color: var(--sun-gold); box-shadow: 0 10px 40px rgba(232,160,69,0.12); transform: translateY(-3px); }
.staffing-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--sun-deep); letter-spacing: 1px; margin-bottom: 14px;
}
.staffing-card h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.staffing-card p { font-size: 14px; color: var(--gray-text); line-height: 1.65; }

/* ── CONTACT ── */
.contact-section { padding: 90px 32px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info h2 { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--gray-text); line-height: 1.7; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-ic {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--sun-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-item h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--gray-text); text-decoration: none; }
.contact-item a:hover { color: var(--sun-deep); }
.contact-form { background: var(--gray-light); border-radius: 20px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: white;
  color: var(--text-dark);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sun-gold); box-shadow: 0 0 0 3px rgba(232,160,69,0.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-deep));
  color: white; border: none;
  padding: 14px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all 0.2s;
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(232,160,69,0.4); }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 60px 32px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--sun-amber); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--sun-amber); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--sun-amber); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .why-grid      { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links     { display: none; }
  .section       { padding: 60px 20px; }
  .form-row      { grid-template-columns: 1fr; }
  .why-cards     { grid-template-columns: 1fr 1fr; }
  .topbar-inner  { justify-content: center; text-align: center; }
  .page-hero     { padding: 60px 20px; }
}
