/* ===== SCROLLBAR ===== */
html, body {
  scrollbar-width: thin;
  scrollbar-color: #1AC0E8 transparent;
}
::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-corner {
  background: transparent !important;
  box-shadow: none !important;
}
::-webkit-scrollbar-thumb {
  background-color: #1AC0E8;
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #0B7FA3;
  background-clip: padding-box;
}

/* ===== TOKENS ===== */
:root {
  --color-primary: #1AC0E8;
  --color-primary-dark: #0B7FA3;
  --color-primary-text: #096285; /* AA-compliant (6.36:1) for small text on light bg */
  --color-secondary: #0D1B2A;
  --color-accent-metal: #94A3AD;
  --color-bg: #F5F8FA;
  --color-surface: #FFFFFF;
  --color-text: #0D1B2A;
  --color-text-muted: #4A5A66;
  --color-text-on-dark: #F5F8FA;
  --color-text-on-dark-muted: #9FB1BC;
  --color-border: #DCE4E8;
  --color-success: #22C55E;

  --font-body: 'Poppins', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
}

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

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.6s ease 0.15s;
}
.page-loader.loader-zooming {
  background: transparent;
  pointer-events: none;
}
.page-loader.loader-hidden {
  opacity: 0;
  pointer-events: none;
}
body.loader-active { overflow: hidden; }

.loader-zooming .pc-loader {
  animation: pc-loader-zoom-out 0.75s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
@keyframes pc-loader-zoom-out {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-zooming .pc-loader { animation: none; }
}

.pc-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.pc-loader-svg { display: block; width: min(320px, 70vw); height: auto; }
.pc-loader-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  opacity: 0;
  animation: pc-label-fade 0.6s ease 1.4s forwards;
}

.pc-loader-text {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: pc-text-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes pc-text-draw {
  0% { stroke-dashoffset: 1400; fill: transparent; }
  75% { fill: transparent; }
  100% { stroke-dashoffset: 0; fill: url(#pcloader-grad); }
}
@keyframes pc-label-fade {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-loader-text { animation: none; stroke-dashoffset: 0; fill: url(#pcloader-grad); }
  .pc-loader-label { animation: none; opacity: 1; }
  .page-loader { transition: none; }
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
  background: repeating-linear-gradient(45deg, #DCE9EE, #DCE9EE 10px, #CFE0E7 10px, #CFE0E7 20px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-height: 180px;
}
.placeholder-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.placeholder-img::after {
  content: attr(data-placeholder);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  background: rgba(255,255,255,0.85);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  max-width: 80%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 8px 24px rgba(26,192,232,0.28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(26,192,232,0.38); }

.btn-outline {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: rgba(26,192,232,0.1); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.btn-outline-dark:hover { background: rgba(13,27,42,0.06); }

.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-secondary);
  border-bottom: 1px solid rgba(26,192,232,0.25);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 76px;
}
.logo { display: flex; align-items: center; height: 76px; }
.logo img { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.main-nav a {
  color: var(--color-text-on-dark-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a.header-cta,
.main-nav a.header-cta:hover { color: var(--color-secondary); }
.header-cta { padding: 10px 22px; font-size: 13px; }
.main-nav .mobile-only-cta { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; z-index: 110;
}
.hamburger span {
  width: 26px; height: 3px; background: var(--color-primary);
  border-radius: 3px; transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== SECTION BASE ===== */
.section { padding: 88px 0; }
.section-light { background: var(--color-bg); color: var(--color-text); }
.section-dark { background: var(--color-secondary); color: var(--color-text-on-dark); }
.section-surface { background: var(--color-surface); color: var(--color-text); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-text);
  margin-bottom: var(--sp-3);
}
.section-dark .eyebrow,
.cta-final-section .eyebrow { color: var(--color-primary); }

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
  max-width: 720px;
}
.section-dark .section-title { color: var(--color-text-on-dark); }

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: var(--sp-7);
  line-height: 1.6;
}
.section-dark .section-subtitle { color: var(--color-text-on-dark-muted); }

.section-header-center { text-align: center; margin: 0 auto var(--sp-7); }
.section-header-center .section-title,
.section-header-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== HERO ===== */
.hero {
  background: var(--color-secondary);
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(76px + var(--sp-7)) 0 var(--sp-8);
  box-sizing: border-box;
}
.hero > .container { width: 100%; flex-shrink: 0; }

@media (min-width: 901px) {
  .hero {
    min-height: 90vh;
    min-height: 90svh;
    min-height: 90dvh;
    padding: calc(76px + var(--sp-5)) 0 var(--sp-5);
  }
}
@media (min-width: 901px) and (max-height: 760px) {
  .hero-badges { gap: var(--sp-2); margin-bottom: var(--sp-5); }
  .hero-subtitle { margin-bottom: var(--sp-5); }
  .hero-eyebrow { margin-bottom: var(--sp-4); }
}
.cursor-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.cursor-grid__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.click-spark-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(26,192,232,0.12);
  border: 1px solid rgba(26,192,232,0.35);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--sp-5);
}
.hero-title {
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw + 1rem, 3.4rem);
  line-height: 1.18;
  color: var(--color-text-on-dark);
  margin-bottom: var(--sp-5);
  max-width: 18ch;
}
.hero-title .hl { color: var(--color-primary); }

/* ===== SPLIT-FLAP TITLE ===== */
.split-flap-title .flap-word {
  display: inline-block;
  white-space: nowrap;
}
.split-flap-title .flap-char {
  display: inline-block;
  position: relative;
}
.split-flap-title .flap-char .flap-tile {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0 1px;
}
.split-flap-title.flap-settled .flap-char .flap-tile {
  background: transparent;
  border-color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-on-dark-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 46ch;
}
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-on-dark);
  font-weight: 500;
}
.hero-badge svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 520px;
}

/* ===== TRUST (Por que confiar) ===== */
.trust-section { position: relative; }
.trust-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  max-width: 800px;
  margin: 0 auto var(--sp-6);
}
.trust-bullet {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(26,192,232,0.18);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}
.trust-bullet svg { width: 26px; height: 26px; color: var(--color-primary); flex-shrink: 0; }
.trust-bullet p { font-size: 15px; color: var(--color-text-on-dark); line-height: 1.5; }
.trust-footnote { text-align: center; font-size: 13.5px; color: var(--color-primary); font-weight: 600; }

@media (min-width: 700px) {
  .trust-bullets { grid-template-columns: 1fr 1fr; }
}

/* ===== PC GAMER ===== */
.gamer-section { background: linear-gradient(135deg, #0D1B2A 0%, #143A52 60%, #0D1B2A 100%); position: relative; overflow: hidden; }
.gamer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); align-items: center; }
.gamer-badge {
  display: inline-block;
  background: rgba(26,192,232,0.12);
  border: 1px solid rgba(26,192,232,0.35);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--sp-4);
}
.gamer-body p { font-size: 16px; color: var(--color-text-on-dark-muted); line-height: 1.7; max-width: 50ch; margin-bottom: var(--sp-3); }
.gamer-highlight { font-size: 14.5px; color: var(--color-primary); font-weight: 600; margin-bottom: var(--sp-6); max-width: 46ch; }
.gamer-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.gamer-gallery .placeholder-img { aspect-ratio: 1/1; min-height: 0; }
.gamer-gallery .placeholder-img:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }

/* ===== DIAGNOSTIC STEPS (dot + line timeline, matches .about-timeline) ===== */
.steps-list { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 0 auto; }
.step-item { display: flex; gap: var(--sp-5); padding: var(--sp-6) 0; border-top: 1px solid var(--color-border); }
.step-item:last-child { border-bottom: 1px solid var(--color-border); }
.step-marker { flex-shrink: 0; }
.step-number {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary-dark);
}
.step-content { padding-top: 4px; }
.step-content h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.6; max-width: 56ch; }
.step-content .step-tag {
  display: inline-block;
  margin-top: var(--sp-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary-text);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
}

@media (min-width: 1100px) {
  .steps-list { flex-direction: row; align-items: stretch; max-width: none; gap: 0; }
  .step-item {
    flex-direction: column;
    flex: 1;
    gap: var(--sp-6);
    padding: 0 var(--sp-5) 0 0;
    border-top: none;
    border-bottom: none;
    position: relative;
  }
  .step-item::before {
    content: '';
    position: absolute;
    left: 0; right: var(--sp-5);
    top: 56px;
    height: 1px;
    background: var(--color-border);
    z-index: 0;
  }
  .step-item::after {
    content: '';
    position: absolute;
    left: 0; top: 56px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translate(-3px, -3px);
    z-index: 1;
  }
  .step-item:last-child::before { right: 0; }
  .step-marker { position: relative; z-index: 1; background: var(--color-surface); padding-right: var(--sp-3); width: fit-content; }
  .step-content { padding-top: 0; }
  .step-content p, .step-content h3 { max-width: none; }
}

/* ===== SERVICES CAROUSEL (infinite auto-scroll) ===== */
.services-carousel {
  position: relative;
  padding: 0 var(--sp-4);
}
.services-carousel-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
@media (min-width: 600px) {
  .services-carousel { padding: 0 var(--sp-7); }
  .services-carousel-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  }
}
.services-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--sp-5);
  padding: var(--sp-2) 0 var(--sp-4);
  width: max-content;
  will-change: transform;
  cursor: grab;
}
.services-carousel-track.is-dragging { cursor: grabbing; }
.services-carousel-track.is-dragging .service-card { pointer-events: none; }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  flex: 0 0 78vw;
  max-width: 300px;
}
@media (min-width: 600px) {
  .service-card { flex-basis: 300px; }
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,27,42,0.12); }
.service-card .placeholder-img { border-radius: 0; aspect-ratio: 3/4; min-height: 0; overflow: hidden; flex-shrink: 0; }
.service-card-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 168px; }
.service-card-body h3 { font-size: 16px; font-weight: 700; transition: color 0.3s ease; }
.service-card:hover .service-card-body h3 { color: var(--color-primary-dark); }
.service-hook { font-size: 13px; color: var(--color-primary-text); font-weight: 600; }
.service-card-body p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.55; }
.service-card-cta {
  margin: var(--sp-1) var(--sp-4) var(--sp-4);
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(26,192,232,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26,192,232,0.32); }
.service-card-cta svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.service-card-cta:hover svg { transform: translateX(4px); }

.services-carousel-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13,27,42,0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.services-carousel-arrow svg { width: 20px; height: 20px; }
.services-carousel-arrow:hover { background: var(--color-primary); color: var(--color-secondary); transform: translateY(-50%) scale(1.06); box-shadow: 0 10px 24px rgba(26,192,232,0.3); }
.services-carousel-arrow--prev { left: 0; }
.services-carousel-arrow--next { right: 0; }
@media (max-width: 599px) {
  .services-carousel-arrow { display: none; }
}

/* ===== CAROUSEL ===== */
/* ===== REVIEWS VERTICAL COLUMNS ===== */
.reviews-columns-wrap {
  display: flex;
  justify-content: center;
  gap: var(--sp-5);
  height: 640px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}
.reviews-column {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  width: 320px;
  flex-shrink: 0;
  animation: reviews-scroll-up linear infinite;
  animation-duration: 30s;
}
.reviews-column--tablet { display: none; }
.reviews-column--desktop { display: none; }

@keyframes reviews-scroll-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (min-width: 640px) {
  .reviews-column--tablet { display: flex; }
}
@media (min-width: 980px) {
  .reviews-column--desktop { display: flex; }
}
@media (max-width: 639px) {
  .reviews-columns-wrap { height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-column { animation: none; }
}

/* ===== REVIEW CARD ===== */
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: 0 8px 24px rgba(13,27,42,0.06);
}
.review-stars { display: flex; gap: 2px; color: #F5A623; }
.review-stars svg { width: 16px; height: 16px; }
.review-text { font-size: 14.5px; color: var(--color-text); line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.review-author-name { font-size: 13.5px; font-weight: 600; }
.review-author-meta { font-size: 12px; color: var(--color-text-muted); }

.rating-highlight {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin: 0 auto var(--sp-7);
  max-width: 480px;
  width: fit-content;
}
.rating-number { font-size: 40px; font-weight: 800; color: var(--color-secondary); line-height: 1; }
.rating-highlight-text { font-size: 13.5px; color: var(--color-text-muted); }
.rating-highlight .review-stars svg { width: 18px; height: 18px; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
.gallery-grid .placeholder-img { aspect-ratio: 1/1; min-height: 0; border-radius: var(--radius-md); }

/* ===== MEDIA GALLERY (dobra 8) ===== */
.media-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.media-gallery-group { display: flex; flex-direction: column; gap: var(--sp-4); }
.media-gallery-big { aspect-ratio: 16/10; min-height: 0; }
.media-gallery-small-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.media-gallery-small-row .placeholder-img { aspect-ratio: 1/1; min-height: 0; }

@media (min-width: 700px) {
  .media-gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== DIFERENCIAIS ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.diff-item { display: flex; gap: var(--sp-4); }
.diff-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(26,192,232,0.12); border: 1px solid rgba(26,192,232,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.diff-icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.diff-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; color: var(--color-text-on-dark); }
.diff-item p { font-size: 14px; color: var(--color-text-on-dark-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== LOCATION ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}
.location-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; }
.location-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.location-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.location-row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.location-row svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.location-row h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.location-row p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }
.location-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-2); }

/* ===== QUEM SOMOS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.about-image { aspect-ratio: 4/5; max-height: 480px; width: auto; max-width: 100%; margin: 0 auto; }
.about-text p { font-size: 15.5px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--sp-4); }
.about-text p:last-of-type { margin-bottom: var(--sp-6); }

@media (min-width: 900px) {
  .about-image-wrap { position: sticky; top: calc(76px + var(--sp-6)); }
}

/* ===== TI UNLOCKER ===== */
.unlocker-section {
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(26,192,232,0.12), transparent 60%),
    var(--color-secondary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26,192,232,0.18);
}
.unlocker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
.unlocker-grid-text { display: flex; flex-direction: column; justify-content: center; }

.unlocker-text-boxes {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.unlocker-text-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(159,177,188,0.18);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}
.unlocker-text-box p {
  color: var(--color-text-on-dark-muted);
  font-size: 15px;
  line-height: 1.7;
}

.unlocker-method-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% 100%, rgba(26,192,232,0.1), transparent 60%),
    #0A1622;
  border-top: 1px solid rgba(26,192,232,0.18);
}
.unlocker-method-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); align-items: center; margin-bottom: var(--sp-8); }

.unlocker-list { display: flex; flex-direction: column; gap: var(--sp-4); margin: var(--sp-6) 0; }
.unlocker-list-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.unlocker-list-item svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.unlocker-list-item p { font-size: 15px; color: var(--color-text-on-dark); line-height: 1.5; }

/* ===== UNLOCKER PART LABEL ===== */
.unlocker-part-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
}

/* ===== UNLOCKER STATS ===== */
.unlocker-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-6) auto 0;
  max-width: 960px;
}
.unlocker-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(26,192,232,0.2);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
}
.unlocker-stat-number { font-size: clamp(1.4rem, 1.5vw + 1rem, 1.9rem); font-weight: 800; color: var(--color-primary); line-height: 1.1; margin-bottom: 4px; }
.unlocker-stat-label { font-size: 12.5px; color: var(--color-text-on-dark-muted); line-height: 1.4; }

/* ===== UNLOCKER PART 3 (fit-checklist) ===== */
.unlocker-fit-section {
  background:
    radial-gradient(ellipse 900px 500px at 15% 100%, rgba(26,192,232,0.12), transparent 60%),
    var(--color-secondary);
  border-top: 1px solid rgba(26,192,232,0.18);
}
.unlocker-fit-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); align-items: center; }
.unlocker-fit-list { display: flex; flex-direction: column; gap: var(--sp-3); margin: var(--sp-6) 0; }
.unlocker-fit-item {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.unlocker-fit-item svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.unlocker-fit-item p { font-size: 14.5px; color: var(--color-text-on-dark); line-height: 1.5; }

/* ===== FORM ===== */
.form-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--color-text); }
.form-group input {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s;
}
.form-group input:focus { outline: none; border-color: var(--color-primary); }

/* Custom select */
.custom-select { position: relative; }
.custom-select-trigger {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-text);
  background: var(--color-bg);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; width: 100%;
}
.custom-select-trigger.placeholder-text { color: var(--color-text-muted); }
.custom-select-trigger svg { width: 16px; height: 16px; transition: transform 0.2s; color: var(--color-text-muted); }
.custom-select.open .custom-select-trigger svg { transform: rotate(180deg); }
.custom-select.open .custom-select-trigger { border-color: var(--color-primary); }
.custom-select-options {
  list-style: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(13,27,42,0.14);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 20;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}
.custom-select.open .custom-select-options { max-height: 280px; opacity: 1; overflow-y: auto; }
.custom-select-options li {
  padding: 12px 16px; font-size: 14px; cursor: pointer; transition: background 0.15s;
}
.custom-select-options li:hover,
.custom-select-options li.active { background: rgba(26,192,232,0.12); color: var(--color-primary-dark); font-weight: 600; }
.select-native-hidden { opacity: 0; position: absolute; pointer-events: none; height: 0; width: 0; }

.form-privacy { font-size: 12.5px; color: var(--color-text-muted); display: flex; align-items: center; gap: 8px; }
.form-privacy svg { width: 16px; height: 16px; color: var(--color-success); flex-shrink: 0; }
.form-alt-cta { text-align: center; margin-top: var(--sp-2); }

.form-side { display: flex; flex-direction: column; justify-content: center; }

/* ===== ABOUT TIMELINE ===== */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-8);
}
.about-timeline-item {
  display: flex;
  align-items: baseline;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--color-border);
}
.about-timeline-item:last-child { border-bottom: 1px solid var(--color-border); }
.about-timeline-year {
  flex-shrink: 0;
  width: 78px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary-dark);
}
.about-timeline-text { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.6; }

@media (min-width: 700px) {
  .about-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6) var(--sp-6); }
  .about-timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-7) var(--sp-5) 0 0;
    border-top: none;
    border-bottom: none;
    position: relative;
  }
  .about-timeline-item::before {
    content: '';
    position: absolute;
    left: 0; right: calc(var(--sp-6) * -1 + var(--sp-5));
    top: 26px;
    height: 1px;
    background: var(--color-border);
  }
  .about-timeline-item::after {
    content: '';
    position: absolute;
    left: 0; top: 26px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translate(-3px, -3px);
    z-index: 1;
  }
  .about-timeline-item:nth-child(3n)::before { right: 0; }
  .about-timeline-year { width: auto; font-size: 32px; letter-spacing: 0.01em; }
}

@media (min-width: 1200px) {
  .about-timeline { grid-template-columns: repeat(6, 1fr); }
  .about-timeline-item:nth-child(3n)::before { right: calc(var(--sp-6) * -1 + var(--sp-5)); }
  .about-timeline-item:nth-child(6n)::before { right: 0; }
}
.about-pivot {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--sp-4);
  margin-top: var(--sp-2);
  max-width: 52ch;
}

/* ===== FAQ ===== */
.faq-tabs-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(13,27,42,0.06);
  overflow: hidden;
}
.faq-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.faq-tab {
  padding: var(--sp-5) var(--sp-4);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.faq-tab:hover { color: var(--color-text); }
.faq-tab.active { color: var(--color-primary-dark); background: var(--color-surface); }
.faq-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--color-primary);
}
.faq-panel { display: none; padding: var(--sp-3) var(--sp-6) var(--sp-5); }
.faq-panel.active { display: block; }

.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; color: var(--color-text);
}
.faq-question svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-primary); transition: transform 0.25s ease; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 var(--sp-4) var(--sp-5) 0; font-size: 14px; color: var(--color-text-muted); line-height: 1.6; max-width: 68ch; }
.faq-answer-inner p { margin-bottom: var(--sp-3); }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul { padding-left: var(--sp-5); margin-bottom: var(--sp-3); }
.faq-answer-inner li { margin-bottom: 4px; }
.faq-cta { text-align: center; margin-top: var(--sp-7); }

@media (max-width: 560px) {
  .faq-tab { font-size: 13px; padding: var(--sp-4) var(--sp-2); }
  .faq-panel { padding: var(--sp-2) var(--sp-4) var(--sp-4); }
}

/* ===== FOOTER ===== */
.site-footer { position: relative; background: var(--color-secondary); color: var(--color-text-on-dark); padding-top: var(--sp-8); overflow: hidden; }
.footer-waves-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.15; }
.site-footer > .container,
.footer-signature { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 32px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: 13.5px; color: var(--color-text-on-dark-muted); line-height: 1.6; max-width: 30ch; }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-primary); margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--color-text-on-dark-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--color-primary); }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-2); }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  color: var(--color-text-on-dark-muted);
}
.footer-social a:hover { background: var(--color-primary); color: var(--color-secondary); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: var(--sp-3);
  padding: var(--sp-5) 0;
  font-size: 12.5px; color: var(--color-text-on-dark-muted);
  text-align: center;
}
.footer-signature { text-align: center; padding: var(--sp-4) 0; font-size: 13px; color: var(--color-text-on-dark-muted); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-signature a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.footer-signature a:hover { text-decoration: underline; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }

/* ===== CTA FINAL (dobra 14) ===== */
.cta-final-section { background: linear-gradient(135deg, var(--color-secondary) 0%, #143A52 100%); }
.cta-final-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); max-width: 900px; margin: 0 auto; }
.cta-final-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(26,192,232,0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cta-final-card:hover { transform: translateY(-4px); border-color: rgba(26,192,232,0.5); }
.cta-final-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: rgba(26,192,232,0.12); border: 1px solid rgba(26,192,232,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2);
}
.cta-final-icon svg { width: 26px; height: 26px; color: var(--color-primary); }
.cta-final-card h3 { font-size: 19px; font-weight: 700; color: var(--color-text-on-dark); }
.cta-final-card p { font-size: 14.5px; color: var(--color-text-on-dark-muted); line-height: 1.6; margin-bottom: var(--sp-2); max-width: 32ch; }
.cta-final-card .btn { align-self: center; }

/* ===== DESKTOP BREAKPOINTS ===== */
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .unlocker-grid { grid-template-columns: 1fr 1fr; }
  .unlocker-method-grid { grid-template-columns: 1fr 1fr; }
  .form-section-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 0.9fr 1.1fr; }
  .gamer-grid { grid-template-columns: 1fr 1fr; }
  .unlocker-fit-grid { grid-template-columns: 1fr 1fr; }
  .unlocker-stats { grid-template-columns: repeat(4, 1fr); }
  .faq-two-col { grid-template-columns: 1fr 1fr; }
  .cta-final-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--color-secondary); flex-direction: column; padding: var(--sp-6) var(--sp-5); gap: var(--sp-5); transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 17px; }
  .hamburger { display: flex; }
  .header-cta.desktop-only { display: none; }
  .main-nav .mobile-only-cta { display: inline-flex; margin-top: var(--sp-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-highlight { flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3); }
  .unlocker-stats { grid-template-columns: 1fr 1fr; }
  .gamer-gallery { grid-template-columns: 1fr; }
  .gamer-gallery .placeholder-img:first-child { grid-column: span 1; }
}
