/* =========================================================
   NexGen Studio — Design System & Stylesheet
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Palette: Moss & Clay — earthy, flat color blocks, no gradients */
  --ink: #22261f;
  --ink-soft: #5c6154;
  --ink-faint: #92917e;
  --bg: #f3efe8;
  --bg-alt: #eae2d2;
  --surface: #fcfaf4;
  --border: #ded2b8;

  --primary: #3e5c3a; /* deep moss green — brand / structural */
  --primary-600: #354f31;
  --primary-dark: #253620;
  --primary-light: #6b8a63;
  --primary-tint: #e1e8da;

  --accent: #c1653d; /* clay / terracotta — CTAs, highlights */
  --accent-dark: #a34f2e;
  --accent-tint: #f3dfce;

  --gold: #b08628; /* muted ochre — tertiary highlight */
  --gold-tint: #f1e6c8;

  --teal: #2e5c52; /* deep teal-green — portfolio variety */
  --olive: #6b7a4f;
  --rust: #8c4a38;
  --umber: #6b4a34;
  --wine: #6e3f3a;

  /* Third-party brand colors — only for the WhatsApp / Google QR posters and their icons (catalogue.html) */
  --wa-green: #25d366;
  --wa-teal: #128c7e;
  --wa-dark: #075e54;
  --wa-ink: #111b21;
  --wa-meta: #667781;
  --wa-bubble: #d9fdd3;
  --wa-tick: #53bdeb;
  --g-blue: #4285f4;
  --g-blue-dark: #1a73e8;
  --g-red: #ea4335;
  --g-yellow: #fbbc05;
  --g-star: #f9ab00;
  --g-green: #34a853;
  --g-ink: #202124;
  --g-muted: #5f6368;
  --g-line: #dadce0;
  --paper: #ffffff;

  --dark: #1c2117;
  --dark-alt: #262c1e;
  --dark-border: #3a4230;
  --on-dark: #f3efe8;
  --on-dark-soft: #b7b9a2;

  --success: #3e5c3a;

  --grad-dark: linear-gradient(160deg, #262c1e 0%, #1c2117 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(34, 38, 31, 0.08);
  --shadow-md: 0 12px 30px rgba(34, 38, 31, 0.1);
  --shadow-lg: 0 24px 60px rgba(34, 38, 31, 0.16);
  --shadow-glow: 0 16px 40px rgba(193, 101, 61, 0.3);

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}
p {
  color: var(--ink-soft);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}
section[id] {
  scroll-margin-top: 100px;
}
.section-alt {
  background: var(--bg-alt);
}
.section-dark {
  background: var(--grad-dark);
  color: var(--on-dark);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--on-dark);
}
.section-dark p {
  color: var(--on-dark-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-light);
}

.text-gradient {
  color: var(--accent);
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ---------- 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;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-dark);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(163, 79, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(18, 16, 12, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    height 0.35s ease,
    backdrop-filter 0.35s ease;
}
.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(251, 250, 254, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(26, 21, 35, 0.06);
  border-bottom: 1px solid var(--border);
}

/* Every page opens on the dark hero canvas, so while the header is still
   transparent (un-scrolled) its text needs the light variant. The guard
   band the shader forces at the very top guarantees contrast here. */
.site-header:not(.scrolled) .brand {
  color: var(--on-dark);
}
.site-header:not(.scrolled) .brand span {
  color: var(--primary-light);
}
.site-header:not(.scrolled) .nav-links a {
  color: rgba(243, 239, 232, 0.82);
}
.site-header:not(.scrolled) .nav-links a:hover,
.site-header:not(.scrolled) .nav-links a.active {
  color: var(--on-dark);
}
.site-header:not(.scrolled) .nav-toggle {
  border-color: rgba(243, 239, 232, 0.35);
  color: var(--on-dark);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  transition: color 0.35s ease;
}
.brand-logo {
  width: 38px;
  height: 38px;
  display: flex;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  /* background: var(--primary); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
  font-weight: 800;
  font-size: 1.05rem;
  /* box-shadow: 0 10px 24px rgba(62, 92, 58, 0.28); */
}
.brand span {
  color: var(--primary);
  transition: color 0.35s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color 0.35s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition:
    color 0.35s ease,
    border-color 0.35s ease;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-drawer-close {
  display: none;
}
.nav-overlay {
  display: none;
}
.mobile-drawer {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  contain: layout paint;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 100px;
  background:
    radial-gradient(
      70% 80% at 90% 30%,
      rgba(193, 101, 61, 0.55) 0%,
      transparent 60%
    ),
    radial-gradient(
      60% 70% at 60% 90%,
      rgba(176, 134, 40, 0.4) 0%,
      transparent 60%
    ),
    radial-gradient(
      50% 60% at 15% 20%,
      rgba(62, 92, 58, 0.5) 0%,
      transparent 65%
    ),
    var(--dark);
  overflow: hidden;
}
.hero-copy h1 {
  color: var(--on-dark);
}
.hero .eyebrow {
  background: rgba(243, 239, 232, 0.14);
  color: var(--on-dark);
}
.hero .eyebrow::before {
  background: var(--accent);
}
.hero .lead {
  color: var(--on-dark-soft);
}
.hero .text-gradient {
  color: var(--gold);
}
.hero .btn-outline {
  color: var(--on-dark);
  border-color: rgba(243, 239, 232, 0.3);
}
.hero .btn-outline:hover {
  border-color: var(--on-dark);
  color: var(--on-dark);
  background: rgba(243, 239, 232, 0.08);
}
.hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  margin-bottom: 20px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  color: var(--on-dark);
}
.hero-meta div span {
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

.hero-visual {
  position: relative;
  height: 460px;
}
.mock-window {
  position: absolute;
  inset: 30px 10px 60px 40px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.mock-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--border);
}
.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mock-bar span:nth-child(1) {
  background: var(--accent);
}
.mock-bar span:nth-child(2) {
  background: var(--gold);
}
.mock-bar span:nth-child(3) {
  background: var(--primary);
}
.mock-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}
.mock-line {
  height: 12px;
  border-radius: 6px;
  background: var(--bg-alt);
}
.mock-line.w-60 {
  width: 60%;
}
.mock-line.w-40 {
  width: 40%;
}
.mock-line.w-90 {
  width: 90%;
}
.mock-chart {
  margin-top: 6px;
  height: 120px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 14px;
}
.mock-chart i {
  flex: 1;
  background: var(--accent);
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
}
.mock-chart i:nth-child(3n + 2) {
  background: var(--primary);
}
.mock-chart i:nth-child(3n) {
  background: var(--gold);
}

.floating-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 5.5s ease-in-out infinite;
}
.floating-card .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.fc-1 {
  top: 0;
  right: 0;
  animation-delay: 0.3s;
}
.fc-1 .ic {
  background: var(--accent);
}
.fc-2 {
  bottom: 20px;
  left: -20px;
  animation-delay: 1s;
}
.fc-2 .ic {
  background: var(--success);
}
.fc-3 {
  top: 46%;
  right: -26px;
  animation-delay: 0.6s;
}
.fc-3 .ic {
  background: var(--gold);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ---------- Logos marquee ---------- */
.logos-strip {
  padding-block: 44px;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.logos-strip .label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-bottom: 26px;
}

.marquee {
  overflow: hidden;
  width: 100%;

  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
}

.marquee-track span {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Grid helpers ---------- */
.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);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
}
.card:nth-child(2n) .icon-badge {
  background: var(--accent-tint);
  color: var(--accent-dark);
}

.card h3 {
  margin-bottom: 10px;
}
.card .tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------- Capabilities (connected diagram) ---------- */
.capability-web {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  margin: 64px auto 0;
}
.capability-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.capability-lines line {
  stroke: rgba(62, 92, 58, 0.32);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  animation: dashflow 16s linear infinite;
}
@keyframes dashflow {
  to {
    stroke-dashoffset: -140;
  }
}

.capability-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.capability-hub .brand-logo {
  width: 68px;
  height: 68px;
  font-size: 1.3rem;
}

.capability-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.capability-node .dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.capability-node:hover {
  transform: translate(-50%, -50%) translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- Technologies ---------- */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tech-badge .dot {
  width: 10px;
  height: 10px;
}

/* ---------- Stats ---------- */
.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-dark);
}
.stat-label {
  color: var(--on-dark-soft);
  font-size: 0.92rem;
  margin-top: 6px;
}

/* ---------- Process ---------- */
.process-grid {
  grid-template-columns: repeat(5, 1fr);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 8px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary);
  background: var(--primary-tint);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.process-step p {
  font-size: 0.92rem;
}
.process-grid .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 60px;
  width: calc(100% - 40px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0 6px,
    transparent 6px 12px
  );
}

/* ---------- Pricing ---------- */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.price-card.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--on-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.price-head h3 {
  margin-bottom: 8px;
}
.price-head p {
  font-size: 0.9rem;
  min-height: 44px;
}
.price-amount {
  /* margin: 24px 0 20px; */
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount span {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
}
.price-amount small {
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.price-features {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--primary);
}
.price-features li.muted {
  color: var(--ink-faint);
}
.price-features li.muted svg {
  color: var(--border);
}

/* ---------- Testimonials ---------- */
.testi-wrap {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
.testi-viewport {
  position: relative;
  min-height: 325px;
  overflow: hidden;
}
.testi-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}
.testi-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.testi-quote {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.testi-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 22px;
  color: var(--accent);
}
.testi-stars svg {
  width: 18px;
  height: 18px;
}
.testi-person {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-dark);
  font-weight: 700;
  font-family: "Sora", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.testi-person strong {
  font-family: "Sora", sans-serif;
}
.testi-person span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
.testi-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.testi-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: var(--border);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.testi-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}
.testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.testi-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.testi-arrow svg {
  width: 18px;
  height: 18px;
}
.testi-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 10px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  margin-inline: 24px;
}
.cta-banner h2 {
  color: var(--on-dark);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(243, 239, 232, 0.85);
  max-width: 520px;
  margin-inline: auto;
}
.cta-banner .btn-primary {
  background: var(--on-dark);
  color: var(--accent-dark);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  margin-top: 30px;
}
.cta-banner .btn-primary:hover {
  background: var(--on-dark);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

/* ---------- Contact ---------- */
.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: flex-start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 0.94rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--accent-dark);
}
.field .error-msg {
  display: none;
  color: var(--accent-dark);
  font-size: 0.78rem;
  margin-top: 6px;
}
.field.error .error-msg {
  display: block;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 16px;
  text-align: center;
}
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.info-card {
  background: var(--dark);
  background: var(--grad-dark);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.info-card h3 {
  color: var(--on-dark);
}
.info-list {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-item .ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}
.info-item .ic svg {
  width: 20px;
  height: 20px;
}
.info-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--on-dark);
  margin-bottom: 3px;
}
.info-item span,
.info-item a {
  font-size: 0.88rem;
  color: var(--on-dark-soft);
}
.info-item a:hover {
  color: var(--on-dark);
}

.map-box {
  margin-top: 26px;
  height: 160px;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-border);
  background-image:
    radial-gradient(
      circle at 30% 30%,
      rgba(107, 138, 99, 0.35),
      transparent 45%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(193, 101, 61, 0.28),
      transparent 45%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    24px 24px,
    24px 24px;
  position: relative;
  overflow: hidden;
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  color: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
.map-pin svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}
@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -64%);
  }
  50% {
    transform: translate(-50%, -56%);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-soft);
  padding-top: 80px;
}
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-brand p {
  margin-top: 16px;
  color: var(--on-dark-soft);
  max-width: 300px;
  font-size: 0.92rem;
}
.footer-col h4 {
  color: var(--on-dark);
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.footer-col ul {
  display: grid;
  gap: 12px;
}
.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--on-dark);
}
.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.social-row a:hover {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Portfolio page
========================================================= */
.page-hero {
  position: relative;
  contain: layout paint;
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 60px;
  text-align: center;
  background:
    radial-gradient(
      60% 90% at 5% 50%,
      rgba(193, 101, 61, 0.5) 0%,
      transparent 65%
    ),
    radial-gradient(
      60% 90% at 95% 50%,
      rgba(62, 92, 58, 0.5) 0%,
      transparent 65%
    ),
    var(--dark);
  overflow: hidden;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .section-head {
  margin-inline: auto;
}
.page-hero h1 {
  color: var(--on-dark);
}
.page-hero .eyebrow {
  background: rgba(243, 239, 232, 0.14);
  color: var(--on-dark);
}
.page-hero .eyebrow::before {
  background: var(--accent);
}
.page-hero .lead {
  color: var(--on-dark-soft);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-dark);
  box-shadow: var(--shadow-glow);
}

.stack-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.stack-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot-frontend {
  background: var(--primary);
}
.dot-backend {
  background: var(--accent);
}
.dot-data {
  background: var(--gold);
}
.dot-cloud {
  background: var(--teal);
}
.dot-ai {
  background: var(--rust);
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}
.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.proj-card.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.proj-card.hide {
  display: none;
}

.proj-thumb {
  height: 220px;
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.proj-thumb .win-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.proj-thumb .win-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.proj-thumb .thumb-icon {
  margin-top: auto;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
  width: 64px;
  height: 64px;
}
.proj-thumb .thumb-icon svg {
  width: 100%;
  height: 100%;
}

.thumb-1 {
  background: var(--primary);
} /* moss */
.thumb-2 {
  background: var(--accent);
} /* clay */
.thumb-3 {
  background: var(--teal);
} /* deep teal-green */
.thumb-4 {
  background: var(--gold);
} /* ochre */
.thumb-5 {
  background: var(--olive);
} /* olive */
.thumb-6 {
  background: var(--rust);
} /* rust */
.thumb-7 {
  background: var(--umber);
} /* umber brown */
.thumb-8 {
  background: var(--wine);
} /* muted wine */

.proj-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proj-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.proj-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.proj-body > .proj-cat {
  margin-bottom: 14px;
}
.proj-body h3 {
  margin-bottom: 8px;
}
.proj-body > p {
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 5px 12px 5px 8px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
}

.proj-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.view-case {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--primary);
}
.view-case svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}
.view-case:hover svg {
  transform: translateX(3px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 28, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close svg {
  width: 18px;
  height: 18px;
}
.modal-thumb {
  height: 120px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.modal .proj-cat {
  margin-bottom: 14px;
}
.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.modal-results {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.modal-results li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.modal-results svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}
.modal-stack {
  margin-top: 22px;
}
.modal-stack h4 {
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .process-grid .process-step::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .testi-viewport {
    min-height: 400px;
  }

  .nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--ink-soft);
  }
  .nav-drawer-close svg {
    width: 18px;
    height: 18px;
  }
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 320px);
    background: var(--surface);
    padding: 90px 28px 32px;
    gap: 6px;
    box-shadow: -12px 0 40px rgba(18, 16, 12, 0.18);
    border-left: 1px solid var(--border);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .mobile-drawer.mobile-open {
    transform: translateX(0);
  }
  .mobile-drawer a {
    width: 100%;
    padding-block: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink-soft);
  }
  .mobile-drawer a.active,
  .mobile-drawer a:hover {
    color: var(--ink);
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18, 16, 12, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
    z-index: 1099;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-6px);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .capability-web {
    max-width: 420px;
    margin-top: 44px;
  }
  .capability-node {
    font-size: 0.72rem;
    padding: 7px 12px;
    gap: 6px;
  }
  .capability-hub .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .site-header .brand-text {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-meta {
    gap: 20px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 48px 24px;
    margin-inline: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .capability-web {
    max-width: 300px;
  }
  .capability-node {
    font-size: 0.62rem;
    padding: 5px 9px;
    gap: 4px;
  }
  .capability-node .dot {
    width: 6px;
    height: 6px;
  }
  .capability-hub .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
  }
}

.form-required {
  color: red;
}

/* =========================================================
   Country Code Dropdown (Perfect UI Match)
========================================================= */
.phone-input-wrapper {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

/* Replicates your exact .field input:focus style */
.phone-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
}

.country-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 12px;
  background: transparent;
  border: none;
  border-right: 1.5px solid var(--border);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s ease;
}

.country-selector:hover {
  background: var(--bg-alt);
}

.country-selector .flag {
  font-size: 1.25rem;
  line-height: 1;
}

.country-selector .selector-chevron {
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  transition: transform 0.2s ease;
}

.country-selector[aria-expanded="true"] .selector-chevron {
  transform: rotate(180deg);
}

/* Phone input inherits wrapper styles, removes its own borders */
.phone-input-wrapper input[type="tel"] {
  flex: 1;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 13px 16px;
  font-size: 0.94rem;
  color: var(--ink);
  min-width: 0; /* Prevents flex overflow */
}

.phone-input-wrapper input[type="tel"]:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

/* Dropdown Container */
.country-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  max-width: 90vw;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.country-dropdown.show {
  display: flex;
}

/* Search Input inside Dropdown */
.dropdown-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.dropdown-search svg {
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.dropdown-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
}

.dropdown-search input::placeholder {
  color: var(--ink-faint);
}

/* Country List */
.country-list {
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.country-list li:hover,
.country-list li[aria-selected="true"] {
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.country-list li .flag {
  font-size: 1.25rem;
  line-height: 1;
}

.country-list li .country-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-list li .dial-code {
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.country-list li:hover .dial-code {
  color: var(--primary);
}

/* Custom Scrollbar matching your theme */
.country-list::-webkit-scrollbar {
  width: 6px;
}
.country-list::-webkit-scrollbar-track {
  background: var(--bg);
}
.country-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.country-list::-webkit-scrollbar-thumb:hover {
  background: var(--ink-faint);
}

/* Empty state */
.country-list .no-results {
  padding: 16px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
}
