:root {
  --bg: #020202;
  --bg-soft: #050505;
  --surface: rgba(10, 10, 10, 0.92);
  --surface-strong: rgba(6, 6, 6, 0.98);
  --text: #ffffff;
  --muted: #b8c0b8;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #6dff8b;
  --accent-soft: #92ffab;
  --accent-strong: #d7ffe0;
  --accent-warm: #6dff8b;
  --accent-warm-soft: #92ffab;
  --glow: rgba(109, 255, 139, 0.45);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1180px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Times New Roman", "Cormorant Garamond", Georgia, serif;
  --scroll-glide: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, #010101 0%, var(--bg) 46%, #030303 100%);
  overflow-x: hidden;
}

main,
.footer {
  transform: translate3d(0, var(--scroll-glide), 0);
  will-change: transform;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(109, 255, 139, 0.08), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.04), transparent 18%),
    radial-gradient(circle at 50% 82%, rgba(109, 255, 139, 0.05), transparent 24%);
  opacity: 0.9;
  animation: ambientDrift 18s ease-in-out infinite;
}

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

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

button,
input,
textarea,
summary {
  font: inherit;
}

.progress-bar {
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.progress-bar {
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  background:
    linear-gradient(90deg, rgba(109, 255, 139, 0) 0%, rgba(109, 255, 139, 0.95) 45%, rgba(109, 255, 139, 0) 100%);
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 18px rgba(109, 255, 139, 0.4);
}

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

main {
  display: grid;
  justify-items: center;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(8, 10, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.topbar-enter {
  opacity: 0;
  transform: translateY(-18px);
  animation: topbarEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.08s;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  justify-self: center;
}

.nav a {
  position: relative;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px) scale(1.01);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 900ms ease;
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(130%);
}

.button-dark {
  background: linear-gradient(135deg, #caffd6, #6dff8b);
  color: #050605;
  box-shadow: 0 0 0 1px rgba(109, 255, 139, 0.18), 0 0 18px rgba(109, 255, 139, 0.16);
}

.button-dark:hover,
.button-dark:focus-visible {
  box-shadow: 0 0 22px rgba(109, 255, 139, 0.24), 0 18px 40px rgba(109, 255, 139, 0.12);
}

.button-light {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line);
}

/* ── Services section CTA ──────────────────────────── */
.services-cta-wrap {
  display: block;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 0;
  text-align: center;
}

.button-services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  padding: 0 56px;
  line-height: 1;
  border-radius: 999px;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #050605;
  background: linear-gradient(135deg, #caffd6 0%, #6dff8b 50%, #3de870 100%);
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.3),
    0 0 32px rgba(109, 255, 139, 0.35),
    0 12px 40px rgba(109, 255, 139, 0.2),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease;
  will-change: transform;
}

.button-services-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.38) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 800ms ease;
}

.button-services-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.4),
    0 0 48px rgba(109, 255, 139, 0.5),
    0 20px 56px rgba(109, 255, 139, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
}

.button-services-cta:hover::before {
  transform: translateX(130%);
}

.button-services-cta:active {
  transform: translateY(-1px) scale(0.99);
}

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

.floating-copy {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(109, 255, 139, 0.12);
  animation: floatingText 16s ease-in-out infinite;
}

.floating-copy::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(109, 255, 139, 0.6), transparent);
}

.floating-copy-hero-a {
  top: 16%;
  right: 4%;
}

.floating-copy-hero-b {
  left: 2%;
  bottom: 18%;
  animation-delay: -4s;
}

.floating-copy-about {
  top: 18px;
  right: 2%;
  animation-delay: -3s;
}

.floating-copy-process {
  top: 28px;
  left: 1%;
  animation-delay: -6s;
}

.floating-copy-portfolio {
  top: 24px;
  right: 2%;
  animation-delay: -5s;
}

.floating-copy-cta {
  right: 28px;
  bottom: 26px;
  color: rgba(109, 255, 139, 0.28);
  animation-delay: -2s;
}

.button-nav {
  justify-self: end;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
  min-height: auto;
  width: min(100%, 980px);
  max-width: 980px;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.hero.section {
  padding-bottom: 40px;
}

#services.section {
  padding-top: 44px;
  padding-bottom: 80px;
  position: relative;
}

.audit-section {
  padding-top: 28px;
}

.hero-copy,
.hero-showcase,
.hero-grid {
  width: 100%;
}

.hero {
  isolation: isolate;
  overflow: visible;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
}

.hero::before {
  top: -4%;
  left: -6%;
  width: clamp(240px, 28vw, 420px);
  height: clamp(240px, 28vw, 420px);
  background: radial-gradient(circle, rgba(109, 255, 139, 0.18), transparent 68%);
  transform: translate3d(0, calc(var(--hero-depth, 0) * 32px), 0);
  animation: auroraFloat 16s ease-in-out infinite;
}

.hero::after {
  right: -4%;
  bottom: 10%;
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 70%);
  transform: translate3d(0, calc(var(--hero-depth, 0) * -24px), 0);
  animation: auroraFloat 19s ease-in-out infinite reverse;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate3d(0, var(--hero-copy-offset, 0px), 0);
  transition: transform 280ms ease-out;
}

.hero-showcase {
  display: grid;
  gap: 30px;
  width: 100%;
  justify-items: center;
  transform: translate3d(0, var(--hero-showcase-offset, 0px), 0);
  transition: transform 280ms ease-out;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  max-width: 12ch;
  font-family: var(--sans);
  font-size: clamp(3.7rem, 7vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.hero-title {
  display: grid;
  gap: 0.06em;
  justify-items: center;
}

.hero-line {
  display: block;
}

.hero-line-left {
  animation: titleFromLeft 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}

.hero-line-right {
  animation: titleFromRight 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.28s;
}

.glow-text {
  display: inline-block;
  color: var(--accent-soft);
  text-shadow:
    0 0 8px rgba(109, 255, 139, 0.28),
    0 0 16px rgba(109, 255, 139, 0.12);
}

.headline-glow {
  color: #ffffff;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.42),
    0 0 22px rgba(255, 255, 255, 0.18);
  animation: textBreath 6s ease-in-out infinite;
}

#process-title,
.cta-band h2 {
  color: #ffffff;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.42),
    0 0 22px rgba(255, 255, 255, 0.18);
  animation: textBreath 6s ease-in-out infinite;
}

.emphasis-script {
  display: inline-block;
  color: var(--accent-warm);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 10px rgba(109, 255, 139, 0.4),
    0 0 24px rgba(109, 255, 139, 0.16);
}

.text-highlight {
  color: var(--accent-warm-soft);
}

.text-highlight-strong {
  color: var(--accent-warm);
  text-shadow:
    0 0 10px rgba(109, 255, 139, 0.34),
    0 0 24px rgba(109, 255, 139, 0.14);
}

.emphasis-script-xl {
  font-size: 1.2em;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(109, 255, 139, 0.5);
}

.hero-text,
.about-card p,
.service-card p,
.benefit-item p,
.portfolio-meta span,
.contact-form,
.contact-aside,
.form-note,
.footer span,
.faq-item p {
  color: var(--muted);
}

.hero-text {
  max-width: 72ch;
  margin: 20px 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: center;
}

.hero-support {
  max-width: 76ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
  width: 100%;
}

.hero-actions .button {
  flex: 0 0 auto;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  justify-content: center;
  width: 100%;
}

.hero-proof span,
.hero-card,
.about-card,
.about-stats,
.service-card,
.portfolio-card,
.benefit-item,
.cta-band,
.contact-card,
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.audit-section {
  width: 100%;
}

.audit-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  width: 100%;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 85% 12%, rgba(109, 255, 139, 0.12), transparent 20%),
    linear-gradient(140deg, rgba(7, 8, 7, 0.98), rgba(12, 16, 13, 0.96));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  align-items: stretch;
}

.audit-copy,
.audit-card {
  display: grid;
  gap: 18px;
}

.audit-copy {
  align-content: center;
  text-align: left;
}

.audit-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.96;
}

.audit-intro {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.85;
}

.audit-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audit-benefits span,
.audit-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.audit-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(109, 255, 139, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(11, 13, 11, 0.96), rgba(14, 17, 14, 0.96));
  align-content: start;
  text-align: left;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.audit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 255, 139, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.audit-card-label {
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audit-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.audit-card p,
.audit-card small {
  color: var(--muted);
  line-height: 1.8;
}

.audit-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-checklist li::before {
  content: "•";
  color: var(--accent-soft);
  margin-right: 10px;
}

.audit-fab-wrapper {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 400ms ease, transform 400ms ease;
}
.audit-fab-wrapper.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.audit-fab-wrapper.is-dismissed {
  display: none;
}

.audit-fab {
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(109, 255, 139, 0.18);
  border-radius: 999px;
  background: rgba(7, 9, 7, 0.9);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32), 0 0 20px rgba(109, 255, 139, 0.14);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.audit-fab-dismiss {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(7,9,7,0.85);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 180ms ease, border-color 180ms ease;
}
.audit-fab-dismiss:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

.audit-fab:hover,
.audit-fab:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(109, 255, 139, 0.42);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34), 0 0 24px rgba(109, 255, 139, 0.18);
}

.audit-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.audit-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.audit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 2, 0.76);
  backdrop-filter: blur(10px);
}

.audit-dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: min(92vh, 920px);
  padding: 34px;
  overflow: auto;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 85% 10%, rgba(109, 255, 139, 0.1), transparent 18%),
    linear-gradient(145deg, rgba(7, 8, 7, 0.98), rgba(12, 16, 13, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(18px) scale(0.985);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 255, 139, 0.75) rgba(255, 255, 255, 0.04);
}

.audit-modal.is-open .audit-dialog {
  transform: translateY(0) scale(1);
}

.audit-dialog::-webkit-scrollbar {
  width: 12px;
}

.audit-dialog::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.audit-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(109, 255, 139, 0.88), rgba(109, 255, 139, 0.48));
  border-radius: 999px;
  border: 2px solid rgba(9, 11, 9, 0.92);
  box-shadow: 0 0 18px rgba(109, 255, 139, 0.18);
}

.audit-dialog::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(109, 255, 139, 1), rgba(109, 255, 139, 0.62));
}

.audit-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

.audit-modal-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}

.audit-modal-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.audit-modal-head p:last-child {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.audit-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.audit-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.audit-progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(109, 255, 139, 0.62), rgba(109, 255, 139, 0.95));
  transition: width 240ms ease;
}

.audit-progress > span {
  color: var(--muted);
  font-size: 0.9rem;
}

.audit-form {
  display: grid;
  gap: 20px;
}

.audit-step {
  display: none;
}

.audit-step.is-active {
  display: block;
}

.audit-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audit-step-grid label {
  display: grid;
  gap: 10px;
  color: var(--accent-strong);
  font-size: 0.96rem;
  font-weight: 600;
}

.audit-step-grid input,
.audit-step-grid select,
.audit-step-grid textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  resize: vertical;
}

.audit-problem-group {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.audit-problem-group legend {
  padding: 0;
  color: var(--accent-strong);
  font-size: 0.96rem;
  font-weight: 600;
}

.audit-problem-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.audit-problem-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audit-problem-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.audit-problem-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.audit-problem-option:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 255, 139, 0.2);
}

.audit-problem-option.is-selected {
  border-color: rgba(109, 255, 139, 0.42);
  background: rgba(109, 255, 139, 0.08);
  box-shadow: 0 0 0 1px rgba(109, 255, 139, 0.14) inset, 0 0 22px rgba(109, 255, 139, 0.08);
}

.audit-problem-option.is-disabled {
  opacity: 0.45;
}

.audit-step-grid input:focus,
.audit-step-grid select:focus,
.audit-step-grid textarea:focus {
  border-color: rgba(109, 255, 139, 0.72);
  box-shadow: 0 0 0 4px rgba(109, 255, 139, 0.12), 0 0 22px rgba(109, 255, 139, 0.12);
  transform: translateY(-1px);
}

.audit-step-grid select {
  color-scheme: dark;
}

.audit-step-grid select option {
  background: #121512;
  color: #ffffff;
}

.audit-full {
  grid-column: 1 / -1;
}

.audit-choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audit-choice {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.audit-choice:hover,
.audit-choice.is-selected {
  transform: translateY(-4px);
  border-color: rgba(109, 255, 139, 0.32);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24), 0 0 24px rgba(109, 255, 139, 0.08);
  background: rgba(109, 255, 139, 0.06);
}

.audit-choice span,
.audit-help {
  color: var(--muted);
  line-height: 1.75;
}

.audit-dynamic-block {
  display: none;
}

.audit-dynamic-block.is-visible {
  display: block;
}

.audit-review-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.audit-review-card strong {
  font-family: var(--serif);
  font-size: 1.7rem;
}

.audit-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audit-error {
  min-height: 1.2rem;
  color: #ffb3b3;
  font-size: 0.94rem;
}

.audit-form-actions,
.audit-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.audit-submit {
  display: none;
}

.audit-submit.is-visible {
  display: inline-flex;
}

.audit-result {
  display: grid;
  gap: 22px;
}

.audit-result[hidden] {
  display: none !important;
}

.audit-loading[hidden] {
  display: none !important;
}

.audit-score-card,
.audit-panel,
.audit-recommendation-panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.audit-score-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.46fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.audit-score-main {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(109, 255, 139, 0.06);
  border: 1px solid rgba(109, 255, 139, 0.16);
  box-shadow: 0 0 32px rgba(109, 255, 139, 0.06) inset;
}

.audit-score-main span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.audit-score-main strong {
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  line-height: 0.88;
  color: rgba(109, 255, 139, 0.92);
}

.audit-score-breakdown {
  display: grid;
  gap: 14px;
}

.audit-score-item {
  display: grid;
  gap: 8px;
}

.audit-score-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.audit-score-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.audit-score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(109, 255, 139, 0.5), rgba(109, 255, 139, 0.95));
}

.audit-quick-diagnosis p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.85;
}

.audit-panel > strong,
.audit-recommendation-panel h4 {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.audit-stack-list {
  display: grid;
  gap: 12px;
}

.audit-stack-item {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.audit-stack-item[data-label="bad"]     { border-left-color: rgba(255, 100, 100, 0.55); }
.audit-stack-item[data-label="warning"] { border-left-color: rgba(255, 200, 80, 0.50); }
.audit-stack-item[data-label="good"]    { border-left-color: rgba(109, 255, 139, 0.55); }
.audit-stack-item[data-label="action"]  { border-left-color: rgba(255, 255, 255, 0.18); }

.audit-stack-item-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-stack-item-label.good {
  color: #8cffab;
  background: rgba(109, 255, 139, 0.10);
}

.audit-stack-item-label.bad {
  color: #ff8f8f;
  background: rgba(255, 104, 104, 0.10);
}

.audit-stack-item-label.warning {
  color: #ffd36d;
  background: rgba(255, 211, 109, 0.10);
}

.audit-stack-item-label.action {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.audit-stack-item p,
.audit-stack-item ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.audit-stack-item strong {
  font-size: 1rem;
  line-height: 1.4;
}

.audit-analysis-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.audit-recommendation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 85% 18%, rgba(109, 255, 139, 0.12), transparent 22%),
    rgba(255, 255, 255, 0.03);
}

.audit-recommendation-kicker {
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audit-recommendation-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.audit-loading {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 42px 24px;
  text-align: center;
}

.audit-loading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.audit-loading p:last-child {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.audit-loading-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.audit-loading-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.audit-loading-steps span.is-active {
  color: #ffffff;
  border-color: rgba(109, 255, 139, 0.28);
  background: rgba(109, 255, 139, 0.08);
  box-shadow: 0 0 22px rgba(109, 255, 139, 0.08);
  transform: translateY(-2px);
}

.audit-loading-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(109, 255, 139, 0.22);
  border-top-color: rgba(109, 255, 139, 0.92);
  box-shadow: 0 0 28px rgba(109, 255, 139, 0.12);
  animation: auditSpin 1.1s linear infinite;
}

.audit-result-head {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.audit-result-head h3 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}

.audit-result-head p:last-child {
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.8;
}

.audit-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audit-result-grid article {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.audit-result-grid > article > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.audit-result-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.audit-result-cta {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(109, 255, 139, 0.04);
  border: 1px solid rgba(109, 255, 139, 0.12);
  text-align: center;
}

/* ── Paso 4: resumen de datos ─────────────────────── */
.audit-review-summary {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.audit-review-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.9rem;
}

.audit-review-label {
  flex-shrink: 0;
  width: 72px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.audit-review-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Resultado: panel de recomendación ─────────────── */
.audit-recommendation-panel {
  background: linear-gradient(135deg, rgba(109, 255, 139, 0.06), rgba(109, 255, 139, 0.02));
  border-color: rgba(109, 255, 139, 0.18);
}

.audit-recommendation-panel h4 {
  color: #fff;
}

.hero-video-card {
  position: relative;
  min-height: min(56vw, 560px);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.5)),
    radial-gradient(circle at top right, rgba(109, 255, 139, 0.14), transparent 24%),
    #060606;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transform: translateY(var(--hero-card-offset, 0px));
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 320ms ease;
}

.hero-video-card::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(109, 255, 139, 0.2), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 38%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 26%, rgba(255, 255, 255, 0.12) 49%, transparent 72%);
  opacity: 0.42;
  transform: translateX(-120%);
  animation: cinematicSweep 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transform: scale(1.02);
  transition: transform 700ms ease, filter 700ms ease;
  filter: saturate(0.94) contrast(1.04);
}

.hero-video-card:hover .hero-video {
  transform: scale(1.06);
  filter: saturate(1.02) contrast(1.08);
}

.hero-video-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(109, 255, 139, 0.14);
  animation: badgePulse 5.4s ease-in-out infinite;
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.28), rgba(6, 6, 6, 0.56)),
    radial-gradient(circle at center, rgba(109, 255, 139, 0.08), transparent 34%);
  pointer-events: none;
  transition: opacity 300ms ease;
}

.hero-video-fallback span {
  color: var(--accent-soft);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-video-fallback strong,
.section-heading h2,
.cta-band h2,
.faq-item summary,
.contact-aside a {
  font-family: var(--serif);
}

.section-heading h2,
.cta-band h2 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
}

.hero-video-fallback strong {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-card {
  min-height: 144px;
  padding: 18px;
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  transform-style: preserve-3d;
  animation: floatCard 18s ease-in-out infinite;
}

.hero-card:nth-child(2) {
  animation-delay: -3s;
}

.hero-card:nth-child(3) {
  animation-delay: -6s;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.38);
  border-color: rgba(109, 255, 139, 0.24);
}

.hero-card span,
.contact-label {
  display: inline-block;
  margin-bottom: 0;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 90px;
}

.hero-card strong,
.portfolio-meta h3,
.service-card h3,
.benefit-item h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-card strong,
.service-card h3,
.benefit-item h3,
.portfolio-meta h3 {
  font-family: var(--sans);
  font-weight: 600;
}

.hero-card p,
.section-heading,
.portfolio-meta span {
  line-height: 1.65;
}

.hero-card-accent {
  background:
    radial-gradient(circle at 80% 10%, rgba(109, 255, 139, 0.14), transparent 20%),
    linear-gradient(140deg, rgba(8, 10, 8, 0.98), rgba(20, 34, 22, 0.98));
  color: var(--text);
}

.hero-card-accent span,
.hero-card-accent p {
  color: rgba(244, 238, 227, 0.8);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  justify-items: center;
  text-align: center;
  transform: translate3d(0, var(--heading-offset, 0px), 0);
  transition: transform 280ms ease-out;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4.3vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 22px;
  width: 100%;
}

.about-card,
.about-stats,
.contact-card,
.cta-band {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.about-card {
  display: grid;
  gap: 18px;
  text-align: center;
}

.about-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.85;
}

.about-card p:last-child {
  color: var(--text);
}

.about-stats {
  display: grid;
  gap: 18px;
  text-align: center;
}

.about-stats div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.about-stats div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.service-editorial {
  display: grid;
  gap: 26px;
  justify-items: center;
  margin: 0 auto 34px;
  max-width: 980px;
  text-align: center;
}

.service-editorial-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.18em;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.service-editorial-title .emphasis-script-xl {
  width: 100%;
}

.service-editorial-copy {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 20px rgba(255, 255, 255, 0.14);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  text-align: center;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease,
    background-color 280ms ease,
    filter 280ms ease;
  will-change: transform;
}

.service-pill.service-pill-warm {
  border-color: rgba(109, 255, 139, 0.5);
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.12) inset,
    0 0 20px rgba(109, 255, 139, 0.24);
}

.service-pill:hover,
.service-pill:focus-visible {
  border-color: rgba(109, 255, 139, 0.62);
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.18) inset,
    0 0 26px rgba(109, 255, 139, 0.22);
  filter: brightness(1.05);
}

.logo-marquee-section {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 16px 0 100px;
  text-align: center;
  position: relative;
}

.logo-marquee-section::before {
  content: "";
  position: absolute;
  inset: auto 10% -8% 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 255, 139, 0.22), transparent);
  opacity: 0.75;
}

.logo-marquee-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo-marquee-copy {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 14px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: logoMarquee 37.03s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 82px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.logo-item img {
  width: 100%;
  max-width: 180px;
  height: 44px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(1) brightness(1.15);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.logo-item:hover,
.logo-item:focus-visible {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(109, 255, 139, 0.24);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 24px rgba(109, 255, 139, 0.1);
}

.logo-item:hover img,
.logo-item:focus-visible img {
  opacity: 1;
  filter: grayscale(0) brightness(1.2);
  transform: scale(1.04);
}

.credibility-band {
  padding-top: 34px;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.credibility-item,
.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.credibility-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.credibility-item p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-card,
.benefit-item,
.portfolio-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  will-change: transform;
}

.service-card,
.benefit-item {
  padding: 22px;
  border-radius: var(--radius-md);
  text-align: center;
}

.service-card {
  background: linear-gradient(180deg, rgba(8, 10, 8, 0.985), rgba(10, 12, 10, 0.985));
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 360ms ease,
    background 520ms ease;
}

.service-card:hover,
.benefit-item:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.38);
  border-color: rgba(109, 255, 139, 0.24);
}

.service-card,
.benefit-item,
.portfolio-card,
.process-item,
.faq-item,
.contact-card {
  position: relative;
  overflow: hidden;
}

.benefit-item::before,
.portfolio-card::before,
.process-item::before,
.faq-item::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 20%, rgba(109, 255, 139, 0.08) 50%, transparent 80%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 350ms ease, transform 700ms ease;
  pointer-events: none;
}

.benefit-item:hover::before,
.portfolio-card:hover::before,
.process-item:hover::before,
.faq-item:hover::before,
.contact-card:hover::before {
  opacity: 1;
  transform: translateX(18%);
}

.service-card::before {
  content: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(
      115deg,
      transparent 24%,
      rgba(255, 255, 255, 0.02) 38%,
      rgba(255, 255, 255, 0.09) 48%,
      rgba(255, 255, 255, 0.04) 58%,
      transparent 74%
    );
  opacity: 0;
  transform: translateX(-135%) skewX(-12deg);
  filter: blur(10px);
  transition:
    opacity 720ms ease,
    transform 1800ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 0.95;
  transform: translateX(132%) skewX(-12deg);
  filter: blur(2px);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(109, 255, 139, 0.12),
    0 0 18px rgba(109, 255, 139, 0.07);
  border-color: rgba(109, 255, 139, 0.18);
  background:
    radial-gradient(circle at 18% 10%, rgba(109, 255, 139, 0.045), transparent 20%),
    linear-gradient(180deg, rgba(9, 11, 9, 0.985), rgba(13, 17, 13, 0.985));
}

.contact-card::before {
  inset: 0;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(109, 255, 139, 0.12), transparent 42%);
  opacity: 0;
  transform: none;
  transition: opacity 240ms ease;
}

.contact-card:hover::before {
  opacity: 1;
  transform: none;
}

.service-card img {
  margin-bottom: 22px;
  filter: drop-shadow(0 0 14px rgba(109, 255, 139, 0.22));
}

.service-card h3,
.benefit-item h3,
.portfolio-meta h3 {
  margin: 0 0 12px;
}

.service-card p,
.benefit-item p {
  margin: 0;
  line-height: 1.75;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.portfolio-intro {
  width: min(100%, 760px);
  margin: 0 auto 22px;
  text-align: center;
}

.portfolio-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.portfolio-sites {
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 0 0 26px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 255, 139, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(8, 10, 8, 0.96), rgba(12, 17, 13, 0.96));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-sites-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.portfolio-sites-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(109, 255, 139, 0.16);
  background: rgba(109, 255, 139, 0.06);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-sites-copy p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.portfolio-showcase-panel,
.portfolio-showcase-list {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 255, 139, 0.1), transparent 22%),
    rgba(255, 255, 255, 0.028);
}

.portfolio-showcase-panel {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 14px;
  padding: 13px 16px 16px;
  min-height: 0;
  align-self: start;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.portfolio-showcase-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 10px;
  margin-bottom: 2px;
}

.portfolio-showcase-panel-meta {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.portfolio-showcase-heading {
  display: grid;
  gap: 4px;
}

.portfolio-showcase-heading strong {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1;
}

.portfolio-showcase-heading small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.portfolio-showcase-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-showcase-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(14, 16, 14, 0.96), rgba(9, 11, 9, 0.98)),
    radial-gradient(circle at 80% 16%, rgba(109, 255, 139, 0.14), transparent 24%);
  margin-top: 0;
  min-height: 240px;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-frame {
  min-height: 0;
  background: rgba(5, 7, 5, 0.96);
}

.portfolio-showcase-panel.has-real-preview {
  gap: 20px !important;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-panel-top {
  margin-bottom: 8px !important;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-panel-meta {
  gap: 10px !important;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-badges {
  gap: 10px !important;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-frame {
  margin-top: 8px !important;
}

.portfolio-showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.08) 50%, transparent 76%);
  transform: translateX(-120%);
  animation: cinematicSweep 11s ease-in-out infinite;
  pointer-events: none;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-frame::after {
  display: none;
}

.portfolio-showcase-window {
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 3, 0.78);
  overflow: hidden;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-window {
  position: relative;
  inset: auto;
  border-radius: 12px;
  background: #050605;
  overflow: hidden;
}

.portfolio-showcase-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-window-bar {
  display: none;
}

.portfolio-showcase-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.portfolio-showcase-window-body {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: calc(100% - 50px);
  padding: 0;
  text-align: left;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-window-body {
  display: block;
  min-height: 0;
}

.portfolio-preview-media {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(14, 16, 14, 0.96), rgba(9, 11, 9, 0.98)),
    radial-gradient(circle at 80% 16%, rgba(109, 255, 139, 0.14), transparent 24%);
}

.portfolio-showcase-panel.has-real-preview .portfolio-preview-media {
  min-height: 0;
  height: auto;
  aspect-ratio: 2.28 / 1;
  display: block !important;
  padding: 0;
  background: #050605;
  overflow: hidden;
}

.portfolio-showcase-panel.has-real-preview .portfolio-showcase-frame,
.portfolio-showcase-panel.has-real-preview .portfolio-showcase-window,
.portfolio-showcase-panel.has-real-preview .portfolio-showcase-window-body,
.portfolio-showcase-panel.has-real-preview .portfolio-preview-media {
  height: auto;
}

.portfolio-showcase-panel.has-real-preview .portfolio-preview-media::before {
  display: none;
}

.portfolio-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portfolio-showcase-panel.has-real-preview .portfolio-preview-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  box-shadow: none;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 1;
  margin: 0 !important;
  display: block !important;
}

.portfolio-preview-media.is-fallback img {
  display: none;
}

.portfolio-preview-media-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(4, 5, 4, 0.3), rgba(4, 5, 4, 0.18) 34%, rgba(4, 5, 4, 0.78));
}

.portfolio-preview-media:not(.is-fallback) .portfolio-preview-media-overlay {
  display: none;
}

.portfolio-preview-media.is-fallback .portfolio-preview-media-overlay {
  background:
    radial-gradient(circle at 80% 16%, rgba(109, 255, 139, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 11, 9, 0.92), rgba(7, 9, 7, 0.98));
}

.portfolio-preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portfolio-showcase-logo-wrap {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 26px rgba(109, 255, 139, 0.08);
}

.portfolio-showcase-logo-wrap img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.portfolio-preview-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.portfolio-preview-nav-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

.portfolio-preview-caption {
  display: grid;
  gap: 16px;
  align-self: end;
  max-width: min(88%, 620px);
}

.portfolio-showcase-window-copy {
  display: grid;
  gap: 6px;
}

.portfolio-showcase-window-copy strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.portfolio-showcase-window-copy small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.portfolio-preview-copy {
  display: grid;
  gap: 10px;
}

.portfolio-preview-copy h4 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.portfolio-preview-copy p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.portfolio-showcase-copy,
.portfolio-showcase-tags,
.portfolio-showcase-panel > .portfolio-site-link {
  display: none !important;
}

.portfolio-showcase-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 255, 139, 0.52) rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 112px;
  max-height: min(74vh, 860px);
  align-self: stretch;
  min-height: 0;
}

.portfolio-showcase-list::-webkit-scrollbar {
  width: 8px;
}

.portfolio-showcase-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.portfolio-showcase-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(202, 255, 214, 0.82), rgba(109, 255, 139, 0.48));
  border-radius: 999px;
}

.portfolio-showcase-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.portfolio-showcase-item:hover,
.portfolio-showcase-item:focus-visible,
.portfolio-showcase-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(109, 255, 139, 0.2);
  background: rgba(109, 255, 139, 0.06);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18), 0 0 22px rgba(109, 255, 139, 0.06);
}

.portfolio-showcase-item.is-active {
  position: relative;
}

.portfolio-showcase-item.is-active::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(109, 255, 139, 0.78);
  border-right: 1px solid rgba(109, 255, 139, 0.78);
  transform: translateY(-50%) rotate(45deg);
}

.portfolio-showcase-item img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  object-fit: contain;
}

.portfolio-showcase-item-copy {
  display: grid;
  gap: 3px;
}

.portfolio-showcase-item-copy strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
}

.portfolio-showcase-item-copy small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  line-height: 1.1;
}

.portfolio-showcase-panel.is-transitioning {
  transform: translateY(4px);
  border-color: rgba(109, 255, 139, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 26px rgba(109, 255, 139, 0.06);
}

.portfolio-showcase-panel.is-transitioning .portfolio-showcase-frame,
.portfolio-showcase-panel.is-transitioning .portfolio-showcase-copy,
.portfolio-showcase-panel.is-transitioning .portfolio-showcase-tags,
.portfolio-showcase-panel.is-transitioning .portfolio-site-link,
.portfolio-showcase-panel.is-transitioning .portfolio-showcase-panel-top {
  opacity: 0.38;
  transform: translateY(8px);
  filter: blur(3px);
}

.portfolio-site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.portfolio-site-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-site-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-site-status.is-live {
  border: 1px solid rgba(109, 255, 139, 0.18);
  background: rgba(109, 255, 139, 0.08);
  color: var(--accent-soft);
}

.portfolio-site-status.is-archive {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-site-card strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.portfolio-site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portfolio-site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  object-fit: contain;
}

.portfolio-site-identity {
  display: grid;
  gap: 4px;
}

.portfolio-site-identity small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.portfolio-site-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.portfolio-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: max-content;
  min-height: 0;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(109, 255, 139, 0.26);
  background: linear-gradient(135deg, rgba(202, 255, 214, 0.98), rgba(109, 255, 139, 0.96));
  color: #050605;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  align-self: start;
  justify-self: start;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(109, 255, 139, 0.14), 0 14px 28px rgba(109, 255, 139, 0.16);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.portfolio-site-link:hover,
.portfolio-site-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(109, 255, 139, 0.34);
  background: linear-gradient(135deg, rgba(214, 255, 222, 1), rgba(109, 255, 139, 1));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2), 0 0 22px rgba(109, 255, 139, 0.14);
}

.portfolio-site-link.is-disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.54);
  box-shadow: none;
  pointer-events: none;
}

.portfolio-site-link.is-hidden {
  display: none !important;
}

.portfolio-site-link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 0.95em;
}

.portfolio-site-link.is-disabled::after {
  display: none;
}

.portfolio-showcase-subsection {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-showcase-subsection-archive {
  margin-top: 2px;
}

.portfolio-showcase-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-showcase-item-secondary {
  background: rgba(255, 255, 255, 0.015);
}

.portfolio-showcase-item-secondary:hover,
.portfolio-showcase-item-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-card {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(109, 255, 139, 0.13), transparent 26%),
    var(--surface-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.portfolio-card img {
  aspect-ratio: 4 / 3.25;
  width: 100%;
  box-sizing: border-box;
  padding: 22px;
  object-fit: contain;
  background: linear-gradient(180deg, #efe7da 0%, #e6ddcf 100%);
  border-radius: 28px 28px 0 0;
  transition: transform 420ms ease, filter 420ms ease;
  filter: saturate(0.96) contrast(1.01);
}

.portfolio-card:hover img {
  transform: scale(1.03);
  filter: saturate(1) contrast(1.04);
}

.portfolio-meta {
  padding: 22px 24px 26px;
  text-align: center;
  transition: transform 320ms ease;
  position: relative;
  z-index: 2;
}

.portfolio-card:hover .portfolio-meta {
  transform: translate3d(0, -2px, 0);
}

.portfolio-meta h3 {
  margin-bottom: 0;
}

.media-section {
  display: grid;
  gap: 22px;
}

.media-intro {
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.media-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.media-showcase {
  display: grid;
  gap: 16px;
}

.media-cluster {
  display: grid;
  gap: 16px;
}

.media-cluster-head {
  display: grid;
  gap: 8px;
}

.media-cluster-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.media-stage,
.media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(109, 255, 139, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(8, 10, 8, 0.96), rgba(12, 17, 13, 0.96));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.media-stage {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.media-stage-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.media-stage-copy {
  display: grid;
  gap: 10px;
}

.media-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(109, 255, 139, 0.16);
  background: rgba(109, 255, 139, 0.06);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-stage-copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.media-stage-copy p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.media-stage-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}

.media-stage-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.media-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.media-stage-main {
  display: grid;
  gap: 16px;
  align-content: start;
}

.media-stage-main-full {
  grid-column: 1 / -1;
}

.media-stage-window {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 5, 0.96);
}

.media-stage-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.media-stage-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.media-stage-screen {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 10, 8, 0.54), rgba(8, 10, 8, 0.88)),
    radial-gradient(circle at 84% 18%, rgba(109, 255, 139, 0.16), transparent 24%),
    #060706;
}

.media-stage-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0.12), rgba(5, 6, 5, 0.74)),
    linear-gradient(118deg, transparent 28%, rgba(255, 255, 255, 0.08) 49%, transparent 70%);
  pointer-events: none;
}

.media-stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.86) contrast(1.02);
}

.media-stage-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 420px;
  padding: 28px;
}

.media-stage-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.media-stage-overlay strong {
  max-width: 12ch;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.media-stage-overlay p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.media-stage-bts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-stage-bts-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.026);
}

.media-stage-bts-media {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #040504;
}

.media-stage-bts-card span {
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-stage-bts-card strong {
  font-size: 0.96rem;
  line-height: 1.55;
  font-weight: 500;
}

.media-side-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 124px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.026);
}

.media-side-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.media-side-media-portrait {
  width: min(100%, 210px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  object-fit: contain;
  background: #040504;
}

.media-side-media-horizontal {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #040504;
}

.media-side-card span {
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-side-card strong {
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
}

.media-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.media-reels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.media-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  grid-column: auto;
}

.media-card-portrait {
  justify-items: center;
}

.media-card-horizontal .media-card-copy {
  text-align: left;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 255, 139, 0.24);
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.38);
}

.media-card-visual {
  position: relative;
  min-height: 180px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.media-card-visual-portrait {
  width: min(100%, 240px);
  min-height: 0;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #040504;
}

.media-card-visual-horizontal {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #040504;
}

.media-card-visual::before,
.media-card-visual::after {
  content: "";
  position: absolute;
}

.media-card-visual-real::before,
.media-card-visual-real::after {
  content: none;
}

.media-card-visual-real img,
.media-card-visual-real video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.media-card-visual-portrait video,
.media-card-visual-portrait img,
.media-video-portrait {
  object-fit: contain;
  background: #040504;
}

.media-card-visual-horizontal video,
.media-card-visual-horizontal img,
.media-video-horizontal {
  object-fit: contain;
  background: #040504;
}

.media-card-visual-real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 5, 4, 0.02), rgba(4, 5, 4, 0.42));
  pointer-events: none;
}

.media-card-visual span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(5, 7, 5, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-card-visual-bts {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.12), transparent 16%),
    linear-gradient(135deg, rgba(17, 22, 18, 0.96), rgba(8, 11, 9, 0.96));
}

.media-card-visual-bts::before {
  width: 58%;
  height: 58%;
  left: 18%;
  top: 20%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(109, 255, 139, 0.14), rgba(255, 255, 255, 0.04));
  transform: rotate(-5deg);
}

.media-card-visual-bts::after {
  width: 26%;
  height: 18%;
  right: 16%;
  top: 20%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.media-card-visual-edit {
  background:
    linear-gradient(180deg, rgba(10, 12, 10, 0.94), rgba(7, 8, 7, 0.98)),
    radial-gradient(circle at 78% 24%, rgba(109, 255, 139, 0.16), transparent 24%);
}

.media-card-visual-edit::before {
  inset: 18px 18px 46px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 20%),
    repeating-linear-gradient(90deg, rgba(109, 255, 139, 0.12) 0 8%, transparent 8% 16%);
}

.media-card-visual-edit::after {
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(109, 255, 139, 0.86), rgba(109, 255, 139, 0.24));
}

.media-card-visual-photo {
  background:
    radial-gradient(circle at 76% 20%, rgba(109, 255, 139, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(14, 17, 14, 0.96), rgba(7, 9, 7, 0.98));
}

.media-card-visual-photo::before {
  width: 56%;
  height: 62%;
  left: 14%;
  top: 14%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-card-visual-photo::after {
  width: 30%;
  height: 30%;
  right: 14%;
  top: 22%;
  border-radius: 50%;
  background: rgba(109, 255, 139, 0.24);
  filter: blur(2px);
}

.media-card-visual-social {
  background:
    linear-gradient(180deg, rgba(11, 14, 11, 0.96), rgba(7, 8, 7, 0.98)),
    radial-gradient(circle at 50% 16%, rgba(109, 255, 139, 0.18), transparent 22%);
}

.media-card-visual-social::before {
  width: 42%;
  height: 74%;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(109, 255, 139, 0.16), rgba(255, 255, 255, 0.03));
}

.media-card-visual-social::after {
  left: 50%;
  bottom: 26%;
  width: 28%;
  height: 10%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.media-card-copy {
  display: grid;
  gap: 8px;
}

.media-card-portrait .media-card-copy {
  width: min(100%, 240px);
  text-align: center;
}

.media-card-copy strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.media-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.opinions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  perspective: 1400px;
}

.opinion-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  text-align: center;
  transform: translate3d(0, var(--opinion-offset, 0px), 0);
  transition: transform 320ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.opinion-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 255, 139, 0.24);
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.38);
}

.opinion-card p {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.45;
}

.opinion-card strong {
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.opinion-meta {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.process-section {
  position: relative;
}

.process-section::before {
  content: "process";
  position: absolute;
  right: 0;
  top: 10px;
  font-family: var(--sans);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.process-item {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  animation: riseFloat 18s ease-in-out infinite;
  text-align: center;
}

.process-item:nth-child(2) {
  animation-delay: -3s;
}

.process-item:nth-child(3) {
  animation-delay: -6s;
}

.process-item:nth-child(4) {
  animation-delay: -9s;
}

.process-item:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 255, 139, 0.24);
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.38);
}

.process-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 1.2rem;
  box-shadow: 0 0 18px rgba(109, 255, 139, 0.1);
}

.process-item h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-family: var(--serif);
  font-weight: 600;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.faq-item {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.faq-section {
  display: grid;
  justify-items: center;
  width: 100%;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 255, 139, 0.18);
}

.faq-item summary {
  padding: 22px 54px 22px 22px;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 1.2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-soft);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 220ms ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  line-height: 1.8;
}

.cta-band {
  display: grid;
  justify-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(109, 255, 139, 0.16), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(109, 255, 139, 0.14), transparent 18%),
    linear-gradient(125deg, rgba(8, 10, 8, 0.98), rgba(15, 24, 16, 0.95));
  color: var(--text);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.cta-band:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.32), 0 0 34px rgba(109, 255, 139, 0.09);
}

.cta-band:not(.cta-band-full) {
  display: none;
}

.cta-band-full {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-left: 32px;
  padding-right: 32px;
  border-radius: 32px;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 255, 139, 0.24), transparent 64%);
  animation: pulse 8s ease-in-out infinite;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(109, 255, 139, 0.09) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sweep 11s ease-in-out infinite;
  z-index: -1;
}

.testimonial-card {
  max-width: 920px;
}

.testimonial-card p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.25;
  color: var(--text);
}

.cta-band .eyebrow {
  margin-bottom: 0;
  color: rgba(109, 255, 139, 0.72);
}

.cta-band h2 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(109, 255, 139, 0.72);
  box-shadow: 0 0 0 4px rgba(109, 255, 139, 0.12), 0 0 22px rgba(109, 255, 139, 0.12);
  transform: translateY(-1px);
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.form-note {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form-note[data-state="sending"] {
  color: rgba(255, 255, 255, 0.72);
}

.form-note[data-state="success"] {
  color: var(--accent-soft);
}

.form-note[data-state="error"] {
  color: #ffb7b7;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  background:
    radial-gradient(circle at 85% 10%, rgba(109, 255, 139, 0.08), transparent 40%),
    linear-gradient(160deg, rgba(10, 14, 11, 0.97), rgba(6, 9, 7, 0.99));
}

.contact-section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 52ch;
}

.contact-aside-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(109, 255, 139, 0.22);
  background: rgba(109, 255, 139, 0.06);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-soft);
  letter-spacing: 0.01em;
  align-self: flex-start;
}

.contact-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(109, 255, 139, 0.7);
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(109, 255, 139, 0.7); }
  50%       { opacity: 0.6; box-shadow: 0 0 14px rgba(109, 255, 139, 0.3); }
}

.contact-aside-intro {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.72;
}

.contact-aside-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease;
}

.contact-aside-links a:last-child {
  border-bottom: none;
}

.contact-aside-links a:hover {
  transform: translateX(4px);
  color: var(--accent-soft);
}

.contact-aside-links a span:last-child {
  font-size: 1rem;
  font-weight: 500;
}

.contact-aside-note {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.contact-aside-note strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-aside-note p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-aside a {
  display: flex;
  gap: 6px;
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(109, 255, 139, 0.1);
  transition: transform 180ms ease, opacity 180ms ease, text-shadow 180ms ease;
}

.contact-aside a:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 24px rgba(109, 255, 139, 0.18);
}

.footer {
  display: grid;
  gap: 28px;
  padding: 52px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-enter {
  transition-delay: 120ms;
}

.footer p,
.footer span,
.footer strong,
.footer a {
  margin: 0;
}

.footer p {
  font-family: var(--serif);
  font-size: 1.6rem;
}

.footer-topline {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.footer-topline span {
  display: block;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(109, 255, 139, 0.9), transparent);
  animation: footerSweep 6s ease-in-out infinite;
}

.footer-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 920px);
  margin: 0 auto;
  text-align: center;
}

.footer-kicker {
  color: var(--accent-soft);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-title {
  margin: 0;
  display: grid;
  gap: 0.04em;
  line-height: 0.95;
}

.footer-title span {
  display: block;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  letter-spacing: -0.06em;
  color: #ffffff;
}

.footer-intro {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.8;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  width: 100%;
  text-align: left;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 12px;
}

.footer-panel {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    linear-gradient(140deg, rgba(7, 8, 7, 0.96), rgba(10, 14, 11, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.footer-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 255, 139, 0.2);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
}

.footer-brand span,
.footer-column span,
.footer-column a {
  color: var(--muted);
  line-height: 1.7;
}

.footer-brand strong {
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 0.95;
}

.footer-logo {
  width: min(100%, 230px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
}

.footer-column strong {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent-soft);
  text-shadow: 0 0 16px rgba(109, 255, 139, 0.12);
}

.footer-magnetic {
  will-change: transform;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms ease, text-shadow 180ms ease;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom span {
  color: var(--muted);
}

.footer-privacy-link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}
.footer-privacy-link:hover { color: rgba(255,255,255,0.7); }

/* ── Modal privacidad ──────────────────────────────────────────────────── */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.privacy-modal.is-open { display: flex; }
.privacy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.privacy-dialog {
  position: relative;
  z-index: 1;
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}
.privacy-dialog h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}
.privacy-dialog p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 12px;
}
.privacy-dialog strong { color: rgba(255,255,255,0.85); }
.privacy-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.privacy-close:hover { color: #fff; }

.footer-bottom-logo {
  width: 108px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
}

@keyframes footerSweep {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(220%);
  }
  100% {
    transform: translateX(220%);
  }
}

@keyframes auditSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(8px);
}

.hero-sequence {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  animation: heroEnter 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-seq-1 {
  animation-delay: 0.08s;
}

.hero-seq-2 {
  animation-delay: 0.22s;
}

.hero-seq-3 {
  animation-delay: 0.42s;
}

.reveal-delay {
  transition-delay: 140ms;
}

.reveal-delay.is-visible {
  transition-delay: 0s;
}

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

.tilt-card {
  transform-style: preserve-3d;
}

.tilt-card > * {
  transform: translateZ(0);
}

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

@keyframes ambientDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -2%, 0) scale(1.04);
  }
}

@keyframes auroraFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(16px, -18px, 0) scale(1.06);
  }
}

@keyframes cinematicSweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  45%,
  65% {
    transform: translateX(120%);
  }
}

@keyframes textBreath {
  0%,
  100% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.42),
      0 0 22px rgba(255, 255, 255, 0.18);
  }
  50% {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.54),
      0 0 34px rgba(109, 255, 139, 0.16);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(109, 255, 139, 0.12);
    transform: translateX(-50%) translateY(0);
  }
  50% {
    box-shadow: 0 0 28px rgba(109, 255, 139, 0.2);
    transform: translateX(-50%) translateY(-2px);
  }
}

@keyframes titleFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes titleFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
}

@keyframes logoMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes floatingText {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(0, -12px, 0);
    opacity: 1;
  }
}

@keyframes topbarEnter {
  0% {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroEnter {
  0% {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .audit-shell,
  .audit-choice-group,
  .portfolio-showcase,
  .media-stage-layout,
  .audit-result-grid,
  .audit-analysis-columns,
  .audit-score-card,
  .audit-recommendation-panel {
    grid-template-columns: 1fr;
  }

  .portfolio-preview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .media-horizontal-grid {
    grid-template-columns: 1fr;
  }

  .media-reels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card,
  .media-card-wide,
  .media-card-wide-end,
  .media-card-compact {
    grid-column: span 1;
  }

  .media-stage-top {
    grid-template-columns: 1fr;
  }

  .media-stage-pills {
    justify-content: flex-start;
    max-width: none;
  }

  .media-stage-bts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .logo-item {
    min-width: 170px;
  }

  .hero {
    gap: 40px;
  }

  .process-section::before {
    font-size: clamp(3rem, 10vw, 6rem);
    top: 24px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: flex;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
  }

  .button-nav {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    max-width: 10ch;
  }

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

  .hero-proof {
    flex-direction: column;
    align-items: center;
  }

  .logo-marquee-track {
    gap: 14px;
  }

  .logo-item {
    min-width: 152px;
    min-height: 72px;
    padding: 0 14px;
  }

  .hero-actions {
    width: 100%;
  }

  .services-grid,
  .opinions-grid,
  .media-grid,
  .hero-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .audit-step-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-accent {
    grid-column: auto;
  }

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

  .credibility-item,
  .testimonial-card {
    padding: 24px;
  }

  .floating-copy {
    display: none;
  }

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

  .footer-actions {
    width: 100%;
  }

  .audit-dialog {
    padding: 24px;
  }

  .media-stage-screen,
  .media-stage-overlay {
    min-height: 360px;
  }

  .media-stage-side {
    grid-template-rows: none;
  }

  .audit-form-actions,
  .audit-result-actions {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .topbar {
    top: 10px;
    padding: 16px;
  }

  .nav {
    font-size: 0.94rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.6rem);
  }

  .section-heading h2,
  .cta-band h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .logo-marquee-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .service-editorial {
    gap: 20px;
    margin-bottom: 28px;
  }

  .audit-shell,
  .audit-card,
  .audit-review-card,
  .audit-result-grid article {
    padding: 22px;
  }

  .audit-fab-wrapper {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
  .audit-fab {
    flex: 1;
  }
  .nav {
    display: none;
  }
  .button-nav {
    margin-left: auto;
    width: auto !important;
  }
  .service-pills {
    display: none;
  }

  .service-editorial-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .service-pill {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

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

  .hero-actions .button,
  .button-nav {
    width: 100%;
  }

  .about-card,
  .about-stats,
  .contact-card,
  .cta-band,
  .hero-video-card,
  .media-stage,
  .media-card,
  .service-card,
  .benefit-item,
  .hero-card,
  .credibility-item,
  .testimonial-card,
  .process-item {
    padding: 24px;
  }

  .contact-aside a {
    font-size: 1.2rem;
  }

  .faq-item summary {
    font-size: 1.2rem;
  }

  .hero-proof span {
    width: 100%;
    justify-content: center;
  }

  .media-stage-overlay {
    padding: 22px;
  }

  .media-stage-overlay strong {
    max-width: 14ch;
  }

  .media-stage-bts-grid {
    grid-template-columns: 1fr;
  }

  .media-reels-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    padding-bottom: 28px;
  }
}

/* ── Reviews / Opiniones ─────────────────────────── */
.reviews-section {
  overflow: hidden;
  position: relative;
}

.reviews-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(109, 255, 139, 0.05), transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(109, 255, 139, 0.04), transparent 60%);
  pointer-events: none;
}

.reviews-intro {
  max-width: 52ch;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 8px 8px;
}

.review-card {
  --rot: 0deg;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #111;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
  transform: rotate(var(--rot)) translateZ(0);
  transition:
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 400ms ease,
    border-color 280ms ease;
  will-change: transform;
  cursor: zoom-in;
}

.review-card:nth-child(4n + 1) { --rot: -2.2deg; }
.review-card:nth-child(4n + 2) { --rot:  1.6deg; }
.review-card:nth-child(4n + 3) { --rot: -1.1deg; }
.review-card:nth-child(4n + 4) { --rot:  2.4deg; }

.review-card:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.04) translateZ(0);
  border-color: rgba(109, 255, 139, 0.28);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.07) inset,
    0 32px 72px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(109, 255, 139, 0.2),
    0 0 48px rgba(109, 255, 139, 0.1);
}

.review-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Review Lightbox ──────────────────────────────── */
.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.review-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.review-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 2, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.review-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(72vw, 680px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(109, 255, 139, 0.2);
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.12),
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(109, 255, 139, 0.08);
  transform: scale(0.88);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  object-fit: contain;
}

.review-lightbox.is-open .review-lightbox-img {
  transform: scale(1);
}

.review-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.review-lightbox-close:hover {
  background: rgba(109, 255, 139, 0.12);
  border-color: rgba(109, 255, 139, 0.3);
  color: var(--accent);
}

@media (max-width: 1080px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 4px 4px;
  }

  .review-card:nth-child(2n + 1) { --rot: -2deg; }
  .review-card:nth-child(2n + 2) { --rot:  1.8deg; }
}

/* ── Gallery Grid + Cards ────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--surface-strong);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 28px 56px rgba(0, 0, 0, 0.36),
    0 8px 20px rgba(0, 0, 0, 0.22);
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease;
  will-change: transform;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(109, 255, 139, 0.18),
    0 48px 80px rgba(0, 0, 0, 0.44),
    0 16px 32px rgba(0, 0, 0, 0.26),
    0 0 40px rgba(109, 255, 139, 0.06);
  border-color: rgba(109, 255, 139, 0.22);
}

.gallery-card-head {
  padding: 22px 32px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
}

.gallery-card-head .eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.gallery-card .gallery-slider {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: none;
  flex: 1;
}

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card:last-child {
    grid-column: 1 / -1;
  }

  .gallery-card:last-child .gallery-track {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-card:last-child {
    grid-column: auto;
  }

  .gallery-card:last-child .gallery-track {
    aspect-ratio: 4 / 5;
  }
}

/* ── Gallery Slider ──────────────────────────────── */
.gallery-slider {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
  isolation: isolate;
  width: 100%;
}

.gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #f0e8db 0%, #e4dace 100%);
}

.gallery-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(4, 4, 4, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

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

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 44px;
  box-sizing: border-box;
  transition: transform 8000ms ease;
  transform: scale(1.04);
}

.gallery-slide.is-active img {
  transform: scale(1);
}

.gallery-slide[data-bg="dark"] img {
  object-fit: cover;
  padding: 0;
  background: #040404;
}

.gallery-slide[data-bg="neutral"] img {
  object-fit: contain;
  padding: 28px;
  background: linear-gradient(160deg, #111 0%, #0a0a0a 100%);
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.gallery-bar-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.gallery-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
}

.gallery-name {
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gallery-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  flex-shrink: 0;
}

.gallery-ctrl:hover {
  background: rgba(109, 255, 139, 0.08);
  color: var(--accent-soft);
  border-color: rgba(109, 255, 139, 0.25);
}

.gallery-ctrl.is-paused {
  color: var(--accent);
  border-color: rgba(109, 255, 139, 0.35);
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 10px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 220ms ease, width 220ms ease;
}

.gallery-dot.is-active {
  background: var(--accent);
  width: 24px;
}

.gallery-counter {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

@media (max-width: 720px) {
  .gallery-slide img {
    padding: 28px;
  }

  .gallery-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .gallery-controls {
    align-self: flex-end;
  }
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.pricing-subtitle {
  max-width: 64ch;
  margin: 0 auto 52px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 20px;
  width: 100%;
  align-items: start;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(10, 12, 10, 0.96), rgba(6, 8, 6, 0.98));
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card-pro {
  border-color: rgba(109, 255, 139, 0.4);
  background:
    radial-gradient(circle at 60% 0%, rgba(109, 255, 139, 0.09), transparent 46%),
    linear-gradient(160deg, rgba(10, 14, 11, 0.97), rgba(6, 10, 7, 0.99));
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.22),
    0 0 40px rgba(109, 255, 139, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card-pro:hover {
  box-shadow:
    0 0 0 1px rgba(109, 255, 139, 0.3),
    0 0 56px rgba(109, 255, 139, 0.16),
    0 28px 70px rgba(0, 0, 0, 0.38);
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 30px;
  background: var(--accent);
  color: #010d03;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card-pro .pricing-tier {
  color: var(--accent);
}

.pricing-pack {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount {
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card-pro .pricing-amount {
  color: var(--accent-soft);
}

.pricing-period {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-was {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
  align-self: flex-end;
  margin-bottom: 3px;
  opacity: 0.7;
}

/* ── Countdown timer ─────────────────────────────── */
.pricing-countdown {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(109, 255, 139, 0.18);
  background: rgba(109, 255, 139, 0.04);
}

.pricing-countdown-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.pricing-countdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: statusPulse 2s ease-in-out infinite;
}

.pricing-countdown-timer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.pricing-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pricing-countdown-num {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
  font-family: var(--sans);
}

.pricing-countdown-sub {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-countdown-sep {
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(109, 255, 139, 0.3);
  line-height: 1;
  margin-bottom: 14px;
}

.pricing-for {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.91rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features li::before {
  content: "✓";
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-card-pro .pricing-features li::before {
  color: var(--accent);
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 240ms ease, border-color 240ms ease, transform 200ms ease;
  text-align: center;
}

.pricing-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.pricing-cta-pro {
  background: var(--accent);
  border-color: var(--accent);
  color: #010d03;
  font-weight: 700;
}

.pricing-cta-pro:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}

/* ── Flash hint strip ────────────────────────────── */
.pricing-flash-hint {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 20px;
}

.pricing-flash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-flash-hint-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-flash-hint-bolt {
  font-size: 0.9rem;
  opacity: 0.65;
  flex-shrink: 0;
}

.pricing-flash-hint strong {
  color: var(--text);
  font-weight: 600;
}

.pricing-flash-hint-last {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pricing-flash-hint-last[data-state="active"] {
  color: var(--accent-soft);
  font-weight: 600;
}

/* ── Newsletter / Ebook section ─────────────────── */
.newsletter-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 50%, rgba(109, 255, 139, 0.07), transparent 52%),
    var(--card-bg);
  border: 1px solid rgba(109, 255, 139, 0.2);
  border-radius: 24px;
  padding: 52px 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.newsletter-copy .eyebrow {
  margin-bottom: 10px;
}

.newsletter-copy .headline-glow {
  margin: 0 0 16px;
}

.newsletter-desc {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.newsletter-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.newsletter-perks li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.newsletter-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.newsletter-field label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.newsletter-field input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-field input:focus {
  border-color: rgba(109, 255, 139, 0.4);
}

.newsletter-field input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.newsletter-cta {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.newsletter-legal {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  .newsletter-card {
    padding: 28px 20px;
  }
}

/* ── Marca card con oferta activa ────────────────── */
.pricing-card-marca.has-offer {
  border-color: rgba(109, 255, 139, 0.25);
  background:
    radial-gradient(circle at 60% 0%, rgba(109, 255, 139, 0.06), transparent 46%),
    var(--card-bg);
}

.pricing-aside {
  margin: 32px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-aside em {
  font-style: italic;
  color: var(--text);
  font-weight: 500;
}

.pricing-trust {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.pricing-guarantee,
.pricing-scarcity {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.pricing-guarantee {
  border-color: rgba(109, 255, 139, 0.16);
  background: rgba(109, 255, 139, 0.04);
}

.pricing-guarantee-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  margin-top: 2px;
}

.pricing-guarantee strong,
.pricing-scarcity strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.pricing-guarantee p,
.pricing-scarcity p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-trust {
    flex-direction: column;
  }

  .pricing-subtitle {
    font-size: 0.98rem;
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .pricing-card {
    padding: 28px 22px 24px;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    max-width: 100%;
  }

  .pricing-card {
    padding: 24px 16px 20px;
  }

  .pricing-amount {
    font-size: 2.1rem;
  }

  .pricing-subtitle {
    font-size: 0.93rem;
    margin-bottom: 28px;
  }

  .pricing-guarantee,
  .pricing-scarcity {
    padding: 18px 16px;
    gap: 12px;
  }

  .pricing-trust {
    gap: 12px;
  }
}

/* ============================================================
   REFERRAL SECTION
   ============================================================ */

.referral-section {
  padding-top: 60px;
}

.referral-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.referral-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.referral-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.referral-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.referral-copy .button {
  align-self: flex-start;
  margin-top: 8px;
}

.referral-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 80% 10%, rgba(109, 255, 139, 0.07), transparent 38%),
    linear-gradient(160deg, rgba(10, 12, 10, 0.96), rgba(6, 8, 6, 0.98));
}

.referral-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.referral-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.referral-step:first-child {
  padding-top: 0;
}

.referral-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(109, 255, 139, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(109, 255, 139, 0.05);
}

.referral-step div strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
}

.referral-step div p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .referral-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .referral-copy h2 {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
  }

  .referral-copy .button {
    align-self: stretch;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .referral-shell {
    gap: 24px;
  }

  .referral-copy h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  .referral-steps {
    padding: 20px 16px;
  }

  .referral-step {
    gap: 14px;
    padding: 18px 0;
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-band-actions .button {
    width: 100%;
  }
}
