/* ===== Custom Properties ===== */
:root {
  --color-primary:    #B7502A;
  --color-secondary:  #D97757;
  --color-background: #FDF1EF;
  --color-text-dark:  #1A1A1A;
  --color-text-light: #6B6B6B;
  --color-white:      #FFFFFF;
  --color-overlay:    #8C3A1Ecc;
  --font-heading: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius-card:   12px;
  --radius-button: 6px;
  --shadow-card: 0 4px 24px rgba(183, 80, 42, 0.08);
  --transition:  all 0.25s ease-in-out;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 600; }
h3 { font-size: 24px; font-weight: 600; }

/* ===== Accessibility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--color-text-light);
  margin-top: 16px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
}

/* ===== Navigation ===== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  transition: var(--transition);
}

#main-nav.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  max-height: 36px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  transition: var(--transition);
  position: relative;
}

#main-nav.scrolled .nav-links a {
  color: var(--color-text-dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-white);
  cursor: pointer;
}

#main-nav.scrolled .nav-hamburger {
  color: var(--color-text-dark);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-links {
  text-align: center;
}

.mobile-menu-links li {
  margin-bottom: 24px;
}

.mobile-menu-links a {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.mobile-menu-links a:hover {
  color: var(--color-primary);
}

/* ===== Showcase / Hero ===== */
.showcase {
  position: relative;
  min-height: 100vh;
  background-image: url('../assets/images/mars-hero.jpg');
  background-size: cover;
  background-position: revert-layer;
  display: flex;
  align-items: center;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-overlay) 0%,
    rgba(26, 26, 26, 0.75) 100%
  );
}

.showcase-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 40px;
  color: var(--color-white);
}

.showcase-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 16px;
}

.showcase-headline {
  margin-bottom: 24px;
}

.highlight {
  color: var(--color-secondary);
}

.showcase-sub {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
}

.showcase-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Services ===== */
.services-section {
  padding: 96px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-top-color: var(--color-primary);
  transform: translateY(-4px);
}

.service-card--featured {
  background: var(--color-primary);
  color: var(--color-white);
  border-top-color: var(--color-secondary);
}

.service-card--featured:hover {
  border-top-color: var(--color-secondary);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}

.service-card--featured .service-tag {
  color: var(--color-secondary);
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.service-card--featured p {
  color: rgba(255, 255, 255, 0.85);
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--color-text-light);
}

.service-card--featured .service-features li {
  color: rgba(255, 255, 255, 0.85);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
}

/* ===== Workflow ===== */
.workflow-section {
  background: var(--color-background);
  padding: 96px 24px;
}

.workflow-steps {
  display: flex;
  flex-direction: row;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.workflow-step {
  flex: 1;
  padding: 0 32px;
  position: relative;
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

.step-connector {
  position: absolute;
  top: 24px;
  right: -1px;
  width: 100%;
  height: 2px;
  background: var(--color-secondary);
  opacity: 0.3;
}

.step-content h3 {
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.step-content p {
  color: var(--color-text-light);
  font-size: 16px;
}

.step-outcome {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
  padding-left: 10px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text-dark);
  color: var(--color-white);
  padding: 64px 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 15px;
}

.footer-brand img {
  max-height: 36px;
}

.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--color-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--color-white);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* ===== Privacy Page ===== */
.privacy-page {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.privacy-page h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.privacy-effective {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.privacy-page h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.privacy-page p {
  margin-bottom: 16px;
  color: var(--color-text-dark);
  line-height: 1.7;
}

.privacy-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.privacy-page ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.privacy-page a {
  color: var(--color-primary);
  transition: var(--transition);
}

.privacy-page a:hover {
  color: var(--color-secondary);
}

.privacy-page address {
  font-style: normal;
  background: var(--color-white);
  border-left: 3px solid var(--color-primary);
  padding: 16px 20px;
  margin: 16px 0;
  line-height: 1.8;
  border-radius: 0 var(--radius-button) var(--radius-button) 0;
}

.privacy-copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-text-light);
  font-size: 14px;
}
