:root {
  --bg: #030304;
  --bg-soft: #0b0c10;
  --bg-panel: rgba(14, 16, 20, 0.9);
  --bg-panel-strong: #101218;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f2efeb;
  --text-soft: #d8d3cd;
  --text-muted: #9a9694;
  --accent: #7a1229;
  --accent-soft: #e06784;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 88px;
  --heading-font: "Sora", "Segoe UI", sans-serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(109, 19, 37, 0.2), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(152, 158, 167, 0.08), transparent 22%),
    linear-gradient(180deg, #09090b 0%, #040405 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 0.9rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.container-wide {
  width: min(1420px, calc(100vw - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 7, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.84);
  border-color: var(--border);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 440px;
}

.brandmark-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--brand-logo) center/cover no-repeat,
    linear-gradient(145deg, #070708, #121318);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.brandmark-logo--wide {
  width: min(100%, 520px);
  height: 74px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background:
    var(--brand-logo) left center/contain no-repeat;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, rgba(109, 19, 37, 0.92), rgba(63, 12, 22, 0.96));
  border-radius: 999px;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.88) 0%, rgba(5, 5, 7, 0.5) 45%, rgba(5, 5, 7, 0.9) 100%),
    var(--hero-image) center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.is-loaded .hero::before,
body.is-loaded .page-hero::before {
  transform: scale(1);
}

.hero-home {
  min-height: calc(100vh - 30px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 48px) 0 56px;
}

.page-hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 48px) 0 48px;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.96));
}

.hero-grid,
.page-hero-copy {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  max-width: 12ch;
}

.hero-copy .lead,
.page-hero-copy p {
  max-width: 52ch;
  font-size: 1.06rem;
}

.hero-subtitle,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.15rem;
  text-shadow: 0 0 12px rgba(224, 103, 132, 0.16);
}

.hero-subtitle {
  color: var(--text-soft);
  letter-spacing: 0.18em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  box-shadow: 0 16px 40px rgba(109, 19, 37, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}

.text-link {
  color: var(--accent-soft);
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-metric,
.contact-card,
.content-card,
.trust-card,
.service-card,
.platform-card,
.timeline-card,
.legal-card,
.form-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metric {
  padding: 22px 24px;
  backdrop-filter: blur(18px);
}

.hero-metric span,
.card-index,
.platform-badge {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  text-shadow: 0 0 10px rgba(224, 103, 132, 0.12);
}

.hero-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.section {
  padding: 108px 0;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(109, 19, 37, 0.14), transparent 26%),
    rgba(255, 255, 255, 0.015);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0.9rem;
}

.section-heading p {
  max-width: 60ch;
}

.trust-grid,
.card-grid,
.platform-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.trust-card,
.service-card,
.platform-card,
.timeline-card,
.legal-card {
  padding: 28px;
}

.trust-card {
  grid-column: span 3;
}

.service-card {
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
}

.service-card-body {
  padding: 26px;
}

.service-card-media,
.split-media,
.service-row-media,
.showcase-frame {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(4, 5, 6, 0.12), rgba(4, 5, 6, 0.86)),
    var(--card-image) center/cover no-repeat,
    linear-gradient(145deg, #0d0f13, #111216);
}

.platform-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-grid,
.split-panel,
.contact-layout,
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  align-items: center;
}

.showcase-visual,
.split-media,
.contact-info,
.service-row-media {
  grid-column: span 6;
}

.showcase-copy,
.split-copy,
.form-card,
.story-copy,
.service-row-copy {
  grid-column: span 6;
}

.showcase-frame {
  min-height: 560px;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border);
  position: relative;
  transform:
    perspective(1400px)
    rotateY(calc((0.5 - var(--progress, 0)) * 8deg))
    scale(calc(0.92 + var(--progress, 0) * 0.08));
  filter: blur(calc((1 - var(--progress, 0)) * 8px));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cinematic-stage {
  padding: 0;
}

.cinematic-stage-shell {
  min-height: 230vh;
}

.cinematic-stage-sticky {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  min-height: calc(100vh - var(--header-height) - 36px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 26px;
  padding: 48px 0;
}

.cinematic-copy {
  max-width: 760px;
  text-align: center;
}

.cinematic-copy p {
  max-width: 38ch;
  margin: 0 auto;
}

.cinematic-visual-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cinematic-visual {
  width: min(980px, calc(100vw - 64px));
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(4, 5, 6, 0.06), rgba(4, 5, 6, 0.76)),
    var(--card-image) center/cover no-repeat,
    linear-gradient(145deg, #0d0f13, #111216);
  box-shadow: var(--shadow);
  transform: scale(calc(0.88 + var(--focus, 0) * 0.16));
  filter:
    blur(calc((1 - var(--focus, 0)) * 16px))
    saturate(calc(0.68 + var(--focus, 0) * 0.42));
  opacity: calc(0.55 + var(--focus, 0) * 0.45);
}

.cinematic-caption {
  display: grid;
  gap: 6px;
  text-align: center;
}

.cinematic-caption span {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.cinematic-caption strong {
  font-size: 1.05rem;
}

.showcase-stat {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: rgba(5, 5, 7, 0.68);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 18px 20px;
}

.showcase-stat strong {
  display: block;
  font-size: 1.2rem;
}

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

.timeline-card {
  min-height: 250px;
  transform:
    translateY(calc((1 - var(--progress, 0)) * 34px))
    translateX(calc((var(--progress, 0) - 0.5) * 26px));
  opacity: calc(0.46 + var(--progress, 0) * 0.54);
}

.split-panel {
  align-items: stretch;
}

.split-media,
.service-row-media {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  min-height: 460px;
  box-shadow: var(--shadow);
}

.split-copy,
.story-copy,
.service-row-copy,
.contact-info {
  display: grid;
  gap: 18px;
}

.story-copy .content-card,
.contact-card {
  padding: 26px;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.service-row.is-reverse .service-row-media {
  order: 2;
}

.service-row.is-reverse .service-row-copy {
  order: 1;
}

.service-row-media,
.service-row-copy {
  grid-column: span 6;
}

.service-row-copy .lead {
  font-size: 1.08rem;
}

.iframe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 28px;
}

.iframe-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.iframe-card--fallback {
  background:
    radial-gradient(circle at top right, rgba(109, 19, 37, 0.22), transparent 26%),
    rgba(255, 255, 255, 0.02);
}

.iframe-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.iframe-card-frame {
  position: relative;
  min-height: 620px;
}

.iframe-card iframe {
  width: 100%;
  height: 620px;
  border: 0;
  background: #08090b;
}

.iframe-card-frame--fallback {
  display: grid;
  place-items: center;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03)),
    rgba(8, 9, 11, 0.88);
}

.iframe-blocked-state {
  max-width: 34rem;
}

.iframe-blocked-state h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.iframe-blocked-state p {
  margin-bottom: 1rem;
}

.iframe-fallback {
  position: absolute;
  inset: auto 16px 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(5, 5, 7, 0.68);
  border: 1px solid var(--border);
}

.iframe-card.is-loaded .iframe-fallback {
  opacity: 0.45;
}

.map-section {
  padding-top: 84px;
}

.map-frame {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 40px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(109, 19, 37, 0.28);
  background:
    radial-gradient(circle at top right, rgba(109, 19, 37, 0.24), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.contact-layout {
  align-items: start;
}

.form-card {
  padding: 34px;
}

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

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

.form-grid label {
  display: grid;
  gap: 10px;
}

.form-grid span {
  color: var(--text-soft);
  font-weight: 700;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  color: var(--text);
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(109, 19, 37, 0.95);
  box-shadow: 0 0 0 4px rgba(109, 19, 37, 0.14);
}

.notice {
  padding: 14px 16px;
  border-radius: 16px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.notice--success {
  background: rgba(42, 131, 86, 0.2);
  border: 1px solid rgba(54, 167, 108, 0.32);
  color: #c7f1d8;
}

.notice--error {
  background: rgba(139, 44, 44, 0.2);
  border: 1px solid rgba(181, 66, 66, 0.3);
  color: #ffd2d2;
}

.field-error {
  color: #ffc4c4;
  font-size: 0.9rem;
}

.legal-hero {
  padding: calc(var(--header-height) + 42px) 0 110px;
}

.legal-shell {
  display: grid;
  gap: 34px;
}

.legal-card {
  grid-column: span 4;
}

.legal-card h2 {
  font-size: 1.3rem;
}

.legal-longtext {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.content-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.quick-actions {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: grid;
  gap: 12px;
}

.quick-action {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(17, 18, 22, 0.92);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-action:hover {
  transform: translateY(-2px);
}

.quick-action svg {
  width: 22px;
  height: 22px;
  fill: var(--text);
}

.quick-action--whatsapp {
  background: rgba(21, 80, 52, 0.88);
}

.site-footer {
  padding: 84px 0 28px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--text-soft);
}

.footer-bottom {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1100px) {
  .trust-card {
    grid-column: span 6;
  }

  .service-card {
    grid-column: span 6;
  }

  .platform-card,
  .legal-card {
    grid-column: span 12;
  }

  .hero-grid,
  .showcase-grid,
  .split-panel,
  .contact-layout,
  .story-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .showcase-visual,
  .showcase-copy,
  .split-media,
  .split-copy,
  .contact-info,
  .form-card,
  .story-copy,
  .service-row-media,
  .service-row-copy {
    grid-column: auto;
  }

  .timeline-cards,
  .iframe-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cinematic-stage-shell {
    min-height: 190vh;
  }
}

@media (max-width: 860px) {
  .brandmark {
    flex: 1 1 auto;
    max-width: calc(100vw - 120px);
  }

  .brandmark-logo--wide {
    height: 56px;
  }

  .main-nav {
    position: fixed;
    inset: calc(var(--header-height) + 8px) 20px auto;
    background: rgba(6, 7, 9, 0.96);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-home {
    min-height: auto;
    padding-top: calc(var(--header-height) + 36px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 7, 0.78), rgba(5, 5, 7, 0.92)),
      var(--hero-image-mobile) center/cover no-repeat;
  }

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

  .cinematic-stage-sticky {
    top: calc(var(--header-height) + 8px);
    min-height: calc(100vh - var(--header-height) - 16px);
    gap: 20px;
  }

  .cinematic-visual {
    width: calc(100vw - 36px);
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 4.4rem);
  }

  .form-grid,
  .trust-grid,
  .card-grid,
  .platform-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .trust-card,
  .service-card,
  .platform-card,
  .legal-card {
    grid-column: auto;
  }

  .quick-actions {
    right: 14px;
    top: auto;
    bottom: 18px;
    transform: none;
    gap: 10px;
  }

  .quick-action {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .brandmark-logo--wide {
    height: 48px;
  }

  .section,
  .legal-hero {
    padding: 80px 0;
  }

  .hero-panel {
    gap: 12px;
  }

  .cinematic-stage-shell {
    min-height: 170vh;
  }

  .cinematic-caption strong {
    font-size: 0.98rem;
  }

  .hero-metric,
  .trust-card,
  .timeline-card,
  .platform-card,
  .contact-card,
  .content-card,
  .legal-card,
  .form-card {
    padding: 22px;
  }

  .map-frame iframe,
  .iframe-card iframe {
    height: 340px;
  }

  .iframe-card-frame {
    min-height: 340px;
  }
}
