:root {
  --ink: #f5f0e7;
  --muted: #b8bdc1;
  --gold: #c9973e;
  --gold-light: #e2c37e;
  --navy: #0d1b2a;
  --line: rgba(226, 195, 126, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-shell {
  isolation: isolate;
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 4vw, 58px) clamp(24px, 7vw, 112px) 28px;
}

.backdrop,
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 21, 34, .96) 0%, rgba(10, 22, 36, .86) 39%, rgba(10, 22, 36, .58) 76%, rgba(10, 21, 34, .82) 100%),
    linear-gradient(0deg, rgba(8, 18, 29, .78) 0%, transparent 42%, rgba(8, 18, 29, .6) 100%),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=2400&q=85") center / cover;
  filter: saturate(.7);
  transform: scale(1.03);
}

.grain {
  z-index: -1;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar { animation: rise .8s ease both; }

.brand { display: inline-flex; align-items: center; }

.brand-image {
  display: block;
  width: 470px;
  height: 350px;
  background-image: url("assets/logo-consultores-av.png");
  background-position: center 35%;
  background-repeat: no-repeat;
  background-size: 500px auto;
}

.hero {
  width: min(680px, 100%);
  margin: auto 0;
  padding: clamp(72px, 12vh, 150px) 0 clamp(70px, 12vh, 140px);
  animation: rise .8s .12s ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow span { width: 32px; height: 1px; background: var(--gold); }

h1 {
  margin: 0;
  color: var(--ink);
  font: 500 clamp(52px, 7vw, 94px)/.88 "Cormorant Garamond", serif;
  letter-spacing: -.03em;
}
h1 em { color: var(--gold-light); font-weight: 400; }

.intro {
  max-width: 430px;
  margin: 31px 0 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.progress-wrap { width: min(470px, 100%); }
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.progress-label span:first-child { color: var(--gold-light); }
.progress-track { height: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.progress-track span { display: block; width: 68%; height: 100%; background: var(--gold); animation: progress 1.4s .7s ease both; transform-origin: left; }

.footer { color: rgba(184,189,193,.65); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.footer-rule { width: 35%; height: 1px; background: rgba(226,195,126,.23); }

@keyframes rise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 620px) {
  .site-shell { padding: 25px 22px 23px; }
  .brand-image { width: 340px; height: 255px; background-size: 350px auto; }
  .hero { padding: 82px 0 92px; }
  h1 { font-size: clamp(53px, 16vw, 78px); }
  .intro { margin-top: 26px; font-size: 13px; }
  .footer { gap: 14px; font-size: 8px; }
  .footer-rule { flex: 1; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
