/* ================================
   Northa — Branding & Creative Studio
   ================================ */

:root {
  --bg: #0b0e0c;
  --bg-alt: #10140f;
  --surface: #161b16;
  --surface-2: #1d241d;
  --border: rgba(255, 255, 255, 0.08);

  --text: #f4f1e9;
  --text-muted: #a7b0a8;
  --text-faint: #6f7a72;

  --emerald: #3ddc97;
  --emerald-deep: #0f5132;
  --emerald-soft: rgba(61, 220, 151, 0.12);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

/* Mongolian version renders all display text in Inter */
html[lang="mn"] {
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[lang="mn"] h1,
html[lang="mn"] h2,
html[lang="mn"] h3,
html[lang="mn"] h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ================================
   Utility
   ================================ */

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--emerald);
  color: #08130d;
}

.btn-primary:hover {
  background-color: #56e6ab;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px var(--emerald);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 14px 0;
  background-color: rgba(11, 14, 12, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
}

.logo-icon {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
}

.logo-text {
  /* wordmark stays serif in every language */
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  /* compensate trailing letter-spacing so the wordmark looks centered */
  margin-right: -0.45em;
}

/* Stacked lockup (footer): icon over wordmark over tagline */
.logo-stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.logo-stacked .logo-icon {
  height: 44px;
  width: 44px;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-cta:hover {
  border-color: var(--emerald);
  color: var(--emerald) !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: var(--emerald);
}

.lang-toggle .lang-divider {
  color: var(--text-faint);
  font-weight: 400;
}

.lang-toggle .lang-en {
  color: var(--emerald);
}

.lang-toggle.mn-active .lang-en {
  color: var(--text-muted);
}

.lang-toggle.mn-active .lang-mn {
  color: var(--emerald);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* Full-screen featured work slider (Pentagram-style) */

.hero-slider {
  position: relative;
  margin-top: 76px; /* clears the fixed header */
  height: 68vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
  background-color: var(--bg);
}

.slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Dark gradients top (header legibility) and bottom (caption legibility) */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 14, 12, 0.6), transparent 22%),
    linear-gradient(to top, rgba(11, 14, 12, 0.75), transparent 38%);
}

.slide-caption {
  position: absolute;
  bottom: 96px;
  left: 0;
  right: 0;
  z-index: 2;
  padding-right: 220px;
}

.slide-caption h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

.slide-caption p {
  color: rgba(244, 241, 233, 0.85);
  max-width: 560px;
  font-size: 1rem;
}

.hero-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background-color: rgba(11, 14, 12, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 1.05rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-pill > span:empty {
  display: none;
}

/* Rolling ticker words — bold white, scrolls up like a slot reel */

.pill-rotor {
  display: inline-flex;
  overflow: hidden;
  height: 1.5em;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  /* fade the reel out at top & bottom so moving words blend instead of clipping */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
}

.rotor-roll {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.rotor-word {
  display: block;
  height: 1.5em;
  line-height: 1.5em;
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
}

.pill-measure {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  bottom: 104px;
  right: 48px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.slider-dots .dot.active {
  background-color: #fff;
}

/* Marquee */

/* Client logo bar overlaid at the bottom of the hero slider */
.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}

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

/* ================================
   Clients
   ================================ */

/* Black & white panning logo strip */

.logo-track {
  display: inline-flex;
  align-items: center;
  gap: 72px;
  animation: marquee 36s linear infinite;
  padding-right: 72px;
}


/* White transparent logo marks — all served at a uniform height */
.client-logo {
  flex-shrink: 0;
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.client-logo:hover {
  opacity: 1;
}

/* ================================
   Section heads
   ================================ */

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.services {
  padding: 120px 0;
  background-color: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.service-card {
  background-color: var(--surface);
  padding: 48px;
  transition: background-color var(--transition);
}

.service-card:hover {
  background-color: var(--surface-2);
}

.service-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--emerald);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  max-width: 420px;
}

.service-includes {
  list-style: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.service-includes li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.service-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ================================
   Work
   ================================ */

.work {
  padding: 120px 0;
  background-color: var(--bg);
}

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

.work-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.6s ease;
}

.work-card:hover::before {
  transform: scale(1.06);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
  z-index: 1;
}

.work-info {
  position: relative;
  z-index: 2;
}

.work-info h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.work-info p {
  font-size: 0.9rem;
  color: rgba(244, 241, 233, 0.75);
  letter-spacing: 0.03em;
}

/* Placeholder preview images (Mongolian-themed) — replace the URLs with real project photos */
.work-1::before { background: linear-gradient(rgba(15, 81, 50, 0.25), rgba(11, 14, 12, 0.2)), url("https://loremflickr.com/900/700/milk,dairy?lock=201") center/cover; }
.work-2::before { background: linear-gradient(rgba(15, 81, 50, 0.25), rgba(11, 14, 12, 0.2)), url("https://loremflickr.com/700/700/coffee,latte?lock=202") center/cover; }
.work-3::before { background: linear-gradient(rgba(15, 81, 50, 0.25), rgba(11, 14, 12, 0.2)), url("https://loremflickr.com/700/700/tea,teacup?lock=203") center/cover; }
.work-4::before { background: linear-gradient(rgba(15, 81, 50, 0.25), rgba(11, 14, 12, 0.2)), url("https://loremflickr.com/900/700/sport,running?lock=204") center/cover; }
.work-5::before { background: linear-gradient(rgba(15, 81, 50, 0.25), rgba(11, 14, 12, 0.2)), url("https://loremflickr.com/700/700/technology,gadget?lock=205") center/cover; }
.work-6::before { background: linear-gradient(rgba(15, 81, 50, 0.25), rgba(11, 14, 12, 0.2)), url("https://loremflickr.com/700/700/architecture,building?lock=206") center/cover; }

.work-card.work-1, .work-card.work-4 { grid-column: span 2; }

.work-card.work-1 {
  min-height: 420px;
}

.work-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background-color: rgba(8, 19, 13, 0.7);
  backdrop-filter: blur(6px);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 151, 0.35);
}

/* ================================
   Pricing + Calculator
   ================================ */

.pricing {
  padding: 120px 0;
  background-color: var(--bg);
}

/* Package tier cards */

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
  align-items: start;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  transition: border-color var(--transition), transform var(--transition);
}

.tier-card:hover {
  transform: translateY(-4px);
}

.tier-card.selected {
  border-color: var(--emerald);
}

.tier-card.popular {
  border-color: rgba(61, 220, 151, 0.45);
}

.tier-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--emerald);
  color: #08130d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}

.tier-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.tier-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.tier-tagline {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 18px;
  min-height: 2.6em;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 20px;
}

.tier-price small {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-left: 2px;
}

.tier-features {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.tier-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.tier-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.tier-btn {
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.tier-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.tier-btn.added {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: #08130d;
}

.addons-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.pricing-toggle {
  display: inline-flex;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 28px;
}

.mode-btn {
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.mode-btn.active {
  background-color: var(--emerald);
  color: #08130d;
}

.summary-note {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 0.82rem;
  line-height: 1.5;
}

.mode-btn {
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.mode-btn.active {
  background-color: var(--emerald);
  color: #08130d;
}

.pricing-note {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 28px;
  align-items: start;
}

.pricing-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  transition: border-color var(--transition), background-color var(--transition);
}

.price-item.selected {
  border-color: rgba(61, 220, 151, 0.5);
  background-color: var(--surface-2);
}

.price-item-info h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-item-info p {
  color: var(--text-faint);
  font-size: 0.88rem;
}

.price-item-side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  white-space: nowrap;
}

.price-tag small {
  color: var(--text-faint);
  font-size: 0.75rem;
  margin-left: 2px;
}

.add-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.add-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.add-btn.added {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: #08130d;
}

/* Summary panel */

.pricing-summary {
  position: sticky;
  top: 96px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
}

.pricing-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.summary-empty {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 7px 0;
}

.summary-list .summary-row {
  border-bottom: 1px dashed var(--border);
}

.summary-totals {
  margin-top: 14px;
}

.summary-row.subtotal {
  color: var(--text-muted);
}

.summary-row.discount {
  color: var(--emerald);
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.summary-row.total small {
  color: var(--text-faint);
  font-size: 0.8rem;
}

.summary-cta {
  width: 100%;
  margin-top: 22px;
}

/* Custom service banner */

.custom-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, var(--emerald-soft), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 44px;
}

.custom-service h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.custom-service p {
  color: var(--text-muted);
  max-width: 560px;
}

.custom-service .btn {
  flex-shrink: 0;
}

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

.process {
  padding: 120px 0;
  background-color: var(--bg-alt);
}

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

.process-step {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.process-index {
  display: block;
  font-family: var(--font-display);
  color: var(--emerald);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ================================
   Testimonials
   ================================ */

.testimonials {
  padding: 120px 0;
  background-color: var(--bg);
}

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

.testimonial-grid blockquote {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.testimonial-grid p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
}

.testimonial-grid footer {
  color: var(--emerald);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ================================
   CTA / Contact
   ================================ */

.cta {
  padding: 140px 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, var(--emerald-soft), transparent 65%),
    var(--bg-alt);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), background-color var(--transition);
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background-color: var(--surface-2);
}

.contact-form .btn {
  margin-top: 8px;
  align-self: center;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.form-success {
  display: none;
  text-align: center;
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success.visible {
  display: block;
}

.cta-direct {
  margin-top: 32px;
  color: var(--text-muted);
}

.cta-direct a {
  color: var(--emerald);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.cta-direct a:hover {
  border-color: var(--emerald);
}

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

.footer {
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 960px) {
  .slide-caption {
    padding-right: 140px;
  }

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

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

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-summary {
    position: static;
  }

  .custom-service {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .work-card.work-1, .work-card.work-4 {
    grid-column: span 2;
  }

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

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

@media (max-width: 760px) {
  .container {
    padding: 0 24px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background-color: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 105;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-slider {
    height: 60vh;
    min-height: 420px;
  }

  .hero-pill {
    white-space: normal;
    text-align: center;
    width: max-content;
    max-width: 86vw;
    font-size: 0.92rem;
    padding: 13px 24px;
  }

  .slide-caption {
    padding-right: 24px;
    bottom: 130px;
  }

  .slider-dots {
    right: auto;
    left: 24px;
    bottom: 86px;
  }

  .marquee {
    padding: 16px 0;
  }

  .logo-track {
    gap: 48px;
    padding-right: 48px;
  }

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

  .work-card.work-1, .work-card.work-4 {
    grid-column: span 1;
  }

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

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

  .price-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-item-side {
    width: 100%;
    justify-content: space-between;
  }

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

  .logo-track {
    gap: 56px;
    padding-right: 56px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }
}
