@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../webfonts/fa-brands-400.woff2") format("woff2");
}

:root {
  --navy: #10288c;
  --blue: #274dea;
  --violet: #6338ee;
  --lime: #b6db00;
  --lime-soft: #eaf6ad;
  --display: "Manrope", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --max: 1180px;
}

body.theme-light {
  --bg: #f7f8f2;
  --bg-soft: #eef0e8;
  --surface: #ffffff;
  --surface-2: #f2f4ed;
  --surface-strong: #10288c;
  --ink: #0d1740;
  --muted: #5c647f;
  --line: rgba(16, 40, 140, 0.14);
  --line-strong: rgba(16, 40, 140, 0.28);
  --primary: #274dea;
  --secondary: #6338ee;
  --accent: #b6db00;
  --accent-ink: #162500;
  --header: rgba(247, 248, 242, 0.86);
  --shadow: 0 24px 70px rgba(16, 40, 140, 0.12);
  --soft-shadow: 0 12px 36px rgba(16, 40, 140, 0.08);
  color-scheme: light;
}

body.theme-dark {
  --bg: #070a16;
  --bg-soft: #0b1027;
  --surface: #10162d;
  --surface-2: #151d38;
  --surface-strong: #eaf6ad;
  --ink: #f6f8ff;
  --muted: #a5adc7;
  --line: rgba(234, 246, 173, 0.13);
  --line-strong: rgba(234, 246, 173, 0.28);
  --primary: #7a5cff;
  --secondary: #274dea;
  --accent: #dff31a;
  --accent-ink: #111900;
  --header: rgba(7, 10, 22, 0.82);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
  --soft-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

body.theme-hybrid {
  --bg: #f7f8f2;
  --bg-soft: #eef0e8;
  --surface: #ffffff;
  --surface-2: #f2f4ed;
  --surface-strong: #10288c;
  --ink: #0d1740;
  --muted: #5c647f;
  --line: rgba(16, 40, 140, 0.14);
  --line-strong: rgba(16, 40, 140, 0.28);
  --primary: #274dea;
  --secondary: #6338ee;
  --accent: #b6db00;
  --accent-ink: #162500;
  --header: rgba(7, 10, 22, 0.9);
  --shadow: 0 24px 70px rgba(16, 40, 140, 0.12);
  --soft-shadow: 0 12px 36px rgba(16, 40, 140, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.theme-light::before {
  background:
    radial-gradient(circle at 88% 9%, rgba(182, 219, 0, 0.18), transparent 24rem),
    radial-gradient(circle at 2% 31%, rgba(99, 56, 238, 0.08), transparent 28rem);
}

.theme-dark::before {
  background:
    radial-gradient(circle at 84% 8%, rgba(99, 56, 238, 0.28), transparent 30rem),
    radial-gradient(circle at 5% 40%, rgba(39, 77, 234, 0.2), transparent 34rem),
    #070a16;
}

.theme-hybrid::before {
  background:
    radial-gradient(circle at 88% 9%, rgba(182, 219, 0, 0.14), transparent 24rem),
    radial-gradient(circle at 2% 54%, rgba(99, 56, 238, 0.07), transparent 30rem),
    #f7f8f2;
}

.theme-hybrid .site-header,
.theme-hybrid .hero,
.theme-hybrid #metodo,
.theme-hybrid #planos,
.theme-hybrid #faq {
  --bg: #070a16;
  --bg-soft: #0b1027;
  --surface: #10162d;
  --surface-2: #151d38;
  --surface-strong: #eaf6ad;
  --ink: #f6f8ff;
  --muted: #a5adc7;
  --line: rgba(234, 246, 173, 0.13);
  --line-strong: rgba(234, 246, 173, 0.28);
  --primary: #7a5cff;
  --secondary: #274dea;
  --accent: #dff31a;
  --accent-ink: #111900;
  --header: rgba(7, 10, 22, 0.9);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
  --soft-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  color: var(--ink);
}

.theme-hybrid .hero {
  background:
    radial-gradient(circle at 82% 13%, rgba(99, 56, 238, .26), transparent 28rem),
    radial-gradient(circle at 8% 70%, rgba(39, 77, 234, .14), transparent 34rem),
    #070a16;
}

.theme-hybrid #metodo,
.theme-hybrid #planos,
.theme-hybrid #faq {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(99, 56, 238, .12), transparent 32rem),
    var(--bg-soft);
}

.theme-hybrid .hero h1 .accent-word {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(223, 243, 26, .15);
}

.theme-hybrid .hero .trust-check,
.theme-hybrid #metodo .eyebrow,
.theme-hybrid #planos .eyebrow,
.theme-hybrid #faq .eyebrow {
  color: var(--accent);
}

.theme-hybrid .hero::after,
.theme-hybrid #metodo::after,
.theme-hybrid #planos::after,
.theme-hybrid #faq::after {
  opacity: .075;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
}

.theme-dark .eyebrow {
  color: var(--accent);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: var(--header);
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  height: 58px;
  flex: 0 0 auto;
  overflow: visible;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  transition: right .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.version-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 24%, transparent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 34%, transparent);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary);
  background: var(--surface);
}

.btn-arrow {
  font-size: 1.2em;
  transition: transform .2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding: 150px 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.3vw, 6rem);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .96;
}

.hero h1 .accent-word {
  position: relative;
  color: var(--primary);
  white-space: nowrap;
}

.theme-dark .hero h1 .accent-word {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(223, 243, 26, .15);
}

.hero h1 .accent-word::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 0;
  bottom: .02em;
  height: .08em;
  border-radius: 99px;
  background: var(--accent);
  transform: rotate(-1deg);
  opacity: .9;
}

.hero-lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 34px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-check {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-ink);
  font-size: .68rem;
  font-weight: 900;
}

.theme-dark .trust-check {
  color: var(--accent);
}

.rank-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.rank-stage::before {
  content: "";
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 133, 244, .22), transparent 66%);
  filter: blur(8px);
}

.theme-light .rank-stage::before {
  background: radial-gradient(circle, rgba(66, 133, 244, .17), transparent 66%);
}

.rank-card {
  position: relative;
  z-index: 2;
  width: min(100%, 438px);
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(32, 33, 36, .22);
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  transform: rotate(.45deg);
}

.rank-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
}

.rank-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, .12);
  color: #3c4043;
  font-size: .82rem;
}

.rank-search > span:nth-child(2) { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.google-g { color: #4285f4; font-family: Arial, Helvetica, sans-serif; font-size: 1.17rem; font-weight: 800; }
.search-icon { position: relative; width: 14px; height: 14px; border: 2px solid #5f6368; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; background: #5f6368; transform: rotate(45deg); }

.rank-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.google-cover {
  position: relative;
  height: 158px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(8, 18, 54, .84), rgba(27, 63, 142, .38)),
    radial-gradient(circle at 75% 20%, #79c9ff 0 4%, transparent 5%),
    linear-gradient(145deg, #263b72 0 42%, #8097bd 43% 56%, #17223d 57%);
}

.google-cover::after {
  content: "";
  position: absolute;
  inset: auto -6% -54% 34%;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: rgba(144, 176, 214, .28);
  transform: rotate(-8deg);
}

.cover-sign {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 27px;
  color: #fff;
  letter-spacing: .12em;
  line-height: .9;
}

.cover-sign span, .cover-sign strong { display: block; }
.cover-sign span { margin-bottom: 8px; font-size: .72rem; font-weight: 500; }
.cover-sign strong { font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
.photo-count { position: absolute; z-index: 2; right: 12px; bottom: 11px; padding: 6px 10px; border-radius: 4px; background: rgba(32, 33, 36, .82); color: #fff; font-size: .7rem; }

.rank-content {
  padding: 19px 22px 17px;
}

.google-context { display: block; margin-bottom: 7px; color: #70757a; font-size: .68rem; }

.rank-content h2 {
  margin: 0 0 6px;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.18;
}

.verified { display: inline-grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #1a73e8; color: #fff; font-size: .65rem; vertical-align: 3px; }
.business-rating { display: flex; align-items: center; gap: 7px; color: #3c4043; font-size: .79rem; }
.business-rating a { color: #1a73e8; text-decoration: none; }
.stars { color: #f9ab00; letter-spacing: .015em; font-size: .83rem; }
.business-category { margin: 5px 0 0; color: #70757a; font-size: .79rem; }
.google-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px -4px 0; padding-bottom: 18px; border-bottom: 1px solid #e8eaed; }
.google-actions a { display: flex; align-items: center; flex-direction: column; gap: 6px; color: #1a73e8; font-size: .68rem; font-weight: 500; text-decoration: none; }
.action-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dadce0; border-radius: 50%; color: #1a73e8; font-size: 1rem; }
.business-details { padding: 12px 0 5px; }
.business-details p { display: flex; align-items: center; gap: 12px; margin: 9px 0; color: #3c4043; font-size: .76rem; line-height: 1.35; }
.detail-icon { width: 15px; color: #1a73e8; font-size: .58rem; text-align: center; }
.open-now { color: #188038; font-weight: 500; }
.google-footnote { display: flex; align-items: center; gap: 6px; margin: 3px 0 0; padding-top: 11px; border-top: 1px solid #e8eaed; color: #70757a; font-size: .66rem; }

.rank-badge {
  position: absolute;
  z-index: 3;
  top: 32px;
  right: -12px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 8px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--soft-shadow);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.rank-badge strong {
  display: block;
  font-size: 1.5rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.section > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

.section::after,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(520px, 58vw, 820px);
  aspect-ratio: 2.79 / 1;
  right: -270px;
  top: 50%;
  background: url("../images/hub-atmos/infinity.png") center / contain no-repeat;
  opacity: .05;
  pointer-events: none;
  transform: translateY(-50%) rotate(-7deg);
}

.theme-dark .section::after,
.theme-dark .hero::after {
  opacity: .075;
}

#metodo::after,
#planos::after,
#faq::after {
  left: -270px;
  right: auto;
  transform: translateY(-50%) rotate(7deg);
}

.section-soft {
  background: var(--bg-soft);
}

.theme-dark .section-soft {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(99, 56, 238, .12), transparent 32rem),
    var(--bg-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.method-copy h2,
.simulator-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  letter-spacing: -.065em;
  line-height: 1.02;
}

.section-heading p,
.method-copy > p,
.simulator-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.service-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.service-card::after {
  content: attr(data-number);
  position: absolute;
  right: 20px;
  top: 5px;
  color: color-mix(in srgb, var(--primary) 8%, transparent);
  font-family: var(--display);
  font-size: 7.5rem;
  font-weight: 800;
  letter-spacing: -.1em;
  line-height: 1;
}

.theme-dark .service-card::after {
  color: rgba(234, 246, 173, .05);
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  font-family: var(--display);
  font-weight: 800;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: color-mix(in srgb, var(--accent) 72%, var(--ink));
}

.service-card h3 {
  max-width: 410px;
  margin: 38px 0 12px;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.service-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
}

.theme-dark .card-link {
  color: var(--accent);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 130px;
}

.method-copy > p {
  margin-top: 24px;
}

.method-mark {
  width: 170px;
  margin-top: 38px;
  opacity: .92;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 12px 0 42px;
  counter-increment: steps;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 76px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 800;
}

.step:first-child .step-number {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.step h3 {
  margin: 7px 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.simulator-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr);
  gap: 70px;
  align-items: center;
}

.simulator-copy > p {
  margin-top: 24px;
}

.simulator-note {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--muted);
  font-size: .78rem;
}

.simulator-card {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.range-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.range-head span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.range-head strong {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -.05em;
}

.range-wrap input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, var(--accent) 0 var(--range, 21%), var(--surface-2) var(--range, 21%));
  appearance: none;
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 5px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--line-strong), 0 5px 14px rgba(0, 0, 0, .2);
  cursor: grab;
  appearance: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: .65rem;
}

.projection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.projection {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.projection span {
  color: var(--muted);
  font-size: .72rem;
}

.projection strong {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -.05em;
}

.projection em {
  display: block;
  margin-top: 5px;
  color: color-mix(in srgb, var(--accent) 75%, var(--ink));
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.plan-card.local {
  border-color: rgba(16, 40, 140, .16);
  background: #fff;
  color: #0d1740;
  box-shadow: 0 18px 50px rgba(16, 40, 140, .12);
}

.plan-card.local .plan-tag {
  border: 1px solid rgba(39, 77, 234, .14);
  background: #eef1ff;
  color: #274dea;
}

.plan-card.local > p,
.plan-card.local .plan-list {
  color: #5c647f;
}

.plan-card.local .plan-divider {
  background: rgba(16, 40, 140, .14);
}

.plan-card.local .plan-list li::before {
  background: #f0f6c8;
  color: #354400;
}

.plan-card.local .btn-secondary {
  border-color: rgba(16, 40, 140, .2);
  background: #f3f5ff;
  color: #10288c;
}

.plan-card.local .btn-secondary:hover,
.plan-card.local .btn-secondary:focus-visible {
  border-color: #10288c;
  background: #10288c;
  color: #fff;
}

.plan-card.featured {
  overflow: hidden;
  border-color: rgba(122, 92, 255, .55);
  background: linear-gradient(145deg, #10288c 0%, #172a78 58%, #3d287f 125%);
  color: #fff;
  box-shadow: 0 24px 58px rgba(16, 40, 140, .24);
}

.plan-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--violet));
}

.plan-tag {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: color-mix(in srgb, var(--accent) 70%, var(--ink));
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-card.featured .plan-tag {
  border: 1px solid rgba(234, 246, 173, .24);
  background: rgba(234, 246, 173, .1);
  color: var(--lime-soft);
}

.plan-card h3 {
  margin: 26px 0 10px;
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: -.05em;
}

.plan-card > p {
  min-height: 78px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.plan-card.featured > p,
.plan-card.featured .plan-list {
  color: rgba(255, 255, 255, .72);
}

.plan-card.featured .plan-list li::before {
  border: 1px solid rgba(223, 243, 26, .24);
  background: rgba(223, 243, 26, .12);
  color: var(--lime-soft);
}

.plan-divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.plan-card.featured .plan-divider {
  background: rgba(255, 255, 255, .18);
}

.plan-list {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  color: var(--muted);
  font-size: .83rem;
  list-style: none;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-list li::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: color-mix(in srgb, var(--accent) 70%, var(--ink));
  font-size: .65rem;
  font-weight: 900;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.plan-card.featured .btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.plan-card.featured .btn-primary:hover,
.plan-card.featured .btn-primary:focus-visible {
  background: var(--lime-soft);
  color: #10288c;
}

.testimonial-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.client-quote {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.client-quote.featured {
  grid-column: 1 / -1;
  min-height: 252px;
  padding: 34px;
  background:
    radial-gradient(circle at 94% 8%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 15rem),
    var(--surface);
}

.client-quote::after {
  content: "“";
  position: absolute;
  right: 24px;
  bottom: -48px;
  color: color-mix(in srgb, var(--primary) 7%, transparent);
  font-family: Georgia, serif;
  font-size: 12rem;
  line-height: 1;
  pointer-events: none;
}

.client-quote-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.client-quote-top span {
  color: var(--primary);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.client-quote-top b {
  color: color-mix(in srgb, var(--primary) 38%, var(--muted));
  font-family: var(--display);
  font-size: .68rem;
}

.client-quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 26px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1rem, 1.7vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.48;
}

.client-quote.featured blockquote {
  font-size: clamp(1.28rem, 2.2vw, 1.76rem);
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 800;
}

.quote-person div > strong,
.quote-person div > span {
  display: block;
}

.quote-person div > strong {
  font-size: .85rem;
}

.quote-person div > span {
  color: var(--muted);
  font-size: .72rem;
}

.instagram-section {
  overflow: hidden;
}

.instagram-profile {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ig-appbar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.ig-wordmark {
  color: var(--ink);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.07em;
}

.ig-app-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
}

.ig-profile-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 38px;
  align-items: center;
  padding: 44px 72px 30px;
}

.ig-avatar-ring {
  display: grid;
  width: 144px;
  height: 144px;
  place-items: center;
  padding: 5px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f9ce34, #ee2a7b, #6228d7, #f9ce34);
}

.ig-avatar {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: #101b62;
}

.ig-avatar img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  transform: rotate(-8deg);
}

.ig-profile-info {
  min-width: 0;
}

.ig-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-user-row > strong {
  overflow: hidden;
  font-size: 1.18rem;
  font-weight: 500;
  text-overflow: ellipsis;
}

.ig-verified {
  display: grid;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #0095f6;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
}

.ig-follow,
.ig-message {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 800;
}

.ig-follow {
  margin-left: 8px;
  background: #0095f6;
  color: #fff;
}

.ig-message {
  background: var(--surface-2);
  color: var(--ink);
}

.ig-stats {
  display: flex;
  gap: 34px;
  margin: 24px 0 18px;
  color: var(--ink);
  font-size: .86rem;
}

.ig-stats strong {
  font-weight: 800;
}

.ig-bio {
  display: grid;
  gap: 3px;
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.45;
}

.ig-bio > a {
  width: fit-content;
  margin-top: 2px;
  color: color-mix(in srgb, var(--primary) 78%, var(--ink));
  font-weight: 800;
}

.ig-highlights {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  padding: 10px 72px 36px;
  scrollbar-width: none;
}

.ig-highlights::-webkit-scrollbar {
  display: none;
}

.ig-highlight {
  display: grid;
  flex: 0 0 82px;
  justify-items: center;
  gap: 8px;
}

.ig-highlight > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--surface);
  border-radius: 50%;
  outline: 1px solid var(--line-strong);
  background: #111a54;
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
}

.ig-highlight > span img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.ig-highlight > .ig-highlight-blue {
  background: var(--blue);
}

.ig-highlight > .ig-highlight-lime {
  background: var(--lime-soft);
  color: var(--navy);
  font-size: 1.35rem;
}

.ig-highlight strong {
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
}

.ig-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.ig-tabs span {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .8rem;
}

.ig-tabs b {
  font-size: .6rem;
  letter-spacing: .12em;
}

.ig-tabs .active {
  color: var(--ink);
}

.ig-tabs .active::before {
  content: "";
  position: absolute;
  top: -1px;
  width: 74px;
  height: 1px;
  background: var(--ink);
}

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

.ig-feed-only {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ig-feed-only .ig-post::before {
  content: "@hubatmos";
  position: absolute;
  top: clamp(12px, 2vw, 20px);
  right: clamp(12px, 2vw, 20px);
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(7, 10, 22, .66);
  color: #fff;
  font-size: clamp(.42rem, .7vw, .58rem);
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

.ig-post {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  min-width: 0;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(18px, 3.2vw, 34px);
  color: #fff;
  isolation: isolate;
}

.ig-post::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 36%, rgba(4, 7, 28, .76));
}

.ig-post-copy {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(.9rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.ig-post-copy strong {
  font-weight: 800;
}

.ig-post-kicker {
  position: absolute;
  top: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 30px);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.ig-post > img {
  position: absolute;
  z-index: -1;
  object-fit: contain;
}

.ig-post-blue {
  background: var(--blue);
}

.ig-post-blue > img {
  top: -10%;
  right: -14%;
  width: 74%;
  height: 74%;
  opacity: .3;
  transform: rotate(18deg);
}

.ig-post-lime {
  background: var(--lime-soft);
  color: var(--navy);
}

.ig-post-lime::after,
.ig-post-violet::after,
.ig-post-infinity::after {
  display: none;
}

.ig-post-violet {
  background: linear-gradient(145deg, var(--violet), var(--navy));
}

.ig-post-infinity {
  background: #080d24;
  justify-content: center;
  text-align: center;
}

.ig-post-infinity > img {
  top: 16%;
  left: 8%;
  width: 84%;
  height: 54%;
  opacity: .86;
}

.ig-post-photo-one,
.ig-post-photo-two {
  background-position: center;
  background-size: cover;
}

.ig-post-photo-one {
  background-image: linear-gradient(135deg, rgba(16, 40, 140, .08), rgba(99, 56, 238, .28)), url("../images/hero-bg.webp");
}

.ig-post-photo-two {
  background-image: linear-gradient(135deg, rgba(16, 40, 140, .12), rgba(7, 10, 22, .26)), url("../images/hero-bg.webp");
  background-position: 72% center;
}

.ig-post-meta {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 18, .68);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity .2s ease;
}

.ig-post:hover .ig-post-meta,
.ig-post:focus-visible .ig-post-meta {
  opacity: 1;
}

.ig-demo-note {
  margin: 0;
  padding: 15px 20px 18px;
  color: var(--muted);
  font-size: .65rem;
  text-align: center;
}

.faq-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.faq-intro {
  margin-bottom: 44px;
  text-align: center;
}

.faq-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  letter-spacing: -.06em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.faq-plus {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: transform .2s ease, background .2s ease;
}

.faq-question[aria-expanded="true"] .faq-plus {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height .3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 70px 26px 0;
}

.contact-section {
  overflow: hidden;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(480px, 1.2fr);
  gap: clamp(50px, 8vw, 105px);
  align-items: start;
}

.contact-copy {
  padding-top: 20px;
}

.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -.065em;
  line-height: 1.03;
}

.contact-copy > p {
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-point {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
}

.contact-point > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--primary);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
}

.theme-dark .contact-point > span {
  color: var(--accent);
}

.contact-point strong,
.contact-point small {
  display: block;
}

.contact-point strong {
  font-family: var(--display);
  font-size: .88rem;
}

.contact-point small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.contact-form {
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -.04em;
}

.form-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.form-time {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 17%, transparent);
  color: color-mix(in srgb, var(--accent) 68%, var(--ink));
  font-size: .66rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink);
  font-size: .73rem;
  font-weight: 700;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: var(--surface-2);
  color: var(--ink);
  font-size: .84rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}

.theme-dark .form-field input:focus,
.theme-dark .form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
}

.consent-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.5;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.contact-form .btn {
  width: 100%;
  margin-top: 22px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: color-mix(in srgb, var(--accent) 66%, var(--ink));
  font-size: .76rem;
  font-weight: 700;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  border-color: rgba(210, 55, 72, .3);
  background: rgba(210, 55, 72, .1);
  color: #b42333;
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: .68;
}

.error-page {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 180px 0 110px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.error-page::after {
  content: "";
  position: absolute;
  inset: auto -12% -20% auto;
  width: min(920px, 85vw);
  aspect-ratio: 9035 / 3235;
  background: url("../images/hub-atmos/infinity.png") center / contain no-repeat;
  opacity: .12;
  pointer-events: none;
}

.error-page-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -54%);
  color: rgba(255, 255, 255, .035);
  font-size: clamp(12rem, 34vw, 32rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.1em;
  user-select: none;
}

.error-page-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.error-page h1 {
  max-width: 700px;
  margin: 18px auto;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.error-page p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, .72);
  font-size: 1.08rem;
}

.error-page .hero-actions {
  justify-content: center;
}

.final-section {
  padding: 40px 0 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding: 68px;
  border-radius: 42px;
  background: var(--navy);
  color: #fff;
}

.theme-dark .final-cta {
  border: 1px solid rgba(234, 246, 173, .22);
  background: linear-gradient(135deg, #151d38, #10288c);
}

.final-cta::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 170px;
  right: -80px;
  top: -28px;
  background: url("../images/hub-atmos/infinity.png") center / contain no-repeat;
  opacity: .12;
  transform: rotate(-8deg);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  color: var(--lime-soft);
}

.final-cta h2 {
  max-width: 740px;
}

.final-cta p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .7);
}

.site-footer {
  padding: 56px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 60px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 130px;
  height: 65px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 350px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.footer-social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  text-transform: lowercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.footer-social .footer-brand-icon {
  font-family: "Font Awesome 6 Brands";
  font-size: 1.02rem;
  font-weight: 400;
  text-transform: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: .8rem;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: .78rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 8px 20px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: #0b1022;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 10, 22, .28);
  text-decoration: none;
  transition: bottom .3s ease, transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(7, 10, 22, .38);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(182, 219, 0, .48);
  outline-offset: 4px;
}

.whatsapp-float-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-family: "Font Awesome 6 Brands";
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.whatsapp-float-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.whatsapp-float-copy small {
  color: rgba(255, 255, 255, .58);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.whatsapp-float-copy strong {
  color: #ffffff;
  font-size: .86rem;
  font-weight: 800;
}

.whatsapp-float-status {
  position: absolute;
  top: 7px;
  left: 43px;
  width: 10px;
  height: 10px;
  border: 2px solid #0b1022;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(182, 219, 0, .13);
}

body.cookie-consent-open .whatsapp-float {
  bottom: 205px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions > .btn {
    display: none;
  }

  .mobile-nav {
    position: absolute;
    inset: 80px 20px auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
  }

  .mobile-nav a:hover {
    background: var(--surface-2);
    color: var(--ink);
  }

  .hero-grid,
  .simulator-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 134px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .rank-stage {
    min-height: 500px;
  }

  .rank-badge {
    right: 14%;
  }

  .method-grid {
    gap: 55px;
  }

  .simulator-copy {
    max-width: 700px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .version-pill {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 70px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero h1 .accent-word {
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-stage {
    min-height: 430px;
  }

  .rank-card {
    transform: none;
  }

  .rank-badge {
    top: -24px;
    right: -4px;
    width: 88px;
    height: 88px;
    border-width: 6px;
  }

  .map-canvas {
    height: 175px;
  }

  .rank-content {
    padding: 18px;
  }

  .rank-metrics {
    gap: 6px;
  }

  .rank-metric {
    padding: 9px 6px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading,
  .method-grid,
  .testimonial-grid,
  .contact-shell,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .service-card {
    min-height: 285px;
    padding: 28px;
  }

  .method-copy {
    position: static;
  }

  .method-mark {
    display: none;
  }

  .step {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 48px;
    height: 48px;
  }

  .step:not(:last-child)::after {
    left: 24px;
    top: 56px;
  }

  .simulator-shell {
    gap: 36px;
  }

  .simulator-card,
  .plan-card,
  .quote-card,
  .contact-form {
    padding: 26px;
    border-radius: 26px;
  }

  .projection-grid {
    grid-template-columns: 1fr;
  }

  .plan-card > p {
    min-height: auto;
  }

  .result-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .testimonial-wall {
    grid-template-columns: 1fr;
  }

  .client-quote,
  .client-quote.featured {
    grid-column: auto;
    min-height: 225px;
    padding: 26px;
  }

  .instagram-profile {
    border-radius: 24px;
  }

  .ig-appbar {
    padding-inline: 18px;
  }

  .ig-profile-head {
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: start;
    padding: 28px 18px 24px;
  }

  .ig-avatar-ring {
    width: 88px;
    height: 88px;
    padding: 3px;
  }

  .ig-avatar {
    border-width: 3px;
  }

  .ig-user-row {
    flex-wrap: wrap;
    gap: 7px;
  }

  .ig-user-row > strong {
    max-width: calc(100% - 28px);
    font-size: 1rem;
  }

  .ig-follow {
    margin-left: 0;
  }

  .ig-follow,
  .ig-message {
    min-height: 31px;
    padding-inline: 13px;
    font-size: .69rem;
  }

  .ig-stats {
    grid-column: 1 / -1;
    gap: 14px;
    margin: 18px 0 14px;
    font-size: .68rem;
  }

  .ig-stats span {
    display: grid;
  }

  .ig-bio {
    grid-column: 1 / -1;
    font-size: .74rem;
  }

  .ig-highlights {
    gap: 19px;
    padding: 4px 18px 25px;
  }

  .ig-highlight {
    flex-basis: 68px;
  }

  .ig-highlight > span {
    width: 64px;
    height: 64px;
  }

  .ig-tabs span {
    min-height: 46px;
  }

  .ig-tabs b {
    display: none;
  }

  .ig-post {
    padding: 12px;
  }

  .ig-feed-only {
    padding: 3px;
    border-radius: 18px;
  }

  .ig-feed-only .ig-post::before {
    top: 8px;
    right: 8px;
    padding: 4px 6px;
    font-size: .35rem;
  }

  .ig-post-copy {
    font-size: clamp(.62rem, 3vw, .9rem);
  }

  .ig-post-kicker {
    top: 12px;
    left: 12px;
    font-size: .42rem;
  }

  .ig-post-meta {
    font-size: .62rem;
  }

  .faq-answer p {
    padding-right: 18px;
  }

  .form-head {
    display: block;
  }

  .form-time {
    display: inline-flex;
    margin-top: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full,
  .consent-row {
    grid-column: auto;
  }

  .final-section {
    padding-top: 14px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 38px 26px;
    border-radius: 28px;
  }

  .footer-top {
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  body.cookie-consent-open .whatsapp-float {
    bottom: 290px;
  }
}

@media (max-width: 620px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 46px;
    min-height: 56px;
    padding: 5px;
  }

  .whatsapp-float-copy {
    display: none;
  }

  .whatsapp-float-status {
    top: 3px;
    right: 3px;
    left: auto;
  }

  body.cookie-consent-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
