:root {
  --ink: #0a0d12;
  --paper: #f4f2ed;
  --blue: #2157ff;
  --coral: #ff6b52;
  --line: rgba(10, 13, 18, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 clamp(22px, 5vw, 76px);
  isolation: isolate;
}
.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(10,13,18,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10,13,18,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 76%);
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  content: "";
}
.ambient {
  position: absolute;
  z-index: -2;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .12;
  pointer-events: none;
}
.ambient-one { top: -18vw; right: -10vw; background: var(--blue); }
.ambient-two { bottom: -25vw; left: -18vw; background: var(--coral); }

.topbar {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { position: relative; width: 38px; height: 38px; }
.brand-mark span {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 4px solid var(--ink);
  border-radius: 8px;
}
.brand-mark span:first-child { top: 1px; left: 1px; border-color: var(--blue); }
.brand-mark span:last-child { right: 1px; bottom: 1px; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: .045em; }
.brand-copy small { font-size: 8px; font-weight: 700; letter-spacing: .24em; }

.top-contact, .text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}
.top-contact { padding: 11px 2px; border-bottom: 1px solid var(--ink); }
.top-contact svg, .text-button svg, .card-arrow { transition: transform .18s ease; }
.top-contact:hover svg, .text-button:hover svg, .contact-card:hover .card-arrow { transform: translate(3px, -3px); }

.hero {
  display: grid;
  min-height: min(670px, calc(100svh - 220px));
  grid-template-columns: minmax(0, 1.07fr) minmax(370px, .93fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  padding: clamp(64px, 9vh, 112px) 0;
}
.hero-copy { max-width: 800px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255,107,82,.55);
  animation: pulse 2s infinite;
}
h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(50px, 6.25vw, 100px);
  font-weight: 730;
  letter-spacing: -.066em;
  line-height: .94;
}
h1 span { display: block; color: var(--blue); }
.intro {
  max-width: 640px;
  margin: 34px 0 0;
  color: rgba(10,13,18,.66);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.primary-button:hover { background: var(--blue); transform: translateY(-2px); }

.visual { position: relative; width: min(36vw, 520px); aspect-ratio: 1; justify-self: center; }
.portal {
  position: absolute;
  width: 48%;
  aspect-ratio: 1.22;
  border: clamp(18px, 2.2vw, 34px) solid;
  border-radius: clamp(28px, 4vw, 58px);
  animation: float 6s ease-in-out infinite;
}
.portal-back { right: 10%; bottom: 16%; border-color: var(--ink); transform: rotate(12deg); animation-delay: -3s; }
.portal-front { top: 15%; left: 10%; display: grid; place-items: center; border-color: var(--blue); transform: rotate(-12deg); }
.portal-core {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 20px;
  background: var(--coral);
  color: #fff;
  font-size: 28px;
  transform: rotate(12deg);
}
.visual-orbit { position: absolute; border: 1px solid rgba(10,13,18,.15); border-radius: 50%; }
.orbit-one { inset: 3%; animation: rotate 20s linear infinite; }
.orbit-two { inset: 17%; border-style: dashed; animation: rotate 14s linear infinite reverse; }
.orbit-one::after, .orbit-two::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}
.orbit-two::after { right: 12%; bottom: -5px; top: auto; left: auto; background: var(--coral); }
.visual-label {
  position: absolute;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244,242,237,.88);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  backdrop-filter: blur(10px);
}
.label-one { top: 5%; right: 17%; }
.label-two { right: 0; bottom: 30%; }
.label-three { bottom: 6%; left: 14%; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.25fr 1.85fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-card {
  position: relative;
  display: grid;
  min-height: 128px;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(18px, 2.3vw, 36px);
  border-right: 1px solid var(--line);
  transition: background .18s ease;
}
.contact-card:first-child { padding-left: 0; }
.contact-card:last-child { padding-right: 0; border-right: 0; }
.contact-card:hover { background: rgba(255,255,255,.44); }
.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.contact-content { display: grid; min-width: 0; gap: 7px; }
.contact-content small { color: rgba(10,13,18,.47); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.contact-content strong { font-size: clamp(12px, 1vw, 15px); line-height: 1.45; }
.card-arrow { font-size: 18px; }

.whatsapp-button {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  z-index: 20;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: #18a957;
  box-shadow: 0 16px 38px rgba(11,91,48,.24);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.whatsapp-button svg { width: 26px; fill: none; stroke: #fff; stroke-width: 1.6; }
.whatsapp-button:hover { background: #128c4a; box-shadow: 0 19px 44px rgba(11,91,48,.32); transform: translateY(-3px); }
.whatsapp-button:focus-visible { outline: 3px solid rgba(33,87,255,.28); outline-offset: 4px; }

footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  color: rgba(10,13,18,.48);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay { transition-delay: .12s; }
.is-ready .reveal { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255,107,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,82,0); }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-bottom: 40px; }
  .visual { width: min(78vw, 480px); margin-top: -10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card, .contact-card:first-child, .contact-card:last-child {
    min-height: 104px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-card:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .site-shell { padding-inline: 20px; }
  .topbar { min-height: 88px; }
  .top-contact span { display: none; }
  .hero { gap: 28px; padding: 56px 0 32px; }
  h1 { font-size: clamp(44px, 14vw, 66px); }
  .intro { margin-top: 26px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 30px; }
  .primary-button { width: 100%; }
  .visual { width: min(90vw, 400px); }
  .portal-core { width: 48px; height: 48px; border-radius: 15px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding-right: 70px; }
  .whatsapp-button { right: 16px; bottom: 16px; width: 58px; padding: 0; }
  .whatsapp-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
