
/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --white:       #ffffff;
  --off-white:   #f5f7fb;
  --navy:        #0a1628;
  --navy-mid:    #122040;
  --blue:        #1a56db;
  --blue-light:  #3b82f6;
  --blue-pale:   #dbeafe;
  --sky:         #e8f1ff;
  --slate:       #64748b;
  --slate-light: #94a3b8;
  --border:      rgba(26,86,219,.12);
  --shadow-sm:   0 1px 3px rgba(10,22,40,.07), 0 1px 2px rgba(10,22,40,.05);
  --shadow-md:   0 4px 16px rgba(10,22,40,.08), 0 2px 6px rgba(10,22,40,.04);
  --shadow-lg:   0 16px 48px rgba(10,22,40,.12), 0 4px 12px rgba(10,22,40,.06);
  --shadow-xl:   0 32px 80px rgba(10,22,40,.16);
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   36px;
  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'Nunito Sans', sans-serif;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITY ────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-pale);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 18px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 800; line-height: 1.15; color: var(--navy);
}
.section-sub {
  font-size: 1.05rem; color: var(--slate); max-width: 560px;
  margin-top: 14px; font-weight: 300;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 99px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 16px rgba(26,86,219,.35);
}
.btn-primary:hover {
  background: #1648c0;
  box-shadow: 0 8px 28px rgba(26,86,219,.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid rgba(10,22,40,.18);
}
.btn-outline:hover {
  border-color: var(--blue); color: var(--blue);
  background: var(--blue-pale); transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white); border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25); transform: translateY(-2px);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 800;
  color: var(--navy); line-height: 1.2; max-width: 200px;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  padding: 7px 14px; border-radius: 99px;
  font-size: .88rem; font-weight: 500; color: var(--slate);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--off-white); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 24px;
}
.mobile-menu a {
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--slate); font-weight: 500;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--navy); background: var(--off-white); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f1ff 35%, #f5f7fb 70%, #ffffff 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5; animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.25) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,86,219,.2) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,179,237,.3) 0%, transparent 70%);
  top: 40%; right: 25%;
  animation-delay: -2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    linear-gradient(var(--navy) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(12px);
  border: 1px solid rgba(26,86,219,.15);
  padding: 7px 16px; border-radius: 99px;
  font-size: .8rem; font-weight: 600; color: var(--blue);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown .8s ease both;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--blue); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.1; color: var(--navy);
  animation: fadeInUp .9s ease .1s both;
}
.hero-title .accent { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem; color: var(--slate); font-weight: 300;
  max-width: 520px; margin-top: 20px; line-height: 1.7;
  animation: fadeInUp .9s ease .2s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
  animation: fadeInUp .9s ease .3s both;
}
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  margin-top: 40px;
  animation: fadeInUp .9s ease .4s both;
}
.hero-trust-text { font-size: .82rem; color: var(--slate-light); }
.hero-trust-dots { display: flex; gap: 6px; }
.hero-trust-dots span {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: var(--white);
}
/* Hero Visual */
.hero-visual {
  position: relative; animation: fadeInRight .9s ease .2s both;
}
.hero-card-main {
  background: rgba(255,255,255,.85); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-xl);
}
.hero-card-main .card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue) 0%, #3b82f6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.card-label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.card-sub-label { font-size: .78rem; color: var(--slate); }
.metric-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.metric {
  background: var(--off-white); border-radius: var(--radius-sm); padding: 16px;
}
.metric-value {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.metric-label { font-size: .75rem; color: var(--slate); margin-top: 4px; }
.metric-bar {
  height: 4px; background: var(--blue-pale); border-radius: 2px;
  margin-top: 10px; overflow: hidden;
}
.metric-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  animation: barGrow 1.5s ease .8s both;
}
@keyframes barGrow { from { width: 0; } }
.hero-float-card {
  position: absolute; background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius-md); padding: 14px 18px;
  box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 500;
  white-space: nowrap; color: var(--navy);
}
.hero-float-card-1 {
  top: -20px; left: -30px;
  animation: floatCard1 6s ease-in-out infinite;
}
.hero-float-card-2 {
  bottom: 30px; right: -24px;
  animation: floatCard2 7s ease-in-out infinite;
}
.float-card-inner { display: flex; align-items: center; gap: 8px; }
.float-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(10px) rotate(0deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── STATS / TRUST ──────────────────────────────────────── */
#stats {
  background: var(--navy); padding: 70px 0; position: relative; overflow: hidden;
}
#stats::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1e3d 0%, #0a1628 50%, #0f2040 100%);
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.stat-item {
  text-align: center; padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(26,86,219,.3), rgba(59,130,246,.2));
  border: 1px solid rgba(26,86,219,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 16px;
}
.stat-number {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-suffix { color: var(--blue-light); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 8px; font-weight: 300; }

/* ─── SERVICES ───────────────────────────────────────────── */
#services { padding: 100px 0; background: var(--off-white); }
.services-header { margin-bottom: 60px; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: default; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,86,219,.15);
}
.service-card:hover::after { transform: scaleX(1); }
.service-emoji {
  font-size: 1.8rem; margin-bottom: 18px;
  display: block;
  transition: transform .3s ease;
}
.service-card:hover .service-emoji { transform: scale(1.15) rotate(-5deg); }
.service-title {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.service-desc { font-size: .85rem; color: var(--slate); line-height: 1.65; }

/* ─── ABOUT ──────────────────────────────────────────────── */
#about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-card-bg {
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3560 100%);
  padding: 48px 40px; position: relative;
  box-shadow: var(--shadow-xl);
}
.about-card-bg::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.25) 0%, transparent 70%);
}
.about-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1;
}
.about-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 24px 20px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.about-stat:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.about-stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.about-stat-num span { color: var(--blue-light); }
.about-stat-text { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 6px; }
.about-float {
  position: absolute; bottom: -20px; right: -24px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-float-inner { display: flex; align-items: center; gap: 10px; }
.about-float-icon { font-size: 1.4rem; }
.about-float-text { font-size: .8rem; font-weight: 600; color: var(--navy); }
.about-float-sub { font-size: .72rem; color: var(--slate); }
.about-content p {
  font-size: 1rem; color: var(--slate); line-height: 1.75;
  margin-bottom: 16px; font-weight: 300;
}
.about-content p strong { color: var(--navy); font-weight: 500; }
.about-bullets { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.about-bullet {
  display: flex; align-items: flex-start; gap: 12px;
}
.bullet-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; margin-top: 2px;
}
.bullet-text { font-size: .9rem; color: var(--navy); font-weight: 400; }

/* ─── WHY CHOOSE US ──────────────────────────────────────── */
#why { padding: 100px 0; background: var(--sky); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.why-card {
  background: rgba(255,255,255,.7); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: var(--white); }
.why-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-pale), rgba(59,130,246,.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.why-title { font-family: var(--font-head); font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-text { font-size: .85rem; color: var(--slate); line-height: 1.65; }

/* ─── TECH STACK ─────────────────────────────────────────── */
#tech { padding: 100px 0; background: var(--white); }
.tech-header { margin-bottom: 50px; }
.tech-chips {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px;
}
.tech-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 99px; padding: 9px 20px;
  font-size: .86rem; font-weight: 500; color: var(--navy);
  transition: var(--transition); cursor: default;
}
.tech-chip span { font-size: 1rem; }
.tech-chip:hover {
  background: var(--blue-pale); border-color: rgba(26,86,219,.3);
  color: var(--blue); transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(26,86,219,.15);
}

/* ─── PROCESS ────────────────────────────────────────────── */
#process { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
#process::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #0d1e3d 0%, #0a1628 100%);
}
.process-header { position: relative; z-index: 1; }
.process-header .section-title { color: var(--white); }
.process-header .section-label { background: rgba(26,86,219,.25); color: #93c5fd; }
.process-steps {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  margin-top: 56px;
}
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: '→'; position: absolute; top: 22px; right: -14px;
  color: rgba(255,255,255,.2); font-size: 1rem;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .85rem;
  color: var(--white); margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(26,86,219,.4);
}
.step-title {
  font-family: var(--font-head); font-size: .9rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}
.step-desc { font-size: .75rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ─── PORTFOLIO ──────────────────────────────────────────── */
#portfolio { padding: 100px 0; background: var(--off-white); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.portfolio-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: var(--transition); cursor: default;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem; position: relative; overflow: hidden;
}
.portfolio-thumb::before {
  content: ''; position: absolute; inset: 0;
  opacity: .08;
  background-image: linear-gradient(var(--navy) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy) 1px, transparent 1px);
  background-size: 24px 24px;
}
.portfolio-body { padding: 24px; }
.portfolio-tag {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--blue);
  background: var(--blue-pale); padding: 3px 10px; border-radius: 99px;
  display: inline-block; margin-bottom: 10px;
}
.portfolio-title {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.portfolio-desc { font-size: .82rem; color: var(--slate); line-height: 1.6; }

/* ─── CTA BANNER ─────────────────────────────────────────── */
#cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3560 60%, #0f2040 100%);
  position: relative; overflow: hidden; text-align: center;
}
#cta-banner::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-inner h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--white); margin-bottom: 16px; line-height: 1.15;
}
.cta-banner-inner p { font-size: 1.05rem; color: rgba(255,255,255,.6); margin-bottom: 36px; font-weight: 300; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── CONTACT ────────────────────────────────────────────── */
#contact { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info { }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-detail-title { font-weight: 600; font-size: .9rem; color: var(--navy); }
.contact-detail-text { font-size: .85rem; color: var(--slate); margin-top: 2px; }
/* Form */
.contact-form { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(10,22,40,.12); background: var(--off-white);
  font-family: var(--font-body); font-size: .9rem; color: var(--navy);
  transition: var(--transition); outline: none; resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.form-group textarea { min-height: 120px; }
.form-submit { width: 100%; }

/* ─── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--navy); padding: 70px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
}
.footer-brand-name {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  color: var(--white); margin-bottom: 14px; line-height: 1.3;
}
.footer-brand-name span { color: var(--blue-light); }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.3); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .83rem; color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.3); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */

/* ── Tablet landscape: 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  /* Navbar */
  .nav-links a { padding: 7px 10px; font-size: .83rem; }

  /* Hero */
  .hero-inner { gap: 40px; }
  .hero-visual { transform: scale(.92); transform-origin: right center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.06); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-grid { gap: 48px; }

  /* Why */
  .why-grid { grid-template-columns: repeat(3, 1fr); }

  /* Process */
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-step:nth-child(3)::after { display: none; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { gap: 48px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── Tablet portrait: 768px ── */
@media (max-width: 768px) {
  /* Global spacing */
  #services, #about, #why, #tech,
  #process, #portfolio, #cta-banner, #contact { padding: 72px 0; }
  #stats { padding: 56px 0; }
  #footer { padding-top: 56px; }

  /* Typography scale-down */
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .section-sub { font-size: .95rem; }

  /* Navbar: collapse to hamburger */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }

  /* Hero */
  #hero { padding: 100px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .hero-sub { font-size: .97rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 12px 22px; font-size: .9rem; }
  .hero-trust { flex-wrap: wrap; gap: 8px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 16px; }
  .stat-number { font-size: 2rem; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 24px 20px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-float { right: 0; bottom: -16px; }
  .about-stat-num { font-size: 1.6rem; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-card { padding: 24px 20px; }

  /* Process */
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-step::after { display: none; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .portfolio-thumb { height: 140px; font-size: 2.4rem; }

  /* CTA Banner */
  #cta-banner h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Mobile: 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Global spacing */
  #services, #about, #why, #tech,
  #process, #portfolio, #cta-banner, #contact { padding: 56px 0; }

  /* Typography */
  .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-sub { font-size: .9rem; max-width: 100%; }
  .section-label { font-size: .72rem; }

  /* Hero */
  #hero { padding: 90px 0 52px; }
  .hero-badge { font-size: .72rem; padding: 5px 12px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-sub { font-size: .9rem; margin-top: 14px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.06); padding: 28px 16px; }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: 2.2rem; }
  .stat-icon { width: 44px; height: 44px; font-size: 1.2rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 22px 18px; }
  .service-emoji { font-size: 1.5rem; margin-bottom: 12px; }

  /* About */
  .about-stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-stat { padding: 18px 14px; }
  .about-stat-num { font-size: 1.4rem; }
  .about-card-bg { padding: 32px 24px; }
  .about-float { display: none; }
  .about-bullets { gap: 10px; }
  .bullet-text { font-size: .85rem; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 22px 18px; }

  /* Tech chips */
  .tech-chips { gap: 8px; }
  .tech-chip { padding: 7px 14px; font-size: .8rem; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .step-num { width: 40px; height: 40px; font-size: .8rem; }
  .step-title { font-size: .88rem; }
  .step-desc { font-size: .75rem; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-thumb { height: 130px; font-size: 2.2rem; }

  /* CTA */
  #cta-banner { padding: 64px 0; }
  #cta-banner p { font-size: .9rem; }

  /* Contact */
  .contact-icon { width: 38px; height: 38px; font-size: .9rem; }
  .contact-detail-title { font-size: .85rem; }
  .contact-detail-text { font-size: .8rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: .88rem; padding: 11px 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-name { font-size: .95rem; }
  .footer-desc { font-size: .8rem; }
  .footer-col-title { font-size: .72rem; }
  .footer-links a { font-size: .8rem; }
  .footer-copy, .footer-legal a { font-size: .75rem; }
  .footer-legal { gap: 16px; }

  /* Buttons globally */
  .btn { padding: 12px 20px; font-size: .88rem; }
}

/* ── Very small: 360px ── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .about-stat-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
}
