:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #f8f3ea;
  --muted: rgba(248, 243, 234, .64);
  --paper: #eee7dc;
  --paper-ink: #17120d;
  --paper-muted: #675d52;
  --line: rgba(248, 243, 234, .13);
  --line-dark: rgba(22, 18, 14, .14);
  --orange: #c7793a;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 18px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: #050505;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  padding: 24px 0;
  color: rgba(248, 243, 234, .72);
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 112px;
  background: linear-gradient(180deg, rgba(5, 5, 5, .74), rgba(5, 5, 5, 0));
  pointer-events: none;
}

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

.brand img {
  width: 118px;
  opacity: .88;
  filter: brightness(1.06) contrast(1.02) saturate(.86);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(248, 243, 234, .58);
  font-size: 13px;
}

.site-nav a,
.header-cta {
  position: relative;
  padding: 8px 0;
  transition: color .25s ease;
}

.site-nav a::after,
.header-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--ink);
}

.site-nav a:hover::after,
.header-cta:hover::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  color: rgba(248, 243, 234, .82);
  font-size: 13px;
  font-weight: 720;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(248, 243, 234, .18);
  border-radius: 999px;
  background: rgba(5, 5, 5, .44);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(248, 243, 234, .28);
  border-radius: 999px;
  background: rgba(248, 243, 234, .06);
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

.button.primary {
  border-color: rgba(248, 243, 234, .82);
  background: rgba(248, 243, 234, .94);
  color: #070707;
}

.button.secondary {
  background: rgba(5, 5, 5, .22);
  backdrop-filter: blur(12px);
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(199, 121, 58, .58);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #050505;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  filter: brightness(.62) contrast(1.12) saturate(.76);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .96) 0%, rgba(5, 5, 5, .80) 34%, rgba(5, 5, 5, .34) 68%, rgba(5, 5, 5, .20) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, .52) 0%, rgba(5, 5, 5, .08) 42%, rgba(5, 5, 5, .82) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 72% 44%, rgba(248, 243, 234, .055), transparent 18rem);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 170px 0 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(199, 121, 58, .92);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.hero h1,
.editorial-heading h2,
.portal-silent h2,
.contact h2,
.final-cta h2 {
  margin-bottom: 0;
  font-weight: 880;
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  font-size: 5.8rem;
}

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(248, 243, 234, .78);
  font-size: 1.45rem;
  line-height: 1.3;
}

.hero-micro {
  margin: 18px 0 0;
  color: rgba(248, 243, 234, .54);
  font-size: .98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.service-flow,
.portal-silent,
.contact,
.final-cta {
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
}

.service-flow {
  padding-top: 116px;
  padding-bottom: 122px;
  background: #0a0908;
}

.editorial-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.editorial-heading h2,
.portal-silent h2,
.contact h2,
.final-cta h2 {
  font-size: 4.4rem;
}

.editorial-heading p,
.portal-silent p,
.contact p,
.final-cta p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.flow-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow-scenes article {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.flow-scenes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62) contrast(1.1) saturate(.72);
  transform: scale(1.02);
  transition: transform .7s ease, filter .7s ease;
}

.flow-scenes article:nth-child(2) img {
  filter: brightness(.56) contrast(1.12) saturate(.66);
}

.flow-scenes article::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .82) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .08), transparent 13rem);
}

.flow-scenes article:hover img {
  transform: scale(1.055);
  filter: brightness(.72) contrast(1.12) saturate(.78);
}

.flow-scenes div {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 28px;
}

.flow-scenes span {
  display: block;
  margin-bottom: 72px;
  color: rgba(199, 121, 58, .95);
  font-size: .78rem;
  font-weight: 850;
}

.flow-scenes h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 2.18rem;
  line-height: 1;
  font-weight: 850;
}

.flow-scenes p {
  max-width: 260px;
  margin: 0;
  color: rgba(248, 243, 234, .64);
  font-size: .96rem;
}

.service-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 44px 0 0;
  padding: 0;
  border-top: 1px solid rgba(248, 243, 234, .13);
  border-bottom: 1px solid rgba(248, 243, 234, .13);
  list-style: none;
}

.service-timeline li {
  padding: 24px 22px;
  border-right: 1px solid rgba(248, 243, 234, .10);
}

.service-timeline li:last-child {
  border-right: 0;
}

.service-timeline span {
  display: block;
  margin-bottom: 22px;
  color: rgba(199, 121, 58, .86);
  font-size: .78rem;
}

.service-timeline strong {
  color: rgba(248, 243, 234, .84);
  font-weight: 680;
}

.portal-silent {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
  padding-top: 118px;
  padding-bottom: 122px;
  background: radial-gradient(circle at 74% 12%, rgba(199, 121, 58, .10), transparent 30rem), #070707;
}

.portal-status-list {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.portal-status-list p {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.portal-status-list span {
  color: rgba(248, 243, 234, .46);
  font-size: .86rem;
}

.portal-status-list strong {
  color: rgba(248, 243, 234, .86);
  font-weight: 660;
}

.portal-visual {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 243, 234, .12);
  background: #111;
}

.portal-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  filter: brightness(.56) contrast(1.05) saturate(.54);
}

.portal-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .76));
}

.portal-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.portal-visual span,
.portal-visual small {
  display: block;
  color: rgba(248, 243, 234, .56);
}

.portal-visual strong {
  display: block;
  margin: 8px 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 820;
}

.contact {
  padding-top: 116px;
  padding-bottom: 124px;
  background: var(--paper);
  color: var(--paper-ink);
}

.contact .eyebrow {
  color: #9b5b2c;
}

.contact-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 68px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 116px;
}

.contact-copy h2 {
  max-width: 560px;
}

.contact p {
  color: var(--paper-muted);
}

.contact-actions {
  display: grid;
  max-width: 460px;
  margin-top: 54px;
  border-top: 1px solid var(--line-dark);
}

.contact-button {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper-ink);
  transition: color .25s ease;
}

.contact-button:hover {
  color: #8b4f23;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(20, 17, 14, .13);
  border-radius: 999px;
  color: #9e6437;
}

.contact-icon svg,
.footer-icon svg,
.floating-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-button span:not(.contact-icon) {
  color: rgba(20, 17, 14, .54);
  font-size: .78rem;
  text-transform: uppercase;
}

.contact-button strong {
  text-align: right;
  font-weight: 740;
}

.lead-form {
  padding: 34px;
  border: 1px solid rgba(20, 17, 14, .12);
  background: rgba(255, 255, 255, .38);
}

.form-head span {
  display: block;
  color: var(--paper-ink);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 840;
}

.form-head p {
  margin: 12px 0 30px;
  color: var(--paper-muted);
  font-size: 1rem;
}

.lead-form fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.lead-form legend {
  margin-bottom: 18px;
  color: #8b8075;
  font-size: .8rem;
  font-weight: 760;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #4e453b;
  font-size: .9rem;
  font-weight: 680;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(20, 17, 14, .16);
  background: rgba(255, 255, 255, .52);
  color: var(--paper-ink);
  padding: 0 14px;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 1px solid rgba(199, 121, 58, .76);
  outline-offset: 2px;
}

.privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: #4e453b;
}

.privacy-check input {
  width: 16px;
  min-height: 16px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.privacy-note,
.form-status {
  color: #756b60;
  font-size: .86rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lead-form .button.secondary {
  color: var(--paper-ink);
  background: transparent;
  border-color: rgba(20, 17, 14, .18);
}

.final-cta {
  padding-top: 108px;
  padding-bottom: 112px;
  background: radial-gradient(circle at 70% 8%, rgba(199, 121, 58, .14), transparent 24rem), #070707;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: end;
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta-actions {
  display: flex;
  justify-content: flex-end;
}

.site-footer {
  background: radial-gradient(circle at 18% 0%, rgba(199, 121, 58, .11), transparent 24rem), #050505;
  border-top: 1px solid rgba(248, 243, 234, .10);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 70px;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 92px 0 72px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 72px;
}

.footer-logo img {
  width: 104px;
  opacity: .86;
  filter: brightness(1.04) contrast(1.02) saturate(.82);
}

.footer-statement {
  max-width: 540px;
  margin: 0;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.04;
  font-weight: 820;
}

.site-footer h3 {
  margin: 0 0 32px;
  color: rgba(248, 243, 234, .52);
  font-size: .78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.footer-block p,
.footer-block a {
  color: rgba(248, 243, 234, .64);
}

.footer-link,
.footer-social {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 24px;
  transition: color .25s ease;
}

.footer-link:hover,
.footer-social:hover {
  color: var(--ink);
}

.footer-icon {
  color: var(--orange);
}

.footer-link small,
.footer-social small {
  display: block;
  margin-bottom: 3px;
  color: rgba(248, 243, 234, .42);
}

.footer-link strong,
.footer-social strong {
  display: block;
  color: rgba(248, 243, 234, .82);
  font-weight: 660;
  line-height: 1.25;
}

.footer-zone-line,
.footer-lead {
  margin: 0 0 24px;
  color: rgba(248, 243, 234, .80) !important;
  font-size: 1.05rem;
  font-weight: 680;
}

.footer-portal-button {
  display: inline-flex;
  margin: 28px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(248, 243, 234, .34);
  color: var(--ink) !important;
  font-weight: 720;
}

.footer-secure {
  max-width: 240px;
  margin: 46px 0 0 !important;
  color: rgba(248, 243, 234, .42) !important;
  font-size: .86rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 24px 0 42px;
  border-top: 1px solid rgba(248, 243, 234, .10);
  color: rgba(248, 243, 234, .36);
  font-size: .82rem;
}

.floating-whatsapp {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(248, 243, 234, .16);
  border-radius: 999px;
  background: rgba(5, 5, 5, .58);
  color: rgba(248, 243, 234, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .24);
  font-size: .75rem;
  font-weight: 720;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #d4955d;
  background: rgba(199, 121, 58, .10);
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .site-header,
  .hero-copy,
  .footer-main,
  .footer-bottom {
    width: calc(100% - 44px);
  }

  .hero h1 {
    font-size: 5rem;
  }

  .flow-scenes,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .portal-silent,
  .contact-panel,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
    width: calc(100% - 30px);
    padding: 18px 0;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border: 1px solid rgba(248, 243, 234, .12);
    background: rgba(5, 5, 5, .92);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, .72) 0%, rgba(5, 5, 5, .36) 35%, rgba(5, 5, 5, .94) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, .86), rgba(5, 5, 5, .20));
  }

  .hero-media img {
    object-position: 68% 50%;
    filter: brightness(.48) contrast(1.08) saturate(.62);
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding-top: 132px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .hero-actions,
  .form-actions {
    display: grid;
  }

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

  .service-flow,
  .portal-silent,
  .contact,
  .final-cta {
    padding: 84px 18px 88px;
  }

  .editorial-heading h2,
  .portal-silent h2,
  .contact h2,
  .final-cta h2 {
    font-size: 2.35rem;
  }

  .flow-scenes,
  .service-timeline,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .flow-scenes {
    border-left: 0;
    border-right: 0;
  }

  .flow-scenes article {
    min-height: 430px;
  }

  .flow-scenes div {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }

  .flow-scenes span {
    margin-bottom: 54px;
  }

  .flow-scenes h3 {
    font-size: 2rem;
  }

  .service-timeline li {
    border-right: 0;
    border-bottom: 1px solid rgba(248, 243, 234, .10);
  }

  .portal-status-list p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .portal-visual,
  .portal-visual img {
    min-height: 410px;
  }

  .contact-copy {
    position: static;
  }

  .contact-actions {
    margin-top: 34px;
  }

  .lead-form {
    padding: 22px;
  }

  .form-head span {
    font-size: 2rem;
  }

  .footer-main {
    width: calc(100% - 36px);
    gap: 54px;
    padding-top: 82px;
  }

  .footer-logo {
    margin-bottom: 46px;
  }

  .footer-statement {
    font-size: 2rem;
  }

  .footer-bottom {
    display: block;
    width: calc(100% - 36px);
    padding-bottom: 76px;
  }

  .footer-bottom span {
    display: block;
    margin-bottom: 10px;
  }

  .floating-whatsapp {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
