/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --navy:     #0f172a;
  --text:     #1e293b;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --white:    #ffffff;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg:0 12px 48px rgba(37, 99, 235, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
p  { color: var(--muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BADGES ===== */
.section-badge, .badge {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 { margin: 12px 0 16px; }
.section-header p { font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--blue-200);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-400); }

.btn-nav {
  background: var(--blue-600);
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav:hover { background: var(--blue-700); transform: translateY(-1px); }

.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
#header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { display: block; transition: opacity 0.2s; }
.logo:hover img { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:not(.btn-nav):hover { color: var(--blue-600); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

#p5-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
#p5-canvas canvas {
  display: block;
}

.hero-content {
  max-width: 600px;
  padding: 0;
}
.hero-content .badge { margin-bottom: 24px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content > p { font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== HERO MOCKUP ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 60px;
}

.mockup {
  width: 340px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-bar {
  background: var(--blue-50);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-200);
}
.mockup-bar span:nth-child(1) { background: #fca5a5; }
.mockup-bar span:nth-child(2) { background: #fde68a; }
.mockup-bar span:nth-child(3) { background: #a7f3d0; }

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.mockup-line {
  height: 10px;
  background: linear-gradient(90deg, var(--blue-100), var(--blue-50));
  border-radius: 100px;
}
.w80 { width: 80%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w50 { width: 50%; }

.mockup-blocks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mockup-block { 
  height: 60px; 
  border-radius: 8px; 
}
.b1 { background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); }
.b2 { background: linear-gradient(135deg, var(--blue-200), var(--blue-400)); }
.b3 { background: linear-gradient(135deg, var(--blue-100), var(--blue-300)); }

.mockup-btn {
  height: 32px;
  width: 50%;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

/* ===== SERVICES ===== */
.services { background: var(--blue-50); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }

.service-card.featured {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-color: transparent;
  color: white;
}
.service-card.featured h3, .service-card.featured p { color: white; }
.service-card.featured p { opacity: 0.85; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.15); color: white; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card p { font-size: 0.92rem; line-height: 1.65; }

.service-tag {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 480px;
}

.about-shape {
  position: absolute;
  width: 320px; height: 320px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
  50% { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

.about-img-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px; height: 280px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
}
.about-badge-float svg { color: #22c55e; }

.about-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  z-index: 2;
}
.about-card strong { display: block; font-weight: 700; color: var(--navy); font-size: 0.88rem; }
.about-card span { color: var(--muted); font-size: 0.8rem; }
.about-icon-wrap {
  width: 36px; height: 36px;
  background: var(--blue-50);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.about-icon-wrap svg { width: 18px; height: 18px; }
.card-1 { top: 40px; left: -20px; }
.card-2 { bottom: 60px; right: -20px; }

.about-content .section-badge { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 16px; }

.about-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.about-list li svg { color: var(--blue-600); flex-shrink: 0; }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.portfolio-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.t1 {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.32), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(254, 240, 138, 0.28), transparent 24%),
    linear-gradient(135deg, #f59e0b, #ec4899 48%, #7c3aed);
}
.t2 { background: linear-gradient(135deg, #bfdbfe, #1d4ed8); }
.t3 { background: linear-gradient(135deg, #1e40af, #60a5fa); }
.t4 { background: linear-gradient(135deg, #2563eb, #93c5fd); }
.t5 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.t6 { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }

.portfolio-thumb::before {
  content: '</>';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
  font-weight: 700;
}

.t1::before {
  content: '';
}

.t2::before {
  content: '';
}

.t3::before {
  content: '';
}

.portfolio-thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.t2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.26));
}

.t3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.24));
}

.portfolio-illustration {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.karisma-browser {
  width: 100%;
  max-width: 280px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(76, 29, 149, 0.22);
  padding: 16px;
  transform: rotate(-4deg);
}

.karisma-browser-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.karisma-browser-dots {
  display: flex;
  gap: 4px;
}

.karisma-browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.karisma-browser-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.karisma-hero-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 14px;
}

.karisma-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.karisma-hero-title {
  width: 72%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
}

.karisma-hero-text {
  width: 56%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.karisma-hero-actions {
  display: flex;
  gap: 8px;
}

.karisma-btn {
  display: block;
  height: 10px;
  border-radius: 999px;
}

.karisma-btn.primary {
  width: 74px;
  background: rgba(255, 255, 255, 0.92);
}

.karisma-btn.secondary {
  width: 52px;
  background: rgba(255, 255, 255, 0.35);
}

.karisma-product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.karisma-product-card {
  display: block;
  height: 72px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
  padding: 10px 8px;
}

.karisma-product-card i,
.karisma-product-card b,
.karisma-product-card em {
  display: block;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
}

.karisma-product-card i {
  width: 100%;
  height: 32px;
  border-radius: 10px;
  margin-bottom: 8px;
  opacity: 0.72;
}

.karisma-product-card b {
  width: 70%;
  height: 6px;
  margin-bottom: 5px;
}

.karisma-product-card em {
  width: 42%;
  height: 6px;
  opacity: 0.76;
}

.karisma-product-card.card-a {
  background: linear-gradient(180deg, rgba(254, 240, 138, 0.95), rgba(249, 115, 22, 0.82));
}

.karisma-product-card.card-b {
  background: linear-gradient(180deg, rgba(253, 186, 116, 0.95), rgba(236, 72, 153, 0.82));
}

.karisma-product-card.card-c {
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.95), rgba(124, 58, 237, 0.82));
}

.karisma-cta {
  width: 104px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.karisma-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.karisma-mini-stats {
  display: flex;
  gap: 5px;
}

.karisma-mini-stats span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-link {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid white;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}
.portfolio-link:hover { background: rgba(255,255,255,0.15); }

.portfolio-info { padding: 20px 24px 24px; }
.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}
.portfolio-info h4 { margin-bottom: 6px; }
.portfolio-info p { font-size: 0.88rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--blue-50); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  justify-content: center;
  gap: 24px;
}

.testi-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.testi-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card > p { font-size: 0.93rem; line-height: 1.7; margin-bottom: 20px; color: var(--text); font-style: italic; }

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-700);
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.testi-author span { font-size: 0.8rem; color: var(--muted); }

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.process-step {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.process-step:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-content h4 { margin-bottom: 8px; }
.step-content p { font-size: 0.88rem; }

.process-arrow {
  color: var(--blue-300);
  font-size: 1.5rem;
  margin-top: 40px;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact { background: var(--blue-50); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-badge { margin-bottom: 16px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 40px; height: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.contact-list strong { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 0.92rem; color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--blue-600); }

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-group textarea { resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: white; padding-top: 80px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p { 
  color: #94a3b8; 
  font-size: 0.9rem; 
  margin: 20px 0 24px; 
  max-width: 260px;
  line-height: 1.7;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--blue-600); color: white; }

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: #94a3b8; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--blue-300); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: #64748b; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 100px;
  }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-steps { flex-direction: column; }
  .process-arrow { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 20px 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { flex-direction: column; align-items: center; gap: 20px; }
  .stat-divider { display: none; }
}
