:root {
  --black: #050505;
  --black-2: #101113;
  --ink: #191817;
  --paper: #f5efe2;
  --paper-2: #fffaf1;
  --gold: #d3a33d;
  --gold-2: #ffe3a1;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(25, 24, 23, 0.12);
  --white: #ffffff;
  --green: #168447;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 70px);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: padding 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(5, 5, 5, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand span {
  overflow-wrap: anywhere;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav a {
  padding: 9px 11px;
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.06);
}

.nav .nav-cta {
  color: #0d2c18;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding: 112px clamp(20px, 5vw, 76px) 42px;
  overflow: hidden;
  background: #050505;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.99) 0%, rgba(5, 5, 5, 0.93) 39%, rgba(5, 5, 5, 0.36) 62%, rgba(5, 5, 5, 0.72) 100%),
    radial-gradient(circle at 44% 49%, rgba(211, 163, 61, 0.26), transparent 21%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 74px;
  bottom: 112px;
  left: 50%;
  width: 190px;
  border-left: 4px solid rgba(255, 227, 161, 0.84);
  border-radius: 50%;
  transform: skewX(-12deg);
  box-shadow: -18px 0 34px rgba(211, 163, 61, 0.18);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 74px 0 0 48%;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.25), rgba(5, 5, 5, 0.08)),
    url("assets/hero-office.png") center / cover no-repeat;
  filter: saturate(0.9);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(46vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 112px;
}

.hero-logo {
  width: min(100%, 520px);
  margin-bottom: 22px;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.62));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 3.85vw, 4rem);
  line-height: 1.08;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  line-height: 1.05;
}

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

.hero-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.about-copy p,
.contact-copy p,
.timeline p,
.service-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.btn svg,
.whatsapp-link svg {
  flex: 0 0 auto;
  fill: currentColor;
}

.btn svg {
  width: 22px;
  height: 22px;
}

.btn.primary {
  color: #12100b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 42px rgba(211, 163, 61, 0.22);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-benefits {
  position: absolute;
  z-index: 4;
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 18px 22px;
  background: rgba(5, 5, 5, 0.74);
  border: 1px solid rgba(211, 163, 61, 0.23);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-benefits article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-benefits article:last-child {
  border-right: 0;
}

.hero-benefits svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 0;
}

.hero-benefits svg path {
  fill: var(--gold);
}

.hero-benefits strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-2);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.hero-benefits span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
  font-size: 0.9rem;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 76px);
}

.services {
  color: var(--ink);
  background: var(--paper);
}

.services .eyebrow,
.quick-access .eyebrow,
.about .eyebrow,
.contact .eyebrow {
  color: #8a641b;
}

.services .section-heading p:not(.eyebrow),
.quick-access .section-heading p:not(.eyebrow),
.service-card p,
.about-copy p,
.contact-copy p {
  color: rgba(25, 24, 23, 0.68);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 820px;
}

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

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(25, 24, 23, 0.08);
}

.service-card.featured {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(211, 163, 61, 0.18), rgba(0, 0, 0, 0)),
    var(--black-2);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card span {
  width: fit-content;
  margin-bottom: auto;
  color: #6d4c11;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card.featured span,
.service-card.featured h3 {
  color: var(--gold-2);
}

.quick-access {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(245, 239, 226, 0.98)),
    var(--paper-2);
}

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

.access-grid a {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(25, 24, 23, 0.07);
  transition: transform 160ms ease, border-color 160ms ease;
}

.access-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(211, 163, 61, 0.58);
}

.access-grid span {
  width: fit-content;
  margin-bottom: auto;
  padding: 7px 10px;
  color: #6d4c11;
  background: rgba(211, 163, 61, 0.12);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
}

.access-grid strong {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.access-grid small {
  color: rgba(25, 24, 23, 0.62);
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
  color: var(--ink);
  background: var(--paper-2);
}

.about-logo {
  padding: clamp(22px, 4vw, 42px);
  background: var(--black);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-logo img {
  margin: 0 auto;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-points span,
.contact-direct a,
.contact-direct span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(211, 163, 61, 0.34);
  border-radius: 6px;
  font-weight: 900;
}

.about-points span {
  color: #6d4c11;
  background: rgba(211, 163, 61, 0.12);
}

.process {
  background: linear-gradient(135deg, #050505, #171717);
}

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

.timeline article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  color: #12100b;
  background: var(--gold-2);
  border-radius: 50%;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.58fr);
  gap: clamp(32px, 7vw, 80px);
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 76px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(245, 239, 226, 0.96), rgba(245, 239, 226, 0.9)),
    url("assets/logo-alianca.png?v=3") right 12% center / min(46vw, 560px) no-repeat;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-direct .whatsapp-link {
  gap: 9px;
  color: var(--green);
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(22, 132, 71, 0.28);
}

.whatsapp-link svg {
  width: 24px;
  height: 24px;
}

.contact-direct span {
  background: rgba(255, 255, 255, 0.62);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(25, 24, 23, 0.76);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(25, 24, 23, 0.16);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.66);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer img {
  width: 92px;
}

.footer div {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
  line-height: 1.5;
}

.footer strong {
  color: var(--gold-2);
}

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

  .hero {
    min-height: auto;
    display: grid;
    padding-bottom: 34px;
  }

  .hero::after {
    display: none;
  }

  .hero-visual {
    inset: 78px 0 auto 42%;
    height: 48%;
    opacity: 0.72;
  }

  .hero-copy {
    width: min(100%, 620px);
    padding-bottom: 0;
  }

  .hero-benefits {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 36px;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    max-width: 165px;
    font-size: 0.7rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: rgba(5, 5, 5, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
  }

  .nav.open {
    display: flex;
  }

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

  .hero-visual {
    inset: 72px 0 auto 0;
    height: 300px;
    opacity: 0.34;
  }

  .hero-logo {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    padding: 4px 18px;
  }

  .hero-benefits article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
  }

  .hero-benefits article:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .access-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline article {
    min-height: auto;
  }

  .footer div {
    justify-items: start;
    text-align: left;
  }
}
