/* Markiva — corporate landing (polished) */
:root {
  color-scheme: dark;
  --bg-deep: #070a0f;
  --bg-card: rgba(16, 22, 32, 0.78);
  --bg-elevated: #101824;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #eef2f8;
  --text-muted: #94a3b8;
  --accent: #14f0c8;
  --accent-hover: #5ff5dc;
  --accent-dim: rgba(20, 240, 200, 0.12);
  --accent-2: #7c6cf0;
  --accent-2-dim: rgba(124, 108, 240, 0.14);
  --glow: rgba(20, 240, 200, 0.28);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font: "Cairo", "Segoe UI", system-ui, sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1140px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-mid: 0.35s;
  --dur-slow: 0.55s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #04221c;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

/* Background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 85% -15%, rgba(124, 108, 240, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 45% at 10% 10%, rgba(20, 240, 200, 0.1), transparent 48%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(20, 240, 200, 0.05), transparent 55%),
    var(--bg-deep);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, black, transparent);
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--max), 100% - var(--space) * 2);
  margin-inline: auto;
}

.section--tight-top {
  padding-top: 0 !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(7, 10, 15, 0.78);
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 15, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  border-radius: 12px;
  padding: 0.2rem 0.35rem 0.2rem 0;
  margin: -0.2rem 0;
  transition: transform var(--dur-mid) var(--ease-smooth), opacity var(--dur-fast) var(--ease-out);
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--border-strong);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a:not(.btn) {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s var(--ease-smooth);
}

.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-smooth);
}

.nav-desktop a:not(.btn):hover {
  color: var(--text);
}

.nav-desktop a:not(.btn).is-active {
  color: var(--text);
}

.nav-desktop a:not(.btn).is-active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform var(--dur-mid) var(--ease-spring),
    box-shadow 0.4s var(--ease-smooth),
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    filter 0.3s var(--ease-smooth),
    color 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, #1ef0c9 0%, #0bc49f 55%, #09997f 100%);
  color: #031510;
  box-shadow: 0 4px 20px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #02120e;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* WhatsApp CTAs — high visibility for ad landing */
.btn.btn-primary.btn-whatsapp {
  background: linear-gradient(145deg, #3af0b8 0%, #25d366 45%, #0bae8e 100%);
  box-shadow:
    0 4px 22px rgba(37, 211, 102, 0.42),
    0 0 0 1px rgba(37, 211, 102, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
  padding-inline: 1.15rem;
  animation: wa-cta-pulse 2.8s ease-in-out infinite;
}

.btn.btn-primary.btn-whatsapp:hover {
  box-shadow:
    0 8px 36px rgba(37, 211, 102, 0.5),
    0 0 0 2px rgba(37, 211, 102, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

@keyframes wa-cta-pulse {
  0%,
  100% {
    box-shadow:
      0 4px 22px rgba(37, 211, 102, 0.42),
      0 0 0 1px rgba(37, 211, 102, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  50% {
    box-shadow:
      0 6px 32px rgba(37, 211, 102, 0.55),
      0 0 0 3px rgba(37, 211, 102, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.btn-primary.btn-whatsapp {
    animation: none;
  }
}

.nav-desktop .btn-whatsapp {
  white-space: nowrap;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: rgba(20, 240, 200, 0.45);
  color: var(--accent-hover);
  background: rgba(20, 240, 200, 0.06);
  transform: translateY(-1px);
}

.btn .btn-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-smooth), opacity 0.3s var(--ease-out);
  margin-inline: auto;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0 1.25rem;
  border-top: 1px solid var(--border);
}

.nav-mobile a:not(.btn) {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  transition: background 0.35s var(--ease-smooth), color 0.3s var(--ease-smooth), transform 0.25s var(--ease-out);
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn).is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-mobile .btn {
  margin-top: 0.35rem;
  text-align: center;
  width: 100%;
}

.site-header.is-open .nav-mobile {
  display: flex;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .header-tools .menu-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .site-header .nav-mobile {
    display: none !important;
  }
}

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  z-index: 90;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  animation: wa-fab-ring 2.6s ease-in-out infinite;
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.45s var(--ease-smooth),
    opacity 0.35s var(--ease-smooth);
}

@keyframes wa-fab-ring {
  0%,
  100% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 8px 36px rgba(37, 211, 102, 0.58),
      0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab {
    animation: none;
  }
}

.wa-fab:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
}

body.nav-open .wa-fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

/* Hero */
.hero {
  padding: clamp(2.75rem, 9vw, 5.5rem) 0 clamp(3.5rem, 11vw, 6.5rem);
  position: relative;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.hero-inner {
  max-width: 40rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at center, rgba(20, 240, 200, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual__stack {
  position: relative;
  width: 100%;
  max-width: min(460px, 100%);
  margin-inline: auto;
  z-index: 1;
  animation: hero-float 9s var(--ease-smooth) infinite;
}

.hero-visual__img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  transition: opacity 0.45s var(--ease-smooth), filter 0.45s var(--ease-smooth);
}

[data-theme="light"] .hero-visual__img {
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12));
}

.hero-visual__img--light {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-visual__img--dark {
  position: relative;
  z-index: 1;
  opacity: 1;
}

[data-theme="light"] .hero-visual__img--dark {
  opacity: 0;
}

[data-theme="light"] .hero-visual__img--light {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-top {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 0.25rem;
  }

  .hero-inner {
    max-width: none;
  }

  .hero-visual__stack {
    max-width: min(340px, 92vw);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(20, 240, 200, 0.28);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: 0.02em;
  animation: badge-in 0.7s var(--ease-smooth) both;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 5.2vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(105deg, var(--accent) 0%, #8ae8ff 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span.hero-h1-sub {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(0.92rem, 2.1vw, 1.12rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--text-muted);
  color: var(--text-muted);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  color: var(--text-muted);
  font-weight: 500;
  max-width: 40rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  align-items: center;
}

.hero-portfolio-link {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(148, 163, 184, 0.45);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.hero-portfolio-link:hover {
  color: var(--accent-hover);
  border-bottom-color: rgba(20, 240, 200, 0.5);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  margin-bottom: 2.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust .sep {
  color: var(--border-strong);
  margin: 0 0.65rem;
  user-select: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  max-width: 100%;
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-trust .sep {
    display: none;
  }

  .hero-trust span {
    width: 100%;
    padding: 0.25rem 0;
  }
}

.stat {
  padding: 1.1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.4s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    transform 0.4s var(--ease-smooth);
}

.stat:hover {
  border-color: rgba(20, 240, 200, 0.22);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(20, 240, 200, 0.08);
  transform: translateY(-3px);
}

.stat strong {
  display: block;
  font-size: clamp(1.35rem, 3.5vw, 1.55rem);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.45;
}

/* Sections */
section {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1.1rem;
}

.card {
  position: relative;
  padding: 1.6rem 1.45rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.45s var(--ease-smooth),
    transform 0.45s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.6;
}

.card:hover {
  border-color: rgba(20, 240, 200, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(20, 240, 200, 0.06);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(20, 240, 200, 0.2);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 1.1rem;
  transition: transform 0.45s var(--ease-spring), border-color 0.35s var(--ease-smooth), box-shadow 0.4s;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .card-icon {
  transform: scale(1.06) rotate(-2deg);
  border-color: rgba(20, 240, 200, 0.45);
  box-shadow: 0 8px 24px rgba(20, 240, 200, 0.12);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.68;
}

/* Journey */
.journey {
  background: linear-gradient(180deg, transparent, var(--accent-2-dim), transparent);
  border-block: 1px solid var(--border);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.45rem 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.4s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    transform 0.4s var(--ease-smooth);
}

.step:hover {
  border-color: rgba(124, 108, 240, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--accent-2), #5b4cdb);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(92, 75, 220, 0.35);
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
  padding-inline-end: 2.25rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
}

/* Portfolio */
.portfolio .cards {
  gap: 1.35rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.portfolio-thumb {
  margin: 0;
  aspect-ratio: 400 / 220;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease-smooth), filter 0.45s var(--ease-smooth);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.05);
}

.portfolio-card__body {
  padding: 1.35rem 1.45rem 1.55rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card h3 {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.portfolio .portfolio-card .title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

.portfolio-card__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.68;
}

.portfolio .portfolio-card__body > p:last-child {
  margin-top: auto;
}
.ceo-wrap {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: border-color 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.ceo-wrap:hover {
  border-color: rgba(20, 240, 200, 0.18);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(20, 240, 200, 0.06);
  transform: translateY(-2px);
}

.ceo-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20, 240, 200, 0.35);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.ceo-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.ceo-wrap:hover .ceo-photo img {
  transform: scale(1.03);
}

.ceo-content blockquote {
  margin: 0 0 1.15rem;
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
  font-weight: 600;
  line-height: 1.85;
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 1.35rem;
  color: var(--text);
}

.ceo-meta {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.6;
}

.ceo-meta strong {
  display: block;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.ceo-actions {
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .ceo-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ceo-photo {
    max-width: 220px;
    margin-inline: auto;
  }

  .ceo-content blockquote {
    border-inline-start: none;
    padding-inline-start: 0;
    border-top: 3px solid var(--accent);
    padding-top: 1.1rem;
  }
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(
    120deg,
    rgba(20, 240, 200, 0.12) 0%,
    rgba(124, 108, 240, 0.14) 50%,
    rgba(20, 240, 200, 0.1) 100%
  );
  background-size: 200% 200%;
  animation: cta-gradient 14s var(--ease-smooth) infinite;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: var(--max);
  margin-inline: auto;
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.cta-band:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-band h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 28rem;
  margin-inline: auto;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 calc(2.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .site-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
}

.site-footer strong {
  color: var(--text);
  font-weight: 800;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.3s var(--ease-smooth);
}

.footer-nav a:hover {
  color: var(--accent);
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
}

.faq-q {
  margin: 0;
  padding: 1rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.faq-q:first-child {
  padding-top: 0;
}

.faq-a {
  margin: 0;
  padding: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.75;
  border-bottom: 1px solid var(--border);
}

.faq-a:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cta-gradient {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal[data-delay="1"],
  .reveal[data-delay="2"],
  .reveal[data-delay="3"] {
    transition-delay: 0s;
  }

  .card:hover {
    transform: none;
  }

  .card:hover .card-icon {
    transform: none;
  }

  .menu-toggle span {
    transition: none;
  }

  .hero-visual__stack,
  .hero-visual__img,
  .hero-badge,
  .cta-band {
    animation: none !important;
  }

  .stat:hover,
  .step:hover,
  .ceo-wrap:hover,
  .cta-band:hover {
    transform: none;
  }

  .ceo-wrap:hover .ceo-photo img {
    transform: none;
  }

  .portfolio-card:hover .portfolio-thumb img {
    transform: none;
    filter: none;
  }

  .theme-toggle__icon--moon,
  .theme-toggle__icon--sun {
    transition: none;
  }
}

/* ===== Theme toggle + light theme ===== */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    color 0.3s var(--ease-smooth),
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    transform 0.25s var(--ease-spring);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: rgba(20, 240, 200, 0.35);
  background: rgba(20, 240, 200, 0.08);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle__icon {
  position: absolute;
  pointer-events: none;
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: scale(0.6) rotate(-20deg);
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

[data-theme="light"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(0.6) rotate(20deg);
}

[data-theme="light"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle--mobile {
  width: 100%;
  margin: 0.25rem 0 0.15rem;
}

[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.96);
  --bg-elevated: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-dim: rgba(13, 148, 136, 0.12);
  --accent-2: #6366f1;
  --accent-2-dim: rgba(99, 102, 241, 0.1);
  --glow: rgba(13, 148, 136, 0.22);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .bg-mesh {
  background:
    radial-gradient(ellipse 90% 55% at 85% -15%, rgba(99, 102, 241, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 45% at 10% 10%, rgba(13, 148, 136, 0.1), transparent 48%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(13, 148, 136, 0.06), transparent 55%),
    var(--bg-deep);
}

[data-theme="light"] .bg-grid {
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
}

[data-theme="light"] .skip-link {
  color: #fff;
}

[data-theme="light"] .btn-primary {
  color: #f8fafc;
}

[data-theme="light"] .btn-primary:hover {
  color: #fff;
}

[data-theme="light"] .btn.btn-primary.btn-whatsapp,
[data-theme="light"] .btn.btn-primary.btn-whatsapp:hover {
  color: #04220c;
}

[data-theme="light"] .btn-ghost {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .theme-toggle {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(13, 148, 136, 0.1);
}

[data-theme="light"] .hero-visual::after {
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.12), transparent 70%);
}

[data-theme="light"] .card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, transparent 45%), var(--bg-card);
}

[data-theme="light"] .card::before {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.07), transparent);
}

[data-theme="light"] .nav-mobile a:not(.btn):hover,
[data-theme="light"] .nav-mobile a:not(.btn).is-active {
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .journey {
  background: linear-gradient(180deg, transparent, var(--accent-2-dim), transparent);
}

[data-theme="light"] .step::before {
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .footer-nav a:hover {
  color: var(--accent-hover);
}
