/* ===== VARIABLES ===== */
:root {
  --navy:       #1B2A3B;
  --navy-mid:   #253447;
  --navy-light: #2E4057;
  --amber:      #D97706;
  --amber-lt:   #F59E0B;
  --cream:      #F9FAFB;
  --gray:       #E5E7EB;
  --gray-mid:   #9CA3AF;
  --text:       #111827;
  --text-mid:   #4B5563;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --ease:       all 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: 'Inter', sans-serif; cursor: pointer; }
section[id] { scroll-margin-top: 80px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--ease);
}
.btn-amber { background: var(--amber); color: white; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-lt); border-color: var(--amber-lt); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.btn-navy { background: var(--navy); color: white; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-full { width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.section-sub {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
}
.text-amber { color: var(--amber); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-sub { margin: 0 auto; }

/* ===== DEMO BAR ===== */
.demo-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.95);
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.85rem 1.5rem;
  z-index: 9999;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.demo-bar a { color: var(--amber-lt); font-weight: 600; }
.demo-bar a:hover { color: white; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.9rem 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--amber);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.logo-text strong {
  display: block;
  font-weight: 700;
  color: var(--amber-lt);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber-lt); }
.nav-cta { padding: 0.55rem 1.2rem; font-size: 0.78rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--ease);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-close:hover { color: white; }
.mobile-link {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--amber-lt); }
.mobile-cta { margin-top: 0.5rem; padding: 0.9rem 2.5rem; font-size: 0.95rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #1B2A3B 0%, #2E4057 45%, #1a3229 100%);
  /* Swap for: background-image: url('images/hero.jpg'); background-size: cover; background-position: center; */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,22,0.85) 0%, rgba(10,15,22,0.35) 70%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 5rem;
}
.hero-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-lt);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 1.8rem;
}
.hero-accent {
  display: block;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== SERVICES ===== */
.services-section { padding: 7rem 2rem; background: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: var(--cream);
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: var(--ease);
}
.service-card:hover {
  border-color: var(--amber);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.service-name {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.72;
}

/* ===== STATS BAR ===== */
.stats-bar { background: var(--navy); padding: 4rem 2rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ===== ABOUT ===== */
.about-section { padding: 7rem 2rem; background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  /* Swap for: <img src="images/josh.jpg" alt="Josh Frontman"> */
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 108px;
  height: 108px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-lg);
}
.badge-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-lbl {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-top: 0.2rem;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 1.2rem;
}
.about-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 2rem 0 2.5rem;
}
.cred {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.cred-icon {
  width: 20px;
  height: 20px;
  background: var(--amber);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== WORK ===== */
.work-section { padding: 7rem 2rem; background: white; }
.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-img { width: 100%; height: 220px; }
.work-card.large .work-img { height: 300px; }
.work-info { padding: 1.2rem 1.4rem; background: white; }
.work-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
}
.work-info p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 7rem 2rem; background: var(--navy); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 2rem;
}
.stars { color: var(--amber-lt); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 38px;
  height: 38px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.85rem; color: white; }
.testimonial-author span { font-size: 0.75rem; color: var(--gray-mid); }

/* ===== CONTACT ===== */
.contact-section { padding: 7rem 2rem 8rem; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}
.contact-info p {
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; }
.contact-item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-item a, .contact-item span { font-size: 0.9rem; color: var(--text-mid); }
.contact-item a:hover { color: var(--amber); }
.contact-form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--amber); }
.form-group textarea { height: 120px; resize: vertical; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success.show { display: block; }
.success-icon {
  width: 58px;
  height: 58px;
  background: var(--amber);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}
.form-success h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.6rem; }
.form-success p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 3rem 2rem 4rem; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-name {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-tagline { display: block; font-size: 0.7rem; color: var(--gray-mid); letter-spacing: 0.1em; margin-top: 0.1rem; }
.footer-links { display: flex; list-style: none; gap: 2rem; }
.footer-links a {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber-lt); }
.footer-contact-col { display: flex; flex-direction: column; gap: 0.4rem; text-align: right; }
.footer-contact-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-col a:hover { color: var(--amber-lt); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: var(--amber); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card.large .work-img { height: 220px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .about-grid { gap: 4rem; }
  .contact-grid { gap: 4rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .services-section,
  .about-section,
  .work-section,
  .testimonials-section,
  .contact-section { padding: 5rem 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-contact-col { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .about-creds { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
