/* ============================================================
   CSS Custom Properties — Theme System
   ============================================================ */

:root {
  --accent: #3c7435;
  --accent-hover: #a8c333;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 100px;
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
  --container: 1160px;
  --section-py: 100px;
  --header-h: 68px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --bg: #070a07;
  --bg-raised: #111811;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.09);
  --text: #fefffc;
  --text-2: rgba(254, 255, 252, 0.55);
  --text-3: rgba(254, 255, 252, 0.3);
  --border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(12, 18, 12, 0.85);
  --header-border: rgba(255, 255, 255, 0.07);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus: rgba(60, 116, 53, 0.55);
  --phone-bg: #1d1e1d;
  --phone-border: rgba(49, 57, 49, 0.8);
  --phone-el: rgba(255, 255, 255, 0.07);
  --phone-el-hover: rgba(255, 255, 255, 0.14);
}

[data-theme='light'] {
  --bg: #eaebe8;
  --bg-raised: #e2eade;
  --surface: rgba(12, 18, 12, 0.045);
  --surface-hover: rgba(12, 18, 12, 0.08);
  --text: #0c120c;
  --text-2: rgba(12, 18, 12, 0.55);
  --text-3: rgba(12, 18, 12, 0.32);
  --border: rgba(12, 18, 12, 0.09);
  --header-bg: rgba(254, 255, 252, 0.85);
  --header-border: rgba(12, 18, 12, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  --input-bg: rgba(12, 18, 12, 0.04);
  --input-border: rgba(12, 18, 12, 0.15);
  --input-focus: rgba(60, 116, 53, 0.45);
  --phone-bg: rgba(200, 206, 195, 0.8);
  --phone-border: rgba(154, 161, 154, 0.8);
  --phone-el: rgba(5, 7, 5, 0.07);
  --phone-el-hover: rgba(12, 18, 12, 0.14);
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color var(--transition-slow),
    color var(--transition-slow);
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   Accessibility — Skip Link
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   Accessibility — Focus Styles
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Layout — Container
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Typography Helpers
   ============================================================ */

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #a8c333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition),
    color var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Nav contact button — dark mode: white bg / black text, light mode: black bg / white text */
.header__nav .btn-primary {
  background: #fff;
  color: #0C120C;
}

.header__nav .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

[data-theme='light'] .header__nav .btn-primary {
  background: #0C120C;
  color: #fff;
}

[data-theme='light'] .header__nav .btn-primary:hover {
  background: rgba(12, 18, 12, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Primary */
.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(60, 116, 53, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* White — for CTA band */
.btn-white {
  background: #fff;
  color: var(--accent);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-white:active {
  transform: translateY(0);
}

/* Icon button */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition-slow);
}

.btn-icon:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* Lang button */
.btn-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition-slow);
}

.btn-lang:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* ============================================================
   Theme Icon Visibility
   ============================================================ */

/* Dark mode: show sun (to switch to light) */
[data-theme='dark'] .icon-sun {
  display: block;
}
[data-theme='dark'] .icon-moon {
  display: none;
}

/* Light mode: show moon (to switch to dark) */
[data-theme='light'] .icon-sun {
  display: none;
}
[data-theme='light'] .icon-moon {
  display: block;
}

/* ============================================================
   Logo Visibility
   ============================================================ */

[data-theme='dark'] .logo--white {
  display: block;
}
[data-theme='dark'] .logo--black {
  display: none;
}
[data-theme='light'] .logo--white {
  display: none;
}
[data-theme='light'] .logo--black {
  display: block;
}

/* ============================================================
   Header
   ============================================================ */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   Section — shared
   ============================================================ */

.section {
  padding: var(--section-py) 0;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(60, 116, 53, 0.1);
  border: 1px solid rgba(60, 116, 53, 0.22);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Hero Title */
.hero__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(38px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 460px;
  margin-top: -14px;
}

/* Hero Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Glow */
.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(#E2FF63, 0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Phone Mockup
   ============================================================ */

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 250px;
  height: 520px;
  background: var(--phone-bg);
  border-radius: 44px;
  border: 1.5px solid var(--phone-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow);
  animation: float 6s ease-in-out infinite;
}

/* ============================================================
   Typewriter
   ============================================================ */

.typewriter::after {
  content: '|';
  color: var(--accent);
  margin-left: 1px;
  animation: blink 0.6s step-end infinite;
}

.typewriter.typewriter--done::after {
  animation: none;
  opacity: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

/* Dynamic island / notch */
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--bg);
  border-radius: 14px;
  z-index: 2;
  transition: background var(--transition-slow);
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 52px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Status dots */
.phone-status {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 4px;
}

.phone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phone-el);
}

.phone-dot--accent {
  background: var(--phone-el-hover);
  opacity: 0.65;
}

/* Play Store header */
.playstore-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1;
}

.playstore-back {
  font-size: 20px;
}

.playstore-search-icon {
  font-size: 22px;
}

/* Play Store app hero (icon + title + rating) */
.playstore-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
}

.playstore-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--phone-el-hover);
}

.playstore-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.playstore-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.playstore-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.playstore-score {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
}

.playstore-stars {
  font-size: 11px;
  color: #f4b400;
  letter-spacing: 1px;
}

[data-theme='light'] .playstore-stars {
  color: #b8860b;
}

.playstore-install {
  align-self: stretch;
  margin: 2px 4px 0;
  padding: 9px 20px;
  border: none;
  border-radius: var(--radius-sm, 8px);
  background: var(--phone-el-hover);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

.phone-line {
  height: 7px;
  background: var(--phone-el);
  border-radius: 4px;
}

.phone-line--full {
  width: 100%;
}
.phone-line--two-thirds {
  width: 68%;
}
.phone-line--half {
  width: 48%;
}

/* Card */
.phone-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--phone-border);
}

.phone-card-gradient {
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 248, 200, 0.3), rgba(255, 255, 255, 0.08));
  opacity: 0.8;
}

.phone-card-body {
  background: var(--phone-el);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* List rows */
.phone-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 4px;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--phone-el-hover);
  flex-shrink: 0;
}

.phone-row-dot--accent {
  background: var(--phone-el-hover);
  opacity: 0.55;
}


/* ============================================================
   Services
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition-slow);
}

.card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(60, 116, 53, 0.1);
  border: 1px solid rgba(60, 116, 53, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow);
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   Process
   ============================================================ */

.process {
  background: var(--bg);
  transition: background var(--transition-slow);
}

[data-theme='dark'] .process {
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Horizontal connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% - 12px);
  right: calc(12.5% - 12px);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow);
}

.process-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   CTA Band
   ============================================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  background: #0f1a0f;
}

[data-theme='light'] .cta-band {
  background: var(--bg-raised);
}

[data-theme='light'] .cta-title {
  color: var(--text);
}

[data-theme='light'] .cta-subtitle {
  color: var(--text);
}

[data-theme='light'] .stack-label {
  color: var(--text-2);
}

.cta-band .btn-primary{
  background: #fff;
  color: #0C120C;
  padding: 16px;
}

[data-theme='light'] .cta-band .btn-primary {
  background: #0c120c;
  color: #fefffc;
}

[data-theme='light'] .cta-band .btn-primary:hover {
  background: #1e2e1e;
}

.cta-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Glow overlay */
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(60, 116, 53, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fefffc;
}

.stack-label {
  text-align: center;
  font-size: 13px;
  color: rgba(254, 255, 252, 0.45);
  letter-spacing: 0.04em;
  margin-top: 48px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(254, 255, 252, 0.65);
  max-width: 640px;
  text-align: left;
}

/* ============================================================
   Contact Form
   ============================================================ */

.contact-form {
  max-width: 580px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color var(--transition),
    background var(--transition-slow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--input-focus);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Success message */
.form-success:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: var(--radius);
  color: #66bb6a;
  font-size: 15px;
  font-weight: 500;
}

.form-error:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid rgba(229, 62, 62, 0.25);
  border-radius: var(--radius);
  color: #e57373;
  font-size: 15px;
  font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  transition: border-color var(--transition-slow);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-3);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================================
   Scroll Reveal Animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid children */
.services-grid .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.services-grid .reveal:nth-child(3) {
  transition-delay: 0.24s;
}
.process-steps .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.process-steps .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.process-steps .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* ============================================================
   Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Feature Marquee
   ============================================================ */

.marquee-wrap {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__inner:hover {
  animation-play-state: paused;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee__inner--slow {
  animation-duration: 46s;
}

.marquee__inner--slower {
  animation-duration: 70s;
}

/* Button variant for dark CTA band background */
.btn-primary--light {
  background: #fff;
  color: #0c120c;
  margin-top: 8px;
}
.btn-primary--light:hover {
  background: var(--accent-hover);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__inner {
    animation: none;
  }
  .marquee__track {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0;
  }
  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ============================================================
   Responsive — Tablet (≤1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero__content {
    align-items: center;
    order: 2;
  }

  .hero__visual {
    order: 1;
  }

  .hero__subtitle {
    max-width: 500px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .process-steps::before {
    display: none;
  }
}

/* ============================================================
   Responsive — Mobile (≤640px)
   ============================================================ */

@media (max-width: 360px) {
  .btn-icon { display: none; }
}

@media (max-width: 640px) {
  .btn-lang { display: none; }
  .header__logo img { width: 130px; height: auto; }

  :root {
    --section-py: 64px;
    --header-h: 60px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .phone-mockup {
    width: 210px;
    height: 430px;
  }

  .phone-notch {
    width: 64px;
    height: 18px;
    top: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .section-header {
    margin-bottom: 48px;
  }
}
