/* ============================================
   Click Marketing — Global Styles
   ============================================ */

:root {
  --black: #0A0A0A;
  --pure-black: #000000;
  --yellow: #D4FF00;
  --yellow-soft: #E8FF66;
  --white: #FFFFFF;
  --gray-900: #1A1A1A;
  --gray-800: #2A2A2A;
  --gray-500: #6B6B6B;
  --gray-300: #BFBFBF;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --border: #ECECEC;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-sm: 0 1px 2px rgba(10,10,10,0.04);
  --shadow: 0 2px 12px rgba(10,10,10,0.05);
  --shadow-lg: 0 12px 40px rgba(10,10,10,0.08);

  --font-sans: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* Custom cursor on devices that support hover */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, select, textarea, [role="button"], .clickable { cursor: none; }
}

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

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

button { font: inherit; color: inherit; background: none; border: none; }

::selection { background: var(--yellow); color: var(--black); }

/* ============================================
   Layout helpers
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
}

.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.tight-top { padding-top: clamp(24px, 3vw, 48px); }

.section.dark {
  background: var(--black);
  color: var(--white);
}

.section.gray { background: var(--gray-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(212,255,0,0.18);
}

.dark .eyebrow { color: var(--gray-300); }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
  padding-bottom: 0.12em;
}

.h-display {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  padding-bottom: 0.14em;
}

.h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  padding-bottom: 0.14em;
}

.h2 {
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-bottom: 0.14em;
}

.h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--gray-800);
  font-weight: 400;
  text-wrap: pretty;
  max-width: 60ch;
}

.dark .lead { color: var(--gray-300); }

.muted { color: var(--gray-500); }
.dark .muted { color: var(--gray-300); }

.accent { color: var(--yellow); }

.mark {
  background: var(--yellow);
  color: var(--black);
  padding: 0 0.15em;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  isolation: isolate;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--black);
  color: var(--yellow);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--yellow);
  color: var(--black);
}

.btn-outline {
  border-color: var(--border);
  color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}

.dark .btn-outline {
  border-color: rgba(255,255,255,0.18);
  color: var(--white);
}
.dark .btn-outline:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Ghost button — transparent, flips with header on-light/on-dark */
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid transparent;
  padding-inline: 18px;
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.06);
  color: var(--black);
}
.site-header:not(.on-light) .btn-ghost {
  color: var(--white);
}
.site-header:not(.on-light) .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.header-cta { display: flex; align-items: center; gap: 10px; }

/* Text-link button — visually lighter alternative to btn-outline */
.btn-textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 14px 4px;
  position: relative;
  transition: gap 0.2s var(--ease);
}
.btn-textlink.btn-lg {
  font-size: 17px;
  padding: 18px 4px;
}
.btn-textlink > span {
  position: relative;
  display: inline-block;
}
.btn-textlink > span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.btn-textlink:hover > span::after { transform: scaleX(1); }
.btn-textlink:hover { gap: 14px; }
.btn-textlink .btn-arrow { width: 16px; height: 16px; }
.btn-textlink:hover .btn-arrow { transform: translate(2px, -2px); transition: transform 0.2s var(--ease);
  border-color: var(--yellow);
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}
.text-link:hover { color: var(--gray-500); }
.dark .text-link { color: var(--white); }
.dark .text-link:hover { color: var(--yellow); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header.on-dark.scrolled {
  background: rgba(10,10,10,0.85);
  border-bottom-color: rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* Logo cursor + name — default white (over dark hero), flip black on light sections */
.site-header .logo {
  color: #FFFFFF;
  transition: color 0.25s ease;
}
.site-header.on-light .logo { color: #0A0A0A; }

.site-header .logo-mark path:last-child {
  transition: fill 0.25s ease, stroke 0.25s ease;
  fill: #FFFFFF;
  stroke: #0A0A0A;
}
.site-header.on-light .logo-mark path:last-child {
  fill: #0A0A0A;
  stroke: #FFFFFF;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.on-dark .nav {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.nav a {
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--gray-800);
  transition: all 0.2s var(--ease);
}

.on-dark .nav a { color: var(--gray-300); }

.nav a:hover { color: var(--black); }
.on-dark .nav a:hover { color: var(--white); }

.nav a.active {
  background: var(--black);
  color: var(--white);
}
.on-dark .nav a.active {
  background: var(--yellow);
  color: var(--black);
}

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta .btn-label-short { display: inline; }
  .header-cta .btn-label-long { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open { display: block; }
}

@media (min-width: 901px) {
  .btn-label-short { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: var(--gutter);
  right: var(--gutter);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover { background: var(--gray-100); }
.mobile-nav a.active { background: var(--black); color: var(--white); }

/* ============================================
   Hero - Home
   ============================================ */
.hero-home {
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 80% 30%, rgba(212,255,0,0.10), transparent 60%),
    radial-gradient(700px circle at 10% 90%, rgba(212,255,0,0.04), transparent 60%);
  pointer-events: none;
}

.hero-home .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-home .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
}

.hero-title {
  font-size: clamp(56px, 11vw, 156px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.22em; }
.hero-title .word {
  display: inline-block;
  animation: rise 0.9s var(--ease) both;
}
.hero-title .word.w2 { animation-delay: 0.08s; }
.hero-title .word.w3 { animation-delay: 0.16s; color: var(--yellow); font-style: italic; }

@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--gray-300);
  max-width: 48ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

/* Light-bg variant for sub-pages */
.hero-meta-light { color: var(--gray-800); margin-top: 56px; }

/* Visual cursor in hero */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.hero-visual svg { width: 100%; height: 100%; overflow: visible; }

.cursor-trail path { 
  fill: none; 
  stroke: var(--yellow); 
  stroke-width: 6; 
  stroke-linecap: round;
  filter: drop-shadow(0 0 16px rgba(212,255,0,0.4));
}

.cursor-trail .t1 { stroke-dasharray: 600; stroke-dashoffset: 600; animation: trail 2.2s var(--ease) 0.3s forwards; }
.cursor-trail .t2 { stroke-dasharray: 600; stroke-dashoffset: 600; animation: trail 2.2s var(--ease) 0.5s forwards; opacity: 0.6; }
.cursor-trail .t3 { stroke-dasharray: 600; stroke-dashoffset: 600; animation: trail 2.2s var(--ease) 0.7s forwards; opacity: 0.35; }

@keyframes trail { to { stroke-dashoffset: 0; } }

.cursor-arrow {
  animation: cursorFloat 4s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes cursorFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -8px); }
}

.hero-orbit {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-orbit.inner { inset: 22%; animation-duration: 40s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   Scroll-driven cursor (Hero Home)
   ============================================ */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-overlay-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero-path {
  transition: none;
}

.hero-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 88px;
  pointer-events: none;
  z-index: 5;
  will-change: transform, opacity;
  transform-origin: 12% 12%;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cursor svg { width: 100%; height: 100%; }

.click-flash {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #D4FF00 0%, rgba(212,255,0,0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  will-change: width, height, opacity;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: none;
  z-index: 6;
  will-change: transform, opacity;
  box-shadow: 0 0 12px rgba(212,255,0,0.6);
}

/* Ambient particle canvas (dark sections) */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* Hero content sits above the particle canvas. Keep absolutely-positioned
   children's positioning intact — only bump their stacking. */
.hero-home > .container,
.hero-sub-page > .container,
.final-cta > .container,
.site-footer > .container { position: relative; z-index: 2; }

.hero-home > .hero-overlay,
.hero-home > .hero-cursor,
.hero-home > .hero-visual,
.hero-home > .click-flash { z-index: 3; }
.hero-home > .hero-cursor { z-index: 4; }

/* Hide static cursor + trail + decorative visual once scroll-driven version takes over */
.hero-home.js-driven .hero-visual { display: none; }
.hero-home.js-driven .cursor-arrow,
.hero-home.js-driven .cursor-trail { display: none; }

.hero-path-bg {
  opacity: 0.15;
}

.hero-title .word.w3 {
  will-change: transform;
}

/* Variant switcher (dev tool) */
.variant-switcher {
  position: fixed;
  top: 84px;
  left: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.variant-switcher .vs-label {
  padding: 6px 8px 6px 10px;
  color: rgba(255,255,255,0.4);
  font-size: 9px;
}
.variant-switcher button {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: all 0.2s var(--ease);
}
.variant-switcher button:hover { color: var(--white); }
.variant-switcher button.active {
  background: var(--yellow);
  color: var(--black);
}

/* ============================================
   Hero - secondary (other pages)
   ============================================ */
.hero-sub-page {
  padding: 180px 0 80px;
  position: relative;
}

.hero-sub-page.dark {
  background: var(--black);
  color: var(--white);
}

.hero-sub-page .h-display {
  margin-bottom: 24px;
}

.hero-sub-page .lead {
  max-width: 56ch;
}

.hero-sub-page-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 800px) {
  .hero-sub-page-grid { grid-template-columns: 1fr; gap: 32px; }
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: var(--black);
  margin-bottom: 28px;
}

/* ============================================
   Marquee (clientes)
   ============================================ */
.marquee-wrap {
  border-block: 1px solid var(--border);
  padding-block: 28px;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.marquee {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--gray-500);
  white-space: nowrap;
  transition: color 0.2s;
}
.marquee-item:hover { color: var(--black); }
.marquee-item .glyph {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gray-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray-800);
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 32px)); }
}

/* ============================================
   Stats
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dark .stats { border-color: rgba(255,255,255,0.1); }

.stat {
  padding: clamp(28px, 4vw, 56px) clamp(20px, 2.5vw, 40px);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.dark .stat { border-color: rgba(255,255,255,0.1); }

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
}

.stat-num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.stat-num sup, .stat-num .sup {
  font-size: 0.4em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--yellow);
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: -0.005em;
  max-width: 28ch;
}
.dark .stat-label { color: var(--gray-300); }

/* ============================================
   Wireframe globe (decorative)
   ============================================ */
.globe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
  pointer-events: auto;
}
.globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.globe-wrap::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 255, 0, 0.08), rgba(212, 255, 0, 0) 70%);
  pointer-events: none;
}
.section-head.has-globe {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}
.section-head.has-globe .section-head-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 800px) {
  .section-head.has-globe { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 320px; margin-inline: auto; }
}

/* ============================================
   Service cards
   ============================================ */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.card {
  grid-column: span 4;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
}

.card.wide { grid-column: span 6; }
.card.full { grid-column: span 12; }

@media (max-width: 960px) {
  .card, .card.wide { grid-column: span 6; }
}
@media (max-width: 640px) {
  .card, .card.wide { grid-column: span 12; min-height: auto; }
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.card-icon svg { width: 28px; height: 28px; }

.card-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.card-desc {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--black);
  margin-top: auto;
}

.card-link svg {
  width: 16px; height: 16px;
  transition: transform 0.25s var(--ease);
}
.card:hover .card-link svg { transform: translate(3px, -3px); }

.card-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-300);
  letter-spacing: 0.08em;
}

/* ============================================
   Why us - 3 columns
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

.why-item {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.why-icon svg { width: 22px; height: 22px; }

.why-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.why-desc {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(80px, 10vw, 140px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 50% 100%, rgba(212,255,0,0.12), transparent 60%);
  pointer-events: none;
}

.final-cta .container { position: relative; z-index: 2; }

.final-cta .h1 { margin-bottom: 16px; max-width: 18ch; margin-inline: auto; }
.final-cta .lead {
  margin-inline: auto;
  margin-bottom: 36px;
  text-align: center;
  color: rgba(255,255,255,0.78);
  text-wrap: balance;
  position: relative;
}
/* Soften ambient particles behind CTA copy to keep text crisp */
.final-cta .particles-canvas { opacity: 0.45; }

.final-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Sobre — concept + values
   ============================================ */
.concept {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 800px) { .concept { grid-template-columns: 1fr; gap: 32px; } }

.concept-block p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--gray-800);
}
.concept-block p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  transition: all 0.3s var(--ease);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.value:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-4px);
}
.value:hover .value-num { color: var(--yellow); }
.value:hover .value-desc { color: var(--gray-300); }

.value-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.value-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 16px 0 12px;
}

.value-desc {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.5;
  transition: color 0.3s;
}

/* Team / office placeholder */
.team-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg,
      var(--gray-100) 0 24px,
      var(--gray-50) 24px 48px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image .placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ============================================
   Serviços page
   ============================================ */
.service-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  padding-block: clamp(60px, 8vw, 120px);
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse .service-text { order: 2; }
.service-row.reverse .service-visual { order: 1; }
@media (max-width: 900px) {
  .service-row, .service-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-row.reverse .service-text,
  .service-row.reverse .service-visual { order: initial; }
}

.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-num::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gray-300);
}

.service-text h2 {
  margin-bottom: 20px;
}

.service-text > p {
  font-size: 18px;
  color: var(--gray-800);
  margin-bottom: 28px;
  line-height: 1.55;
  max-width: 52ch;
}

.deliverables {
  list-style: none;
  margin-bottom: 32px;
}

.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
}

.deliverables li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 2px;
  margin-top: 6px;
  flex-shrink: 0;
  transform: rotate(45deg);
}

.service-visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
}

.service-visual.alt {
  background: var(--gray-100);
  color: var(--black);
  border: 1px solid var(--border);
}

.service-visual.yellow {
  background: var(--yellow);
  color: var(--black);
}

.sv-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.sv-glyph {
  align-self: center;
  margin: auto;
  width: 60%;
  max-width: 220px;
}

.sv-caption {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.sv-metric {
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  align-self: flex-start;
}

/* ============================================
   Contato
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.info-block:last-of-type { border-bottom: none; }

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}
.info-icon svg { width: 18px; height: 18px; }

.info-content { flex: 1; }
.info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.info-value {
  font-size: 16px;
  line-height: 1.45;
  color: var(--black);
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 8px;
}
.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all 0.2s;
}
.social:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}
.social svg { width: 16px; height: 16px; }

.map {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* form */
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}

.field label .req { color: var(--black); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--gray-300); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(212,255,0,0.25);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #E54B4B;
  box-shadow: 0 0 0 3px rgba(229,75,75,0.12);
}

.field .error-msg {
  display: none;
  font-size: 12.5px;
  color: #E54B4B;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.field.error .error-msg { display: block; }

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-disclaimer {
  font-size: 12.5px;
  color: var(--gray-500);
  max-width: 32ch;
}

.btn-submit {
  background: var(--yellow);
  color: var(--black);
  padding: 18px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s var(--ease);
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover { background: var(--black); color: var(--yellow); }

.form-success {
  display: none;
  background: var(--yellow);
  color: var(--black);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  align-items: center;
  gap: 14px;
}
.form-success.show { display: flex; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-block: 80px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-tag {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 12ch;
}
.footer-tag em { color: var(--yellow); font-style: italic; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--gray-300);
  font-size: 15px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer-socials .social {
  border-color: rgba(255,255,255,0.15);
  color: var(--yellow);
}
.footer-socials .social:hover {
  background: var(--yellow);
  color: var(--black);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-300);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-bottom a:hover { color: var(--yellow); }

/* ============================================
   Custom cursor
   ============================================ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
  display: none;
}

.custom-cursor.active { display: block; }
.custom-cursor.hover {
  width: 56px;
  height: 56px;
  background: var(--yellow);
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  display: none;
}
.custom-cursor-dot.active { display: block; }

/* On light sections, swap cursor to solid black (no blend mode) */
body.bg-light .custom-cursor,
.custom-cursor.on-light {
  background: #0A0A0A;
  mix-blend-mode: normal;
}
body.bg-light .custom-cursor.hover,
.custom-cursor.on-light.hover {
  background: #0A0A0A;
}
body.bg-light .custom-cursor-dot,
.custom-cursor-dot.on-light {
  background: #0A0A0A;
  mix-blend-mode: normal;
}

/* ============================================
   Animations on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.30s; }

/* ============================================
   Misc
   ============================================ */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Mobile fluidity — iPhone Pro Max + small Android
   ============================================ */

/* Touch devices: disable custom cursor, add tap highlight */
@media (hover: none) and (pointer: coarse) {
  body { cursor: default; }
  a, button, .card, .value, .social, .marquee-item { cursor: default; }
  .custom-cursor, .custom-cursor-dot { display: none !important; }
  a, button, [role="button"], .card, .value, .social {
    -webkit-tap-highlight-color: rgba(212,255,0,0.18);
  }
}

/* Phones (≤ 640px) */
@media (max-width: 640px) {
  :root { --gutter: 20px; }

  /* ── Header ── */
  .site-header { padding: 12px 0; }
  .site-header.scrolled { padding: 8px 0; }
  .header-inner { gap: 12px; }
  .logo span { font-size: 16px; }
  .logo-mark { width: 30px; height: 30px; }

  /* Compact CTAs: hide ghost panel button, keep only primary + menu */
  .header-cta .btn-ghost { display: none; }
  .header-cta { gap: 8px; }
  .header-cta .btn {
    padding: 10px 14px;
    font-size: 13.5px;
    gap: 6px;
  }
  .header-cta .btn-arrow { width: 14px; height: 14px; }

  .menu-toggle { width: 40px; height: 40px; }
  .mobile-nav { top: 64px; left: 16px; right: 16px; }
  .mobile-nav a { padding: 14px 16px; font-size: 15px; }

  /* ── Hero (home) ── */
  .hero-home { padding-top: 110px; padding-bottom: 56px; min-height: auto; }
  .hero-title { font-size: clamp(44px, 13vw, 72px); margin-bottom: 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn.btn-lg {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
    font-size: 15.5px;
  }
  .hero-actions .btn-textlink {
    width: 100%;
    justify-content: center;
    padding: 14px 4px;
  }
  .hero-meta {
    gap: 12px 18px;
    margin-top: 32px;
    font-size: 10.5px;
  }
  .hero-meta span { gap: 6px; }
  .hero-meta span::before { width: 5px; height: 5px; }

  /* ── Hero sub-pages ── */
  .hero-sub-page { padding: 130px 0 56px; }
  .hero-tag { font-size: 10.5px; padding: 6px 12px; margin-bottom: 18px; letter-spacing: 0.08em; }
  .h-display { font-size: clamp(40px, 11vw, 64px); padding-bottom: 0.12em; }
  .hero-meta-light { margin-top: 32px; }

  /* ── Sections / typography ── */
  .section { padding-block: clamp(56px, 12vw, 80px); }
  .section.tight { padding-block: clamp(40px, 8vw, 56px); }
  .section-head { gap: 16px; margin-bottom: 32px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .lead { font-size: 16px; }

  /* ── Stats ── */
  .stat { padding: 28px 22px; }
  .stat-num { font-size: clamp(40px, 14vw, 56px); }
  .stat-num sup, .stat-num .sup { font-size: 0.35em; }
  .stat-label { font-size: 13.5px; }

  /* ── Cards ── */
  .cards-grid { gap: 14px; }
  .card { padding: 24px; min-height: auto; gap: 14px; }
  .card-title { font-size: 19px; }
  .card-desc { font-size: 14.5px; }
  .card-icon { width: 48px; height: 48px; border-radius: 12px; }
  .card-icon svg { width: 24px; height: 24px; }
  .card-number { top: 20px; right: 22px; font-size: 11px; }

  /* ── Why grid ── */
  .why-item { padding: 32px 24px; }
  .why-title { font-size: 19px; }
  .why-desc { font-size: 14.5px; }

  /* ── Final CTA ── */
  .final-cta { padding-block: clamp(64px, 14vw, 100px); }
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .final-cta-actions .btn.btn-lg {
    width: 100%;
    justify-content: center;
  }
  .final-cta-actions .btn-textlink {
    width: 100%;
    justify-content: center;
    padding: 14px 4px;
  }

  /* ── Marquee ── */
  .marquee-item { font-size: 18px; }
  .marquee-item .glyph { width: 26px; height: 26px; }
  .marquee-wrap { padding-block: 24px; }
  .marquee-label { font-size: 11px; margin-bottom: 18px; }
  .marquee { gap: 48px; }

  /* ── Service rows ── */
  .service-row, .service-row.reverse {
    gap: 28px !important;
    padding-block: clamp(48px, 12vw, 80px);
  }
  .service-text > p { font-size: 15.5px; }
  .service-visual { padding: 24px; aspect-ratio: auto; min-height: 320px; }
  .sv-metric { font-size: clamp(48px, 16vw, 80px); }
  .service-num { font-size: 12px; }
  .deliverables li { font-size: 14.5px; gap: 12px; padding: 9px 0; }

  /* ── Globe wrapper ── */
  .globe-wrap { max-width: 260px; }

  /* ── Sobre values grid ── */
  .value { padding: 22px; min-height: auto; }
  .value-name { font-size: 24px; }

  /* ── Concept (sobre) ── */
  .concept-block p { font-size: 16.5px; }

  /* ── Contato page ── */
  .contact-grid { gap: 32px; }
  .info-block { gap: 14px; padding-bottom: 20px; }
  .info-value { font-size: 15px; }
  .map { aspect-ratio: 4/3; }

  /* ── Forms (prevent iOS zoom on focus) ── */
  .field input,
  .field select,
  .field textarea,
  .login-input-wrap input {
    font-size: 16px !important;
  }
  .field input,
  .field select,
  .field textarea { padding: 14px 14px; }
  .form { padding: 28px 22px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .btn-submit { min-width: 0; width: 100%; padding: 16px 24px; }
  .form-disclaimer { max-width: 100%; text-align: center; }

  /* ── Footer ── */
  .site-footer { padding-block: 64px 28px; }
  .footer-grid { gap: 36px; padding-bottom: 40px; }
  .footer-tag { font-size: 26px; }
  .footer-bottom { font-size: 12px; }

  /* ── Política de privacidade ── */
  .policy-hero { padding: 120px 0 24px; }
  .policy-hero-meta { gap: 16px; font-size: 11px; }
  .policy-body { padding: 24px 0 80px; }
  .policy-body .container { gap: 28px; }
  .policy-toc { padding: 20px; }
  .policy-toc a { padding: 8px 0; }
  .policy-section { margin-bottom: 44px; }
  .policy-section h2 { font-size: 22px; }
  .policy-section h3 { font-size: 16px; }
  .policy-section p { font-size: 15px; }
  .policy-section ul li { font-size: 15px; padding-left: 24px; }
  .policy-intro { padding: 20px 22px; font-size: 16px; margin-bottom: 36px; }
  .policy-info-card { padding: 20px 22px; }
  .rights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .right-item { padding: 14px; }
  .right-item h4 { font-size: 13.5px; margin-bottom: 4px; }
  .right-item p { font-size: 12.5px; line-height: 1.45; }
  .right-item-number { font-size: 10px; margin-bottom: 6px; }

  /* ── Trafego-pago landing ── */
  .tp-hero { padding: 130px 0 64px; }
  .tp-hero-grid { gap: 28px; }
  .tp-breadcrumb { font-size: 11px; margin-bottom: 22px; }
  .tp-meta { padding: 22px; gap: 16px; border-radius: var(--radius); }
  .tp-meta-row { padding-bottom: 12px; gap: 12px; }
  .tp-meta-label { font-size: 10.5px; }
  .tp-meta-value { font-size: 16px; }
  .tp-step { padding: 28px 22px; min-height: auto; }
  .tp-step-title { font-size: 18px; }
  .tp-step-desc { font-size: 14px; }
  .tp-deliverable { font-size: 14.5px; padding: 12px 0; }
  .tp-plan { padding: 36px 24px; border-radius: var(--radius); }
  .tp-plan-name { font-size: 26px; }
  .tp-plan-sub { font-size: 15px; margin-bottom: 28px; }
  .tp-plan-price-value { font-size: clamp(48px, 14vw, 72px); }
  .tp-plan-price-suffix { font-size: 15px; }
  .tp-plan-details { margin: 24px 0; }
  .tp-plan-detail-value { font-size: 15px; }
  .tp-faq-item summary { font-size: 16px; padding: 20px 0; gap: 16px; }
  .tp-faq-item summary::after { width: 16px; height: 16px; }
  .tp-faq-item p { font-size: 15px; padding-bottom: 20px; }

  /* ── Login page ── */
  .login-shell { grid-template-columns: 1fr; min-height: auto; }
  .login-brand {
    min-height: 280px;
    padding: 32px 24px 48px;
  }
  .login-brand .logo span { font-size: 17px; }
  .login-brand-headline {
    font-size: clamp(32px, 10vw, 48px);
    margin-top: 36px;
    line-height: 1;
  }
  .login-brand-sub { font-size: 15px; margin-top: 16px; }
  .login-brand-meta { font-size: 10px; gap: 14px; margin-top: 24px; }
  .brand-trails {
    width: 240px;
    height: 240px;
    bottom: -30px;
    right: -50px;
  }
  .login-form-side { padding: 40px 24px 64px; }
  .login-card { max-width: 100%; }
  .login-back { margin-bottom: 28px; }
  .login-title { font-size: clamp(28px, 9vw, 38px); }
  .login-sub { font-size: 15px; margin-bottom: 28px; }
  .login-input-wrap input {
    padding: 14px 18px 14px 44px;
    border-radius: var(--radius-sm);
  }
  .login-input-icon { width: 16px; height: 16px; left: 16px; }
  .login-toggle-pwd { right: 10px; padding: 8px; }
  .login-submit { padding: 16px 22px; font-size: 15.5px; }
  .login-row { gap: 12px; }
  .login-check { font-size: 13.5px; }
  .login-forgot { font-size: 13.5px; }
  .login-divider { margin: 24px 0; }

  /* ── Team office SVG ── */
  .team-image img { width: 100%; height: auto; }
}

/* Very narrow phones (≤ 380px, eg older iPhones / Galaxy A) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .logo span { font-size: 15px; }
  .logo-mark { width: 28px; height: 28px; }
  .header-cta .btn {
    padding: 9px 12px;
    font-size: 12.5px;
  }
  .menu-toggle { width: 38px; height: 38px; }
  .hero-meta { gap: 10px 14px; }
  .hero-meta span { font-size: 10px; }
  .rights-grid { grid-template-columns: 1fr; }
}

/* iPhone notch-aware safe areas */
@supports (padding: env(safe-area-inset-left)) {
  .container {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .site-header .container,
  .mobile-nav { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
}

/* Reduced motion: respect user preference globally */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

