:root {
  --hub-ink: #151515;
  --hub-muted: #6f6c66;
  --hub-line: rgba(23, 22, 20, .09);
  --hub-paper: #f5f1ea;
  --hub-card: #fffdf9;
  --hub-orange: #ff8500;
  --hub-red: #ed1c24;
  --hub-radius: 26px;
  color: var(--hub-ink);
  font-family: Inter, system-ui, sans-serif;
  background: var(--hub-paper);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; margin: 0; background: var(--hub-paper); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.links-hub-main {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% -5%, rgba(237, 28, 36, .055), transparent 28rem),
    radial-gradient(circle at 92% 3%, rgba(255, 133, 0, .11), transparent 25rem),
    linear-gradient(180deg, #f8f5ef 0%, var(--hub-paper) 56%, #f2eee7 100%);
}

.links-hub-canvas { width: min(100% - 28px, 860px); margin: 0 auto; padding: 24px 0 22px; }
.links-hub-hero { padding: 0 4px 24px; animation: hub-enter .5s cubic-bezier(.2, .75, .2, 1) both; }
.links-brand { display: inline-flex; width: 148px; }
.links-brand img { display: block; width: 100%; height: auto; }
.links-hub-hero p { margin: 24px 0 10px; color: var(--hub-orange); font-size: .66rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.links-hub-hero h1 { max-width: 650px; margin: 0; font-size: clamp(2.65rem, 10.5vw, 5.2rem); font-weight: 850; line-height: .93; letter-spacing: -.072em; }

.links-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 510px; }
.hub-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: rgba(255, 253, 249, .93);
  box-shadow: 0 12px 38px rgba(54, 40, 23, .035);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation: hub-enter .48s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--delay, 0ms);
}
.hub-card:active { transform: scale(.985); }
.hub-card-arrow, .hub-app-action { transition: transform .22s ease; }
.hub-card-icon { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--hub-orange); background: #f5f0e9; }
.hub-card-icon svg { width: 21px; height: 21px; fill: currentColor; }

.hub-app { grid-column: 1 / -1; min-height: 218px; align-items: flex-end; padding: 22px; color: #fff; border-color: rgba(255,255,255,.08); background: #121313; box-shadow: 0 22px 58px rgba(18, 19, 19, .17); }
.hub-app::before { position: absolute; right: -70px; bottom: -110px; width: 270px; height: 270px; border-radius: 50%; background: linear-gradient(135deg, rgba(237,28,36,.88), rgba(255,133,0,.82)); content: ""; filter: blur(46px); opacity: .46; }
.hub-app::after { position: absolute; inset: 0; background: radial-gradient(circle at 76% 18%, rgba(255,255,255,.08), transparent 30%); content: ""; }
.hub-app-logo { position: absolute; z-index: 1; top: 20px; left: 20px; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.hub-app-logo img { width: 34px; height: 34px; object-fit: contain; }
.hub-app-copy { position: relative; z-index: 1; max-width: 77%; }
.hub-kicker { display: block; color: #ffae74; font-size: .62rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hub-app h2 { margin: 5px 0; font-size: 1.55rem; line-height: 1; letter-spacing: -.045em; }
.hub-app p { max-width: 390px; margin: 0; color: rgba(255,255,255,.65); font-size: .76rem; line-height: 1.5; }
.hub-app-action { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 14px; border-radius: 13px; color: #171717; background: #fff; font-size: .72rem; font-weight: 850; }

.hub-access { flex-direction: column; justify-content: space-between; padding: 15px; }
.hub-access .hub-card-arrow { position: absolute; top: 16px; right: 16px; color: #a29d94; }
.hub-access strong { font-size: .88rem; letter-spacing: -.025em; }

.hub-now { grid-column: 1 / -1; min-height: 174px; flex-direction: column; justify-content: space-between; padding: 20px; background: linear-gradient(135deg, #fffdfa, #f9f3ea); }
.hub-now::after { position: absolute; top: -52px; right: -44px; width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, rgba(237,28,36,.12), rgba(255,133,0,.2)); content: ""; filter: blur(18px); }
.hub-now-label { position: relative; z-index: 1; color: var(--hub-orange); font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hub-now div { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hub-now h2 { max-width: 570px; margin: 0; font-size: clamp(1.08rem, 4.7vw, 1.65rem); line-height: 1.08; letter-spacing: -.045em; }
.hub-now .hub-card-arrow { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--hub-red), var(--hub-orange)); }

.hub-whatsapp { min-height: 120px; flex-direction: column; justify-content: space-between; padding: 15px; }
.hub-whatsapp .hub-card-icon { width: 36px; height: 36px; color: #167f50; background: #eaf5ee; }
.hub-whatsapp .hub-card-icon svg { width: 18px; height: 18px; }
.hub-whatsapp strong { max-width: 110px; font-size: .78rem; line-height: 1.1; letter-spacing: -.025em; }
.hub-whatsapp .hub-card-arrow { position: absolute; right: 15px; bottom: 14px; color: #8d8982; font-size: .85rem; }

.hub-contact { min-height: 76px; grid-column: 1 / -1; align-items: center; justify-content: space-between; padding: 14px 16px; }
.hub-contact > span:first-child { display: flex; align-items: center; gap: 11px; font-size: .78rem; font-weight: 800; }
.hub-contact .hub-card-icon { width: 36px; height: 36px; }
.hub-contact .hub-card-icon svg { width: 18px; height: 18px; }

.links-social { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 0 4px; }
.links-social p { margin: 0 0 4px; color: var(--hub-orange); font-size: .58rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.links-social h2 { margin: 0; font-size: 1rem; letter-spacing: -.035em; }
#social-dock { display: flex; gap: 6px; }
.social-link { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--hub-line); border-radius: 13px; color: #393836; background: rgba(255,253,249,.8); transition: transform .22s ease, color .22s ease, border-color .22s ease; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link:active { transform: scale(.94); }

.links-hub-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 19px 4px 0; border-top: 1px solid var(--hub-line); color: #85817a; font-size: .64rem; }
.links-hub-footer p { margin: 0; font-weight: 700; }

.hub-skeleton { min-height: 130px; border-radius: var(--hub-radius); background: linear-gradient(100deg, rgba(255,255,255,.45) 20%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.45) 70%); background-size: 220% 100%; animation: hub-shimmer 1.2s ease-in-out infinite; }
.hub-skeleton-wide { grid-column: 1 / -1; min-height: 190px; }

@media (hover: hover) {
  .hub-card:hover { border-color: rgba(255,133,0,.2); box-shadow: 0 16px 42px rgba(54,40,23,.07); transform: translateY(-2px); }
  .hub-app:hover { border-color: rgba(255,255,255,.12); box-shadow: 0 26px 64px rgba(18,19,19,.23); }
  .hub-card:hover .hub-card-arrow, .hub-card:hover .hub-app-action { transform: translateX(3px); }
  .social-link:hover { color: var(--hub-orange); border-color: rgba(255,133,0,.3); transform: translateY(-2px); }
}

@media (min-width: 720px) {
  .links-hub-canvas { padding-block: 38px 30px; }
  .links-hub-hero { padding: 0 6px 34px; }
  .links-brand { width: 166px; }
  .links-hub-hero p { margin-top: 32px; }
  .links-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 142px 142px auto; gap: 12px; min-height: 0; }
  .hub-app { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 296px; padding: 27px; }
  .hub-app-logo { top: 25px; left: 25px; width: 66px; height: 66px; }
  .hub-app-logo img { width: 39px; height: 39px; }
  .hub-app h2 { font-size: 2rem; }
  .hub-app p { font-size: .82rem; }
  .hub-app-action { right: 24px; bottom: 24px; }
  .hub-access { min-height: 142px; padding: 18px; }
  .hub-access strong { font-size: .95rem; }
  .hub-now { grid-column: 1 / 3; min-height: 168px; }
  .hub-whatsapp { min-height: 168px; padding: 18px; }
  .hub-contact { grid-column: 2 / 4; min-height: 76px; align-self: end; }
}

@media (max-width: 430px) {
  .links-hub-canvas { width: min(100% - 22px, 410px); padding-top: 18px; }
  .links-hub-hero { padding-bottom: 20px; }
  .links-brand { width: 136px; }
  .links-hub-hero p { margin-top: 19px; }
  .links-hub-hero h1 { font-size: clamp(2.5rem, 12.2vw, 3.15rem); }
  .hub-app { min-height: 205px; }
  .hub-app-copy { max-width: 82%; }
  .hub-app p { max-width: 245px; font-size: .69rem; }
  .hub-app-action { min-height: 36px; }
  .links-social { align-items: flex-end; }
  .links-social h2 { display: none; }
  #social-dock { gap: 5px; }
  .social-link { width: 38px; height: 38px; }
}

@keyframes hub-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hub-shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
