/* =================================================================
   ESKEIA.COM — Shared Styles
   ================================================================= */

/* ── 1. Tokens ── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --bg-hero:     #0a0f1e;
  --ink:         #0a0f1e;
  --ink-soft:    #4b5563;
  --ink-mute:    #9ca3af;
  --accent:      #4f46e5;
  --accent-h:    #4338ca;
  --accent-light:rgba(79, 70, 229, 0.1);
  --violet:      #7c3aed;
  --blue:        #2563eb;
  --teal:        #0891b2;
  --green:       #059669;
  --line:        rgba(10,15,30,0.08);
  --line-dark:   rgba(10,15,30,0.14);
  --sans:        'Poppins', system-ui, sans-serif;
  --gutter:      clamp(1.25rem, 5vw, 2.5rem);
  --max:         1200px;
  --nav-h:       80px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.15; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── 3. Utilities ── */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--ink); color: #fff;
  border-radius: 6px; font-size: .85rem;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), 100%);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

/* ── 4. Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── 5. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-h); box-shadow: 0 8px 24px rgba(79,70,229,0.3); }

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #1e293b; box-shadow: 0 8px 24px rgba(10,15,30,0.2); }

.btn-white {
  background: #fff;
  color: var(--accent);
}
.btn-white:hover { background: #f1f0ff; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.btn-ghost-white {
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── 6. Navigation ── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links > li > a svg { width: 12px; height: 12px; transition: transform .25s; }
.nav-links > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid var(--line);
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s, transform .22s;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  border-radius: 6px;
  font-size: .875rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-dropdown a:hover { background: var(--accent-light); color: var(--accent); }
.nav-dropdown .dd-icon {
  width: 32px; height: 32px;
  background: var(--accent-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
}

.nav-cta {
  padding: .55rem 1.25rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  margin-left: .5rem;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-h) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,0.35); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: #fff;
  display: block;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 199;
  background: var(--bg-hero);
  flex-direction: column;
  padding: 2rem var(--gutter);
  gap: .5rem;
  overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  display: block;
  padding: .9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s;
}
.nav-mobile a:hover { color: #fff; }
.nav-mobile .mobile-sub a {
  padding-left: 2rem;
  font-size: .875rem;
  color: rgba(255,255,255,0.55);
  border-bottom: none;
}
.nav-mobile .mobile-sub a:hover { color: rgba(255,255,255,0.9); }
.nav-mobile .mobile-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 1.25rem 1rem .4rem;
}
.nav-mobile .nav-cta-mobile {
  margin-top: 1rem;
  padding: .9rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

/* ── 7. Page Hero (section at top under nav) ── */
.page-hero {
  padding-top: var(--nav-h);
  background: var(--bg-hero);
  color: #fff;
  text-align: center;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79,70,229,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(124,58,237,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
}
.page-hero-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.75;
}

/* ── 8. Section commons ── */
.section { padding-block: clamp(5rem, 10vw, 8rem); }
.section-alt { background: var(--bg-alt); }

.section-tag { /* same as .tag */ }
.sh { /* section heading */
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.sh em { font-style: normal; color: var(--accent); }
.sp { /* section paragraph */
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.8;
}

.section-header-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header-pair .sp { max-width: 42ch; }

/* ── 9. Home Hero ── */
.home-hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg-hero);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(79,70,229,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 25%, rgba(124,58,237,0.3) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(37,99,235,0.2) 0%, transparent 45%);
  pointer-events: none;
}
.home-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: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative; z-index: 1;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: .04em;
  animation: fadeUp .8s var(--ease-out) .1s both;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.home-hero h1 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: .96;
  margin-bottom: 2rem;
  max-width: 14ch;
  animation: fadeUp .9s var(--ease-out) .2s both;
}
.home-hero h1 .gradient-text {
  background: linear-gradient(90deg, #a78bfa, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-hero-desc {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.65);
  max-width: 50ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp .9s var(--ease-out) .32s both;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 5rem;
  animation: fadeUp .9s var(--ease-out) .42s both;
}
.home-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeUp .9s var(--ease-out) .52s both;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-inline: 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,0.45); }

/* Deco shape */
.home-hero-deco {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.home-hero-deco::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.home-hero-deco::after {
  content: '';
  position: absolute;
  inset: 100px;
  border-radius: 50%;
  background: rgba(79,70,229,0.15);
  filter: blur(40px);
}
.deco-dot-grid {
  width: 200px; height: 200px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  opacity: 0.35;
}
.deco-dot-grid span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  display: block;
}

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

/* ── 10. Service Area Cards (home) ── */
.service-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sa-card {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 2rem;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 1rem;
}
.sa-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--accent); }
.sa-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.sa-icon-indigo { background: rgba(79,70,229,0.1); }
.sa-icon-violet { background: rgba(124,58,237,0.1); }
.sa-icon-blue   { background: rgba(37,99,235,0.1); }
.sa-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.sa-card p {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
}
.sa-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  display: flex; align-items: center; gap: .3rem;
  transition: gap .2s;
}
.sa-link:hover { gap: .6rem; }

/* ── 11. About snippet (home) ── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.about-strip-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 420px;
}
.about-strip-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.about-strip-photo:hover img { transform: scale(1.04); }
.about-strip-photo-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: #fff;
  border-radius: 10px;
  padding: .75rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.badge-dot-green {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.about-strip-photo-badge strong { font-size: .82rem; font-weight: 600; color: var(--ink); }
.about-strip-photo-badge span { font-size: .72rem; color: var(--ink-soft); display: block; }
.about-strip-text {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.about-strip-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.about-strip-text h2 em { font-style: normal; color: var(--accent); }
.about-strip-text p { font-size: .95rem; color: var(--ink-soft); line-height: 1.8; }
.about-values {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.av-item { display: flex; gap: .75rem; align-items: flex-start; }
.av-check {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .15rem;
  color: #fff; font-size: .65rem;
}
.av-item p { font-size: .875rem; color: var(--ink); line-height: 1.5; }
.av-item strong { display: block; margin-bottom: .1rem; }

/* ── 12. Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tcard {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: box-shadow .3s;
}
.tcard:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.tcard-stars { color: #f59e0b; font-size: .9rem; letter-spacing: .1rem; }
.tcard blockquote {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.75;
  flex: 1;
}
.tcard-author {
  display: flex; align-items: center; gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tcard-name { font-size: .85rem; font-weight: 600; color: var(--ink); }
.tcard-role { font-size: .75rem; color: var(--ink-mute); }

/* ── 13. Projects grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.pcard {
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); border-color: var(--accent); }
.pcard-top {
  padding: 2rem;
  background: var(--bg-alt);
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.pcard-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  opacity: 0.25;
  line-height: 1;
}
.pcard-tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.pcard-tags span {
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .6rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
}
.pcard-body { padding: 1.75rem 2rem; }
.pcard-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: .6rem;
}
.pcard-body p { font-size: .875rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.1rem; }
.pcard-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .2s;
  display: inline-flex; gap: .3rem;
}
.pcard-link:hover { gap: .6rem; }

/* ── 14. CTA Band ── */
.cta-band {
  background: var(--bg-hero);
  color: #fff;
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(79,70,229,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 40%, rgba(124,58,237,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2.5rem; }
.cta-band-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── 15. CTA Two Paths ── */
.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.path-card {
  padding: 2.5rem;
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 1rem;
  text-align: center;
  align-items: center;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.path-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.path-card-pyme {
  background: var(--accent);
  color: #fff;
}
.path-card-empresa {
  background: #fff;
  border: 2px solid var(--line-dark);
  color: var(--ink);
}
.path-card h3 { font-size: 1.25rem; font-weight: 700; }
.path-card p { font-size: .9rem; opacity: 0.8; line-height: 1.65; }
.path-card .btn { align-self: center; }

/* ── 16. Service detail page ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sg-card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: .75rem;
}
.sg-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: var(--accent); }
.sg-card-icon {
  font-size: 1.75rem;
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.sg-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.sg-card p { font-size: .875rem; color: var(--ink-soft); line-height: 1.7; }

/* Methodology steps */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.method-step {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  position: relative;
}
.method-step-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
  letter-spacing: -0.04em;
  line-height: 1;
}
.method-step h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.method-step p { font-size: .875rem; color: var(--ink-soft); line-height: 1.7; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s; color: var(--accent); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}
.faq-item.is-open .faq-a { max-height: 400px; padding-bottom: 1.25rem; }

/* ── 17. About page ── */
.team-section { display: grid; grid-template-columns: 380px 1fr; gap: 5rem; align-items: start; }
.team-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { display: flex; flex-direction: column; gap: 2rem; padding-top: 1rem; }
.team-info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.team-info h1 em { font-style: normal; color: var(--accent); }
.team-info p { font-size: .95rem; color: var(--ink-soft); line-height: 1.85; }
.team-caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cap-item {
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; gap: .75rem; align-items: flex-start;
}
.cap-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.cap-item strong { font-size: .875rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .2rem; }
.cap-item span { font-size: .8rem; color: var(--ink-soft); }
.ecosystem-grid {
  display: flex; flex-wrap: wrap; gap: .6rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.eco-tag {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  color: var(--ink-soft);
  transition: background .2s, border-color .2s, color .2s;
}
.eco-tag:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

/* ── 18. Contact page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line-dark);
  border-radius: 8px;
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.ci-card {
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; gap: 1rem; align-items: flex-start;
}
.ci-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-card strong { font-size: .875rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .2rem; }
.ci-card a, .ci-card span { font-size: .875rem; color: var(--ink-soft); }
.ci-card a:hover { color: var(--accent); }

/* ── 19. Footer ── */
.footer {
  background: var(--bg-hero);
  color: rgba(255,255,255,0.7);
  padding-block: 4rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .85rem;
  line-height: 1.75;
  max-width: 32ch;
  margin-bottom: .75rem;
}
.footer-brand .footer-loc { font-size: .8rem; opacity: 0.5; }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: .5rem;
}

/* ── 20. View transitions ── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.4s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

/* ── 21. Responsive ── */
@media (max-width: 1024px) {
  .team-section { grid-template-columns: 1fr; }
  .team-photo { max-width: 320px; aspect-ratio: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .service-areas { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip-photo { max-width: 320px; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .projects-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .two-paths { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .home-hero-deco { display: none; }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-stat { padding-inline: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .team-caps { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .service-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .home-hero-stats { gap: 0; }
  .hero-stat { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .badge-pulse { animation: none; }
}
