:root {
  --bg: #050505;
  --panel: rgba(18, 18, 18, 0.76);
  --panel-strong: rgba(10, 10, 10, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f5;
  --muted: #bdbdbd;
  --strong: #ffffff;
  --accent: #f5c518;
  --accent-glow: rgba(245, 197, 24, 0.28);
  --radius: 16px;
  --max-width: 1120px;
  --topbar-height: 72px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  --font-ui: "MuseoModerno", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-height);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(ellipse at 80% 90%, rgba(245, 197, 24, 0.06), transparent 40%);
  transition: background 0.45s ease;
  pointer-events: none;
}

body.is-scrolled::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)),
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.02), transparent 24%),
    radial-gradient(ellipse at 80% 90%, rgba(245, 197, 24, 0.04), transparent 36%);
}

a {
  color: inherit;
}

main {
  width: 100%;
  margin: 0 auto;
  padding-top: calc(var(--topbar-height) + 1rem);
  position: relative;
  z-index: 1;
}

.bg-shape {
  position: fixed;
  z-index: -2;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

.bg-shape--one {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.18);
  top: -160px;
  right: -160px;
  animation: float-slow 14s ease-in-out infinite;
}

.bg-shape--two {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.1);
  bottom: 2%;
  left: -140px;
  animation: float-slow 18s ease-in-out infinite reverse;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--topbar-height);
  background: rgba(7, 7, 7, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 4vw;
  position: relative;
}

.brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: baseline;
  gap: 0.38rem;
  white-space: nowrap;
}

.brand-strong {
  font-weight: 800;
}

.brand-light {
  font-weight: 400;
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--strong);
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-ui);
}

.lang button[aria-pressed="true"] {
  background: #fff;
  color: #111;
}

.page-carousel {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #050505;
  transition: opacity 0.45s ease;
}

body.is-scrolled .page-carousel {
  opacity: 0.54;
}

.hero-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: contrast(1.02) brightness(0.8) saturate(1.02);
  transition: opacity 900ms ease;
}

.hero-carousel-image--active {
  opacity: 1;
}

.hero-overlay {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero {
  min-height: calc(100vh - var(--topbar-height));
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.03); }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes border-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.18), 0 18px 50px rgba(0, 0, 0, 0.26); }
  50% { box-shadow: 0 0 20px rgba(245, 197, 24, 0.28), 0 18px 50px rgba(0, 0, 0, 0.26); }
}

@keyframes price-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.8; }
  50% { transform: translateY(7px) translateX(-50%); opacity: 1; }
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  text-decoration: none;
  animation: scroll-bounce 1.8s ease-in-out infinite;
  z-index: 2;
}

.hero-copy {
  width: min(92%, 900px);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.h1-word-wrap {
  display: inline-block;
}

.h1-word {
  display: inline-block;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}

/* Portfolio carousel */
.section--carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}

.poster-carousel-wrap {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 0.5rem 0;
  margin-top: 2.5rem;
}

.poster-carousel-wrap.is-dragging {
  cursor: grabbing;
}

.poster-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.poster-item {
  flex-shrink: 0;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}

.poster-item img {
  height: 380px;
  width: auto;
  display: block;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.poster-item:hover {
  box-shadow: 0 0 0 2px var(--accent), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.poster-item:hover img {
  opacity: 1;
  transform: scale(1.02);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  max-width: 16ch;
  margin: 0 auto;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.8);
}

h2 {
  margin-bottom: 0.95rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: 0.01em;
  text-align: center;
}

h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.55rem auto 0;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.68rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
  width: min(92%, var(--max-width));
  margin: 0 auto;
  min-height: 0;
}

.section-block + .section-block {
  margin-top: 1.1rem;
}

.feature-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: stretch;
}

.feature-list li {
  padding: 0.82rem;
  display: grid;
  gap: 0.3rem;
  align-content: start;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.feature-list li:hover {
  border-color: rgba(245, 197, 24, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.feature-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  text-align: left;
  cursor: default;
}

.feature-toggle-icon {
  display: none;
  font-size: 1rem;
  line-height: 1;
  color: var(--muted);
}

.feature-panel {
  display: block;
}

.inline-choice-group {
  display: grid;
  gap: 0.7rem;
  padding: 0.25rem 0;
}

.selection-flow {
  margin-top: 0.8rem;
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border-top: 3px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(12, 12, 12, 0.7);
}

.section-head {
  text-align: center;
}

.inline-choice-label {
  color: var(--strong);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.feature-list strong {
  color: var(--strong);
  font-size: 0.95rem;
  line-height: 1.2;
}

.feature-list span,
.section-head p,
.portfolio-note,
.options,
#contact > p {
  color: var(--muted);
}

.card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.choice-select {
  display: block;
  position: relative;
}

.choice-select select {
  width: 100%;
  padding: 0.88rem 2.75rem 0.88rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--strong);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.choice-select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.choice-select select:hover,
.choice-select select:focus {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  outline: none;
}

.choice-select select option {
  color: #111;
}

.card {
  padding: 0.95rem;
  border-radius: var(--radius);
}

.card--featured {
  border-color: var(--line-strong);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-result {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.price {
  margin: 0.15rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.05;
  letter-spacing: 0.01em;
  display: inline-block;
}

.price.is-updated {
  animation: price-pop 0.35s ease;
}

.card ul {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.pricing-result ul {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.card li + li {
  margin-top: 0.35rem;
}

.portfolio-note {
  margin: 0 0 0.95rem;
}

.reel-wrap {
  width: min(100%, 560px);
  margin: 1.5rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0f0f12;
  box-shadow: var(--shadow);
}

.showreel {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.support-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 72ch;
  display: grid;
  gap: 0;
  text-align: center;
}

.support-list li {
  display: block;
  color: #d8d8d8;
  padding: 0.8rem 0;
}

.support-list li + li::before {
  content: "";
  display: block;
  width: min(100%, 32rem);
  height: 1px;
  margin: 0 auto 0.8rem;
  background: rgba(255, 255, 255, 0.18);
}

.cta-box {
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: var(--radius);
  background: rgba(30, 30, 30, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.8rem 1.4rem;
  text-align: center;
  margin-top: 1.1rem;
  animation: border-pulse 3.5s ease-in-out infinite;
}

.cta-box p {
  color: var(--muted);
  margin: 0.35rem 0 0;
  text-align: center;
}

.cta-actions {
  display: block;
  margin-top: 1.25rem;
  justify-content: center;
}

.btn-primary {
  font-size: 1.05rem;
  padding: 0.88rem 1.65rem;
  min-width: 240px;
}

.cta-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-btn i {
  font-size: 1rem;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel {
  padding: 1.1rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-icon {
  width: 1.95rem;
  height: 1.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.contact-list a {
  color: var(--strong);
  font-weight: 700;
  text-decoration: none;
}

.contact-cta {
  margin-top: 1rem;
  width: 100%;
}

.contact-social {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0.9rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.contact-social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer {
  text-align: center;
  padding: 1.35rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

@media (max-width: 980px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-height: 58px;
  }

  main {
    padding-top: calc(var(--topbar-height) + 1rem);
  }

  .topbar-inner {
    min-height: var(--topbar-height);
    padding: 0.4rem 0.8rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .brand {
    font-size: 0.88rem;
  }

  .nav {
    gap: 0.6rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    justify-content: center;
    white-space: nowrap;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .lang button {
    padding: 0.34rem 0.56rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: calc(100dvh - var(--topbar-height));
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-copy {
    width: min(92%, 720px);
    padding: 1.8rem 0 1.6rem;
  }

  h1 {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
    max-width: 12ch;
  }

  .section {
    padding: 0.9rem 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .feature-list li {
    padding: 0.72rem 0.78rem;
    gap: 0;
  }

  .feature-toggle {
    cursor: pointer;
  }

  .feature-toggle-icon {
    display: inline-block;
  }

  .feature-panel {
    display: none;
    padding-top: 0.55rem;
  }

  .feature-list li.is-open .feature-panel {
    display: block;
  }

  .feature-list li.is-open .feature-toggle-icon {
    transform: rotate(45deg);
  }

  .selection-flow {
    gap: 0.65rem;
  }

  .reel-wrap {
    width: min(100%, 440px);
  }

  .support-list {
    max-width: 32ch;
  }

  #contact .support-list {
    max-width: 34ch;
    margin-top: 0.45rem;
    margin-bottom: 1rem;
  }

  #contact .support-list li {
    padding: 0.52rem 0;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  #contact .support-list li + li::before {
    margin-bottom: 0.52rem;
  }

  #contact .cta-box {
    padding: 0.9rem 0.8rem;
    margin-top: 0.7rem;
  }

  #contact .cta-box p {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  #contact .cta-actions {
    margin-top: 0.8rem;
  }

  #contact .btn-primary {
    width: min(100%, 300px);
    min-width: 0;
    font-size: 0.92rem;
    padding: 0.72rem 0.95rem;
  }

  #contact .cta-icons {
    margin-top: 0.72rem;
    gap: 0.5rem;
  }

  #contact .icon-btn {
    width: 38px;
    height: 38px;
  }

}

@media (max-width: 560px) {
  .nav {
    gap: 0.35rem;
    justify-content: center;
  }

  .nav a {
    font-size: 0.78rem;
  }

  .btn,
  .contact-cta {
    width: 100%;
  }
}

/* Portfolio carousel — full bleed */
#portfolio.section--carousel {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

#portfolio .section-block {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* Services — staggered entrance */
#services.is-visible .feature-list li {
  animation: slide-in-up 0.45s ease both;
}

#services.is-visible .feature-list li:nth-child(1) { animation-delay: 0.05s; }
#services.is-visible .feature-list li:nth-child(2) { animation-delay: 0.11s; }
#services.is-visible .feature-list li:nth-child(3) { animation-delay: 0.17s; }
#services.is-visible .feature-list li:nth-child(4) { animation-delay: 0.23s; }
#services.is-visible .feature-list li:nth-child(5) { animation-delay: 0.29s; }
#services.is-visible .feature-list li:nth-child(6) { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .hero-carousel-image,
  body::before,
  body.is-scrolled .hero-carousel {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .bg-shape--one,
  .bg-shape--two,
  .cta-box,
  #services.is-visible .feature-list li,
  .price.is-updated {
    animation: none;
  }
}
