/* =========================================================
   EdBit Solutions — clone stylesheet
   Design language: dark "developer terminal" aesthetic.
   ========================================================= */

:root{
  --bg:            #F7F3FF;
  --bg-soft:       #FCFAFF;
  --surface:       #FFFFFF;
  --surface-2:     #F3ECFF;
  --border:        #DDD1F4;
  --border-soft:   #EDE4FB;

  --text:          #1F1636;
  --text-muted:    #5C4C7A;
  --text-faint:    #7A6A95;

  --accent:        #4F46E5;
  --accent-soft:   rgba(79,70,229,.12);
  --accent-2:      #4C1D95;
  --accent-2-soft: rgba(76,29,149,.14);
  --code-green:    #5B21B6;
  --code-pink:     #BE185D;
  --code-blue:     #2563EB;
  --code-purple:   #7C3AED;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-lift: 0 18px 45px -20px rgba(15,23,42,.18);
}

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

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

a{ color: inherit; text-decoration: none; }

img{ max-width: 100%; display:block; }

button{ font-family: inherit; }

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

/* ---------- background grid ---------- */
.grid-backdrop{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79,70,229,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 10%, transparent 75%);
}

/* ---------- eyebrow / section titles ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
  display: block;
}
.eyebrow::before{ content: "// "; color: var(--text-faint); }

.section-title{
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 640px;
  margin-bottom: 14px;
}
.section-sub{
  color: var(--text-muted);
  max-width: 560px;
  font-size: 17px;
  margin-bottom: 56px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(79,70,229,.35);
}
.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{
  border-color: var(--accent);
  color: var(--accent);
}
.btn-small{ padding: 10px 18px; font-size: 14px; }
.btn-full{ width: 100%; }

/* ---------- header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo{
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.cursor{
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
}
@keyframes blink{ 50%{ opacity: 0; } }

.main-nav{
  display: flex;
  gap: 34px;
}
.nav-link{
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active{ color: var(--text); }
.nav-link.active::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-dropdown{
  position: relative;
}
.lang-switch{
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang-switch:hover{
  border-color: var(--accent);
  color: var(--text);
}
.lang-arrow{
  transition: transform .2s ease;
}
.lang-dropdown.is-open .lang-arrow{
  transform: rotate(180deg);
}
.lang-menu{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 110;
}
.lang-dropdown.is-open .lang-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu button{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: background-color .15s ease, color .15s ease;
}
.lang-menu button:hover{
  background: var(--accent-soft);
  color: var(--text);
}
.lang-menu button.is-active{
  color: var(--accent);
  font-weight: 500;
}
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile language switcher */
.mobile-lang-switcher{
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.mobile-lang-btn{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.mobile-lang-btn:hover{
  background: var(--accent-soft);
  color: var(--text);
  border-color: var(--accent);
}
.mobile-lang-btn.is-active{
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 500;
}

/* ---------- reveal animation ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  z-index: 1;
  padding: 168px 0 100px;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title{
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.02em;
}
.rotator{
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.15em;
}
.rotator-word{
  grid-area: 1 / 1;
  color: var(--accent);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .5s ease, transform .5s ease;
  white-space: nowrap;
}
.rotator-word.is-active{
  opacity: 1;
  transform: translateY(0);
}
.rotator-word.is-leaving{
  opacity: 0;
  transform: translateY(-100%);
}

.hero-sub{
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
}
.hero-cta{
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats{
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat{ display: flex; flex-direction: column; }
.stat-number{
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
}
.stat-label{
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ---------- terminal ---------- */
.hero-visual{ position: relative; }
.terminal{
  background: #0B1020;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(15,23,42,.45);
}
.terminal-bar{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #141B2E 0%, #0E1424 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.terminal-dots{ display: flex; gap: 7px; }
.terminal-dots span{
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.terminal-dots span:nth-child(1){ background: #FF5F57; }
.terminal-dots span:nth-child(2){ background: #FEBC2E; }
.terminal-dots span:nth-child(3){ background: #7C3AED; }
.terminal-file{
  font-family: var(--font-mono);
  font-size: 13px;
  color: #9AA7BF;
}
.terminal-body{
  padding: 24px 22px;
  min-height: 220px;
  background: linear-gradient(180deg, #10172B 0%, #0A1020 100%);
}
.terminal-code{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #DCE7FF;
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal-code .tok-comment{ color: #6B7A99; }
.terminal-code .tok-kw{ color: #A78BFA; }
.terminal-code .tok-fn{ color: #7DD3FC; }
.terminal-code .tok-str{ color: #34D399; }
.terminal-code .tok-prop{ color: #F472B6; }
.terminal-caret{
  display: inline-block;
  width: 7px; height: 15px;
  background: #8B5CF6;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
.terminal-status{
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #8B5CF6;
  background: #0A1020;
}
.status-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8B5CF6;
  box-shadow: 0 0 0 0 rgba(139,92,246,.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(139,92,246,.5); }
  70%{ box-shadow: 0 0 0 8px rgba(139,92,246,0); }
  100%{ box-shadow: 0 0 0 0 rgba(139,92,246,0); }
}

/* ---------- tech marquee ---------- */
.tech-marquee-section{
  position: relative;
  z-index: 1;
  padding: 30px 0 90px;
}
.marquee-label{
  text-align: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 26px;
}
.marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{
  display: flex;
  width: max-content;
  gap: 14px;
  animation: scroll-left 34s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.tech-chip{
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- sections shared ---------- */
section{ position: relative; z-index: 1; }
.why-section, .services-section, .process-section,
.portfolio-section, .testimonials-section, .contact-section{
  padding: 100px 0;
  border-top: 1px solid var(--border-soft);
}

/* ---------- why grid ---------- */
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.why-card:hover{ border-color: var(--accent); transform: translateY(-4px); }
.why-metric{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-2);
}
.why-metric-label{
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.why-card h3{ font-size: 18px; margin-bottom: 8px; }
.why-card p{ color: var(--text-muted); font-size: 14.5px; }

/* ---------- services grid ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover{ border-color: var(--accent); transform: translateY(-4px); }
.service-icon{
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  margin-bottom: 20px;
  position: relative;
}
.service-icon::before{
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.service-icon[data-icon="web"]::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 3 2.5 15 0 18M12 3c-2.5 3-2.5 15 0 18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 3 2.5 15 0 18M12 3c-2.5 3-2.5 15 0 18'/%3E%3C/svg%3E"); }
.service-icon[data-icon="automation"]::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12a8 8 0 0 1 14.5-4.6M20 12a8 8 0 0 1-14.5 4.6'/%3E%3Cpath d='M18 3v5h-5M6 21v-5h5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12a8 8 0 0 1 14.5-4.6M20 12a8 8 0 0 1-14.5 4.6'/%3E%3Cpath d='M18 3v5h-5M6 21v-5h5'/%3E%3C/svg%3E"); }
.service-icon[data-icon="chat"]::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.service-icon[data-icon="mobile"]::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.service-icon[data-icon="api"]::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='18' r='3'/%3E%3Cpath d='M8.5 8.5l7 7M18 6a12 12 0 0 1-12 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='18' r='3'/%3E%3Cpath d='M8.5 8.5l7 7M18 6a12 12 0 0 1-12 12'/%3E%3C/svg%3E"); }
.service-icon[data-icon="consulting"]::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.7.5 1 1.2 1 2.3h6c0-1.1.3-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.7.5 1 1.2 1 2.3h6c0-1.1.3-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }

.service-card h3{ font-size: 19px; margin-bottom: 10px; }
.service-card p{ color: var(--text-muted); font-size: 14.5px; }

/* ---------- process ---------- */
.process-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-list::before{
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step{ position: relative; z-index: 1; }
.process-number{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--bg);
  background: var(--accent-2);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 20px;
}
.process-step h3{ font-size: 18px; margin-bottom: 8px; }
.process-step p{ color: var(--text-muted); font-size: 14.5px; }

/* ---------- portfolio ---------- */
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card{
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.portfolio-card:hover{ border-color: var(--accent); transform: translateY(-4px); }
.portfolio-card picture{ display: block; }
.portfolio-card__image{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-soft);
}
.portfolio-card__body{
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portfolio-tag{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.portfolio-card h3{ font-size: 20px; margin: 0; }
.portfolio-card p{ color: var(--text-muted); font-size: 14.5px; min-height: 84px; margin: 0; }
.portfolio-link{
  display: inline-block;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- testimonials ---------- */
.testimonials-section .wrap{ margin-bottom: 10px; }
.marquee-testimonials{ padding: 10px 0 20px; }
.testimonial-card{
  flex: 0 0 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.testimonial-card p{
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 22px;
  line-height: 1.6;
}
.testimonial-person{
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #08101F;
  flex-shrink: 0;
}
.testimonial-name{ font-size: 14.5px; font-weight: 600; }
.testimonial-role{ font-size: 13px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-section{ padding: 90px 0; }
.faq-list{
  margin-top: 42px;
  display: grid;
  gap: 14px;
  max-width: 860px;
}
.faq-item{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 26px;
  transition: border-color .2s ease;
}
.faq-item[open]{ border-color: var(--accent); }
.faq-item summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary h3{
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.45;
}
.faq-item summary::after{
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after{ content: "−"; }
.faq-item > p{
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
  padding: 0 0 24px;
  max-width: 70ch;
}

/* ---------- CTA ---------- */
.cta-section{ padding: 90px 0; }
.cta-inner{
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
}
.cta-inner h2{ font-size: clamp(26px, 3.2vw, 36px); }
.cta-inner p{ color: var(--text-muted); font-size: 16px; }

/* ---------- contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact-intro .eyebrow{ margin-bottom: 14px; }
.contact-intro .section-title{ margin-bottom: 14px; }
.contact-intro .section-sub{ margin-bottom: 32px; }
.contact-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-other h3{
  font-size: 14px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.contact-options{
  display: grid;
  gap: 14px;
}
.contact-option{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-lift);
}
.contact-option .contact-label{
  display: block;
  width: auto;
  margin-bottom: 6px;
}
.contact-option a,
.contact-option p{
  color: var(--text);
  font-size: 15px;
  margin: 0;
}
.contact-option a{ color: var(--accent); font-weight: 600; }
.contact-line{
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--text);
}
.contact-line:last-child{ border-bottom: 1px solid var(--border-soft); }
.contact-label{
  display: inline-block;
  width: 110px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--border-soft);
  padding-top: 70px;
  position: relative;
  z-index: 1;
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-address{
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 6px 0;
  margin: 0;
}
.footer-brand p{
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4{
  font-size: 14px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}
.footer-col a{
  display: block;
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color .2s ease;
}
.footer-col a:hover{ color: var(--accent); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
  color: var(--text-faint);
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-tag{ font-family: var(--font-mono); }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-list{ grid-template-columns: repeat(2, 1fr); }
  .process-list::before{ display: none; }
  .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .wrap{ padding: 0 18px; }
  .header-inner{ height: auto; padding: 14px 0; gap: 10px; }
  .main-nav{
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 24px 26px;
    gap: 6px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  .main-nav.is-open{ transform: translateY(0); opacity: 1; }
  .nav-link{ padding: 10px 0; font-size: 16px; }
  .nav-toggle{ display: flex; }
  .lang-dropdown{ display: none; }
  .mobile-lang-switcher{ display: flex; }
  .header-actions .btn-small{ padding: 9px 14px; font-size: 13px; }

  .hero{ padding: 140px 0 70px; }
  .hero-inner{ gap: 32px; }
  .hero-copy{ order: 1; }
  .hero-visual{ order: 2; margin-top: 8px; }
  .hero-title{ font-size: clamp(28px, 8vw, 42px); }
  .hero-sub{ font-size: 16px; margin-top: 16px; }
  .hero-cta, .hero-stats{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-cta .btn{ width: 100%; justify-content: center; }
  .hero-stats{ gap: 18px; margin-top: 38px; }
  .terminal-body{ padding: 18px 16px; min-height: 180px; }
  .terminal-code{ font-size: 12.5px; }
  .tech-chip{ font-size: 13px; padding: 9px 14px; }
  .why-grid, .services-grid, .process-list, .portfolio-grid{ grid-template-columns: 1fr; }
  .why-card, .service-card, .process-step, .portfolio-card__body, .contact-option{ padding: 20px; }
  .portfolio-card__image{ aspect-ratio: 4 / 3; }
  .faq-section{ padding: 60px 0; }
  .faq-item{ padding: 0 20px; }
  .faq-item summary{ padding: 18px 0; }
  .faq-item summary h3{ font-size: 15.5px; }
  .section-sub{ margin-bottom: 36px; }
  .contact-actions{ flex-direction: column; align-items: stretch; }
  .contact-actions .btn{ width: 100%; justify-content: center; }
  .contact-option .contact-label{ width: auto; display: block; margin-bottom: 6px; }
  .footer-inner{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px){
  .hero{ padding-top: 124px; }
  .section-title{ font-size: clamp(24px, 7vw, 30px); }
  .section-sub{ font-size: 15px; }
  .btn{ padding: 12px 20px; font-size: 14px; }
  .portfolio-card p{ min-height: auto; }
  .contact-option{ padding: 18px; }
  .cta-inner{ padding: 44px 22px; }
}