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

:root {
  --midnight: #0a1f3f;
  --midnight-light: #1a3a5c;
  --midnight-mid: #0f2d54;
  --mint: #2dd4bf;
  --mint-light: #5eead4;
  --mint-dark: #14b8a6;
  --slate: #475569;
  --slate-light: #94a3b8;
  --slate-lighter: #cbd5e1;
  --cream: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 63, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 31, 63, 0.10);
  --shadow-lg: 0 8px 32px rgba(10, 31, 63, 0.14);
  --shadow-xl: 0 16px 48px rgba(10, 31, 63, 0.18);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--midnight);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 16px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-icon {
  flex-shrink: 0;
}

.btn--primary {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

.btn--primary:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--midnight);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--mint {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

.btn--mint:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background: var(--white);
  color: var(--midnight);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

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

/* ─── SECTION HEADERS ─── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 600px;
  line-height: 1.7;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 63, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo--light .logo-primary,
.logo--light .logo-secondary {
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-primary {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}

.logo-secondary {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.04em;
}

/* ─── NAV ─── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-lighter);
  transition: color var(--transition);
  position: relative;
}

.nav-list a:not(.btn):hover {
  color: var(--white);
}

.nav-list a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width var(--transition);
}

.nav-list a:not(.btn):hover::after {
  width: 100%;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  background: var(--midnight);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, var(--mint) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--mint) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--mint) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.text-mint {
  color: var(--mint);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ─── HERO VISUAL ─── */
.hero-visual {
  position: relative;
  height: 580px;
}

.hero-img-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-card--main {
  width: 340px;
  height: 420px;
  top: 20px;
  right: 0;
  z-index: 2;
}

.hero-img-card--accent {
  width: 240px;
  height: 160px;
  bottom: 140px;
  left: 0;
  z-index: 3;
  border: 4px solid var(--midnight);
}

.hero-img-card--small {
  width: 200px;
  height: 130px;
  bottom: 20px;
  right: 40px;
  z-index: 3;
  border: 4px solid var(--midnight);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* ─── SERVICES ─── */
.services {
  padding: 96px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── ABOUT ─── */
.about {
  padding: 96px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-stack {
  position: relative;
  height: 420px;
}

.about-img-main {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-title {
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 28px 0 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--midnight);
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
}

/* ─── WHY US ─── */
.why-us {
  padding: 96px 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 30% 30%, var(--mint) 1px, transparent 1px),
    radial-gradient(circle at 70% 70%, var(--mint) 1px, transparent 1px);
  background-size: 50px 50px, 70px 70px;
  pointer-events: none;
}

.why-us .section-tag {
  color: var(--mint);
}

.why-us .section-title {
  color: var(--white);
}

.why-us .section-desc {
  color: var(--slate-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-4px);
}

.why-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(45, 212, 191, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--slate-light);
  line-height: 1.7;
}

/* ─── INDUSTRIES ─── */
.industries {
  padding: 96px 0;
  background: var(--cream);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.08);
  border-radius: var(--radius-md);
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-mid) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.06);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-text {
  flex: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1rem;
  color: var(--slate-light);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ─── CONTACT ─── */
.contact {
  padding: 96px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.1);
  border-radius: var(--radius-md);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-light);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 0.9375rem;
  color: var(--midnight);
  font-weight: 500;
  line-height: 1.6;
}

.contact-link {
  color: var(--midnight);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--mint-dark);
}

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--midnight);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--midnight);
  font-weight: 500;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--midnight);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--slate-light);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--slate-light);
}

.footer-bottom a {
  color: var(--slate-light);
  transition: color var(--transition);
}

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

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    height: 400px;
    max-width: 480px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--midnight);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-xl);
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--slate-lighter);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-list a:not(.btn)::after {
    display: none;
  }

  .nav-list .btn {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-stack {
    height: 300px;
  }

  .about-img-float {
    right: 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .stat-number {
    font-size: 1.25rem;
  }
}
