/* ============================================================
   EEZYCODE SOFTWARE — Main Stylesheet
   Design system: tokens, base, layout, components
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --navy: #0B1F3A;
  --blue: #146EF5;
  --cyan: #19C3E6;
  --slate: #172033;
  --light-blue: #EEF6FF;
  --white: #FFFFFF;
  --teal: #11A683;

  /* Derived */
  --navy-80: rgba(11, 31, 58, 0.8);
  --navy-60: rgba(11, 31, 58, 0.6);
  --ink: #101826;
  --ink-soft: #4B5871;
  --border-soft: rgba(11, 31, 58, 0.09);
  --border-soft-dark: rgba(255, 255, 255, 0.12);
  --surface: #FFFFFF;
  --surface-alt: #F6FAFF;

  --grad-primary: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-dark: linear-gradient(160deg, #081527 0%, #0B1F3A 45%, #123A6B 100%);
  --grad-teal: linear-gradient(120deg, var(--teal) 0%, var(--cyan) 100%);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--grad-primary);
  display: inline-block;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 108px 0; position: relative; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--grad-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { margin-top: 16px; font-size: 1.08rem; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 110, 245, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(20, 110, 245, 0.36); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-soft);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.section-dark .btn-outline { color: var(--white); border-color: var(--border-soft-dark); }
.section-dark .btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 10px 20px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease), border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.site-header.is-transparent {
  background: transparent;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  height: 74px;
  border-bottom-color: var(--border-soft);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.1;
}
.brand-name span { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--blue); font-weight: 500; margin-top: 2px; }

.site-header.is-transparent .brand-name,
.site-header.is-transparent .brand-name span { color: var(--white); }
.site-header.is-transparent .brand-name span { color: var(--cyan); }

.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%; height: 2px;
  background: var(--grad-primary);
  transition: width .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a.active { color: var(--blue); }

.site-header.is-transparent .nav-list a { color: rgba(255,255,255,0.88); }
.site-header.is-transparent .nav-list a.active { color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s ease, background .3s ease;
}
.site-header.is-transparent .nav-toggle span { background: var(--white); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-active span { background: var(--navy) !important; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile Nav ---------- */
@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--grad-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    gap: 0;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
  .nav-list a {
    color: var(--white) !important;
    font-family: var(--font-display);
    font-size: 1.7rem;
    padding: 12px 0;
    width: 100%;
  }
  .header-actions .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .header-actions { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: var(--white);
  padding: calc(var(--header-h) + 92px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(25, 195, 230, 0.16), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(20, 110, 245, 0.22), transparent 50%);
  z-index: -2;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 { color: var(--white); margin-bottom: 22px; }
.hero-copy h1 em { font-style: normal; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.78); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft-dark);
}
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }
.hero-meta div span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.hero-visual { position: relative; height: 480px; }
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-soft-dark);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: floatY 6s ease-in-out infinite;
}
.hero-card .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  flex-shrink: 0;
}
.hero-card .ic svg { width: 22px; height: 22px; stroke: white; }
.hero-card strong { display: block; font-size: 0.92rem; color: var(--white); }
.hero-card span { font-size: 0.76rem; color: rgba(255,255,255,0.6); }

.hero-card--1 { top: 4%; left: 4%; animation-delay: 0s; }
.hero-card--2 { top: 40%; right: 0%; animation-delay: 1.2s; }
.hero-card--3 { bottom: 6%; left: 14%; animation-delay: 2.1s; }
.hero-card--4 { top: 66%; left: -4%; animation-delay: 3s; }

.hero-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-dark);
  color: var(--white);
  padding: calc(var(--header-h) + 76px) 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(25,195,230,0.18), transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero p.lead { color: rgba(255,255,255,0.75); font-size: 1.08rem; max-width: 620px; margin-top: 18px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(20,110,245,0.18); }

.service-card { display: flex; flex-direction: column; gap: 16px; }
.service-card .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--light-blue);
  display: flex; align-items: center; justify-content: center;
}
.service-card .ic svg { width: 26px; height: 26px; stroke: var(--blue); }
.service-card h3 a { transition: color .25s ease; }
.service-card:hover h3 a { color: var(--blue); }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.service-card .tags span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--blue);
  background: var(--light-blue);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
}
.card-link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* Industry card */
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  isolation: isolate;
}
.industry-card .bg-illustration { position: absolute; inset: 0; z-index: -2; }
.industry-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.15) 0%, rgba(6,16,32,0.92) 100%);
  z-index: -1;
}
.industry-card h3 { color: var(--white); margin-bottom: 8px; }
.industry-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; margin-bottom: 14px; }
.industry-card a { font-weight: 600; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); }

/* Project / Case study card */
.project-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-thumb { height: 210px; position: relative; }
.project-body { padding: 28px; }
.project-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.project-meta .badge { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--light-blue); color: var(--blue); }
.project-body h3 { margin-bottom: 10px; }
.project-tech { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.project-tech span { font-size: 0.72rem; font-family: var(--font-mono); color: var(--ink-soft); border: 1px solid var(--border-soft); padding: 4px 10px; border-radius: var(--radius-pill); }

/* Product card */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-visual { height: 220px; position: relative; overflow: hidden; }
.product-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-body .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: rgba(17,166,131,0.1); padding: 5px 12px; border-radius: var(--radius-pill); }
.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 6px 0 10px; }
.product-features li { font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.product-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-primary); flex-shrink: 0; }

/* Value / feature small cards */
.value-card { text-align: left; }
.value-card .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue); margin-bottom: 14px; display: block; }

/* Testimonial */
.testimonial-slider { position: relative; max-width: 820px; margin: 0 auto; }
.testimonial-slide { display: none; text-align: center; }
.testimonial-slide.is-active { display: block; animation: fadeIn .6s var(--ease); }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--white); line-height: 1.5; margin-bottom: 30px; }
.testimonial-quote::before { content: '“'; color: var(--cyan); }
.testimonial-quote::after { content: '”'; color: var(--cyan); }
.testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--white);
  margin-bottom: 10px;
}
.testimonial-author strong { color: var(--white); }
.testimonial-author span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background .3s ease, transform .3s ease;
}
.slider-dots button.is-active { background: var(--grad-primary); transform: scale(1.3); }

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

/* ---------- Stats ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 44px 0;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item span { font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }
.section-dark .stat-item span { color: rgba(255,255,255,0.65); }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 20px 0; }
.logo-strip .logo-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-soft); opacity: 0.55; transition: opacity .3s ease;
  display: flex; align-items: center; gap: 8px;
}
.logo-strip .logo-chip:hover { opacity: 1; color: var(--navy); }
.logo-strip .logo-chip svg { width: 20px; height: 20px; }

/* ---------- Process steps ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 28px; padding: 34px 0; border-top: 1px solid var(--border-soft);
}
.process-item:last-child { border-bottom: 1px solid var(--border-soft); }
.process-item .step-num { font-family: var(--font-mono); font-size: 2.4rem; color: var(--border-soft); font-weight: 500; -webkit-text-stroke: 1px var(--blue); color: transparent; }
.process-item h3 { margin-bottom: 8px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border-soft); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 0 5px var(--light-blue);
}
.timeline-item .year { font-family: var(--font-mono); color: var(--blue); font-weight: 600; margin-bottom: 6px; display: block; }

/* ---------- FAQ Accordion ---------- */
.accordion-item { border-bottom: 1px solid var(--border-soft); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
}
.accordion-trigger .plus { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ''; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .35s var(--ease);
}
.accordion-trigger .plus::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.accordion-trigger .plus::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.accordion-item.is-open .accordion-trigger .plus::after { transform: translateX(-50%) rotate(90deg) scale(0); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion-panel p { padding-bottom: 24px; max-width: 700px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.form-field label .req { color: var(--blue); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  transition: border-color .3s ease, background .3s ease;
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue); background: var(--white); outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .error-msg { font-size: 0.78rem; color: #D64545; min-height: 16px; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #D64545; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.form-success {
  display: none;
  background: rgba(17,166,131,0.08);
  border: 1px solid rgba(17,166,131,0.3);
  color: #0C7A5F;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* ---------- CTA sections ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: var(--grad-dark);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(25,195,230,0.22), transparent 55%); z-index: -1; }
.cta-banner h2 { color: var(--white); max-width: 460px; }
.cta-banner p { color: rgba(255,255,255,0.72); margin-top: 12px; max-width: 420px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: rgba(255,255,255,0.7); padding: 88px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-name, .footer-brand .brand-name span { color: var(--white); }
.footer-brand p { margin: 18px 0 22px; color: rgba(255,255,255,0.55); max-width: 300px; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.footer-social a:hover { background: var(--grad-primary); border-color: transparent; transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; stroke: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.92rem; letter-spacing: .03em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.55); transition: color .3s ease, padding-left .3s ease; }
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.contact-details li {
  color: var(--ink) !important;
}

.contact-details span,
.contact-details address,
.contact-details a {
  color: var(--ink) !important;
}

.contact-details svg {
  stroke: var(--cyan);
}
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 0.82rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a:hover { color: var(--cyan); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; stroke: var(--white); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Filter tabs ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
  transition: all .3s ease;
}
.filter-btn.is-active, .filter-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(6,16,32,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; z-index: 2000;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto;
  padding: 44px; position: relative;
  transform: translateY(20px); transition: transform .4s var(--ease);
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); }
.modal-close svg { width: 16px; height: 16px; }
.modal-box .badge { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; color: var(--blue); background: var(--light-blue); padding: 5px 12px; border-radius: var(--radius-pill); display: inline-block; margin-bottom: 16px; }
.modal-box h3 { margin-bottom: 14px; }
.modal-box dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin-top: 20px; font-size: 0.92rem; }
.modal-box dt { font-weight: 600; color: var(--navy); }
.modal-box dd { color: var(--ink-soft); }

/* ---------- Alternating feature rows (services detail) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border-soft); }
.feature-row:last-child { border-bottom: none; }
.feature-row.is-reverse .feature-visual { order: 2; }
.feature-copy .cap-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature-copy .cap-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.feature-copy .cap-list svg { width: 19px; height: 19px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; }
.feature-copy .tech-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 26px; }
.feature-copy .tech-row span { font-family: var(--font-mono); font-size: 0.74rem; color: var(--navy); background: var(--surface-alt); border: 1px solid var(--border-soft); padding: 5px 12px; border-radius: var(--radius-pill); }
.feature-visual { position: relative; }

/* ---------- Illustration frame ---------- */
.illus-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.1;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}
.illus-frame svg { width: 100%; height: 100%; display: block; }

/* ---------- Misc pages: privacy/terms/404 ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 14px 0 20px 20px; list-style: disc; }
.prose ul li { margin-bottom: 8px; color: var(--ink-soft); }
.prose strong { color: var(--navy); }

.error-page { min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); }
.error-code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 14vw, 9rem);
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); position: relative; }
.map-note { position: absolute; top: 16px; left: 16px; background: var(--white); padding: 8px 16px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 0.72rem; box-shadow: var(--shadow-sm); z-index: 2; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.15); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.team-card span { font-size: 0.85rem; color: var(--blue); font-weight: 500; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.tag-sample {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px dashed var(--border-soft); padding: 3px 10px; border-radius: var(--radius-pill);
  display: inline-block;
}
