:root {
  --bg: #000000;
  --bg-soft: #111111;
  --panel: rgba(255, 255, 255, 0.09);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #d4d4d4;
  --line: rgba(255, 255, 255, 0.16);
  --brand: #ff8805;
  --brand-2: #ffffff;
  --danger: #ff6b5f;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 136, 5, 0.25), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, #000000 0%, #111111 48%, #050505 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 136, 5, 0.6);
  border-radius: 12px;
  background: var(--brand);
  box-shadow: 0 0 26px rgba(255, 136, 5, 0.28);
  color: #000000;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
  padding: 0 18px;
  background: rgba(255, 136, 5, 0.16);
  border: 1px solid rgba(255, 136, 5, 0.48);
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: #000000;
  box-shadow: 0 16px 42px rgba(255, 136, 5, 0.3);
}

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

.button.full {
  width: 100%;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 52px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -72px;
  bottom: -64px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -2;
}

.hero::before {
  background: url("assets/pintor-presupuesto-salon.png") center / cover no-repeat;
  filter: blur(2px);
  opacity: 0.8;
  transform: translateX(-50%) scale(1.04);
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.48) 44%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.14) 42%, rgba(17, 17, 17, 0.82) 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h2.eyebrow {
  max-width: none;
  line-height: 1.2;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6.2vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

h1,
h2,
h3,
p,
a,
span,
strong {
  overflow-wrap: anywhere;
}

.hero > *,
.audience > *,
.contact > *,
.before-after > * {
  min-width: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-lead {
  max-width: 650px;
  font-size: 1.18rem;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.trust-strip {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 7% 5%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 136, 5, 0.24), rgba(255, 255, 255, 0.08));
  filter: blur(30px);
}

.product-flow {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.1) 44%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 7s ease-in-out infinite;
}

.flow-card,
.pain-grid article,
.step,
.benefit-grid article,
.audience-cards article,
.contact-form,
.emotional-box,
.before-panel,
.after-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.flow-card {
  position: absolute;
  padding: 18px;
  backdrop-filter: blur(18px);
}

.audio-card {
  top: 54px;
  left: 32px;
  width: min(390px, calc(100% - 64px));
}

.transcript-card {
  top: 202px;
  right: 32px;
  width: min(380px, calc(100% - 64px));
}

.budget-card {
  left: 32px;
  bottom: 104px;
  width: min(410px, calc(100% - 64px));
}

.ready-card {
  right: 32px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(370px, calc(100% - 64px));
}

.ready-card p {
  margin: 3px 0 0;
  font-size: 0.9rem;
}

.ready-card button {
  margin-left: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #000000;
  font-weight: 800;
  padding: 10px 16px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.icon-circle,
.status-dot {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 136, 5, 0.18);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(255, 136, 5, 0.78);
}

.wave {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 78px;
  margin-top: 18px;
}

.wave span {
  width: 12px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), #ffffff);
  animation: pulse 1.1s ease-in-out infinite;
}

.wave span:nth-child(2) { animation-delay: 80ms; }
.wave span:nth-child(3) { animation-delay: 160ms; }
.wave span:nth-child(4) { animation-delay: 240ms; }
.wave span:nth-child(5) { animation-delay: 320ms; }
.wave span:nth-child(6) { animation-delay: 400ms; }
.wave span:nth-child(7) { animation-delay: 480ms; }
.wave span:nth-child(8) { animation-delay: 560ms; }

.card-label {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.budget-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.budget-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.float-a { animation: float 5.4s ease-in-out infinite; }
.float-b { animation: float 6.2s ease-in-out infinite reverse; }
.float-c { animation: float 5.9s ease-in-out infinite; }
.float-d { animation: float 6.8s ease-in-out infinite reverse; }

.section-heading {
  margin-bottom: 34px;
}

.pain-grid,
.steps,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pain-grid article,
.step,
.benefit-grid article {
  padding: 24px;
}

.pain-grid span,
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(255, 136, 5, 0.16);
  color: var(--brand);
  font-weight: 800;
}

.steps {
  align-items: stretch;
}

.step {
  background: linear-gradient(180deg, rgba(255, 136, 5, 0.14), rgba(255, 255, 255, 0.055));
}

.before-after {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}

.before-panel,
.after-panel {
  padding: 24px;
}

.before-panel span,
.after-panel span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 800;
}

.before-panel p {
  color: var(--text);
  font-size: 1.3rem;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

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

.audience {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.audience-cards {
  display: grid;
  gap: 14px;
}

.audience-cards article {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.audience-cards span {
  color: var(--muted);
}

.emotional-box {
  padding: clamp(32px, 7vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 136, 5, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.emotional-box p:last-child {
  max-width: 760px;
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 30px;
  align-items: start;
}

.inline-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.74);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

input:focus {
  outline: 2px solid rgba(255, 136, 5, 0.5);
  outline-offset: 2px;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.checkbox input {
  min-height: 20px;
  margin-top: 3px;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.legal-page {
  min-height: 100vh;
}

.legal-content {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.legal-content h1 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
}

.legal-content h2 {
  margin-top: 20px;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-content a {
  color: var(--brand);
  font-weight: 800;
}

.legal-content table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}

.legal-content th,
.legal-content td {
  vertical-align: top;
}

.legal-content details,
.legal-content .data-table,
.legal-content #cmplz-cookies-overview {
  display: grid;
  gap: 12px;
}

.legal-content summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.legal-content .cmplz-hidden,
.legal-content .screen-reader-text {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes pulse {
  0%, 100% { height: 24px; }
  50% { height: 68px; }
}

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

@keyframes sheen {
  0%, 42% { transform: translateX(-100%); }
  62%, 100% { transform: translateX(100%); }
}

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

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero,
  .audience,
  .contact,
  .before-after {
    grid-template-columns: 1fr;
  }

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

  .pain-grid,
  .steps,
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-flow {
    min-height: 600px;
  }

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

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 24px, 1160px);
  }

  .header-cta {
    display: none;
  }

  .section {
    width: min(100% - 24px, 1160px);
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

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

  .pain-grid,
  .steps,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .product-flow {
    min-height: 690px;
    border-radius: 18px;
  }

  .audio-card,
  .transcript-card,
  .budget-card,
  .ready-card {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .audio-card { top: 22px; }
  .transcript-card { top: 178px; }
  .budget-card { bottom: 126px; }
  .ready-card { bottom: 20px; }

  .ready-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ready-card button {
    width: 100%;
    margin-left: 0;
  }

  .site-footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
