/* ==========================================================================
   runChecker — Landing page styles
   Paleta extraída de la app: naranja marca, fondo lavanda claro,
   acentos coral/rosa, verde éxito, amarillo pendiente, chip lila nav.
   ========================================================================== */

:root {
  --color-primary: #ffa518;
  --color-primary-dark: #fb6d00;
  --color-primary-darker: #e8590c;
  --color-primary-light: #ffc766;
  --color-accent: #ec6690;
  --color-accent-dark: #d9467a;
  --color-success: #43a047;
  --color-success-bg: #dff5e3;
  --color-warning: #f4b400;
  --color-warning-bg: #fdecc0;
  --color-danger: #b3261e;

  --color-bg: #fdf7ff;
  --color-surface: #ffffff;
  --color-surface-alt: #f3ecf7;
  --color-chip: #e8def7;
  --color-border: #e7dcef;

  --color-text: #241c15;
  --color-text-muted: #6b6470;
  --color-text-on-primary: #ffffff;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(60, 30, 10, 0.06);
  --shadow-md: 0 12px 32px rgba(60, 30, 10, 0.12);
  --shadow-lg: 0 24px 60px rgba(60, 30, 10, 0.18);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { line-height: 1.65; color: var(--color-text-muted); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: #fdeaf1;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 17px; }

section { padding: 96px 0; position: relative; }
.section-alt { background: var(--color-surface-alt); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(251, 109, 0, .32); }
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-primary-dark); color: var(--color-primary-darker); }
.btn-light {
  background: #fff;
  color: var(--color-primary-darker);
  box-shadow: var(--shadow-sm);
}
.btn-block { width: 100%; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
  background: rgba(253, 247, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(60, 30, 10, .08);
  padding: 8px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-text);
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--color-chip); color: var(--color-primary-darker); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--color-chip);
  border: none;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 168px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -200px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--color-primary-light), transparent 70%);
  opacity: .55;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -220px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, var(--color-accent), transparent 70%);
  opacity: .16;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  color: var(--color-text);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-primary-darker);
}
.hero-stat span { font-size: 13.5px; color: var(--color-text-muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { position: relative; z-index: 2; }
.hero-visual .phone-back {
  position: absolute;
  top: 70px; left: -10px;
  transform: rotate(-10deg) scale(.86);
  z-index: 1;
  opacity: .9;
}
.hero-visual .phone-front {
  transform: rotate(6deg);
}
.hero-badge-float {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.hero-badge-float.badge-qr { top: 24px; right: -18px; }
.hero-badge-float.badge-check { bottom: 44px; left: -32px; }
.badge-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.badge-icon.success { background: var(--color-success-bg); color: var(--color-success); }
.badge-icon.qr { background: var(--color-chip); color: var(--color-primary-darker); }

/* ---------------- Phone mockup ---------------- */
.phone {
  width: 250px;
  border-radius: 38px;
  background: #17130f;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 20px;
  background: #17130f;
  border-radius: var(--radius-pill);
  z-index: 5;
}
.phone.phone-sm { width: 190px; }

/* ---------------- Trust / logos strip ---------------- */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.trust-strip p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.trust-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-pill {
  background: var(--color-surface-alt);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}

/* ---------------- How it works ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 19px; }
.step-card p { font-size: 15px; margin-bottom: 0; }
.step-arrow {
  display: none;
}

/* ---------------- Role sections ---------------- */
.role-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.role-block + .role-block { margin-top: 120px; }
.role-block.reverse .role-visual { order: 2; }
.role-block.reverse .role-copy { order: 1; }

.role-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.role-tag.tag-delegado { background: #fff1d9; color: var(--color-primary-darker); }
.role-tag.tag-runner { background: #fdeaf1; color: var(--color-accent-dark); }
.role-tag.tag-admin { background: var(--color-chip); color: #5a3e91; }

.role-copy h3 { font-size: clamp(24px, 3vw, 32px); }
.role-copy > p { font-size: 16.5px; margin-bottom: 28px; }

.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--color-text);
}
.feature-list .fi {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  margin-top: 1px;
}
.feature-list li b { display: block; font-weight: 700; margin-bottom: 2px; }
.feature-list li span.desc { color: var(--color-text-muted); font-size: 14.5px; }

.role-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.role-visual .phone-stack { position: relative; }
.role-visual .phone-stack .phone:nth-child(2) {
  position: absolute;
  top: 46px;
  left: 128px;
  transform: rotate(8deg);
  z-index: 0;
  opacity: .95;
}
.role-visual .phone-stack .phone:first-child { position: relative; z-index: 1; }

.mini-stat-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  font-family: var(--font-display);
  z-index: 3;
}
.mini-stat-float .num { font-size: 22px; font-weight: 800; color: var(--color-primary-darker); }
.mini-stat-float .lbl { font-size: 11.5px; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ---------------- Eventos zone (social) ---------------- */
.eventos-hero {
  background: linear-gradient(160deg, #2a1440 0%, #4a1f57 45%, var(--color-primary-darker) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 72px;
}
.eventos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,165,24,.35), transparent 55%);
}
.eventos-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.eventos-hero .eyebrow { background: rgba(255,255,255,.14); color: #ffd9a0; }
.eventos-hero h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; }
.eventos-hero p { color: rgba(255,255,255,.82); font-size: 17px; }

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.event-card .shot {
  aspect-ratio: 9/13;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.event-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.event-card .body { padding: 20px 22px 24px; }
.event-card .body h4 { font-size: 16.5px; margin-bottom: 6px; }
.event-card .body p { font-size: 14px; margin-bottom: 0; }
.event-card .chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.chip-social { background: #fdeaf1; color: var(--color-accent-dark); }
.chip-result { background: var(--color-success-bg); color: var(--color-success); }
.chip-medal { background: var(--color-warning-bg); color: #92670a; }

/* ---------------- Admin web panel (Mac monitor carousel) ---------------- */
.webpanel-carousel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}

.webpanel-nav-list { display: flex; flex-direction: column; gap: 10px; }
.webpanel-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.webpanel-nav-item:hover { background: var(--color-surface-alt); }
.webpanel-nav-item.is-active {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.webpanel-nav-item .fi {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-top: 1px;
}
.webpanel-nav-item b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; margin-bottom: 2px; color: var(--color-text); }
.webpanel-nav-item span.desc { color: var(--color-text-muted); font-size: 14px; line-height: 1.5; }

.webpanel-stage { position: relative; }

.mac-monitor { max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }
.mac-frame {
  background: linear-gradient(155deg, #2a2a30, #17171b);
  border-radius: 16px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-lg);
}
.mac-camera {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px #333;
  margin: 0 auto 10px;
}
.mac-screen {
  position: relative;
  aspect-ratio: 19 / 10;
  border-radius: 5px;
  overflow: hidden;
  background: #0f1225;
}
.mac-screen img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom center;
  opacity: 0;
  transition: opacity .45s ease;
}
.mac-screen img.is-active { opacity: 1; }
.mac-stand-neck {
  width: 90px;
  height: 46px;
  margin: 0 auto;
  background: linear-gradient(155deg, #2a2a30, #17171b);
  clip-path: polygon(38% 0, 62% 0, 82% 100%, 18% 100%);
}
.mac-stand-base {
  width: 230px;
  height: 14px;
  margin: 0 auto;
  border-radius: 8px;
  background: linear-gradient(155deg, #2a2a30, #17171b);
  box-shadow: var(--shadow-md);
}

.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.carousel-arrow:hover { background: var(--color-primary); color: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.carousel-dots .dot.is-active { background: var(--color-primary-dark); transform: scale(1.25); }

/* ---------------- Admin / dashboard section ---------------- */
.admin-panel {
  background: var(--color-text);
  background: linear-gradient(160deg, #1c1712, #2d2015);
  border-radius: var(--radius-lg);
  padding: 4px;
  box-shadow: var(--shadow-lg);
}
.admin-panel-inner {
  background: var(--color-bg);
  border-radius: calc(var(--radius-lg) - 4px);
  padding: 40px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.admin-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
}
.metric-card span { font-size: 13px; color: var(--color-text-muted); font-weight: 600; }
.metric-card.m-pink strong { color: var(--color-accent); }
.metric-card.m-orange strong { color: var(--color-primary-dark); }
.metric-card.m-green strong { color: var(--color-success); }
.metric-card.m-purple strong { color: #7a4fc9; }

/* ---------------- Gallery / carousel by tabs ---------------- */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.tab-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: all .18s ease;
}
.tab-btn.is-active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: translateY(0);} }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.shot-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.shot-card .shot { aspect-ratio: 9/18; overflow: hidden; }
.shot-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-card .cap { padding: 14px 16px; font-size: 13.5px; font-weight: 600; text-align: center; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 55%, var(--color-accent-dark) 130%);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><circle cx="4" cy="4" r="2.2" fill="white" opacity="0.18"/></svg>');
  opacity: .5;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 17px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { padding: 64px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand p { max-width: 280px; font-size: 14.5px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--color-text-muted); transition: color .15s ease; }
.footer-col a:hover { color: var(--color-primary-darker); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { margin: 0; font-size: 13.5px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--color-surface-alt);
  display: flex; align-items: center; justify-content: center;
}

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .role-block { grid-template-columns: 1fr; gap: 40px; }
  .role-block.reverse .role-visual { order: 1; }
  .role-block.reverse .role-copy { order: 2; }
  .admin-panel-inner { grid-template-columns: 1fr; }
  .eventos-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .webpanel-carousel { grid-template-columns: 1fr; gap: 40px; }
  .webpanel-stage { order: -1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline,
  .nav-cta .btn-primary { display: none; }
  .steps { grid-template-columns: 1fr; }
  .eventos-grid { grid-template-columns: 1fr 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
  .eventos-hero { padding: 40px 26px; }
  .cta-banner { padding: 52px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 128px; }
  .hero-visual .phone-back { display: none; }
  .hero-badge-float { display: none; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 17px; }
  .carousel-arrow.prev { left: 4px; }
  .carousel-arrow.next { right: 4px; }
}

@media (max-width: 520px) {
  .eventos-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .mac-stand-base { width: 170px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 21, .5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 84vw);
  height: 100%;
  background: var(--color-bg);
  padding: 28px 26px;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-panel a {
  padding: 14px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav-close {
  align-self: flex-end;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--color-chip);
  border: none;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  cursor: pointer;
}
