/* Steps Ahead Global Contact Solutions Inc. — Corporate Website */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f2240;
  --navy-700: #163058;
  --navy-600: #1e3d6e;
  --teal-500: #0d9488;
  --teal-400: #14b8a6;
  --teal-300: #5eead4;
  --gold-400: #d4a853;
  --gold-300: #e8c97a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --white: #ffffff;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --header-h: 72px;
  --topbar-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

.container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── Top bar ── */
.top-bar {
  background: var(--navy-900);
  color: var(--slate-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 110;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: var(--topbar-h);
  padding-block: 8px;
}

.top-bar__company {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-bar__address {
  text-align: right;
  line-height: 1.4;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 10px;
  letter-spacing: -0.02em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
}

.logo__tagline {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}

.nav a:hover { color: var(--teal-500); }

.nav__cta {
  background: var(--navy-800);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s !important;
}

.nav__cta:hover { background: var(--teal-500) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--teal-500);
  color: var(--white);
}

.btn--primary:hover { background: var(--teal-400); }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-300);
}

.btn--ghost:hover {
  border-color: var(--teal-500);
  color: var(--teal-500);
}

.btn--full { width: 100%; }

/* ── Typography helpers ── */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-500);
  margin-bottom: 12px;
}

.eyebrow--light { color: var(--teal-300); }

h1, h2, h3 {
  color: var(--navy-900);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-500);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(13, 148, 136, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(15, 34, 64, 0.05), transparent),
    var(--slate-50);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}

.hero__stats dt {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-800);
}

.hero__stats dd {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.hero__card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero__card--1 {
  top: 0;
  left: 0;
  width: 200px;
}

.hero__card--2 {
  top: 60px;
  right: 0;
  width: 240px;
}

.hero__card--3 {
  bottom: 0;
  left: 60px;
  width: 220px;
}

.hero__card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.hero__card-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
}

.hero__card-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 4px;
}

.hero__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: 8px;
}

.hero__bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--teal-400), var(--teal-500));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

/* ── Trust strip ── */
.trust-strip {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
}

.trust-strip p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 16px;
}

.trust-strip__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.trust-strip__tags li {
  padding: 6px 16px;
  background: var(--slate-100);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
}

/* ── Sections ── */
.section {
  padding: 96px 0;
}

.section--alt { background: var(--slate-50); }

.section--dark {
  background: var(--navy-900);
  color: var(--slate-300);
}

.section--dark h2 { color: var(--white); }

.section__header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
}

.section__header p:last-child {
  font-size: 1.0625rem;
  color: var(--slate-500);
}

.section--dark .section__header p:last-child { color: var(--slate-400); }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card--featured {
  background: var(--navy-800);
  border-color: var(--navy-700);
  color: var(--slate-300);
  grid-row: span 2;
}

.service-card--featured h3 { color: var(--white); }

.service-card--featured .service-card__icon {
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-300);
}

.service-card--featured ul { color: var(--slate-400); }

.service-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-500);
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-card__icon svg { width: 24px; height: 24px; }

.service-card p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: 16px;
}

.service-card--featured p { color: var(--slate-400); }

.service-card ul {
  list-style: none;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.service-card ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--teal-500);
  border-radius: 50%;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid__content p {
  margin-bottom: 16px;
  color: var(--slate-600);
}

.about-grid__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.about-panel--dark {
  background: var(--navy-800);
  border-color: var(--navy-700);
  color: var(--slate-300);
}

.about-panel__number {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1;
}

.about-panel__label {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--slate-600);
}

.about-panel blockquote {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--slate-200);
}

.check-list {
  list-style: none;
  margin-top: 24px;
}

.check-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-200);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-weight: 700;
}

/* ── Process ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  counter-reset: none;
}

.process-steps li {
  position: relative;
  padding-top: 8px;
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -16px;
  width: calc(100% - 60px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--slate-200));
  transform: translateX(100%);
  opacity: 0.5;
}

.process-steps__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-200);
  line-height: 1;
  margin-bottom: 16px;
}

.process-steps h3 { margin-bottom: 8px; }

.process-steps p {
  font-size: 0.9375rem;
  color: var(--slate-500);
}

/* ── Why us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-item {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.why-item h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.9375rem;
  color: var(--slate-400);
}

/* ── Testimonial ── */
.testimonial-section { padding: 72px 0; }

.testimonial {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--navy-800);
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9375rem;
  color: var(--slate-500);
}

.testimonial figcaption strong { color: var(--navy-800); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-grid__info p {
  color: var(--slate-600);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details__item h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-500);
  margin-bottom: 6px;
}

.contact-details__item p {
  font-size: 0.9375rem;
  color: var(--slate-700);
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-row textarea { resize: vertical; min-height: 100px; }

.form-note {
  margin-top: 12px;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25em;
}

.form-note--success { color: var(--teal-500); }

.form-note--error { color: #dc2626; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-400);
  padding: 48px 0 32px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.site-footer__brand .logo__name {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.site-footer__brand address {
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav a {
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.site-footer__nav a:hover { color: var(--teal-300); }

.site-footer__copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

/* ── Mobile nav open state ── */
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero__visual { min-height: 300px; max-width: 400px; margin-inline: auto; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .service-card--featured { grid-row: auto; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .process-steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .top-bar__inner { flex-direction: column; align-items: flex-start; }

  .top-bar__address { text-align: left; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--slate-200);
  }

  .nav-open .nav { transform: translateX(0); }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--slate-100);
    font-size: 1.0625rem;
  }

  .nav__cta {
    margin-top: 16px;
    text-align: center;
  }

  .hero { padding: 48px 0; }

  .hero__stats { flex-direction: column; gap: 20px; }

  .services-grid,
  .why-grid,
  .process-steps { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .site-footer__inner { grid-template-columns: 1fr; }

  .hero__card--2 { right: 10px; }
  .hero__card--3 { left: 20px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }

  .hero__actions { flex-direction: column; }

  .hero__actions .btn { width: 100%; }

  .contact-form { padding: 24px; }
}
