/* ==========================================================================
   COMPONENTS
   Every named, reusable UI piece in the framework. Each block below is
   self-contained and can be copied into a new page as-is — see the
   component reference for the matching HTML snippet of each one.
   ========================================================================== */

/* --- Header / Nav ---------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 3.4vw, 48px);
  background: rgba(5, 7, 11, 0.78);
  color: var(--white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(54, 197, 255, 0.22);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 124px;
}

.brand-logo {
  width: clamp(124px, 12vw, 178px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.35vw, 18px);
  font-size: 14px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--yellow), #fff9a6);
  color: var(--ink) !important;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(255, 216, 77, 0.24);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  padding: 9px 12px;
}

/* --- Kicker / Eyebrow label -------------------------------------------
   Small uppercase label used above a heading, both in the hero and at
   the top of every .section. -------------------------------------------- */

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--yellow), transparent);
}

/* --- Hero (with .service-hero / .blog-hero page variants) ------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 116px clamp(20px, 6vw, 76px) 56px;
}

.hero-image,
.hero-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(0.94) contrast(1.08) brightness(0.68);
}

.hero-canvas {
  z-index: 1;
  opacity: 0.76;
  pointer-events: none;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.72) 45%, rgba(5, 7, 11, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.2) 48%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 4px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--yellow), transparent);
  box-shadow: 0 0 24px rgba(54, 197, 255, 0.8);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 900px;
}

.hero-logo {
  width: clamp(156px, 18vw, 250px);
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 26px rgba(255, 240, 0, 0.18));
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.45vw, 20px);
}

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

.service-hero {
  min-height: 78vh;
}

.service-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.blog-hero {
  min-height: 86vh;
}

.blog-panel {
  align-self: center;
}

/* --- Buttons ------------------------------------------------------------
   .wide (width:100%) is a layout modifier, not a variant — it lives in
   utilities.css so it can be combined with any variant below. ----------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--yellow), #fff9a6);
  color: var(--ink);
  box-shadow: 0 0 30px rgba(255, 216, 77, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 240, 0, 0.36);
  background: rgba(90, 36, 120, 0.22);
  box-shadow: inset 0 0 24px rgba(90, 36, 120, 0.16);
}

.button.map {
  margin-top: 10px;
  background: var(--ink);
  color: var(--white);
  border-color: rgba(54, 197, 255, 0.35);
}

.button.whatsapp {
  color: var(--white);
  border-color: rgba(53, 228, 143, 0.4);
  background: rgba(53, 228, 143, 0.12);
  box-shadow: inset 0 0 24px rgba(53, 228, 143, 0.16);
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #071b0f;
  font-weight: 800;
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 30%);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #4ae17e;
  transform: translateY(-2px);
}

/* --- Card / panel surface -----------------------------------------------
   Shared "glass card" surface reused by the hero panel, service cards,
   blog cards, portfolio tiles, the contact box and the article aside. --- */

.hero-panel,
.service-card,
.post-card,
.portfolio-list article,
.contact-box,
.article-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

/* --- Hero panel (the "Marketing 360" signal panel on the homepage) ---- */

.hero-panel {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border-color: rgba(255, 240, 0, 0.26);
  box-shadow: var(--glow), var(--shadow), inset 0 0 38px rgba(90, 36, 120, 0.14);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-110%);
  animation: panelSweep 5s ease-in-out infinite;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.play-reel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.play-reel span,
.video-play {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 216, 77, 0.5);
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.12);
  box-shadow: 0 0 26px rgba(255, 216, 77, 0.24);
}

.play-reel span::before,
.video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--yellow);
}

.signal-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-row strong {
  color: var(--yellow);
}

.signal-row span {
  color: rgba(255, 255, 255, 0.82);
  text-align: right;
}

.panel-meter {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.panel-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
  animation: meterPulse 2.2s ease-in-out infinite alternate;
}

/* --- Trust band (3-column indicator strip below the hero) ------------- */

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 240, 0, 0.18);
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(16px);
}

.trust-band div {
  padding: 26px clamp(18px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

/* --- Stat counters (animated numbers in the Authority section) -------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.stat-card,
.authority-points article,
.testimonial-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
}

.stat-card {
  text-align: center;
}

.stat-number {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 26px rgba(255, 240, 0, 0.22);
}

.stat-card span {
  display: block;
  color: var(--white);
  font-weight: 700;
}

.stat-pending {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

/* --- Authority points / differentiators (3-up strong+span cards) ------
   Reused as-is for "Por qué elegir Impulse" and inside .final-cta. ----- */

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

.authority-points strong {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-weight: 900;
}

.authority-points span {
  color: var(--muted);
}

/* --- Testimonial cards --------------------------------------------------- */

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

.testimonial-card p {
  color: var(--white);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card strong {
  display: block;
  color: var(--yellow);
}

.testimonial-card span {
  color: var(--muted);
  font-size: 13px;
}

/* --- Final CTA section --------------------------------------------------- */

.final-cta {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.12), transparent 48%),
    linear-gradient(315deg, rgba(90, 36, 120, 0.24), transparent 46%),
    #090d14;
}

.final-cta .section-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.final-cta .authority-points {
  margin-bottom: 30px;
}

.final-cta-actions {
  justify-content: center;
}

/* --- Muted body text within components --------------------------------
   Consistent secondary-text color across every card/section variant. --- */

.trust-band span,
.section-grid p,
.intro > p,
.portfolio-copy p,
.contact p,
.service-card p,
.portfolio-list p,
.post-card span,
.contact-box small,
.article-hero p {
  color: var(--muted);
}

/* --- Service cards + the grid that arranges them ----------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.post-card,
.portfolio-list article {
  color: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card {
  min-height: 270px;
  padding: 24px;
}

.service-card:hover,
.post-card:hover,
.portfolio-list article:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 197, 255, 0.5);
  box-shadow: var(--glow), var(--shadow);
}

.service-card .icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(255, 240, 0, 0.28);
  border-radius: var(--radius);
  background: rgba(90, 36, 120, 0.22);
  color: var(--yellow);
  font-weight: 900;
  box-shadow: inset 0 0 22px rgba(90, 36, 120, 0.22);
}

/* --- Quick-link tiles (service-links-grid / blog category-grid) -------- */

.service-links-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 18px;
}

.service-links-grid a,
.category-grid a {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 240, 0, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(90, 36, 120, 0.26), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-links-grid a:hover,
.service-links-grid a:focus-visible,
.category-grid a:hover,
.category-grid a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 240, 0, 0.52);
}

/* --- Process / benefits step cards (3-up icon+heading+copy) ------------ */

.service-benefits,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-benefits article,
.process-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
}

.service-benefits strong,
.process-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-weight: 900;
}

.service-benefits span,
.process-grid p {
  color: var(--muted);
}

/* --- Portfolio tiles ------------------------------------------------------ */

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

.portfolio-list article {
  position: relative;
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(5, 7, 11, 0.94), rgba(5, 7, 11, 0.15)),
    url("../assets/impulse-hero.png") center / cover;
}

.portfolio-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.2), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(90, 36, 120, 0.32), transparent 36%);
  opacity: 0.72;
}

.portfolio-list article:nth-child(1) {
  grid-row: span 2;
  min-height: 574px;
}

.portfolio-list article:nth-child(2) {
  background-position: 62% center;
}

.portfolio-list article:nth-child(3) {
  background-position: 30% center;
}

.portfolio-list article:nth-child(4) {
  background-position: 75% center;
}

.portfolio-list article > * {
  position: relative;
  z-index: 1;
}

.portfolio-list span {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

/* --- Highlighted bullet list (e.g. "El problema" pain points) --------- */

.seo-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  padding: 20px;
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.035);
}

.seo-list li:nth-child(2) {
  border-color: var(--red);
}

.seo-list li:nth-child(3) {
  border-color: var(--blue);
}

/* --- Data table ----------------------------------------------------------- */

.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  margin: 4px 0 8px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.data-table td {
  color: var(--muted);
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

/* --- FAQ accordion (native <details>/<summary>, no JS required) ------- */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--yellow);
  font-size: 22px;
  font-weight: 900;
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* --- Educational concept blocks (stacked, divider-separated) ---------- */

.concept-item {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.concept-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

/* --- Blog: grid, hub CTA, featured post, category tiles ---------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.blog-hub-cta {
  margin: -14px 0 28px;
}

.blog-index .featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 14px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255, 240, 0, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(90, 36, 120, 0.38), rgba(255, 240, 0, 0.06)),
    linear-gradient(0deg, rgba(5, 7, 11, 0.84), rgba(5, 7, 11, 0.84)),
    url("../assets/impulse-hero.png") center / cover;
  box-shadow: var(--glow), var(--shadow);
}

.featured-post span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-post h3 {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
}

.featured-post p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.blog-index-grid .post-card {
  min-height: 300px;
}

.topic-wall a {
  display: grid;
  min-height: 96px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(90, 36, 120, 0.16);
  transition: transform 180ms ease, border-color 180ms ease;
}

.topic-wall a:hover,
.topic-wall a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 240, 0, 0.42);
}

/* --- Video grid / video card -------------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.video-card {
  min-height: 420px;
  padding: 24px;
  border: 1px solid rgba(54, 197, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(90, 36, 120, 0.22), transparent 42%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.7), rgba(5, 7, 11, 0.7)),
    url("../assets/impulse-hero.png") center / cover;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0.18));
}

.video-card > * {
  position: relative;
  z-index: 1;
}

.video-card p {
  color: var(--muted);
}

/* --- Clients wall ---------------------------------------------------------- */

.clients {
  background:
    radial-gradient(circle at 20% 0%, rgba(90, 36, 120, 0.2), transparent 32%),
    #060910;
}

.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.client-wall span {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 0 30px rgba(90, 36, 120, 0.16);
}

/* --- Post card (blog preview / related-article card) -------------------- */

.post-card {
  min-height: 230px;
  padding: 24px;
}

.post-card p {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.post-card a:hover,
.post-card a:focus-visible {
  color: var(--blue);
}

/* --- Contact section / contact box -------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.12), transparent 42%),
    var(--ink);
  color: var(--white);
}

.contact-box {
  padding: 26px;
  color: var(--white);
  box-shadow: var(--glow), var(--shadow);
}

.contact-box p {
  margin: 18px 0 4px;
  color: var(--white);
  font-weight: 900;
}

/* --- Footer ---------------------------------------------------------------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 76px);
  background: #030508;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  width: 150px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 800;
}

/* --- Article page: breadcrumb, article hero, article body ------------- */

.article-page {
  background: var(--paper);
}

.article-page .brand > span {
  display: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 104px clamp(20px, 6vw, 76px) 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--yellow);
  font-weight: 800;
}

.article-hero {
  padding: 130px clamp(20px, 6vw, 76px) 48px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 56px 56px;
  color: var(--white);
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 6vw, 72px);
}

.article-hero p {
  max-width: 760px;
  font-size: 20px;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 340px);
  gap: clamp(28px, 6vw, 72px);
  padding: 54px clamp(20px, 6vw, 76px) 88px;
  align-items: start;
}

.article-content {
  font-size: 18px;
}

.article-content h2 {
  margin-top: 42px;
  font-size: clamp(27px, 3vw, 38px);
}

.article-content p {
  color: var(--muted);
}

.article-content a,
.article-aside a {
  color: var(--blue);
  font-weight: 800;
}

.article-cta {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(255, 240, 0, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(90, 36, 120, 0.26), rgba(255, 240, 0, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.article-aside {
  position: sticky;
  top: 96px;
  padding: 22px;
  color: var(--white);
}

.article-aside a {
  display: block;
  margin-top: 12px;
}
