:root {
  --bg: #050505;
  --bg-elevated: rgba(255, 255, 255, 0.03);
  --bg-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f2eb;
  --muted: rgba(245, 242, 235, 0.72);
  --soft: rgba(245, 242, 235, 0.5);
  --accent: #d10f0f;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 31, 0.14), transparent 24rem),
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.05), transparent 18rem),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.03), transparent 18rem),
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.012) 0,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 6px
    );
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 85%);
}

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

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.site-header,
.hero,
.how-it-works,
.experience,
.cta-section,
.site-footer,
.trust-band {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.015));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer,
.trust-band {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.site-header {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.brand-lockup,
.sponsor-lockup,
.footer-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.brand-lockup {
  justify-content: flex-start;
}

.rll-logo,
.sponsor-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-soft);
  padding: 0 1rem;
}

.rll-logo {
  width: 56px;
  height: 56px;
  padding: 0;
  background: var(--accent);
  border-color: transparent;
  color: white;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 0 40px rgba(255, 90, 31, 0.25);
}

.sponsor-logo {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  border: 0;
  background-color: transparent;
  padding: 0;
  width: 100%
}
  .sponsor-logo img {
    max-width: 100%;
    max-height: 50px;
  }

.footer-logo {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  border: 0;
  background-color: transparent;
  padding: 0;
  flex: 0 0 33.333%;
  text-align: center;
}
  .footer-logo img {
    max-width: 100%;
    max-height: 30px;
  }
.footer-logo-client {
  width: 100%;
}
  .footer-logo-client img {
    max-height: 50px;
  }

.brand-copy,
.sponsor-lockup {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  gap: 5px;
  padding-left: 10px;
}

.eyebrow,
.section-kicker,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--soft);
}

.hero,
.how-it-works,
.experience,
.cta-section,
.site-footer {
  border-radius: var(--radius);
  margin-top: 1rem;
}

.hero {
  padding: 1.25rem;
  display: grid;
  gap: 1.25rem;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -5rem -5rem auto;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.6), rgba(255, 90, 31, 0.05) 55%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero h1,
.section-heading h2,
.experience h2,
.cta-copy h2 {
  margin: 0.4rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero-text,
.experience p,
.cta-copy p,
.step-card p,
.mode-panel p,
.benefit span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.hero-actions,
.mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn,
.mode-pill {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover,
.mode-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.3);
}

.btn-primary,
.mode-pill.is-active {
  background: var(--accent);
  border-color: transparent;
  color: white;
  box-shadow: 0 14px 34px rgba(255, 90, 31, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.btn-large {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  font-weight: 700;
}

.mode-panel {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.mode-panel.is-active {
  display: block;
}

.hero-card,
.benefits-card,
.step-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border-radius: var(--radius-sm);
}

.hero-card {
  padding: 1rem;
  position: relative;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 90, 31, 0.7);
  margin-bottom: 0.75rem;
}

.assistant-question {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.conversation-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

.prompt-list {
  padding-left: 1rem;
  margin: 1rem 0 0;
  color: var(--muted);
  display: grid;
  gap: 0.75rem;
}

.trust-band {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-item {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}

.how-it-works,
.experience,
.cta-section,
.site-footer {
  padding: 1.25rem;
}

.section-heading {
  max-width: 42rem;
}

.steps-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.step-card {
  padding: 1.1rem;
}

.step-number {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 800;
}

.step-card h3,
.benefit strong {
  margin: 0.7rem 0 0.45rem;
  font-size: 1.05rem;
}

.experience {
  display: grid;
  gap: 1rem;
}

.benefits-card {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.benefit {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.benefit:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cta-section {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.site-footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-copy {
  flex-direction: column;
  align-items: flex-start;
}

.footer-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .page-shell {
    padding: 0 1.5rem 2.5rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 0 0 24px 24px;
    padding: 1.1rem 1.35rem;
  }

  .hero {
    /* grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); */
    align-items: center;
    padding: 2rem;
    gap: 2rem;
  }

  .trust-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .experience {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: start;
    padding: 2rem;
  }

  .how-it-works,
  .cta-section,
  .site-footer {
    padding: 2rem;
  }

  .cta-section {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .btn-large {
    width: auto;
    min-width: 220px;
  }

  .footer-copy {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .hero,
  .experience,
  .how-it-works,
  .cta-section,
  .site-footer {
    padding: 2.5rem;
  }

  .hero-text,
  .experience p,
  .cta-copy p,
  .step-card p,
  .mode-panel p,
  .benefit span {
    font-size: 1.02rem;
  }
}

/* Mobile */
@media (max-width: 572px) {
  .footer-logos {
    flex-wrap: wrap;
  }
  .footer-logo {
    flex: 0 0 46%;
  }
  .footer-logo:last-child {
    flex: 0 0 100%;
  }
  .sponsor-logo img {
      max-height: 60px;
  }
  .footer-logo img {
      max-height: 30px;
  }
  .footer-logo.footer-logo-client img {
      max-height: 60px;
  }
}


    .hidden-widget { display: none; }

    #widgetWrap{
      margin:0;
      height:0;
      display:flex;
      justify-content:center;
      align-items:center;
    }

    #widgetWrap.hidden-widget{
      opacity:0;
      pointer-events:none;
      height:0;
      min-height:0;
      overflow:hidden;
      margin:0;
    }

    #widgetMount{
      display:flex;
      justify-content:center;
      align-items:center;
      height:0;
      width:100%;
    }

    #widgetMount elevenlabs-convai{
      width:160px;
      margin:0 auto;
      position:absolute;
      top:-99999px;
      left:-99999px;
    }

    #status {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    #status::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #666; /* per defecte gris */
    }

    #status.is-ready::before {
      background: #22c55e; /* verd */
    }

    #status.is-loading::before {
      background: #f59e0b; /* taronja */
    }

    .voice-launch {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .assistant-status {
      display: none;
      align-items: center;
      gap: 8px;
      margin-top: 16px;
      font-size: 14px;
      opacity: .85;
    }

    .assistant-status::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: currentColor;
      opacity: .7;
      flex: 0 0 auto;
    }

    .voice-widget-shell {
      margin-top: 24px;
      border-radius: 24px;
      overflow: hidden;
    }

    #widgetMount elevenlabs-convai {
      width: 100%;
      min-height: 680px;
      display: block;
    }

    @media (max-width: 767px) {
      #widgetMount elevenlabs-convai {
        min-height: 560px;
      }
    }