:root {
  --bg: #0b0a09;
  --bg-alt: #12100e;
  --surface: #1a1714;
  --surface-2: #231f1b;
  --ink: #f6f0e8;
  --muted: #c8b9a6;
  --accent: #d6b56b;
  --accent-soft: #f2d28c;
  --line: rgba(246, 240, 232, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --max-width: 1200px;
  --radius: 24px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Space Grotesk", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

.section {
  padding: 120px 0;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
}

.ambient {
  position: fixed;
  inset: -35% -20% -40% -20%;
  background: radial-gradient(circle at 15% 20%, rgba(214, 181, 107, 0.25), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(86, 105, 120, 0.2), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(214, 181, 107, 0.2), transparent 55%);
  filter: blur(60px);
  z-index: -3;
  opacity: 0.8;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 6px);
  mix-blend-mode: soft-light;
  opacity: 0.08;
  pointer-events: none;
  z-index: -2;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--scroll, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  z-index: 1000;
  transition: width 0.2s ease-out;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11, 10, 9, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.brand-mark {
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-mark.accent {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.6);
}

.nav-bar {
  width: 16px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 5, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-gold {
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  color: #1a1308;
  box-shadow: 0 12px 30px rgba(214, 181, 107, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(20, 17, 14, 0.5);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 30%), rgba(214, 181, 107, 0.15), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 24px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(20, 17, 14, 0.55);
}

.stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-visual {
  position: relative;
  height: 520px;
  perspective: 1200px;
}

.orbital {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 240px;
  height: 240px;
}

.orb-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(214, 181, 107, 0.4), rgba(20, 17, 14, 0.9));
  box-shadow: 0 0 60px rgba(214, 181, 107, 0.5);
  animation: float 8s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(214, 181, 107, 0.6);
  transform: rotateX(70deg);
  animation: spin 12s linear infinite;
}

.orb-ring.ring-2 {
  inset: -32px;
  border-color: rgba(246, 240, 232, 0.4);
  transform: rotateX(60deg) rotateY(30deg);
  animation: spin-tilt 18s linear infinite;
}

.prism-stack {
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: 260px;
  height: 320px;
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-24deg);
}

.panel {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(35, 31, 27, 0.9), rgba(14, 12, 10, 0.9));
  border: 1px solid rgba(246, 240, 232, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.panel-1 {
  transform: translateZ(0px) translateY(0px);
}

.panel-2 {
  transform: translateZ(20px) translateY(-12px);
}

.panel-3 {
  transform: translateZ(40px) translateY(-24px);
}

.panel-4 {
  transform: translateZ(60px) translateY(-36px);
}

.hero-code {
  position: absolute;
  left: 35%;
  top: 58%;
  width: 240px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(246, 240, 232, 0.2);
  background: rgba(14, 12, 10, 0.7);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%) rotateX(10deg) rotateY(-10deg);
  box-shadow: var(--shadow);
}

.hero-code span {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(214, 181, 107, 0.8), rgba(246, 240, 232, 0.2));
  margin-bottom: 12px;
}

.hero-code span:nth-child(2) {
  width: 70%;
}

.hero-code span:nth-child(3) {
  width: 90%;
}

.hero-code span:last-child {
  width: 55%;
  margin-bottom: 0;
}

.hero-marquee {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 46px;
  padding: 18px 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--muted);
  animation: marquee 24s linear infinite;
  width: max-content;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.lux-card,
.project-card,
.pricing-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 240, 232, 0.12);
  background: linear-gradient(140deg, rgba(30, 26, 22, 0.9), rgba(14, 12, 10, 0.9));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

[data-tilt] {
  transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.lux-card::before,
.project-card::before,
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(214, 181, 107, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lux-card:hover::before,
.project-card:hover::before,
.pricing-card:hover::before {
  opacity: 1;
}

.lux-card h3,
.project-card h3,
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.lux-card p,
.project-card p {
  color: var(--muted);
}

.card-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.card-list li {
  position: relative;
  padding-left: 18px;
}

.card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.studio {
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.8), rgba(11, 10, 9, 0.8));
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.studio-points {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.studio-point h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.studio-point p {
  color: var(--muted);
}

.studio-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.stack-3d {
  position: relative;
  width: 320px;
  height: 220px;
  transform-style: preserve-3d;
  animation: float 10s ease-in-out infinite;
}

.stack-panel {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(246, 240, 232, 0.2);
  background: linear-gradient(140deg, rgba(35, 31, 27, 0.9), rgba(10, 9, 8, 0.9));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.panel-a {
  transform: translateZ(0px) rotateX(6deg) rotateY(-6deg);
}

.panel-b {
  transform: translateZ(30px) rotateX(10deg) rotateY(-12deg);
}

.panel-c {
  transform: translateZ(60px) rotateX(14deg) rotateY(-18deg);
}

.panel-d {
  transform: translateZ(90px) rotateX(18deg) rotateY(-24deg);
}

.studio-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 181, 107, 0.3), transparent 70%);
  filter: blur(40px);
  opacity: 0.7;
}

.work-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.project-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--accent);
}

.process-steps {
  list-style: none;
  display: grid;
  gap: 20px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(246, 240, 232, 0.12);
  background: rgba(18, 16, 14, 0.7);
}

.step-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.pricing-card ul {
  list-style: none;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.price-range {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-card.featured {
  --lift: -10px;
  border-color: rgba(214, 181, 107, 0.5);
  box-shadow: 0 30px 70px rgba(214, 181, 107, 0.2);
}

.featured-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(214, 181, 107, 0.2);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact {
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.95), rgba(20, 17, 14, 0.95));
}

.contact-grid {
  display: grid;
  /* Give more width to the right side (form), less to the left copy */
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px);
  gap: 64px;
  align-items: start;
}


.contact-details p {
  color: var(--muted);
  margin-top: 10px;
}

.contact-form {
  display: grid;
  /* Stable two-column layout inside the form */
  grid-template-columns: minmax(0, 1fr) 380px;
  column-gap: 32px;
  row-gap: 24px;
  align-items: start;
}

/* Prevent any grid item from overflowing into the other column */
.contact-form > * {
  min-width: 0;
}

.contact-packages {
  grid-column: 2 / 3;
  align-self: start;
}


.contact-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  grid-column: 1 / 2;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.contact-packages {
  grid-column: 2 / 3;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: auto;
}

#message {
  height: 160px;
  min-height: 160px;
  max-height: 240px;
  overflow: auto;
  resize: none;
  padding-right: 16px;

  scrollbar-width: thin;
  scrollbar-color: rgba(230, 197, 120, 0.55) rgba(255, 255, 255, 0.08);
}

/* Premium scrollbar for the message textarea */
#message::-webkit-scrollbar {
  width: 10px;
}

#message::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

#message::-webkit-scrollbar-thumb {
  background: rgba(230, 197, 120, 0.45);
  border-radius: 999px;
  border: 2px solid rgba(10, 9, 8, 0.8);
}

#message::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 197, 120, 0.62);
}

input,
select,
textarea {
  background: rgba(10, 9, 8, 0.8);
  border: 1px solid rgba(246, 240, 232, 0.18);
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(214, 181, 107, 0.2);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-packages {
    margin-top: 8px;
  }
}

.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  color: var(--accent);
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.9);
  border: 1px solid rgba(214, 181, 107, 0.4);
  color: var(--accent-soft);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

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

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

@keyframes spin {
  from {
    transform: rotateX(70deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(70deg) rotateZ(360deg);
  }
}

@keyframes spin-tilt {
  from {
    transform: rotateX(60deg) rotateY(30deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(60deg) rotateY(30deg) rotateZ(-360deg);
  }
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 420px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    flex-direction: column;
    justify-content: center;
    background: rgba(12, 11, 10, 0.95);
    border-left: 1px solid var(--line);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 300;
  }

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

  .nav-toggle {
    display: flex;
  }

  .brand-sub {
    display: none;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 90px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-stats {
    flex-direction: column;
  }

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

  .form-field.full,
  .form-note {
    grid-column: span 1;
  }

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

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


/* Language switch */
.lang-switch {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 17, 14, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.lang-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font: 600 0.85rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 180ms ease;
}

.lang-btn:hover {
  color: var(--ink);
  border-color: rgba(246, 240, 232, 0.18);
  background: rgba(246, 240, 232, 0.06);
}

.lang-btn.is-active {
  color: var(--ink);
  border-color: rgba(214, 181, 107, 0.55);
  background: rgba(214, 181, 107, 0.14);
}

/* Pricing refinements */
.pricing-card h3 {
  line-height: 1.1;
  text-wrap: balance;
}

.price-range {
  font-variant-numeric: tabular-nums;
}

.price-range .vat {
  font-size: 0.85em;
  color: var(--muted);
}

.pricing-wide {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.pricing-card--wide {
  display: grid;
  gap: 10px;
}

.pricing-wide-desc {
  color: var(--muted);
  margin: 0;
}

@media (min-width: 960px) {
  .pricing-wide {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pricing slider on mobile */
.pricing-slider {
  position: relative;
}

.slider-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 232, 0.28);
  background: rgba(246, 240, 232, 0.08);
  cursor: pointer;
  transition: 180ms ease;
}

.slider-dot.is-active {
  border-color: rgba(214, 181, 107, 0.8);
  background: rgba(214, 181, 107, 0.35);
}

@media (max-width: 920px) {
  .pricing-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-grid::-webkit-scrollbar {
    height: 8px;
  }

  .pricing-grid::-webkit-scrollbar-thumb {
    background: rgba(246, 240, 232, 0.12);
    border-radius: 999px;
  }

  .pricing-card {
    min-width: 82%;
    scroll-snap-align: center;
  }

  .slider-dots {
    display: flex;
  }
}

/* Budget slider */
.range-field {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(246, 240, 232, 0.12);
  background: rgba(20, 17, 14, 0.55);
}

.range-output {
  font: 600 0.95rem/1.3 var(--font-body);
  color: var(--ink);
}

#budgetRange {
  width: 100%;
  accent-color: var(--accent);
}

.range-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  font: 600 0.7rem/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.range-labels span {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* =========================
   Header nav: center CTA + remove underline pseudo-element on CTA
   (paste at the END of style.css)
   ========================= */

.site-header .nav-wrap {
  display: flex;
  align-items: center;
}

/* center items in the row */
.site-header .site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* CTA: hard-center vertically and prevent baseline weirdness */
.site-header .site-nav a.btn.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 44px;          /* pill height */
  padding: 0 18px;       /* horizontal only */
  line-height: 1;        /* kill baseline shifting */

  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

/* kill the ugly hover line / underline pseudo-element ONLY for CTA */
.site-header .site-nav a.btn.btn-gold::after,
.site-header .site-nav a.btn.btn-gold::before {
  content: none !important;
  display: none !important;
}

/* If you have hover underline applied via border-bottom, neutralize it for CTA */
.site-header .site-nav a.btn.btn-gold:hover {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Optional: if the underline is done via box-shadow on links, remove for CTA */
.site-header .site-nav a.btn.btn-gold:hover,
.site-header .site-nav a.btn.btn-gold:focus-visible {
  box-shadow: none; /* keeps it clean; remove if you already use a nice focus ring */
}
.site-header .site-nav > a {
  display: inline-flex;
  align-items: center;
  height: 44px;      /* same baseline box for all nav items */
}

/* =========================
   Contact: premium tier selector (segmented control)
   ========================= */

.tier-field {
  display: grid;
  gap: 12px;
}

.tier-output {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.tier-selector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tier-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 38px;
  padding: 0 10px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.78);
  user-select: none;
  cursor: pointer;

  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.tier-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.tier-radio:focus-visible + .tier-pill {
  outline: 2px solid rgba(230, 197, 120, 0.45);
  outline-offset: 3px;
}

.tier-radio:checked + .tier-pill {
  background: linear-gradient(180deg, rgba(230, 197, 120, 0.30), rgba(230, 197, 120, 0.14));
  border-color: rgba(230, 197, 120, 0.42);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(230, 197, 120, 0.18);
}

/* Make it survive smaller widths */
@media (max-width: 520px) {
  .tier-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tier-pill {
    letter-spacing: 0.10em;
  }
}

/* =========================
   Premium tier stepper (compact, luxury, readable)
   ========================= */

.tier-field {
  display: grid;
  gap: 12px;
}

.tier-output {
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.tier-stepper {
  position: relative;
  width: 100%;
}

.tier-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tier-fill {
  height: 100%;
  width: 25%; /* default for 2/5 (Business) */
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230,197,120,0.55), rgba(230,197,120,0.18));
  box-shadow: 0 10px 26px rgba(230,197,120,0.18);
  transition: width .22s ease;
}

.tier-steps {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.tier-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tier-step {
  display: grid;
  gap: 8px;
  justify-items: center;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}

.tier-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tier-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;   /* menší než předtím */
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tier-step:hover .tier-dot {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.22);
}

.tier-radio:focus-visible + .tier-step .tier-dot {
  outline: 2px solid rgba(230, 197, 120, 0.45);
  outline-offset: 3px;
}

.tier-radio:checked + .tier-step .tier-dot {
  background: linear-gradient(180deg, rgba(230,197,120,0.30), rgba(230,197,120,0.12));
  border-color: rgba(230,197,120,0.42);
  box-shadow: 0 12px 30px rgba(230,197,120,0.18);
}

.tier-radio:checked + .tier-step .tier-label {
  color: rgba(255,255,255,0.92);
}

/* Compact fallback */
@media (max-width: 520px) {
  .tier-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.package-field {
  display: grid;
  gap: 12px;
}

.package-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.package-options {
  display: grid;
  gap: 12px; /* was 10px */
}

.package-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;          /* was 6px 16px */
  padding: 18px 22px;     /* was 14px 16px */
  min-height: 76px;       /* NEW -> taller cards */

  border-radius: 16px;    /* was 14px */
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);

  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.package-title {
  font-weight: 600;
  font-size: 16px;        /* NEW (optional, but looks better) */
  line-height: 1.2;
  color: rgba(255,255,255,0.92);
}

.package-price {
  font-size: 13px;        /* keep or bump to 14px if you want */
  color: rgba(230,197,120,0.85);
  white-space: nowrap;
  align-self: center;     /* NEW -> vertically nicer */
}


.package-option input:checked + .package-title {
  color: #fff;
}

.package-option input:checked ~ .package-price {
  color: rgba(230,197,120,1);
}

.package-option:has(input:checked) {
  border-color: rgba(230,197,120,0.55);
  background: linear-gradient(
    180deg,
    rgba(230,197,120,0.12),
    rgba(255,255,255,0.02)
  );
}

/* Hide the native radio visually but keep it accessible */
.package-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

/* Make the whole card clickable and avoid layout shifts */
.package-option {
  position: relative;
}

/* Mobile fix: stack contact form + packages, no overlap */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr; /* was: 1fr 380px */
    column-gap: 0;
    row-gap: 14px;
  }

  .contact-packages {
    grid-column: 1 / -1;
    width: 100%;
  }

  .package-options {
    gap: 12px;
  }

  .package-option {
    width: 100%;
  }

  /* prevent accidental horizontal overflow */
  .contact-form > *,
  .contact-packages,
  .package-options,
  .package-option {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  /* slightly tighter spacing on very small screens */
  .contact-form {
    row-gap: 12px;
  }

  .package-option {
    padding: 16px 18px;
    min-height: 70px;
  }
}
