/* ============================================================
   APEX CONSULTING — Premium Business Consultancy Website
   style.css — Manrope font, light mode, corporate premium
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --navy: #0f2557;
  --navy-mid: #1a3f8f;
  --teal: #0e7490;
  --teal-light: #e0f5fa;
  --gold: #b45309;
  --gold-light: #fef3c7;
  --bg: #f7f8fc;
  --bg-alt: #ffffff;
  --charcoal: #1c1f2e;
  --body: #4a5068;
  --muted: #8691a8;
  --border: #e4e8f0;
  --card-shadow: 0 2px 20px rgba(15, 37, 87, 0.07);
  --card-shadow-hover: 0 8px 40px rgba(15, 37, 87, 0.13);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Manrope", sans-serif;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: var(--font);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.12s;
}
.reveal-delay-2 {
  transition-delay: 0.24s;
}
.reveal-delay-3 {
  transition-delay: 0.36s;
}

/* ============================================================
   SHARED SECTION ELEMENTS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-mid);
  background: rgba(26, 63, 143, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--body);
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy-mid) 0%, #0d2e70 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 63, 143, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 63, 143, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-mid);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--navy-mid);
  background: rgba(26, 63, 143, 0.04);
}

.btn-white {
  background: #fff;
  color: var(--navy-mid);
  box-shadow: 0 4px 20px rgba(15, 37, 87, 0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 37, 87, 0.2);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition:
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow:
    0 1px 0 var(--border),
    0 4px 20px rgba(15, 37, 87, 0.07);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1875rem;
  font-weight: 800;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo-text {
  color: var(--charcoal);
  text-transform: uppercase;
  font-weight: bolder;
}
.logo-accent {
  color: var(--navy-mid);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--body);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy-mid);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--navy-mid);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-mid), #0d2e70);
  padding: 10px 22px;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(26, 63, 143, 0.28);
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 63, 143, 0.38);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

/* Background decorative elements */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(26, 63, 143, 0.1) 0%,
    transparent 70%
  );
  top: -200px;
  right: -150px;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.08) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
}
.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(180, 83, 9, 0.06) 0%,
    transparent 70%
  );
  top: 40%;
  left: 30%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 63, 143, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 63, 143, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: rgba(26, 63, 143, 0.06);
  border: 1px solid rgba(26, 63, 143, 0.14);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.title-gradient {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--body);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-item strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}
.trust-item span {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 460px;
}
.visual-card {
  position: absolute;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 20px;
}
.card-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-12px);
  }
}
.card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.card-icon-wrap.gold {
  background: var(--gold-light);
  color: var(--gold);
}
.card-icon-wrap.blue {
  background: rgba(26, 63, 143, 0.1);
  color: var(--navy-mid);
}
.card-icon-wrap.teal {
  background: var(--teal-light);
  color: var(--teal);
}

.card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
}
.card-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
}
.card-value.small {
  font-size: 1.0625rem;
}

.card-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
  margin-top: 16px;
}
.bar {
  flex: 1;
  background: var(--border);
  border-radius: 3px;
  transition: var(--transition);
}
.bar.active {
  background: linear-gradient(to top, var(--navy-mid), var(--teal));
}

.card-secondary {
  width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.card-s1 {
  top: 10%;
  right: 0;
  animation: float2 5s ease-in-out infinite;
}
.card-s2 {
  bottom: 16%;
  right: 2%;
  animation: float2 7s ease-in-out infinite 1s;
}
@keyframes float2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(26, 63, 143, 0.12);
  top: 0;
  right: 20px;
}
.orb-2 {
  width: 120px;
  height: 120px;
  background: rgba(14, 116, 144, 0.1);
  bottom: 20px;
  left: 20px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 120px 0;
  background: var(--bg-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-mid), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  background: var(--bg-alt);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.service-cta-card:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--icon-color) 10%, transparent);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: rgba(26, 63, 143, 0.07);
  padding: 4px 10px;
  border-radius: 100px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-mid);
  transition: gap var(--transition);
}
.service-link:hover {
  gap: 10px;
}

/* CTA Service Card */
.service-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: none;
}
.service-cta-card::before {
  display: none;
}
.service-cta-card:hover {
  transform: translateY(-4px);
}
.service-title.light {
  color: #fff;
}
.service-desc.light {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 120px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  height: 420px;
}
.about-shape {
  position: absolute;
  border-radius: 24px;
}
.shape-1 {
  width: 280px;
  height: 340px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--teal) 100%);
  top: 0;
  left: 0;
  opacity: 0.9;
}
.shape-2 {
  width: 220px;
  height: 260px;
  background: linear-gradient(
    135deg,
    var(--gold-light),
    rgba(14, 116, 144, 0.15)
  );
  bottom: 0;
  right: 20px;
  border: 2px solid var(--border);
}

.about-inner-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 32px;
  box-shadow: 0 16px 50px rgba(15, 37, 87, 0.18);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 2;
}
.inner-stat {
  text-align: center;
}
.is-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}
.is-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.inner-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.about-badge-card {
  position: absolute;
  bottom: 20px;
  left: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--card-shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.about-badge-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
}
.about-badge-card span {
  font-size: 0.75rem;
  color: var(--muted);
}

.about-lead {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-body {
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-values {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--body);
  font-weight: 500;
}
.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  flex-shrink: 0;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  padding: 120px 0;
  background: var(--bg-alt);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.why-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  background: var(--bg-alt);
}
.why-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-mid);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.5;
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(26, 63, 143, 0.07);
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  color: #fff;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.4;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.7;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-mid) 60%,
    var(--teal) 100%
  );
}
.stats .container {
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  display: inline;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--teal-light);
}
.stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 120px 0;
  background: var(--bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.testi-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.testi-quote {
  margin-bottom: 20px;
}
.testi-text {
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 28px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  flex-shrink: 0;
}
.testi-info {
  flex: 1;
}
.testi-info strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--charcoal);
}
.testi-info span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.testi-stars {
  font-size: 0.875rem;
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: 120px 0;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-lead {
  font-size: 1.0625rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(26, 63, 143, 0.07);
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.detail-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--transition);
}
a.detail-value:hover {
  color: var(--navy-mid);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--bg-alt);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26, 63, 143, 0.1);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
}
.form-error {
  font-size: 0.8125rem;
  color: #ef4444;
  font-weight: 600;
  min-height: 18px;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group select {
  cursor: pointer;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #166534;
}
.form-success.show {
  display: flex;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
}
.footer-top {
  padding: 72px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-brand .nav-logo {
  margin-bottom: 4px;
}
.footer-brand .logo-text {
  color: #fff;
}
.footer-brand .logo-accent {
  color: rgba(255, 255, 255, 0.65);
}
.footer-brand .logo-mark {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: #fff;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.contact-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.4);
}
.contact-list a {
  color: rgba(255, 255, 255, 0.6);
}
.contact-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-links-row {
  display: flex;
  gap: 20px;
}
.footer-links-row a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}
.footer-links-row a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    gap: 48px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 28px;
    background: #fff;
    box-shadow: -10px 0 40px rgba(15, 37, 87, 0.15);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 1.0625rem;
  }
  .nav-cta-btn {
    font-size: 0.9375rem;
    padding: 12px 24px;
  }
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 24px 60px;
  }
  .hero-visual {
    height: 320px;
  }
  .card-main {
    width: 280px;
  }
  .card-secondary {
    width: 165px;
  }

  /* Services */
  .services {
    padding: 80px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-wrap {
    height: 280px;
  }
  .shape-1 {
    width: 200px;
    height: 240px;
  }
  .shape-2 {
    width: 160px;
    height: 180px;
  }
  .about-inner-card {
    transform: translate(-20%, -50%);
    padding: 18px 22px;
  }

  /* Why */
  .why-us {
    padding: 80px 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px 16px;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* Testimonials */
  .testimonials {
    padding: 80px 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact {
    padding: 80px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-wrap {
    padding: 28px;
  }

  /* Footer */
  .footer-top {
    padding: 56px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Section spacing */
  .section-header {
    margin-bottom: 48px;
  }
  .hero-trust {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    justify-content: center;
  }
  .services-grid {
    gap: 16px;
  }
  .contact-form-wrap {
    padding: 20px;
  }
}
