/* =================================================================
   SWIFTY APPS LTD. — Shared Stylesheet
   Brand Primary: #123450 (Navy)  |  Brand Accent: #ec7127 (Orange)
   ================================================================= */

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

:root {
  --primary:       #123450;
  --primary-light: #1a4a70;
  --accent:        #ec7127;
  --accent-dark:   #d4611e;
  --accent-light:  #f4934b;
  --dark:          #060e1c;
  --dark-2:        #0b1c2e;
  --dark-3:        #102438;
  --dark-4:        #163252;
  --text:          #dce9f5;
  --text-muted:    #6f93b0;
  --border:        rgba(255,255,255,0.07);
  --radius:        16px;
  --radius-sm:     10px;
  --max-w:         1200px;
  --nav-h:         70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236,113,39,0.35);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== LABELS ===== */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.label::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ===== SECTION LAYOUT ===== */
.section-wrap { padding: 6rem 5%; max-width: var(--max-w); margin: 0 auto; }
.section-bg    { background: var(--dark-2); }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p  { font-size: 1.05rem; }

/* ===== NAVBAR ===== */
header { position: sticky; top: 0; z-index: 200; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: var(--nav-h);
  background: rgba(6,14,28,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(6,14,28,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.logo { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { background: var(--accent-dark); box-shadow: 0 4px 16px rgba(236,113,39,0.35); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 5%;
  gap: 1rem;
}
.mobile-menu a { color: var(--text-muted); font-weight: 500; font-size: 1rem; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn-cta { text-align: center; margin-top: 0.4rem; }
.mobile-menu.open { display: flex; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 5rem 5% 4rem;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-3) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,113,39,0.1) 0%, transparent 70%);
  top: -150px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===== HOME HERO ===== */
.hero-section {
  background: linear-gradient(-45deg, #060e1c, #0b1c2e, #102438, #091726);
  background-size: 400% 400%;
  animation: bgShift 18s ease infinite;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(236,113,39,0.07) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  padding: 5.5rem 5%;
  min-height: calc(100vh - var(--nav-h));
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; }
.hero-eyebrow span { display: inline-block; width: 32px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero-eyebrow p { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

.hero-content h1 { margin-bottom: 1.2rem; }
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-content > p { font-size: 1.1rem; max-width: 500px; margin-bottom: 2.2rem; line-height: 1.75; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual grid */
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; z-index: 1; }
.hero-card {
  background: rgba(18,52,80,0.45);
  border: 1px solid rgba(236,113,39,0.15);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-card:nth-child(2) { animation-delay: -1.3s; margin-top: 1.5rem; }
.hero-card:nth-child(3) { animation-delay: -2.7s; }
.hero-card:nth-child(4) { animation-delay: -4s; margin-top: 1.5rem; }
.hero-card:hover { border-color: rgba(236,113,39,0.4); transform: translateY(-4px) scale(1.02); }
.hero-card-icon {
  width: 40px; height: 40px;
  background: rgba(236,113,39,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
}
.hero-card-icon svg { width: 20px; height: 20px; color: var(--accent); }
.hero-card h4 { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.hero-card p  { font-size: 0.76rem; line-height: 1.5; }

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--dark-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item h2 { font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 0.25rem; }
.stat-item p  { font-size: 0.9rem; }

/* ===== SERVICE CARDS (home + services page) ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.svc-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.35s ease;
}
.svc-card:hover { transform: translateY(-5px); border-color: rgba(236,113,39,0.2); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.svc-card:hover::after { width: 100%; }

.svc-icon {
  width: 52px; height: 52px;
  background: rgba(236,113,39,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.25s;
}
.svc-icon svg { width: 24px; height: 24px; color: var(--accent); transition: transform 0.3s; }
.svc-card:hover .svc-icon { background: rgba(236,113,39,0.18); }
.svc-card:hover .svc-icon svg { transform: rotate(-10deg) scale(1.15); }
.svc-card h3 { margin-bottom: 0.5rem; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.svc-tag {
  font-size: 0.7rem; font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

/* ===== GLOBAL REACH ===== */
.regions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.region-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.region-card:hover { transform: translateY(-4px); border-color: rgba(236,113,39,0.3); }
.region-flag { font-size: 2.4rem; margin-bottom: 0.8rem; display: block; }
.region-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.region-card p  { font-size: 0.82rem; margin-bottom: 1rem; }
.region-stat   { font-size: 1.6rem; font-weight: 800; color: var(--accent); display: block; }

/* ===== IN-HOUSE PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); border-color: rgba(236,113,39,0.2); }
.product-banner {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  position: relative;
}
.product-banner.b1 { background: linear-gradient(135deg, #0c2244, #1a4a70); }
.product-banner.b2 { background: linear-gradient(135deg, #1a0e02, #6b3010); }
.product-banner.b3 { background: linear-gradient(135deg, #061226, #123450); }
.product-banner-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.product-info { padding: 1.5rem; }
.product-info h3 { margin-bottom: 0.4rem; }
.product-info p  { margin-bottom: 1rem; font-size: 0.9rem; }
.product-meta { display: flex; align-items: center; gap: 0.5rem; }
.product-badge {
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  background: rgba(236,113,39,0.12);
  color: var(--accent);
  border: 1px solid rgba(236,113,39,0.22);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== PRODUCT CATEGORY CARDS ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.35s ease;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(236,113,39,0.22); box-shadow: 0 14px 40px rgba(0,0,0,0.3); }
.cat-card:hover::after { width: 100%; }

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease;
}
.cat-card:hover .cat-icon { transform: scale(1.08) rotate(-4deg); }

.cat-body h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.cat-body p  { font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.9rem; }

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cat-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
}

@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cat-grid { grid-template-columns: 1fr; } }

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  counter-reset: steps;
}
.process-step {
  text-align: center;
  position: relative;
  counter-increment: steps;
}
.process-step::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  font-size: 3rem; font-weight: 800;
  color: rgba(236,113,39,0.15);
  line-height: 1; margin-bottom: 0.8rem;
  transition: color 0.5s;
}
.process-step.visible::before { color: rgba(236,113,39,0.45); }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.5rem; right: -1rem;
  width: 2rem; height: 1px;
  background: var(--border);
}
.process-icon {
  width: 56px; height: 56px;
  background: rgba(236,113,39,0.1);
  border: 1px solid rgba(236,113,39,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.process-icon svg { width: 22px; height: 22px; color: var(--accent); }
.process-step h3 { margin-bottom: 0.4rem; font-size: 1rem; }

/* ===== CTA BANNER ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--primary) 100%);
  border-top: 1px solid rgba(236,113,39,0.15);
  border-bottom: 1px solid rgba(236,113,39,0.15);
}
.cta-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 5%; text-align: center;
}
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p  { font-size: 1.1rem; max-width: 520px; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== TECH STACK ===== */
.tech-grid { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.tech-pill {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.tech-pill:hover { transform: translateY(-3px); border-color: rgba(236,113,39,0.3); color: var(--text); }

/* ===== CAREER — PERKS ===== */
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.perk-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.perk-card:hover { transform: translateY(-4px); border-color: rgba(236,113,39,0.3); }
.perk-icon {
  width: 56px; height: 56px;
  background: rgba(236,113,39,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.perk-icon svg { width: 24px; height: 24px; color: var(--accent); }
.perk-card h3 { margin-bottom: 0.4rem; font-size: 1rem; }

/* ===== CAREER — VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.25s, transform 0.25s;
}
.value-card:hover { border-color: rgba(236,113,39,0.3); transform: translateY(-3px); }
.value-num {
  font-size: 2.2rem; font-weight: 800;
  color: rgba(236,113,39,0.18);
  line-height: 1; flex-shrink: 0;
  transition: color 0.4s;
}
.value-card:hover .value-num { color: rgba(236,113,39,0.5); }
.value-card h3 { margin-bottom: 0.4rem; }

/* ===== CAREER — OPEN POSITIONS ===== */
.position-list { display: flex; flex-direction: column; gap: 1rem; max-width: 880px; margin: 0 auto; }
.position-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  transition: border-color 0.25s, transform 0.25s;
  flex-wrap: wrap;
}
.position-card:hover { border-color: rgba(236,113,39,0.3); transform: translateX(5px); }
.position-info h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.position-meta { display: flex; gap: 0.5rem; margin-top: 0.4rem; flex-wrap: wrap; }
.ptag {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.65rem; border-radius: 100px;
}
.ptag.dept   { background: rgba(18,52,80,0.6);    color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
.ptag.remote { background: rgba(236,113,39,0.1);  color: var(--accent);     border: 1px solid rgba(236,113,39,0.2); }
.ptag.type   { background: rgba(39,174,96,0.08);  color: #6fcf97;           border: 1px solid rgba(39,174,96,0.2); }
.ptag.closed { background: rgba(180,0,0,0.12);    color: #e57373;           border: 1px solid rgba(180,0,0,0.25); }

/* ===== EXPIRED POSITIONS ===== */
.position-card.expired { opacity: 0.5; }
.position-card.expired:hover { border-color: var(--border); transform: none; }
.btn-expired {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  cursor: not-allowed;
  white-space: nowrap;
  font-family: inherit;
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; font-size: 1.05rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.contact-detail:hover { border-color: rgba(236,113,39,0.25); }
.contact-detail-icon {
  width: 40px; height: 40px;
  background: rgba(236,113,39,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--accent); }
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 0.1rem; }
.contact-detail span   { font-size: 0.85rem; color: var(--text-muted); }

.social-row { display: flex; gap: 0.7rem; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.social-btn svg { width: 18px; height: 18px; color: var(--text-muted); transition: color 0.2s; }
.social-btn:hover { background: rgba(236,113,39,0.1); border-color: rgba(236,113,39,0.3); transform: translateY(-3px); }
.social-btn:hover svg { color: var(--accent); }

.contact-form-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-box h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--dark-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  outline: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(236,113,39,0.12); }
.contact-form select option { background: var(--dark-3); color: var(--text); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.4rem; }

/* ===== OFFICES ===== */
.offices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.office-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.office-card:hover { transform: translateY(-4px); border-color: rgba(236,113,39,0.3); }
.office-flag { font-size: 2.2rem; margin-bottom: 0.8rem; display: block; }
.office-card h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }

/* ===== FOOTER ===== */
footer { background: var(--dark-2); border-top: 1px solid var(--border); }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 5%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand .logo { margin-bottom: 0.8rem; font-size: 1.3rem; }
.footer-brand > p  { font-size: 0.85rem; margin-bottom: 1.5rem; max-width: 230px; }
.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.footer-col h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col li,
.footer-col a { font-size: 0.87rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem;
  max-width: var(--max-w); margin: 0 auto;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes bgShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes statPop {
  0%  { transform: scale(0.65); opacity: 0; }
  70% { transform: scale(1.08); }
  100%{ transform: scale(1);    opacity: 1; }
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Hero entrance */
.hero-eyebrow     { animation: heroUp 0.55s 0.05s ease both; }
.hero-content h1  { animation: heroUp 0.6s  0.2s  ease both; }
.hero-content > p { animation: heroUp 0.6s  0.35s ease both; }
.hero-btns        { animation: heroUp 0.6s  0.5s  ease both; }
.hero-visual      { animation: heroUp 0.7s  0.25s ease both; }

/* Page hero entrance */
.page-hero .label { animation: heroUp 0.5s 0.05s ease both; }
.page-hero h1     { animation: heroUp 0.6s 0.15s ease both; }
.page-hero > p    { animation: heroUp 0.6s 0.28s ease both; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.13s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.21s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.29s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.37s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.45s; }
.reveal-stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.53s; }
.reveal-stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.61s; }
.reveal-stagger.visible > *:nth-child(9) { opacity:1; transform:none; transition-delay:0.69s; }

/* Stat pop */
.stat-item.counted h2 { animation: statPop 0.6s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .svc-grid, .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-grid, .offices-grid   { grid-template-columns: repeat(2, 1fr); }
  .products-grid                  { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .perks-grid      { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after,
  .process-step:nth-child(4)::after { display: none; }
  .footer-main  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .btn-cta { display: none; }
  .hamburger { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 5% 3rem;
    min-height: auto;
  }
  .hero-eyebrow { justify-content: center; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .svc-grid, .products-grid, .values-grid { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .perks-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stat-item { padding: 1.8rem 1rem; }
  .stat-item h2 { font-size: 2rem; }
  .regions-grid, .offices-grid, .process-grid, .perks-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
