/* ===== Ensey - Brand Identity Page ===== */
/* Desarrollo de software a la medida */

:root {
  /* Palette - Deep tech aesthetic */
  --color-bg: #0a0e17;
  --color-bg-elevated: #111827;
  --color-bg-card: #151d2e;
  --color-surface: #1a2332;
  
  --color-text: #e8ecf4;
  --color-text-muted: #8b95a8;
  --color-text-subtle: #5e6b80;
  
  --color-accent: #3C65F6;
  --color-accent-dim: rgba(60, 101, 246, 0.15);
  --color-accent-glow: rgba(60, 101, 246, 0.4);
  
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.loader.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader.loader--exit {
  animation: loaderExit 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
    visibility: hidden;
  }
}

.loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 320px;
}

.loader-rings {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader-rings span {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: loaderRing 1.5s linear infinite;
}

.loader-rings span:nth-child(1) {
  animation-delay: 0s;
  border-top-color: var(--color-accent);
}

.loader-rings span:nth-child(2) {
  inset: 12px;
  animation-delay: 0.2s;
  animation-direction: reverse;
  border-top-color: rgba(60, 101, 246, 0.6);
}

.loader-rings span:nth-child(3) {
  inset: 24px;
  animation-delay: 0.4s;
  border-top-color: rgba(60, 101, 246, 0.3);
}

@keyframes loaderRing {
  to {
    transform: rotate(360deg);
  }
}

.loader-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  animation: loaderLogoPulse 2s ease-in-out infinite;
}

.loader-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes loaderLogoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 2px;
}

.loader-dots::after {
  content: '';
  animation: loaderDots 1.5s steps(4) infinite;
}

@keyframes loaderDots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

.loader-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), #5B7FFF);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.loader.loader--complete .loader-progress {
  width: 100%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}


.logo-icon {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-cta {
  padding: 10px 20px !important;
  background: var(--color-accent-dim);
  color: var(--color-accent) !important;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(60, 101, 246, 0.3);
}

.nav-cta:hover {
  background: rgba(60, 101, 246, 0.25) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--color-accent-dim) 0%, transparent 60%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
}

.hero-glow-1 {
  top: -200px;
  right: -200px;
  background: var(--color-accent);
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: -300px;
  left: -200px;
  background: #5B7FFF;
  opacity: 0.15;
  animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--color-accent), #5B7FFF, #8B5CF6, var(--color-accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: #5B7FFF;
  box-shadow: 0 0 40px var(--color-accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-subtle);
}

.hero-code {
  position: absolute;
  right: 5%;
  bottom: 15%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 360px;
  animation: fadeIn 0.8s ease-out 0.5s both;
}

.hero-code pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow: hidden;
}

.code-line {
  display: block;
  opacity: 0;
  animation: typeReveal 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.8s; }
.code-line:nth-child(2) { animation-delay: 1s; }
.code-line:nth-child(3) { animation-delay: 1.2s; }
.code-line:nth-child(4) { animation-delay: 1.4s; }
.code-line:nth-child(5) { animation-delay: 1.6s; }
.code-line:nth-child(6) { animation-delay: 1.8s; }

@keyframes typeReveal {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.code-keyword { color: #c792ea; }
.code-prop { color: #82aaff; }
.code-string { color: #c3e88d; }

.code-cursor {
  color: var(--color-accent);
  animation: blink 1s step-end infinite 2.2s;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== Services ===== */
.services {
  background: var(--color-bg-elevated);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--color-accent-glow);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--color-accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Technologies ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.tech-category h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.tech-tags span:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(60, 101, 246, 0.2);
}

/* ===== Process ===== */
.process {
  background: var(--color-bg-elevated);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.process-step {
  padding: 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.process-step:hover {
  border-color: rgba(60, 101, 246, 0.3);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 12px;
}

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

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.about-values {
  list-style: none;
}

.about-values li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.about-values li:last-child {
  border-bottom: none;
}

.about-values strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.about-card {
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.about-quote {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

/* ===== Contact ===== */
.contact {
  position: relative;
  background: var(--color-bg-elevated);
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(60, 101, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 101, 246, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 100%, black, transparent);
}

.contact-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(60, 101, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-top: 8px;
}

/* Bento grid */
.contact-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-card--whatsapp::before {
  background: linear-gradient(135deg, var(--color-accent-dim) 0%, transparent 50%);
}
.contact-card--whatsapp:hover {
  border-color: rgba(60, 101, 246, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--color-accent-glow);
}
.contact-card--whatsapp:hover::before {
  opacity: 1;
}
.contact-card--whatsapp .contact-card-icon {
  color: var(--color-accent);
}

.contact-card--email::before {
  background: linear-gradient(135deg, var(--color-accent-dim) 0%, transparent 50%);
}
.contact-card--email:hover {
  border-color: rgba(60, 101, 246, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--color-accent-glow);
}
.contact-card--email:hover::before {
  opacity: 1;
}
.contact-card--email .contact-card-icon {
  color: var(--color-accent);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text);
}

.contact-card-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-card-cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.contact-card--whatsapp .contact-card-cta {
  color: var(--color-accent);
}

.contact-card:hover .contact-card-cta {
  gap: 8px;
}

/* Form - spans full width */
.contact-form-wrap {
  grid-column: 1 / -1;
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrap:hover,
.contact-form-wrap:focus-within {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 0 1px rgba(60, 101, 246, 0.1);
}

.contact-form-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Honeypot: oculto para usuarios, visible para bots */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin: 0;
}
.form-message--success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.form-message--error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

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

/* Floating labels */
.form-group--float {
  position: relative;
}

.form-group--float input,
.form-group--float textarea {
  width: 100%;
  padding: 18px 16px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group--float label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--color-text-subtle);
  pointer-events: none;
  transition: all 0.25s ease;
}

.form-group--float input:focus ~ label,
.form-group--float input:not(:placeholder-shown) ~ label,
.form-group--float textarea:focus ~ label,
.form-group--float textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: none;
  font-size: 0.75rem;
  color: var(--color-accent);
}

.form-group--float textarea ~ label {
  top: 18px;
  transform: none;
}

.form-group--float input:focus,
.form-group--float textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit .btn-icon {
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
  transform: translateX(4px);
}

.btn-full {
  width: 100%;
  padding: 16px;
}

@media (max-width: 640px) {
  .contact-bento {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  text-align: center;
}

.footer .logo {
  justify-content: center;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-code {
    display: none;
  }
  
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
  }
  
  .hero-stats .stat {
    flex: 1;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--color-border);
  }
  
  .hero-stats .stat {
    position: relative;
  }
  
  .hero-stats .stat-value {
    font-size: 1.4rem;
  }
  
  .hero-stats .stat-label {
    font-size: 0.75rem;
    margin-top: 4px;
    line-height: 1.2;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .hero-stats .stat::after {
    display: none;
  }
  
  .hero-stats .stat {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
  }
  
  .hero-stats .stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

/* Mobile menu (simple toggle) */
.nav.open .nav-links {
  display: flex;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--color-bg-elevated);
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
}
