/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  /* Apple's actual system font stack — SF Pro on Apple devices, system equivalents elsewhere */
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont,
               'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  background: #ffffff;
  color: #1D1D1F;
  line-height: 1.55;
  letter-spacing: -0.003em;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 17px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── VARIABLES ─── */
:root {
  --accent: #2E5986;
  --accent-light: #4A7FB5;
  --accent-glow: rgba(46, 89, 134, 0.25);
  --surface: #F4F7FB;
  --surface-2: #EBF0F8;
  --border: rgba(46, 89, 134, 0.12);
  --text: #0D1B2A;
  --text-muted: #6B83A0;
  --radius: 16px;
  --radius-sm: 10px;
}

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 10px 20px;
  font-size: 14px;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(46,89,134,0.06);
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-dot { color: var(--accent); }
.logo--img { display: flex; align-items: center; }
.logo-img { height: 32px; width: auto; display: block; }
.footer-logo { height: 28px; opacity: 0.9; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.18s;
}
.nav-link:hover { color: var(--accent); background: rgba(46,89,134,0.06); }
.header-cta { margin-left: 12px; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
}
.mobile-link:hover { color: var(--accent); background: rgba(46,89,134,0.06); }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 20%, rgba(46,89,134,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(46,89,134,0.06) 0%, transparent 60%),
    #ffffff;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,89,134,0.08);
  border: 1px solid rgba(46,89,134,0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(46,89,134,0.5);
}
.hero-title {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: #0D1B2A;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #2E5986 0%, #4A9FD5 60%, #2E5986 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 64px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }
.section--dark { background: var(--accent); }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0D1B2A;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(46,89,134,0.05);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(46,89,134,0.14);
}
.service-card--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
}
.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.service-name {
  font-size: 20px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 10px;
}
.service-card--featured .service-name,
.service-card--featured .service-desc,
.service-card--featured .service-list li { color: rgba(255,255,255,0.9); }
.service-card--featured .service-badge { background: rgba(255,255,255,0.2); color: #fff; }
.service-card--featured .service-list li::before { color: rgba(255,255,255,0.8); }
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

/* ─── FILTERS ─── */
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.filter-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.filter-btn.active {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

/* ─── PRODUCTS GRID ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}
.product-thumb {
  width: 100%;
  height: 180px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb--img img {
  transform: scale(1.05);
}
.product-thumb-icon {
  font-size: 56px;
}
.product-thumb--svg {
  background: #F5F5F7;
}
.product-thumb--svg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb--svg img {
  transform: scale(1.04);
}
.product-body { padding: 20px; }
.product-marca {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1a1a2e;
  margin-bottom: 2px;
}
.product-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.3;
  /* Truncate to a single line — full name shows in product detail modal */
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}
.product-price span {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  display: block;
  margin-top: 1px;
}
.btn-contact {
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.18s;
}
.btn-contact:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.product-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.badge--new { background: rgba(34,197,94,0.15); color: #4ADE80; }
.badge--used { background: rgba(234,179,8,0.15); color: #FBBF24; }
.badge--refurb { background: rgba(99,102,241,0.15); color: var(--accent-light); }

/* ─── BRANDS ─── */
.brands-section {
  padding: 60px 0;
  overflow: hidden;
}
.brands-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.brands-track { overflow: hidden; position: relative; }
.brands-track::before,
.brands-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.brands-track::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.brands-track::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }
.brands-inner {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollBrands 22s linear infinite;
}
@keyframes scrollBrands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand {
  font-size: 18px;
  font-weight: 700;
  color: rgba(46,89,134,0.25);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}
.brand:hover { color: var(--accent); }

/* ─── BRAND NAMES (modal.com style) ─── */
.brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 8px 0;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(46,89,134,0.22);
  transition: color 0.25s;
  cursor: default;
  white-space: nowrap;
}
.brand-name:hover { color: var(--accent); }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}
.channel-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(46,89,134,0.1);
}
.channel-card--static { cursor: default; }
.channel-card--static:hover { transform: none; }
.channel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon--whatsapp { background: rgba(34,197,94,0.1); color: #16A34A; }
.channel-icon--email    { background: rgba(46,89,134,0.1); color: var(--accent); }
.channel-icon--phone    { background: rgba(46,89,134,0.1); color: var(--accent); }
.channel-name { font-size: 15px; font-weight: 600; color: #0D1B2A; }
.channel-sub  { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.channel-arrow { margin-left: auto; color: var(--text-muted); font-size: 18px; }

/* ─── CONTACT FORM ─── */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-title {
  font-size: 20px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.18s;
  appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-input::placeholder { color: #aab8cc; }
.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.5);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: modalIn 0.2s ease;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(46,89,134,0.15);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.modal-product-icon { font-size: 48px; margin-bottom: 12px; }
.modal-product-img {
  width: 100%;
  height: 200px;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.modal-product-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.modal-product-name {
  font-size: 22px;
  font-weight: 800;
  color: #0D1B2A;
  margin-bottom: 8px;
}
.modal-product-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
}
.modal-product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #22C55E;
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.18s;
}
.modal-wa:hover { background: #16A34A; }
.modal-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.18s;
}
.modal-email:hover { border-color: var(--accent); color: var(--accent-light); }

/* ─── FOOTER ─── */
.footer {
  background: #0D1B2A;
  border-top: none;
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  width: 100%;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin-top: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 130px 0 80px; }
  .hero-title { font-size: 46px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
  .footer-copy { text-align: left; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,89,134,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.08s linear, top 0.08s linear;
  will-change: left, top;
}

/* ─── HERO GRID & ORBS ─── */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,89,134,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,89,134,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridDrift 24s linear infinite;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 72px 72px; }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite alternate;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: rgba(46,89,134,0.12);
  top: -100px; right: -100px;
  animation-duration: 12s;
}
.hero-orb--2 {
  width: 350px; height: 350px;
  background: rgba(74,127,181,0.08);
  bottom: -50px; left: 20%;
  animation-duration: 9s;
  animation-delay: -4s;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -40px) scale(1.08); }
}

/* ─── HERO LINES (animated by GSAP) ─── */
.hero-line { display: block; will-change: transform, opacity; }
.hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-stats { will-change: transform, opacity; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── VITRINA SECTION ─── */
.vitrina-section {
  padding: 100px 0 60px;
  overflow: hidden;
  background: var(--surface);
}
.vitrina-section .section-tag { color: var(--accent); }
.vitrina-section .section-title { color: #0D1B2A; }
.vitrina-strip {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  padding: 24px 0 32px;
  -webkit-overflow-scrolling: touch;
}
.vitrina-strip:active { cursor: grabbing; }
.vitrina-strip::-webkit-scrollbar { display: none; }
.vitrina-cards {
  display: flex;
  gap: 20px;
  padding: 0 max(24px, calc(50vw - 620px));
  width: max-content;
}
.vitrina-card {
  width: 300px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.vitrina-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 64px rgba(46,89,134,0.18), 0 0 0 1.5px rgba(46,89,134,0.3);
}
.vitrina-img {
  width: 100%;
  height: 240px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.vitrina-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.vitrina-card:hover .vitrina-img img {
  transform: scale(1.1);
}
.vitrina-info {
  padding: 20px 24px 24px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.vitrina-marca {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 4px;
}
.vitrina-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 10px;
}
.vitrina-price {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}
.vitrina-price-label {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  display: block;
  margin-top: 1px;
  margin-bottom: 14px;
}
.vitrina-cta {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, transform 0.18s;
  transform: translateY(0);
}
.vitrina-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.vitrina-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-right: 8px;
}
.vitrina-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.vitrina-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── ENHANCED SERVICE CARD ─── */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover::after { opacity: 1; }

/* ─── COUNTER ANIMATION ─── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-num.counting { animation: countUp 0.4s ease; }

/* ─── PRODUCT CARD STAGGER ─── */
.product-card {
  animation: fadeUp 0.35s ease both;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ─── MOBILE VITRINA ─── */
@media (max-width: 768px) {
  .vitrina-card { width: 260px; }
  .vitrina-img { height: 200px; }
  .vitrina-nav { justify-content: center; }
}

/* ─── NAV ACTIVE ─── */
.nav-link--active {
  color: var(--accent) !important;
  background: rgba(46,89,134,0.08);
  border-radius: 8px;
}

/* ─── CATALOG HERO ─── */
.catalog-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--accent);
  display: flex;
  align-items: center;
}
.catalog-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.catalog-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 12px;
}
.catalog-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}

/* ─── SEARCH BAR ─── */
.search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.search-icon-svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}
.search-input {
  width: 100%;
  padding: 18px 50px 18px 54px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-input:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}
.search-clear {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: rgba(255,255,255,0.7);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.search-clear:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ─── CATALOG BODY ─── */
.catalog-body {
  padding: 60px 0 100px;
  min-height: 60vh;
  background: #ffffff;
}
.catalog-body .filters {
  margin-bottom: 40px;
}
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 0;
  color: rgba(255,255,255,0.5);
}
.no-results-icon { font-size: 48px; margin-bottom: 12px; }
.no-results-text { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.no-results-sub { font-size: 14px; }

/* ─── HERO FLOATING CHIPS ─── */
.hero-chip {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
  transition: transform 0.15s linear;
  animation: chipFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-chip:nth-child(2) { animation-duration: 11s; animation-delay: -3s; }
.hero-chip:nth-child(3) { animation-duration: 9s;  animation-delay: -6s; }
.hero-chip:nth-child(4) { animation-duration: 13s; animation-delay: -1s; }
@keyframes chipFloat {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(8px, -14px) rotate(3deg); }
}

/* ─── ASSEMBLY SECTION ─── */
.assembly-section {
  height: 280vh;
  position: relative;
}
.assembly-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
  overflow: hidden;
}
.assembly-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 20s linear infinite;
}
.assembly-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(99,102,241,0.12) 0%, transparent 70%);
}
.assembly-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Core */
.assembly-core {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.assembly-core.assembled { transform: scale(1.1); }
.core-body {
  width: 100px; height: 100px;
  background: rgba(99,102,241,0.12);
  border: 2px solid rgba(99,102,241,0.5);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.25);
  animation: ringPulse 3s ease-in-out infinite;
}
.core-ring--1 { width: 140px; height: 140px; animation-delay: 0s; }
.core-ring--2 { width: 190px; height: 190px; animation-delay: -1.5s; }
.core-pulse {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
  animation: corePulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.05); }
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.3); opacity: 0.2; }
}
.assembly-core.assembled .core-body {
  border-color: rgba(99,102,241,0.9);
  box-shadow: 0 0 40px rgba(99,102,241,0.5), inset 0 0 20px rgba(99,102,241,0.2);
}

/* Assembly parts — final positions around center */
.asm-part {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
#ap0 { top: calc(50% - 170px); left: calc(50% - 220px); }
#ap1 { top: calc(50% - 170px); left: calc(50% + 156px); }
#ap2 { top: calc(50% - 36px);  left: calc(50% - 260px); }
#ap3 { top: calc(50% - 36px);  left: calc(50% + 196px); }
#ap4 { top: calc(50% + 100px); left: calc(50% - 220px); }
#ap5 { top: calc(50% + 100px); left: calc(50% + 156px); }
.asm-icon {
  width: 64px; height: 64px;
  background: rgba(99,102,241,0.12);
  border: 1.5px solid rgba(99,102,241,0.35);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.asm-part.locked .asm-icon {
  border-color: rgba(99,102,241,0.8);
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
  animation: lockBounce 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes lockBounce {
  0%   { transform: scale(0.85); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.asm-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.asm-part.locked .asm-label { color: rgba(255,255,255,0.85); }

/* Assembly caption */
.assembly-caption {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  text-align: center;
  z-index: 20;
}
.asm-status {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-light);
  margin-bottom: 8px;
  min-height: 18px;
}
.asm-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
}

/* ─── SUCURSALES ─── */
.sucursales-section { background: #fff; }
.sucursales-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sucursal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: default;
  box-shadow: 0 2px 12px rgba(46,89,134,0.06);
}
.sucursal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.sucursal-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(46,89,134,0.14);
}
.sucursal-card:hover::before { transform: scaleY(1); }
.sucursal-pin {
  width: 40px; height: 40px;
  background: rgba(46,89,134,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.sucursal-ciudad {
  font-size: 26px;
  font-weight: 900;
  color: #0D1B2A;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.sucursal-provincia {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.sucursal-phone {
  font-size: 18px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sucursal-phone svg { color: var(--text-muted); flex-shrink: 0; }
.sucursal-actions { display: flex; gap: 10px; }
.btn-wa-sucursal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: #22C55E;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
}
.btn-wa-sucursal:hover {
  background: #16A34A;
  transform: translateY(-1px);
}
.btn-call-sucursal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
}
.btn-call-sucursal:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .sucursales-grid { grid-template-columns: 1fr; }
  .assembly-section { height: 220vh; }
  .asm-part { scale: 0.8; }
}

/* ─────────────────────────────────────────────
   IMPACT / INFOGRAFÍAS SECTION
   ───────────────────────────────────────────── */
.impact-section {
  position: relative;
  padding: 120px 0 140px;
  background: linear-gradient(180deg, #ffffff 0%, #F4F7FB 50%, #ffffff 100%);
  overflow: hidden;
}
.impact-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(74, 159, 213, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 75%, rgba(46, 89, 134, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.impact-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46, 89, 134, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 89, 134, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 80%);
  pointer-events: none;
}
.impact-section .container { position: relative; z-index: 1; }

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 100px;
}
.metric-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 30px 30px;
  box-shadow: 0 2px 4px rgba(13, 27, 42, 0.02), 0 12px 32px rgba(46, 89, 134, 0.06);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
  overflow: hidden;
  opacity: 0;
  transform: translateY(48px);
}
.metric-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.metric-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 89, 134, 0.35);
  box-shadow: 0 4px 8px rgba(13, 27, 42, 0.03), 0 28px 56px rgba(46, 89, 134, 0.18);
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.metric-card:hover::before { opacity: 1; }

.metric-card--featured {
  background: linear-gradient(135deg, #1F4571 0%, #2E5986 55%, #3D6FA3 100%);
  border-color: transparent;
  color: #fff;
}
.metric-card--featured .metric-chip {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.metric-card--featured .metric-label { color: rgba(255,255,255,0.85); }
.metric-card--featured .metric-icon-wrap {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.metric-glow {
  position: absolute;
  inset: -50% -20% auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(120, 180, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.metric-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(46, 89, 134, 0.08), rgba(74, 159, 213, 0.12));
  color: var(--accent);
}
.metric-chip {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(46, 89, 134, 0.08);
  border: 1px solid rgba(46, 89, 134, 0.14);
  padding: 6px 12px;
  border-radius: 100px;
}
.metric-num {
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #2E5986 0%, #4A9FD5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-card--featured .metric-num {
  background: linear-gradient(135deg, #ffffff 0%, #C8E0F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-num--word { display: flex; align-items: baseline; gap: 2px; }
.metric-num-suffix {
  font-size: 0.55em;
  font-weight: 800;
  margin-left: 4px;
}
.metric-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 18px;
}

/* Pins (sucursales) */
.metric-pins {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.pin-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7AC4FF;
  box-shadow: 0 0 8px rgba(122, 196, 255, 0.8);
  animation: pinPulse 2.4s ease-in-out infinite;
}
.pin:nth-child(2) .pin-dot { animation-delay: 0.4s; }
.pin:nth-child(3) .pin-dot { animation-delay: 0.8s; }
.pin:nth-child(4) .pin-dot { animation-delay: 1.2s; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Bar (reparaciones) */
.metric-bar { margin-top: 22px; }
.metric-bar-fill {
  height: 6px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.metric-card.in-view .metric-bar-fill { width: 92%; }
.metric-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.metric-bar-pct {
  font-weight: 700;
  color: var(--accent);
}

/* Brand chips (equipo) */
.metric-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.metric-brands span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(46, 89, 134, 0.06);
  border: 1px solid rgba(46, 89, 134, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
}

/* ─── PILARES ─── */
.pillars-wrap {
  position: relative;
  margin-top: 40px;
}
.pillars-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.pillars-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 14px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 26px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.5s;
  opacity: 0;
  transform: translateY(40px);
}
.pillar-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 89, 134, 0.3);
  box-shadow: 0 20px 40px rgba(46, 89, 134, 0.14);
}
.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.pillar-card:hover::after { width: 100%; }
.pillar-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46, 89, 134, 0.08), rgba(74, 159, 213, 0.14));
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s;
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.06) rotate(-3deg);
}
.pillar-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.pillar-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 66px;
}
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pillar-tags li {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(46, 89, 134, 0.06);
  padding: 4px 9px;
  border-radius: 6px;
}
.pillar-card--accent {
  background: linear-gradient(160deg, #2E5986 0%, #3D6FA3 100%);
  border-color: transparent;
  color: #fff;
}
.pillar-card--accent .pillar-num { color: rgba(255,255,255,0.6); }
.pillar-card--accent .pillar-icon {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.pillar-card--accent .pillar-name { color: #fff; }
.pillar-card--accent .pillar-desc { color: rgba(255,255,255,0.78); }
.pillar-card--accent .pillar-tags li {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.pillar-card--accent::after {
  background: linear-gradient(90deg, #7AC4FF, #ffffff);
}

@media (max-width: 980px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-desc { min-height: 0; }
}
@media (max-width: 560px) {
  .impact-section { padding: 80px 0 90px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .metric-card { padding: 26px 24px 24px; }
  .metric-num { font-size: 56px; }
}

/* ─── FLOATING CHIPS (impact deco) ─── */
.impact-chip {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  animation: chipFloat 8s ease-in-out infinite;
  will-change: transform;
}
.impact-chip:nth-child(2) { animation-delay: -2s; animation-duration: 9s; }
.impact-chip:nth-child(3) { animation-delay: -4s; animation-duration: 10s; }
.impact-chip:nth-child(4) { animation-delay: -6s; animation-duration: 11s; }
@keyframes chipFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(8px, -14px) rotate(2deg); }
  66%      { transform: translate(-6px, 8px) rotate(-3deg); }
}

/* ─── CARD 3D TILT ─── */
.metric-card, .pillar-card, .service-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.metric-card .metric-head,
.metric-card .metric-num,
.metric-card .metric-label,
.pillar-card .pillar-icon,
.pillar-card .pillar-name {
  transform: translateZ(20px);
}

/* ─── PROCESS FLOW ─── */
.flow-wrap {
  margin-top: 110px;
  position: relative;
}
.flow-head {
  text-align: center;
  margin-bottom: 60px;
}
.flow-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 14px;
}
.flow-track {
  position: relative;
  padding: 20px 0 10px;
}
.flow-progress {
  position: absolute;
  top: 56px;
  left: 11%;
  right: 11%;
  height: 2px;
  background: rgba(46, 89, 134, 0.12);
  border-radius: 100px;
  overflow: hidden;
  z-index: 0;
}
.flow-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  border-radius: 100px;
  transition: width 0.2s linear;
  animation: progressShine 3s linear infinite;
}
@keyframes progressShine {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 0%; }
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.flow-step {
  text-align: center;
  padding: 0 8px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.flow-step.in-view { opacity: 1; transform: translateY(0); }
.flow-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(46, 89, 134, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 8px 24px rgba(46, 89, 134, 0.08);
}
.flow-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(46, 89, 134, 0.1);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
}
.flow-step.active .flow-dot {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 20px 36px rgba(46, 89, 134, 0.28);
}
.flow-step.active .flow-dot::before {
  opacity: 1;
  transform: scale(1.05);
}
.flow-step-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.flow-step-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* ─── LIVE TICKER BAND ─── */
.ticker-band {
  margin-top: 90px;
  background: linear-gradient(90deg, #1F4571 0%, #2E5986 50%, #3D6FA3 100%);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 48px rgba(46, 89, 134, 0.22);
}
.ticker-band::before,
.ticker-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-band::before { left: 0; background: linear-gradient(to right, #1F4571, transparent); }
.ticker-band::after  { right: 0; background: linear-gradient(to left, #3D6FA3, transparent); }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 18px 0;
  animation: tickerScroll 38s linear infinite;
  will-change: transform;
}
.ticker-band:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.ticker-track span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── BRANDS MARQUEE (replaces static brands-logos) ─── */
.brands-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 8px 0;
}
.brands-marquee::before,
.brands-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee::before { left: 0; background: linear-gradient(to right, #ffffff, transparent); }
.brands-marquee::after  { right: 0; background: linear-gradient(to left, #ffffff, transparent); }
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: brandsScroll 32s linear infinite;
  will-change: transform;
}
.brands-marquee:hover .brands-marquee-track { animation-play-state: paused; }
@keyframes brandsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION TITLE UNDERLINE ─── */
.section-title { position: relative; display: inline-block; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .impact-chip,
  .ticker-track,
  .brands-marquee-track,
  .flow-progress-fill,
  .pin-dot {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .flow-progress { display: none; }
  .ticker-band { border-radius: 24px; }
  .impact-chip { display: none; }
}
@media (max-width: 560px) {
  .flow-steps { grid-template-columns: 1fr; gap: 32px; }
  .flow-dot { width: 56px; height: 56px; font-size: 18px; }
  .flow-wrap { margin-top: 70px; }
}

/* ─────────────────────────────────────────────
   APPLE-STYLE REFINEMENTS
   ───────────────────────────────────────────── */

/* ─── APPLE TYPOGRAPHY — SF Pro Display rules ─── */
/* Apple uses font-weight 600 (semibold) for hero headlines, NOT 800 — gives that
   crisp/elegant feel. Letter-spacing -0.045em is their actual hero kerning. */
.hero-title {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: #1D1D1F;
  padding-bottom: 0.04em;
}
.hero-line { display: block; }
.hero-subtitle {
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.45;
  font-weight: 500;
  color: #424245;
  margin-bottom: 36px;
  max-width: 620px;
  letter-spacing: -0.012em;
}
.hero-badge {
  background: transparent;
  border: 1px solid rgba(46, 89, 134, 0.18);
  color: var(--accent);
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  margin-bottom: 32px;
}
.hero-badge::before { display: none; }

/* Pill buttons — Apple style */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn-pill--primary {
  background: #0D1B2A;
  color: #fff;
}
.btn-pill--primary:hover {
  background: #1A2A3D;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.18);
}
.btn-pill--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid transparent;
  padding: 14px 22px;
}
.btn-pill--ghost:hover {
  color: var(--accent-light);
}
.btn-pill--ghost span { transition: transform 0.25s; }
.btn-pill--ghost:hover span { transform: translateX(3px); }

/* Hero actions tighter spacing */
.hero-actions { gap: 8px; margin-bottom: 72px; }
.hero-stats { gap: 48px; }
.stat-num { font-size: 36px; font-weight: 700; letter-spacing: -0.045em; }
.stat-num-suffix { font-weight: 600; font-size: 0.7em; opacity: 0.7; }
.stat-label { font-size: 13px; font-weight: 500; color: #6B7B8E; }

/* ─── MANIFESTO (dark, Apple-style hero break) ─── */
.manifesto {
  position: relative;
  background: #0A0F18;
  color: #fff;
  padding: 140px 0 160px;
  overflow: hidden;
}
.manifesto-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(74, 159, 213, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(46, 89, 134, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
}
.manifesto-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}
.manifesto-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 32px;
  padding-bottom: 0.05em;
}
.manifesto-accent {
  background: linear-gradient(135deg, #7AC4FF 0%, #4A9FD5 50%, #2E5986 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.manifesto-sub {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.manifesto .btn-pill--primary {
  background: #fff;
  color: #0A0F18;
}
.manifesto .btn-pill--primary:hover {
  background: #E8EEF6;
  box-shadow: 0 16px 36px rgba(122, 196, 255, 0.22);
}
.manifesto .btn-pill--ghost {
  color: rgba(255,255,255,0.92);
}
.manifesto .btn-pill--ghost:hover {
  color: #7AC4FF;
}
@media (max-width: 640px) {
  .manifesto { padding: 90px 0 100px; }
  .manifesto-cta { flex-direction: column; gap: 4px; width: 100%; }
  .manifesto-cta .btn-pill { width: 100%; }
}

/* ─── SERVICE ICON — monochrome SVG ─── */
.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(46, 89, 134, 0.06);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
  font-size: 0;
}
.service-card--featured .service-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.service-card {
  padding: 36px 32px 32px;
  border-radius: 22px;
  background: #F8FAFD;
  border-color: transparent;
  box-shadow: none;
}
.service-card:hover {
  background: #fff;
  border-color: rgba(46, 89, 134, 0.18);
}
.service-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ─── SECTION TITLES — more dramatic ─── */
.section-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.section-tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}
.section-desc { font-size: 18px; line-height: 1.5; }

/* ─── METRIC CARDS — flatter, more refined ─── */
.metric-card {
  border-radius: 22px;
  padding: 36px 32px 32px;
  border-color: transparent;
  background: #F8FAFD;
  box-shadow: none;
}
.metric-card:hover {
  background: #fff;
  border-color: rgba(46, 89, 134, 0.18);
}
.metric-card--featured {
  background: linear-gradient(135deg, #0F1B2D 0%, #1F4571 100%);
}

/* ─── PILLAR CARDS — flatter, monochrome ─── */
.pillar-card {
  border-radius: 22px;
  background: #F8FAFD;
  border-color: transparent;
  padding: 30px 26px;
}
.pillar-card:hover {
  background: #fff;
  border-color: rgba(46, 89, 134, 0.18);
}
.pillar-icon {
  background: rgba(46, 89, 134, 0.08);
  border-radius: 14px;
  width: 56px;
  height: 56px;
}
.pillar-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.022em;
}

/* ─── FOOTER — more refined ─── */
.footer { padding: 70px 0 50px; background: #0A0F18; color: rgba(255,255,255,0.7); }
.footer a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 12px; }
.footer-logo {
  height: 22px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex: 0 0 auto;
}

/* ─── HEADER — refined ─── */
.header { background: rgba(255,255,255,0.78); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(13, 27, 42, 0.06); }
.header-cta { background: #0D1B2A; color: #fff; border-radius: 100px; padding: 8px 18px; font-size: 13px; }
.header-cta:hover { background: #1A2A3D; box-shadow: 0 8px 20px rgba(13,27,42,0.18); }
.nav-link { font-size: 13px; color: var(--text); }
.nav-link:hover { background: transparent; color: var(--accent); }

/* ─── SECTION padding more generous ─── */
.section { padding: 130px 0; }
.impact-section { padding: 140px 0 160px; }
.brands-section { padding: 90px 0; }
.brands-title { font-size: 14px; font-weight: 500; color: #6B7B8E; letter-spacing: 0; text-transform: none; }

/* Cleanup: hide live ticker (was too "Black Friday banner") */
.ticker-band[hidden] { display: none; }

/* ─── UNIFIED ICON SYSTEM (Apple-style consistency) ─── */
/* All icon wrappers across sections share the same shape + size */
.metric-icon-wrap,
.pillar-icon,
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 89, 134, 0.08);
  color: var(--accent);
  margin-bottom: 0;
}
.metric-icon-wrap svg,
.pillar-icon svg,
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
.pillar-icon { margin-bottom: 20px; }
.service-icon { margin-bottom: 22px; }

/* Featured / accent variants share the same icon style */
.metric-card--featured .metric-icon-wrap,
.service-card--featured .service-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ─────────────────────────────────────────────
   CAMPAIGN SHOWCASE (Apple "Designed for X" feel)
   ───────────────────────────────────────────── */
.campaigns {
  padding: 140px 0 60px;
  background: #fff;
}
.campaigns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 540px auto;
  gap: 22px;
  margin-top: 20px;
}
.campaign-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #F4F7FB;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), box-shadow 0.55s cubic-bezier(0.16,1,0.3,1);
  opacity: 0;
  transform: translateY(40px);
}
.campaign-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(13, 27, 42, 0.16);
}
.campaign-card--lg { grid-row: 1 / 2; grid-column: 1 / 2; min-height: 540px; }
.campaign-card--wide {
  grid-row: 2 / 3;
  grid-column: 1 / 4;
  min-height: 380px;
  flex-direction: row;
  align-items: center;
}
.campaign-card--dark {
  background: linear-gradient(135deg, #0F1B2D 0%, #1F4571 100%);
  color: #fff;
}
.campaign-card--light {
  background: #F4F7FB;
}
.campaign-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(122, 196, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(74, 159, 213, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.campaign-img {
  position: absolute;
  z-index: 1;
  max-width: 75%;
  max-height: 60%;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(13, 27, 42, 0.18));
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.campaign-card:hover .campaign-img {
  transform: translateX(-50%) scale(1.04);
}
.campaign-card--lg .campaign-img {
  max-width: 65%;
  max-height: 55%;
  top: 10%;
}
.campaign-card--wide .campaign-img {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  flex: 0 0 50%;
  max-width: 50%;
  max-height: 320px;
  margin-right: 24px;
  order: 2;
}
.campaign-card--wide:hover .campaign-img {
  transform: scale(1.04);
}
.campaign-card--wide .campaign-content {
  flex: 1;
  order: 1;
  padding: 48px;
}
.campaign-content {
  position: relative;
  z-index: 2;
  padding: 32px 30px;
}
.campaign-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 12px;
}
.campaign-card--dark .campaign-eyebrow { color: #7AC4FF; }
.campaign-title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: #0D1B2A;
  margin-bottom: 10px;
}
.campaign-card--dark .campaign-title { color: #fff; }
.campaign-card--wide .campaign-title {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 14px;
}
.campaign-sub {
  font-size: 15px;
  color: #6B7B8E;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 380px;
}
.campaign-card--dark .campaign-sub { color: rgba(255,255,255,0.65); }
.campaign-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}
.campaign-card--dark .campaign-cta { color: #7AC4FF; }
.campaign-cta span { transition: transform 0.25s; }
.campaign-card:hover .campaign-cta span { transform: translateX(3px); }

@media (max-width: 980px) {
  .campaigns-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .campaign-card--lg { grid-row: auto; grid-column: auto; min-height: 460px; }
  .campaign-card--wide {
    grid-row: auto;
    grid-column: auto;
    flex-direction: column;
    min-height: 460px;
  }
  .campaign-card--wide .campaign-img {
    margin: 24px auto 0;
    flex: none;
    max-width: 80%;
    order: 1;
  }
  .campaign-card--wide .campaign-content {
    padding: 32px 30px 24px;
    order: 0;
  }
}
@media (max-width: 560px) {
  .campaigns { padding: 90px 0 40px; }
  .campaign-title { font-size: 22px; }
}

/* ─────────────────────────────────────────────
   APPLE.COM TILE GRID (Shop the latest style)
   ───────────────────────────────────────────── */
.tiles-wrap { margin-top: 100px; }
.tiles-head { text-align: center; margin-bottom: 24px; max-width: 880px; margin-left: auto; margin-right: auto; }
.tiles-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #1D1D1F;
}
.tiles-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.tile {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: #F5F5F7;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.tile:hover { transform: translateY(-4px); }
.tile--dark {
  background: #1D1D1F;
  color: #F5F5F7;
}
.tile--dark-accent {
  background: linear-gradient(155deg, #0B1F37 0%, #1B3A5C 50%, #2E5986 100%);
  color: #fff;
}
.tile--light {
  background: #F5F5F7;
  color: #1D1D1F;
}
.tile-body {
  padding: 48px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
}
.tile-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: #6E6E73;
  margin-bottom: 6px;
  display: block;
}
.tile--dark .tile-eyebrow,
.tile--dark-accent .tile-eyebrow { color: #86868B; }
.tile--dark-accent .tile-eyebrow { color: #7AC4FF; }
.tile-headline {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
  color: inherit;
}
.tile-sub {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  color: #6E6E73;
  margin-bottom: 28px;
  max-width: 420px;
}
.tile--dark .tile-sub { color: #A1A1A6; }
.tile--dark-accent .tile-sub { color: rgba(255,255,255,0.7); }
.tile-cta-group {
  display: flex;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.tile-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.012em;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tile-link:hover { opacity: 0.8; }
.tile-link--primary {
  background: #0071E3;
  color: #fff;
  padding: 11px 22px;
  border-radius: 100px;
}
.tile-link--primary:hover {
  background: #0077ED;
  opacity: 1;
}
.tile-link--ghost {
  color: #0071E3;
}
.tile-link--ghost-light {
  color: #7AC4FF;
}
.tile-link span { transition: transform 0.25s; display: inline-block; }
.tile-link:hover span { transform: translateX(2px); }
.tile--lg { grid-column: 1; grid-row: 1 / 3; min-height: 660px; }
.tile--md { min-height: 320px; }
.tile--lg .tile-body { padding: 56px 52px; text-align: left; align-items: flex-start; }
.tile--lg .tile-cta-group { justify-content: flex-start; }
.tile--lg .tile-sub { max-width: 460px; }

/* Tile with product image (Apple-style: image floats at bottom-right) */
.tile--with-img .tile-body { position: relative; z-index: 2; }
.tile-img {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 320px;
  height: auto;
  z-index: 1;
  opacity: 0.92;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.tile:hover .tile-img { transform: translate(-8px, -8px) scale(1.02); }

@media (max-width: 980px) {
  .tiles-grid { grid-template-columns: 1fr; }
  .tile--lg { grid-column: auto; grid-row: auto; min-height: 460px; }
  .tile--lg .tile-body { text-align: center; align-items: center; padding: 48px 36px; }
  .tile--lg .tile-cta-group { justify-content: center; }
}

/* ─────────────────────────────────────────────
   HORIZONTAL SCROLL STRIP (Apple "Shop" style)
   ───────────────────────────────────────────── */
.hstrip-section {
  padding: 100px 0 80px;
  background: #F5F5F7;
  overflow: hidden;
}
.hstrip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}
.hstrip-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #1D1D1F;
  line-height: 1.1;
}
.hstrip-link {
  font-size: 17px;
  font-weight: 500;
  color: #0071E3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.012em;
}
.hstrip-link:hover { text-decoration: underline; }
.hstrip-link span { transition: transform 0.25s; display: inline-block; }
.hstrip-link:hover span { transform: translateX(2px); }
/* Desktop: clean 5-column grid (no scroll, all visible) */
.hstrip-scroll {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hstrip-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.hstrip-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
}
/* Mobile: convert to horizontal-snap scroll with peek */
@media (max-width: 980px) {
  .hstrip-scroll {
    max-width: none;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .hstrip-scroll::-webkit-scrollbar { display: none; }
  .hstrip-track {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    padding: 4px 24px 4px;
    width: max-content;
  }
  .hstrip-card {
    flex: 0 0 75vw;
    max-width: 320px;
    scroll-snap-align: start;
  }
}
.hstrip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.hstrip-imgwrap {
  aspect-ratio: 4 / 3;
  background: #F5F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.hstrip-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.hstrip-card:hover .hstrip-img { transform: scale(1.06); }
.hstrip-meta { padding: 24px 26px 26px; }
.hstrip-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #6E6E73;
  letter-spacing: -0.006em;
  display: block;
  margin-bottom: 4px;
}
.hstrip-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: #1D1D1F;
  margin-bottom: 16px;
}
.hstrip-cta {
  font-size: 15px;
  font-weight: 500;
  color: #0071E3;
  display: inline-flex;
  gap: 4px;
}
.hstrip-cta span { transition: transform 0.25s; display: inline-block; }
.hstrip-card:hover .hstrip-cta span { transform: translateX(3px); }
@media (max-width: 640px) {
  .hstrip-card { flex: 0 0 280px; }
  .hstrip-section { padding: 70px 0 50px; }
}

/* ─────────────────────────────────────────────
   APPLE-COLOR ACCENTS (the iconic blue #0071E3)
   ───────────────────────────────────────────── */
.btn-pill--primary {
  background: #0071E3;
  color: #fff;
}
.btn-pill--primary:hover {
  background: #0077ED;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.25);
}
.btn-pill--ghost {
  color: #0071E3;
}
.btn-pill--ghost:hover {
  color: #0077ED;
}
.gradient-text {
  /* Apple doesn't really do gradient text — keep it minimal blue accent */
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: #0071E3;
}
.hero-badge {
  color: #0071E3;
  border-color: rgba(0, 113, 227, 0.22);
}
.header-cta {
  background: #1D1D1F;
}
.header-cta:hover {
  background: #424245;
}

/* Section titles: weight 600 (semibold) is Apple's signature, not 700 */
.section-title {
  font-weight: 600;
  letter-spacing: -0.035em;
}
.pillars-title {
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(28px, 3.5vw, 48px);
}

/* ═════════════════════════════════════════════
   AGENCY-STYLE OVERHAUL (motion-first design)
   ═════════════════════════════════════════════ */

/* Hide deprecated cursor-glow */
.cursor-glow[hidden] { display: none !important; }

/* ─── CUSTOM CURSOR ─── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  transition: transform 0.15s cubic-bezier(0.16,1,0.3,1), width 0.2s, height 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-dot.hovering { width: 14px; height: 14px; }
.cursor-ring.hovering {
  width: 58px; height: 58px;
  border-color: rgba(255,255,255,0.85);
}
@media (max-width: 980px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─── HERO v2 ─── */
.hero { padding: 180px 0 80px; min-height: 100vh; }
.hero-content--v2 {
  max-width: 1320px;
  width: 100%;
  position: relative;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #6E6E73;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-meta-sep { color: #D2D2D7; }
.hero-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-item:first-child::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.6);
  display: inline-block;
  margin-right: 6px;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title--reveal { overflow: visible; padding-bottom: 0.08em; }
.hero-title--reveal .reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  position: relative;
  padding-bottom: 0.25em;
  margin-bottom: -0.25em;
  line-height: 1.05;
}
.hero-title--reveal .reveal-word > * { display: inline-block; line-height: inherit; }
.hero-accent-word { color: #0071E3; }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}
.hero-bottom .hero-subtitle {
  flex: 1;
  margin-bottom: 0;
  max-width: 500px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  color: #424245;
  letter-spacing: -0.008em;
}
.hero-bottom .hero-actions { margin-bottom: 0; gap: 12px; }

.hero-subtitle .reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero-subtitle .reveal-word > span { display: inline-block; }

.hero-scroll-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #6E6E73;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, #1D1D1F 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(0.4); opacity: 1; transform-origin: top; }
}
.hero-scroll-label { writing-mode: vertical-rl; transform: rotate(180deg); }

@media (max-width: 980px) {
  .hero-scroll-hint { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── GIANT MARQUEE BAND ─── */
.marquee {
  position: relative;
  padding: 60px 0 80px;
  background: #1D1D1F;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-line { overflow: hidden; }
.marquee-line + .marquee-line { margin-top: 8px; }
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.marquee-track--reverse { animation-direction: reverse; animation-duration: 38s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.m-word {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}
.m-word--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.55);
}
.m-dot {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  color: #0071E3;
  line-height: 1;
}

/* ─── BIG NUMBER STATS ─── */
.bignums {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 100px;
  border-top: 1px solid rgba(13, 27, 42, 0.1);
}
.bignum {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.bignum.in-view { opacity: 1; transform: translateY(0); }
.bignum:hover .bignum-num { transform: translateX(-10px); }
.bignum-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bignum-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #6E6E73;
  text-transform: none;
}
.bignum-tag {
  font-size: 13px;
  color: #424245;
  font-weight: 500;
}
.bignum-num {
  font-size: clamp(100px, 17vw, 260px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #1D1D1F;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  padding-bottom: 0.04em;
}
.bignum-suffix {
  font-size: 0.5em;
  color: #0071E3;
  font-weight: 600;
  margin-left: 4px;
}
.bignum-label {
  font-size: 17px;
  color: #424245;
  line-height: 1.4;
  max-width: 240px;
  text-align: right;
  font-weight: 500;
  letter-spacing: -0.012em;
}
@media (max-width: 980px) {
  .bignum {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
    padding: 40px 0;
  }
  .bignum-rail { flex-direction: row; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .bignum-label { text-align: center; max-width: none; }
  .bignum-num { justify-content: center; }
}

/* ─── SERVICES V2 (interactive image-preview) ─── */
.srv-v2 {
  padding: 140px 0 120px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.srv-v2-head {
  max-width: 880px;
  margin-bottom: 72px;
}
.srv-v2-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #6E6E73;
  letter-spacing: -0.005em;
  display: inline-block;
  margin-bottom: 18px;
}
.srv-v2-title {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #1D1D1F;
}
.srv-v2-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.srv-v2-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(13, 27, 42, 0.1);
}
.srv-v2-item {
  display: grid;
  grid-template-columns: 64px 1fr 28px;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
  text-decoration: none;
  color: inherit;
  transition: background 0.4s, padding 0.4s;
  position: relative;
}
.srv-v2-item::before {
  content: '';
  position: absolute;
  inset: 0 -24px;
  background: #F5F5F7;
  border-radius: 14px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
}
.srv-v2-item:hover::before { opacity: 1; }
.srv-v2-item:hover { padding-left: 20px; padding-right: 20px; }
.srv-v2-item.is-active::before { opacity: 1; }
.srv-v2-num {
  font-size: 13px;
  font-weight: 600;
  color: #6E6E73;
  letter-spacing: -0.005em;
}
.srv-v2-info { display: flex; flex-direction: column; gap: 6px; }
.srv-v2-name {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #1D1D1F;
}
.srv-v2-desc {
  font-size: 15px;
  color: #424245;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.008em;
}
.srv-v2-tags {
  font-size: 12px;
  color: #6E6E73;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.005em;
}
.srv-v2-arrow {
  font-size: 22px;
  color: #6E6E73;
  font-weight: 400;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), color 0.3s;
}
.srv-v2-item:hover .srv-v2-arrow { transform: translateX(6px); color: #0071E3; }

.srv-v2-preview {
  position: sticky;
  top: 100px;
  background: #F5F5F7;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.srv-v2-preview-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.srv-v2-pic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  filter: drop-shadow(0 24px 48px rgba(13, 27, 42, 0.18));
}
.srv-v2-pic--active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.srv-v2-preview-meta {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #6E6E73;
  letter-spacing: -0.005em;
}
.srv-v2-pic-counter { display: flex; align-items: center; gap: 4px; }
@media (max-width: 980px) {
  .srv-v2-grid { grid-template-columns: 1fr; gap: 32px; }
  .srv-v2-preview { position: static; aspect-ratio: 4 / 3; }
}

/* ─── BRAND BAND (horizontal infinite cinta) ─── */
.brandband {
  padding: 70px 0 80px;
  background: #1D1D1F;
  color: #fff;
  overflow: hidden;
}
.brandband-head {
  text-align: center;
  margin-bottom: 36px;
}
.brandband-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.005em;
  display: inline-block;
  margin-bottom: 12px;
}
.brandband-title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}
.brandband-track-wrap {
  position: relative;
  overflow: hidden;
}
.brandband-track-wrap::before,
.brandband-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brandband-track-wrap::before { left: 0; background: linear-gradient(to right, #1D1D1F, transparent); }
.brandband-track-wrap::after  { right: 0; background: linear-gradient(to left, #1D1D1F, transparent); }
.brandband-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: brandBandScroll 38s linear infinite;
  will-change: transform;
  padding: 4px 0;
}
.brandband:hover .brandband-track { animation-play-state: paused; }
@keyframes brandBandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.bb-logo {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
  white-space: nowrap;
  cursor: default;
}
.bb-logo:hover { color: #fff; }
.bb-dot {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  color: #0071E3;
  line-height: 1;
}
@media (max-width: 560px) {
  .brandband { padding: 50px 0 60px; }
  .brandband-track { gap: 24px; }
}

/* ─── Cleanup deprecated section spacing ─── */
.section { padding: 100px 0; }
.sucursales-section { padding: 100px 0 120px; }

/* ═════════════════════════════════════════════
   HYPERSPEED TUNNEL — Star Wars warp-style
   ═════════════════════════════════════════════ */
.hyperspeed {
  position: relative;
  height: 240vh; /* gives 1.4 viewports of scroll for the effect */
  background: #000;
  color: #fff;
  margin: 0;
  border-top: 1px solid #000;
}
.hyperspeed-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, #0A1A2F 0%, #000 70%);
}
.hyperspeed-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hyperspeed-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, transparent 40%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

/* Floating callouts that streak past */
.hyperspeed-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.hs-callout {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform, opacity;
  text-shadow: 0 0 12px rgba(122, 196, 255, 0.4);
}
.hs-callout::before {
  content: '+ ';
  color: #7AC4FF;
  font-weight: 400;
}
.hs-callout[data-axis="tl"] { top: 18%; left: 12%; }
.hs-callout[data-axis="tr"] { top: 22%; right: 14%; }
.hs-callout[data-axis="ml"] { top: 48%; left: 6%; }
.hs-callout[data-axis="mr"] { top: 52%; right: 8%; }
.hs-callout[data-axis="bl"] { bottom: 22%; left: 16%; }
.hs-callout[data-axis="br"] { bottom: 18%; right: 12%; }
.hs-callout[data-axis="t2"] { top: 34%; left: 30%; }
.hs-callout[data-axis="b2"] { bottom: 30%; right: 28%; }

/* Center content (title + sub) */
.hyperspeed-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  max-width: 880px;
  padding: 0 24px;
  width: 100%;
}
.hs-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7AC4FF;
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(122, 196, 255, 0.3);
  border-radius: 100px;
  background: rgba(122, 196, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
}
.hs-title {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(122, 196, 255, 0.3);
  padding-bottom: 0.12em;
}
.hs-title-line { display: block; }
.hs-title-line--accent {
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  background: linear-gradient(135deg, #fff 0%, #7AC4FF 50%, #0071E3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hs-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.45;
  max-width: 540px;
  margin: 0 auto;
}

/* HUD bottom-left */
.hs-hud {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.hs-hud-row { display: flex; gap: 12px; justify-content: space-between; min-width: 160px; }
.hs-hud-k { color: rgba(255,255,255,0.35); }
.hs-hud-v { color: #7AC4FF; font-weight: 600; }

@media (max-width: 760px) {
  .hyperspeed { height: 180vh; }
  .hs-hud { bottom: 24px; left: 24px; font-size: 9px; padding: 10px 12px; }
  .hs-hud-row { min-width: 130px; }
  .hs-callout { font-size: 11px; }
}

/* Hide old assembly styles */
.assembly-section, .assembly-sticky, .assembly-stage, .assembly-core, .asm-part {
  display: none !important;
}

/* ═════════════════════════════════════════════
   PRODUCTOS PAGE — Apple Shop style
   ═════════════════════════════════════════════ */
.catalog-hero--apple {
  background: #fff;
  padding: 140px 0 60px;
  min-height: auto;
  text-align: center;
}
.catalog-hero--apple .catalog-hero-content { max-width: 880px; margin: 0 auto; }
.catalog-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #6E6E73;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
.catalog-hero--apple .catalog-title {
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #1D1D1F;
  margin-bottom: 14px;
}
.catalog-hero--apple .catalog-sub {
  font-size: 19px;
  color: #6E6E73;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 0;
}

/* ─── CATEGORY NAV STRIP ─── */
.catstrip-section {
  padding: 24px 0 40px;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}
.catstrip-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}
.catstrip-scroll::-webkit-scrollbar { display: none; }
.catstrip-track {
  display: flex;
  gap: 14px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
  width: max-content;
}
.catcard {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #F5F5F7;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 18px 16px 16px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.catcard:hover {
  background: #fff;
  border-color: rgba(0, 113, 227, 0.18);
  box-shadow: 0 18px 36px rgba(13, 27, 42, 0.10);
  transform: translateY(-3px);
}
.catcard.is-active {
  background: #0D1B2A;
  border-color: transparent;
}
.catcard.is-active .catcard-name { color: #fff; }
.catcard.is-active .catcard-from { color: rgba(255,255,255,0.65); }
.catcard.is-active .catcard-cta { color: #7AC4FF; }
.catcard-imgwrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: transparent;
}
.catcard-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.catcard:hover .catcard-img { transform: scale(1.05); }
.catcard-fallback {
  font-size: 56px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catcard-meta { display: flex; flex-direction: column; gap: 2px; }
.catcard-name {
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F;
  letter-spacing: -0.015em;
}
.catcard-from {
  font-size: 12px;
  color: #6E6E73;
  font-weight: 500;
}
.catcard-cta {
  font-size: 12px;
  font-weight: 600;
  color: #0071E3;
  letter-spacing: -0.008em;
}

/* ─── SLIM SEARCH (minimal magnifying-glass that expands) ─── */
.slim-search {
  padding: 32px 0 8px;
  background: #fff;
}
.slim-search-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  transition: padding 0.35s cubic-bezier(0.16,1,0.3,1);
}
.slim-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: #fff;
  color: #1D1D1F;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.slim-search-btn:hover {
  background: #F5F5F7;
  border-color: rgba(0, 113, 227, 0.3);
}
.slim-search-btn[aria-expanded="true"] {
  background: #1D1D1F;
  border-color: #1D1D1F;
  color: #fff;
}
.slim-search-input {
  flex: 0 0 0;
  width: 0;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 100px;
  background: #F5F5F7;
  font-family: inherit;
  font-size: 14px;
  color: #1D1D1F;
  outline: none;
  transition: flex-basis 0.4s cubic-bezier(0.16,1,0.3,1), width 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.25s, background 0.25s;
  letter-spacing: -0.005em;
  overflow: hidden;
}
.slim-search-input:not([hidden]) {
  flex: 0 0 420px;
  width: 420px;
  padding: 0 40px 0 18px;
}
.slim-search-input:focus {
  border-color: rgba(0, 113, 227, 0.3);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.08);
}
.slim-search-input::placeholder { color: #86868B; }
.slim-search-clear {
  background: rgba(0,0,0,0.06);
  border: none;
  color: #6E6E73;
  cursor: pointer;
  font-size: 11px;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  position: absolute;
  right: calc(50% - 230px);
  top: 50%;
  transform: translateY(-50%);
}
.slim-search-clear:hover { background: rgba(0,0,0,0.12); color: #1D1D1F; }
@media (max-width: 640px) {
  .slim-search-input:not([hidden]) { flex-basis: 80vw; width: 80vw; }
  .slim-search-clear { right: 10vw; }
}

/* Old toolbar — hide if still in DOM */
.catalog-toolbar { display: none !important; }

/* ─── TOOLBAR (search + filters refined) ─── */
.catalog-toolbar--legacy {
  padding: 32px 0 24px;
  background: #fff;
  position: sticky;
  top: 68px;
  z-index: 50;
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.85);
}
.catalog-toolbar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog-toolbar .search-wrap {
  position: relative;
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  transition: flex-basis 0.35s cubic-bezier(0.16,1,0.3,1);
}
.catalog-toolbar .search-wrap:focus-within { flex-basis: 320px; }
.catalog-toolbar .search-icon-svg {
  position: absolute;
  left: 12px;
  color: #86868B;
  pointer-events: none;
  z-index: 1;
}
.catalog-toolbar .search-input {
  width: 100%;
  height: 36px;
  padding: 0 32px 0 34px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: #F5F5F7;
  font-family: inherit;
  font-size: 13px;
  color: #1D1D1F;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  letter-spacing: -0.005em;
}
.catalog-toolbar .search-input:focus {
  border-color: rgba(0, 113, 227, 0.3);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.08);
}
.catalog-toolbar .search-input::placeholder { color: #86868B; }
.catalog-toolbar .search-clear {
  position: absolute;
  right: 8px;
  background: rgba(0,0,0,0.06);
  border: none;
  color: #6E6E73;
  cursor: pointer;
  font-size: 11px;
  width: 20px; height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}
.catalog-toolbar .search-clear:hover { background: rgba(0,0,0,0.12); color: #1D1D1F; }

/* Filter pills inline */
.filters--apple {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  justify-content: flex-start;
  margin-bottom: 0;
  align-items: center;
}
.filters--apple .filter-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1F;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.filters--apple .filter-btn:hover {
  background: rgba(0, 113, 227, 0.08);
  color: #0071E3;
  border-color: transparent;
}
.filters--apple .filter-btn.active {
  background: #1D1D1F;
  color: #fff;
  border-color: transparent;
}

/* Catalog body white background to match Apple */
.catalog-body {
  background: #fff;
  padding: 56px 0 120px;
}
.catalog-body .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 760px) {
  .catalog-toolbar .container { gap: 12px; }
  .catalog-toolbar .search-wrap { flex: 1 1 100%; }
  .filters--apple { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filters--apple::-webkit-scrollbar { display: none; }
  .catcard { flex-basis: 170px; }
}

/* ─── SHOP HEADER (productos.html minimal) ─── */
.header--shop {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}
.header-shop-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo--shop { flex: 0 0 auto; }
.logo--shop .logo-img { height: 38px; width: auto; opacity: 0.9; transition: opacity 0.2s; }
.logo--shop:hover .logo-img { opacity: 1; }
.shop-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}
.shop-nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: #424245;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  flex: 0 0 auto;
}
.shop-nav-link:hover { color: #0071E3; background: rgba(0, 113, 227, 0.06); }
.shop-nav-link.is-active {
  color: #1D1D1F;
  background: rgba(13, 27, 42, 0.06);
  font-weight: 600;
}
.shop-more {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #1D1D1F;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.shop-more:hover { background: rgba(13, 27, 42, 0.06); }

/* Drawer for overflow / mobile */
.shop-drawer {
  position: absolute;
  top: 56px;
  right: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.14);
  padding: 8px;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 200;
  animation: drawerFade 0.2s ease-out;
}
@keyframes drawerFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.shop-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.shop-drawer-link {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1F;
  text-decoration: none;
  border-radius: 8px;
  letter-spacing: -0.008em;
  transition: background 0.15s, color 0.15s;
}
.shop-drawer-link:hover { background: rgba(0, 113, 227, 0.08); color: #0071E3; }
.shop-drawer-link.is-active { background: #1D1D1F; color: #fff; }

/* Hide nav on narrow screens — drawer takes over */
@media (max-width: 980px) {
  .shop-nav { display: none; }
}
@media (min-width: 1200px) {
  /* Hide drawer trigger when there's room for everything */
  .shop-more { display: none; }
}

/* Push hero down to clear the slimmer header */
.catalog-hero--apple { padding-top: 100px; }

/* ─── LOGO BIGGER ─── */
.logo-img--lg { height: 44px; }

/* ─── HEADER SEARCH (icon btn — index.html + shop) ─── */
.header-search-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;      /* pushes search + hamburger to right on mobile */
}
.header-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s;
}
.header-search-icon:hover { background: rgba(46,89,134,0.08); }

/* Shop header: search wrap lives inside header-shop-inner */
.header-search-wrap--shop {
  margin-left: 0;
  margin-right: auto;    /* push nav to right */
  position: relative;
}
.header-search-wrap--shop .slim-search-btn {
  flex-shrink: 0;
}
.header-search-input {
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 100px;
  background: #F5F5F7;
  font-family: inherit;
  font-size: 14px;
  color: #1D1D1F;
  outline: none;
  width: 0;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.25s;
  letter-spacing: -0.005em;
  overflow: hidden;
}
.header-search-input:not([hidden]) {
  width: min(380px, 55vw);
  padding: 0 36px 0 16px;
}
.header-search-input:focus {
  border-color: rgba(0,113,227,0.3);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,113,227,0.08);
}
.header-search-input::placeholder { color: #86868B; }
/* reuse slim-search-clear styles — position relative to wrap */
.header-search-wrap--shop .slim-search-clear {
  position: absolute;
  right: 8px;
  top: 50%; transform: translateY(-50%);
}

/* Mobile: show search icon in index.html header too */
@media (max-width: 768px) {
  .header-search-wrap { display: flex; }
  /* keep hamburger after search */
  .menu-toggle { margin-left: 4px; }
}
/* Desktop: hide the standalone icon (index.html) — nav already shows */
@media (min-width: 769px) {
  .header-search-wrap:not(.header-search-wrap--shop) { display: none; }
}

/* ─── HYPERLOOP CHAR ANIMATION ─── */
@keyframes charFly {
  0% {
    opacity: 0;
    transform: translateX(-56px) skewX(-20deg);
    filter: blur(8px);
  }
  65% {
    opacity: 1;
    transform: translateX(3px) skewX(2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0);
    filter: blur(0);
  }
}

.reveal-char {
  display: inline-block;
  animation: charFly 0.38s cubic-bezier(0.12, 0.8, 0.32, 1) both;
  animation-delay: var(--char-delay, 0ms);
  will-change: transform, opacity, filter;
}

/* Override overflow so chars can fly in from outside */
.hero-title--hyperloop .reveal-word {
  overflow: visible !important;
  padding-bottom: 0.28em;
  margin-bottom: -0.28em;
}
