:root {
  --ink: #f7f4ed;
  --muted: rgba(247, 244, 237, .68);
  --accent: #0095ff;
  --deep: #0c151d;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--deep);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}

a { color: inherit; }

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background: #152537 url("assets/fondo-proyecto.png") center / cover no-repeat;
  animation: reveal 1.3s cubic-bezier(.2,.7,.2,1) both;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,12,18,.88) 0%, rgba(5,12,18,.66) 38%, rgba(5,12,18,.12) 74%),
    linear-gradient(0deg, rgba(5,12,18,.68) 0%, transparent 38%, rgba(5,12,18,.24) 100%);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 5vw, 76px);
}

.topbar { border-bottom: 1px solid rgba(255,255,255,.14); }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font: 500 13px/1 "Manrope", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.brand__mark { position: relative; width: 27px; height: 27px; }
.brand__mark i { position: absolute; inset: 0 10px 0 0; border: 1px solid var(--accent); transform: skewY(-30deg); }
.brand__mark i + i { inset: 6px 0 0 10px; }

.topbar__location,
.footer { color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }

.content {
  align-self: center;
  width: min(720px, calc(100% - 48px));
  margin: clamp(55px, 8vh, 100px) clamp(24px, 9vw, 138px);
  animation: rise .9s .25s cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: var(--accent);
  font: 500 11px/1.4 "Manrope", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span { width: 36px; height: 1px; background: currentColor; }

h1 {
  margin: 0;
  font: 300 clamp(42px, 6.15vw, 92px)/.98 "DM Sans", sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1 em { color: var(--accent); font-style: normal; }

.intro {
  max-width: 545px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 300;
  line-height: 1.7;
}

.status {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 38px 0;
}

.status__line { width: 68px; height: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.status__line i { display: block; width: 66%; height: 100%; background: var(--accent); animation: progress 1.5s .6s both; }
.status p { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.status strong { font: 500 12px "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.status small { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 245px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  font: 500 11px "Manrope", sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}

.contact b { color: var(--accent); font-size: 17px; font-weight: 400; }
.contact:hover, .contact:focus-visible { color: var(--deep); background: var(--accent); border-color: var(--accent); outline: none; }
.contact:hover b, .contact:focus-visible b { color: var(--deep); }

.footer { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.footer p { margin: 0; }

@media (max-width: 700px) {
  .hero__image { background-position: 62% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(5,12,18,.88), rgba(5,12,18,.38)), linear-gradient(0deg, rgba(5,12,18,.84), transparent 58%); }
  .topbar { padding-block: 22px; }
  .topbar__location { display: none; }
  .content { align-self: end; margin-top: 100px; margin-bottom: 50px; }
  .eyebrow { max-width: 300px; }
  h1 { letter-spacing: -.045em; }
  .intro { margin-top: 23px; line-height: 1.55; }
  .status { margin: 28px 0; }
  .footer p:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

@keyframes reveal { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progress { from { transform: translateX(-100%); } to { transform: translateX(0); } }
