/* ═══════════════════════════════════════════════════════════
   ESCALANTE SYSTEMS — STYLESHEET
   Color palette: Gold #C9A84C / #B8860B / #F0D080
   Dark:  #080808 / #111116 / #1A1A22
   Light: #F8F7F4 / #EDEBE5
═══════════════════════════════════════════════════════════ */

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

:root {
  --gold:        #C9A84C;
  --gold-light:  #F0D080;
  --gold-dark:   #8B6914;
  --gold-dim:    rgba(201, 168, 76, 0.12);
  --gold-glow:   rgba(201, 168, 76, 0.25);

  --bg-dark:     #080808;
  --bg-dark-2:   #0F0F14;
  --bg-dark-3:   #16161E;
  --bg-light:    #F8F7F4;
  --bg-light-2:  #EDEBE5;

  --text-primary:   #F0EDE6;
  --text-secondary: #A09880;
  --text-muted:     #5A5548;
  --text-dark:      #1A1812;

  --border:      rgba(201, 168, 76, 0.18);
  --border-dim:  rgba(255, 255, 255, 0.06);

  --radius:      12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  --nav-h:       72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Light sections flip text */
.section--light, .about, .process, .architecture {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section--light .section-tag, .about .section-tag, .process .section-tag, .architecture .section-tag {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
  border-color: rgba(139, 105, 20, 0.25);
}

.section--light .section-title, .about .section-title, .process .section-title, .architecture .section-title { color: var(--text-dark); }
.section--light .section-sub, .about .section-sub, .process .section-sub, .architecture .section-sub { color: #6B6355; }
.section--light p, .about p, .process p, .architecture p { color: #4A4438; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--bg-dark-2); }

.gold { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), #A87A20);
  color: #0A0800;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 32px rgba(201, 168, 76, 0.55);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--ghost:hover {
  background: var(--gold-dim);
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-2px);
}
.btn--nav {
  background: linear-gradient(135deg, #059669, #065F46);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Section Header ─────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(50px, 7vw, 80px);
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-dim);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid var(--border-dim);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  top: -100px; left: -200px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.hero__orb--2 {
  width: 400px; height: 400px;
  bottom: 0; right: -100px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__actions .btn--primary {
  background: linear-gradient(135deg, #059669, #065F46) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 24px rgba(5, 150, 105, 0.4) !important;
}
.hero__actions .btn--primary:hover {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  box-shadow: 0 6px 32px rgba(5, 150, 105, 0.6) !important;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-serif);
}
.stat__label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat__divider { width: 1px; height: 36px; background: var(--border-dim); }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(300px, 45vw, 500px);
}

.hero__logo-large {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(201, 168, 76, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.15;
  animation: spin-slow linear infinite;
}
.hero__ring--1 { width: 360px; height: 360px; animation-duration: 30s; }
.hero__ring--2 { width: 460px; height: 460px; opacity: 0.08; animation-duration: 45s; animation-direction: reverse; }
.hero__ring--3 { width: 280px; height: 280px; opacity: 0.1; animation-duration: 20s; border-style: dashed; }

@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-cue span {
  display: block;
  width: 1.5px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { height: 260px; }
}

/* ═══════════════════════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════════════════════ */
.problem { background: var(--bg-light); }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.problem-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}

.problem-card--highlight {
  background: linear-gradient(135deg, var(--text-dark) 0%, #2A2418 100%);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(139,105,20,0.20);
}
.problem-card--highlight h3, .problem-card--highlight p { color: var(--text-primary); }
.problem-card--highlight p { color: var(--text-secondary); }

.problem-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(201,168,76,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
}
.problem-card--highlight .problem-card__icon { background: rgba(201,168,76,0.15); color: var(--gold); }
.problem-card__icon svg { width: 24px; height: 24px; }

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-family: var(--font-serif);
}
.problem-card p {
  font-size: 0.92rem;
  color: #4A4438;
  line-height: 1.7;
  margin-bottom: 20px;
}
.problem-card--highlight p { margin-bottom: 24px; }

/* ── Problem callout banner ─────────────────────────────── */
.problem__callout {
  margin-top: 48px;
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  align-items: center;
}

.problem__callout-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  grid-column: 1 / -1;
}

.problem__callout-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 0;
}
.problem__callout-list li {
  font-size: 0.93rem;
  color: #4A4438;
  padding-left: 20px;
  position: relative;
}
.problem__callout-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

.problem__callout-transition {
  grid-column: 1 / -1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-dark);
  border-top: 1px solid rgba(139,105,20,0.15);
  padding-top: 20px;
  margin-top: 8px;
  font-style: italic;
}

@media (max-width: 640px) {
  .problem__callout { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.services__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .services__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services__grid--4 { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }

.service-card__num {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 24px; right: 28px;
  line-height: 1;
}

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  position: relative;
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
  position: relative;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.service-card__list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.process__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding-bottom: 52px;
  position: relative;
}
.process-step:last-child { padding-bottom: 0; }

.process-step__marker {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-light);
}

.process-step__num {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--gold-dark);
}

.process-step__content {
  padding-top: 12px;
}
.process-step__content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.process-step__content p {
  font-size: 0.93rem;
  color: #4A4438;
  line-height: 1.7;
  margin-bottom: 16px;
}

.process-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.process-step__tags span {
  padding: 4px 12px;
  background: rgba(139,105,20,0.08);
  border: 1px solid rgba(139,105,20,0.2);
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   SOLUTIONS
═══════════════════════════════════════════════════════════ */
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 24px;
}

.solution-card--featured {
  grid-column: span 2;
}

.solution-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.solution-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}
.solution-card--featured {
  background: linear-gradient(135deg, var(--bg-dark-3) 0%, rgba(201,168,76,0.05) 100%);
  border-color: rgba(201,168,76,0.25);
}

.solution-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution-card__metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  border: 1px solid var(--border-dim);
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric__val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-serif);
  line-height: 1;
}
.metric__label { font-size: 0.73rem; color: var(--text-muted); font-weight: 500; }

.solution-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.solution-card__stack span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 700px) {
  .solutions__grid { grid-template-columns: 1fr; }
  .solution-card--featured { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════
   ARCHITECTURE
═══════════════════════════════════════════════════════════ */
.architecture { background: var(--bg-light-2); }

.architecture__frame {
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(139,105,20,0.3);
  background: white;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  overflow: hidden;
}

.architecture__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px;
  text-align: center;
}
.arch-icon { width: 80px; height: 80px; color: rgba(139,105,20,0.4); margin-bottom: 8px; }

.architecture__placeholder-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(0,0,0,0.25);
}
.architecture__placeholder-sub {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.35);
  max-width: 340px;
}
.architecture__placeholder-hint {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 6px 14px;
  color: rgba(0,0,0,0.4);
  margin-top: 8px;
}
.architecture__img { width: 100%; height: auto; display: block; }

.architecture__layers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.arch-layer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.arch-layer__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(139,105,20,0.5);
}
.arch-layer strong { display: block; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 4px; }
.arch-layer span { font-size: 0.82rem; color: #6B6355; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   TECH STACK
═══════════════════════════════════════════════════════════ */
.tech__categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.tech-category__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tech-category__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-item {
  padding: 7px 14px;
  background: var(--bg-dark-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}
.tech-item:hover {
  border-color: var(--border);
  color: var(--gold-light);
  background: var(--gold-dim);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.about__content .section-tag { display: inline-block; }
.about__content .section-title { text-align: left; margin-bottom: 24px; }
.about__content p {
  font-size: 0.97rem;
  color: #4A4438;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.value__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(139,105,20,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.value__icon svg { width: 13px; height: 13px; color: var(--gold-dark); }
.value strong { display: block; font-size: 0.93rem; color: var(--text-dark); margin-bottom: 2px; }
.value span { font-size: 0.83rem; color: #6B6355; }

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.about__logo {
  width: clamp(180px, 25vw, 260px);
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(139,105,20,0.25));
}
.about__tagline {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-align: center;
  font-style: italic;
  border-top: 1px solid rgba(139,105,20,0.2);
  padding-top: 20px;
  width: 100%;
  max-width: 280px;
}

@media (max-width: 800px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .about__content .section-title { text-align: center; }
  .about__content .section-tag { display: block; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════ */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta__orb--1 {
  width: 500px; height: 500px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
}
.cta__orb--2 {
  width: 350px; height: 350px;
  bottom: -100px; left: 0;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.cta__content .section-tag { display: inline-block; }
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 20px 0 20px;
}
.cta__sub {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cta__note { font-size: 0.82rem; color: var(--text-muted); }
.cta .btn--primary,
.cta .btn--full {
  background: linear-gradient(135deg, #059669, #065F46) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 24px rgba(5, 150, 105, 0.4) !important;
}
.cta .btn--primary:hover,
.cta .btn--full:hover {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  box-shadow: 0 6px 32px rgba(5, 150, 105, 0.6) !important;
  transform: translateY(-2px);
}

/* Form */
.cta__form-wrapper {
  background: var(--bg-dark-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.cta__form h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg-dark-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success.visible { display: block; }
.form-success p { color: var(--gold); font-weight: 600; font-size: 1.05rem; }

@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border-dim);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: 4px;
}
.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer__social { display: flex; gap: 12px; margin-top: 4px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.footer__social a:hover {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: var(--border);
}
.footer__social svg { width: 15px; height: 15px; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h5 {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid var(--border-dim);
  padding: 24px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom .container { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer__links { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS & SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE CATCH-ALLS
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .problem__grid,
  .services__grid,
  .tech__categories { grid-template-columns: 1fr; }
  .process__timeline::before { left: 22px; }
  .process-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .process-step__marker { width: 46px; height: 46px; }
  .hero__stats { gap: 16px; }
  .stat__divider { display: none; }
}
