:root {
  --dark-1: #18202c;
  --dark-2: #1c2735;
  --light-bg: #f2f5f7;
  --pink: #c3317d;
  --pink-soft: #e786b8;
  --white: #ffffff;
  --text-muted: #b7c0cc;
  --max-width: 1180px;
  --gap: 24px;

  /* Once UI-inspired tokens: playful radius + translucent glass surfaces */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-bg-hover: rgba(255, 255, 255, 0.075);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-hover: rgba(195, 49, 125, 0.45);
  --shadow-glass: 0 20px 60px -25px rgba(0, 0, 0, 0.55);
  --dot-color: rgba(195, 49, 125, 0.35);
}

* { box-sizing: border-box; }

/* Brand-colored scrollbar */
html { scrollbar-color: var(--pink) var(--dark-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink-soft), var(--pink));
  border-radius: 999px;
  border: 2px solid var(--dark-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--white);
  background: var(--dark-2);
}

/* Interactive dot pattern: base layer + brighter layer revealed around the cursor */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(195, 49, 125, 0.22) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
body::after {
  background-image:
    radial-gradient(circle 220px at var(--mx, 50%) var(--my, 30%), rgba(195, 49, 125, 0.10), transparent 70%),
    radial-gradient(rgba(231, 134, 184, 0.85) 1px, transparent 1.5px);
  background-size: 100% 100%, 26px 26px;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 30%), #000 0%, transparent 75%);
  mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 30%), #000 0%, transparent 75%);
  opacity: 0;
  transition: opacity .4s ease;
}
body.has-pointer::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}

h1, h2, h3, h4 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header — floats over the page, no strip/band reserved in the flow */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform .35s ease;
}
.site-header.header-hidden { transform: translateY(-130%); }

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 28px;
  padding-bottom: 0;
}

/* Floating pill nav (Once UI style) — carries the logo, links and WhatsApp action */
.pill-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 20, 28, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 10px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-glass);
}
.pill-logo {
  display: flex;
  align-items: center;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  transition: background-color .25s ease;
}
.pill-logo:hover { background: rgba(255, 255, 255, 0.06); }
.pill-logo img { height: 30px; width: auto; }
.pill-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 4px;
  flex-shrink: 0;
}
.pill-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
.pill-link svg { flex-shrink: 0; opacity: 0.85; }
.pill-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.pill-link.active { color: #fff; background: rgba(195, 49, 125, 0.25); }
.pill-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #25d366;
  background: rgba(37, 211, 102, 0.14);
  transition: background-color .25s ease, transform .25s ease;
}
.pill-whatsapp:hover { background: rgba(37, 211, 102, 0.24); transform: scale(1.06); }

/* Persistent mobile logo + hamburger (pill collapses into a dropdown on mobile) */
.header-mobile-logo { display: none; }
.nav-toggle {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(195, 49, 125, 0.6);
}
.btn-primary:hover {
  background: #a82a6c;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(195, 49, 125, 0.75);
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #6b7280;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(24,32,44,0.78), rgba(24,32,44,0.45));
}
.hero-overlay::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 10%;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(195,49,125,0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 60px;
}
.eyebrow {
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}
.eyebrow a, .quote-sub a { color: inherit; }
.eyebrow a:hover, .quote-sub a:hover { color: var(--pink-soft); text-decoration: underline; }
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  max-width: 900px;
}
.hero-quote {
  margin-top: 32px;
  max-width: 380px;
}
.quote-mark {
  font-size: 64px;
  color: var(--pink);
  font-family: Georgia, serif;
  line-height: 0;
}
.quote-text {
  font-weight: 700;
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  margin-top: 4px;
}
.quote-sub { color: var(--pink); font-weight: 700; font-size: 14px; }

/* Simple hero (sub-pages, no video) */
.hero-simple {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}
.hero-simple::after {
  content: "";
  position: absolute;
  right: 6%;
  top: -10%;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  background: radial-gradient(circle, rgba(195,49,125,0.32), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-simple .hero-inner { padding-top: 130px; padding-bottom: 50px; }
.hero-simple h1 { font-size: clamp(34px, 6vw, 60px); max-width: 820px; }

/* Tag pills */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 13px;
}
.section-light .tag { color: var(--dark-2); background: rgba(24,32,44,0.05); border-color: rgba(24,32,44,0.1); }

/* Platform cards (Meta / Google / TikTok ads) */
.platform-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.platform-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.platform-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}
.platform-icon {
  width: 150px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 12px;
}
.platform-icon-dark { background: var(--dark-1); border: 1px solid var(--glass-border); }
.platform-icon-fit { object-fit: contain; padding: 14px 18px; box-sizing: border-box; }
.platform-card h3 { font-size: 20px; margin-bottom: 10px; }
.platform-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 0; }

/* Shopify highlight card */
.shopify-card {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  padding: 48px;
  background: linear-gradient(120deg, rgba(195, 49, 125, 0.14), rgba(24, 32, 44, 0.5));
  border: 1px solid var(--glass-border-hover);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}
.section-light .shopify-card {
  background: linear-gradient(120deg, rgba(195, 49, 125, 0.10), rgba(255, 255, 255, 0.65));
}
.shopify-card h3 { font-size: clamp(24px, 3.5vw, 32px); }
.shopify-card > p:not(.feature-kicker) { max-width: 720px; }
.section-light .shopify-card > p:not(.feature-kicker) { color: var(--dark-2); }
.shopify-card .btn { margin-top: 28px; }
.shopify-card .tag-list { margin-bottom: 8px; }

/* Instagram Reels phone mockup */
.reel-phone {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  border: 6px solid #0b0f16;
  box-shadow: var(--shadow-glass), 0 0 0 1px rgba(255,255,255,0.08);
}
.reel-phone video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-ui {
  position: absolute;
  inset: 0;
  color: #fff;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 18%, transparent 62%, rgba(0,0,0,0.55) 100%);
}
.reel-ui svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.reel-ui-top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 19px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.reel-ui-rail {
  position: absolute;
  right: 10px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.reel-ui-rail span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.reel-ui-bottom {
  position: absolute;
  left: 14px;
  right: 64px;
  bottom: 14px;
}
.reel-ui-bottom p { margin: 0 0 7px; }
.reel-ui-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.reel-ui-user img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--dark-1);
  border: 1px solid rgba(255,255,255,0.7);
}
.reel-ui-follow {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 7px;
}
.reel-ui-caption { font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.reel-ui-music {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* CTA banner */
.cta-banner {
  margin-top: 70px;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  background: linear-gradient(120deg, rgba(195,49,125,0.18), rgba(255,255,255,0.03));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 24px; }

/* Work cards (proyectos page, light section) */
.work-cat {
  margin-top: 56px;
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--pink);
}
.work-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.work-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 32, 44, 0.08);
  box-shadow: 0 14px 40px -22px rgba(24, 32, 44, 0.35);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(195, 49, 125, 0.4);
  box-shadow: 0 24px 50px -20px rgba(195, 49, 125, 0.3);
}
.work-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(24, 32, 44, 0.05);
  border-bottom: 1px solid rgba(24, 32, 44, 0.07);
}
.work-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(24, 32, 44, 0.18);
}
.work-domain {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(24, 32, 44, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 20px;
}
.work-body img { max-height: 90px; max-width: 70%; object-fit: contain; }
.work-body-dark { background: var(--dark-1); }
.work-body.work-shot { padding: 0; height: 200px; overflow: hidden; }
.work-body.work-shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
  animation: sitePan 11s ease-in-out infinite;
}
.work-card:hover .work-shot img { transform: scale(1.04); animation-play-state: paused; }

/* Browser-chrome frame for real website screenshots (services/landing pages) */
.feature-media .site-frame {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-media .site-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(195, 49, 125, 0.3);
}
.feature-media .site-frame img {
  flex: 1;
  min-height: 0;
  width: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  animation: sitePan 12s ease-in-out infinite;
}
.feature-media .site-frame:hover img { animation-play-state: paused; }

/* Slow vertical pan across the captured page, so more of the real site is visible over time */
@keyframes sitePan {
  0%, 12% { object-position: top center; }
  50% { object-position: bottom center; }
  88%, 100% { object-position: top center; }
}
/* Reusable pan effect for any tall screenshot placed inside a feature-media square */
.feature-media img.pan-shot {
  animation: sitePan 13s ease-in-out infinite;
}
.feature-row:hover .pan-shot { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .work-body.work-shot img,
  .feature-media .site-frame img,
  .iphone-screen img,
  .feature-media img.pan-shot { animation: none; }
}

/* iPhone mockup with a real site screenshot, panning slowly like the browser-frame cards */
.iphone-link { display: block; width: 100%; }
.iphone-frame {
  position: relative;
  max-width: 260px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  background: #0b0f16;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-glass), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform .3s ease;
}
.iphone-link:hover .iphone-frame { transform: translateY(-6px); }
.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0b0f16;
  border-radius: 14px;
  z-index: 2;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  animation: sitePan 14s ease-in-out infinite;
}
.iphone-link:hover .iphone-screen img { animation-play-state: paused; }
.work-initial {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #8e2059);
}
.work-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-2);
  border-top: 1px solid rgba(24, 32, 44, 0.07);
}
.work-card:hover .work-label { color: var(--pink); }

/* Reel links */
.reel-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.reel-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 14;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-1);
  border: 1px solid var(--glass-border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 32, 44, 0.18);
  color: #fff;
  transition: background-color .3s ease;
}
.reel-play svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(195, 49, 125, 0.92);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.reel-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(195, 49, 125, 0.4); }
.reel-card:hover img { transform: scale(1.05); }
.reel-card:hover .reel-play { background: rgba(24, 32, 44, 0.02); }

/* Category badge on portfolio items */
.portfolio-item { position: relative; }
.portfolio-item .category-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24,32,44,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* Form */
.quote-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.quote-info p { color: var(--text-muted); }
.quote-info .footer-contact { margin-top: 28px; }
.quote-form {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-glass);
  display: grid;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.field input, .field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Geist', sans-serif;
  font-size: 15px;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-submit { border: 0; cursor: pointer; justify-self: start; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: -8px; }

/* Sections */
.section { padding: 90px 0; scroll-margin-top: 100px; }
.section-dark { background: transparent; }
.section-light { background: var(--light-bg); color: var(--dark-2); }
.section-light h2, .section-light h3, .section-light p { color: var(--dark-2); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.section-num {
  color: var(--pink);
  font-weight: 800;
  font-family: 'Geist', sans-serif;
  margin: 0;
}
.section-label { font-weight: 700; margin: 0; }
.section-label.pink { color: var(--pink); }
.section-title { font-size: clamp(32px, 5vw, 52px); margin-top: 8px; }
.section-subtitle { color: var(--text-muted); font-size: 18px; margin-top: -8px; margin-bottom: 40px; }

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

/* Cards grid (servicios) */
.cards-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}
.card h3 { color: var(--pink); font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 20px; }
.card h4 { font-size: 22px; margin-bottom: 14px; }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 0; }

/* Feature rows (que hacemos) */
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-kicker { color: var(--pink); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.feature-text h3 { font-size: 26px; }
.feature-text p:last-child { color: var(--text-muted); margin-bottom: 0; }
.feature-media img,
.feature-media video {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

/* Casos grid — case-study shots mixed with real client quotes + a CTA card */
.cases-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.case-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(195, 49, 125, 0.35);
}
.case-card img,
.case-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.case-card:hover img,
.case-card:hover video { transform: scale(1.08); }
.case-card.case-pan img { animation: sitePan 12s ease-in-out infinite; }
.case-card.case-pan:hover img { animation-play-state: paused; }
.case-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(10, 13, 18, 0.85), transparent);
}
.case-caption strong {
  display: block;
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.case-caption span { font-size: 12px; color: rgba(255, 255, 255, 0.75); }

/* Pull-quote cards reuse the testimonial-card look, sized to match the grid */
.cases-grid .testimonial-card { height: 320px; justify-content: center; }
.cases-grid .quote-mark {
  font-size: 46px;
  color: var(--pink);
  font-family: Georgia, serif;
  line-height: 0.6;
  display: block;
  margin-bottom: 10px;
}

.case-cta {
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--glass-border-hover);
  background: var(--glass-bg);
  transition: background-color .3s ease, transform .3s ease;
}
.case-cta:hover { background: var(--glass-bg-hover); transform: translateY(-6px); }
.case-cta svg { color: var(--pink); }
.case-cta strong { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 17px; color: #fff; }
.case-cta span { font-size: 13px; color: var(--text-muted); }

/* The Casos section sits on a light background — give quote/CTA cards their own light-surface treatment */
.section-light .cases-grid .testimonial-card,
.section-light .case-cta {
  background: #fff;
  border-color: rgba(24, 32, 44, 0.08);
  box-shadow: 0 14px 40px -22px rgba(24, 32, 44, 0.35);
}
.section-light .cases-grid .testimonial-card:hover,
.section-light .case-cta:hover {
  background: #fff;
  border-color: rgba(195, 49, 125, 0.4);
  box-shadow: 0 24px 50px -20px rgba(195, 49, 125, 0.3);
}
.section-light .case-cta { border-style: dashed; }
.section-light .case-cta strong { color: var(--dark-2); }
.section-light .cases-grid .testimonial-author { color: var(--dark-2); }
.section-light .cases-grid .testimonial-text { color: #545f6e; }

/* About */
.about-row { max-width: 900px; }
.about-row h3 { font-size: 26px; }
.about-row p { color: var(--text-muted); }

/* Testimonials */
.testimonials-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}
.stars {
  color: var(--pink);
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 14px;
}
.testimonial-text {
  color: var(--text-muted);
  font-size: 15px;
  flex-grow: 1;
}
.testimonial-author {
  font-weight: 700;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  margin-bottom: 0;
}
.review-cta { margin-top: 40px; }

/* Clients marquee */
.clients-marquee {
  margin-top: 48px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.clients-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
}
.client-logo {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 160px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-glass);
  transition: transform .3s ease, box-shadow .3s ease;
}
.client-logo:hover { transform: translateY(-6px) scale(1.03); }
.client-logo img { max-height: 100px; max-width: 100%; width: auto; object-fit: contain; }
.client-logo-dark {
  background: var(--dark-1);
  border: 1px solid var(--glass-border);
}

/* Footer */
.footer { background: rgba(24, 32, 44, 0.6); padding-top: 90px; scroll-margin-top: 100px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top h2 { color: var(--pink); font-size: clamp(32px, 5vw, 56px); }
.socials { display: flex; gap: 28px; margin-top: 24px; font-weight: 700; }
.socials a:hover { color: var(--pink); }
.footer-contact { align-self: end; }
.footer-contact a:hover { color: var(--pink); }
.footer-tagline { font-weight: 700; font-size: 20px; margin-top: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Contact page */
.contact-map {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(30%) contrast(1.05);
}
.map-link {
  display: block;
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--pink-soft);
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
}
.map-link:hover { color: #fff; background: var(--glass-bg-hover); }
.contact-channels { display: grid; gap: 14px; margin-top: 28px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: border-color .25s ease, background-color .25s ease;
}
.contact-channel:hover { border-color: var(--glass-border-hover); background: var(--glass-bg-hover); }
.contact-channel svg { flex-shrink: 0; }
.contact-channel span { font-size: 13px; color: var(--text-muted); display: block; }
.contact-channel strong { font-size: 15px; }

/* Mobile bottom CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: rgba(24, 32, 44, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--glass-border);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  color: #fff;
}
.mobile-cta-bar a svg { flex-shrink: 0; }
.mobile-cta-bar .bar-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 200;
}
.whatsapp-fab:hover { background: #1ebe5b; }

/* Responsive */
@media (max-width: 992px) {
  .cards-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-media { order: -1; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .reel-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-contact { align-self: start; }
}

@media (max-width: 768px) {
  .header-inner { justify-content: flex-start; padding-top: 18px; }
  .header-mobile-logo { display: flex; align-items: center; }
  .header-mobile-logo img { height: 36px; width: auto; }
  .pill-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 20, 28, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
  }
  .pill-nav.is-open { display: flex; }
  .pill-logo, .pill-whatsapp, .pill-divider { display: none; }
  .pill-link { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card, .cases-grid .testimonial-card, .case-cta { height: 280px; }
  .work-grid { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { width: 200px; height: 130px; padding: 20px 28px; }
  .client-logo img { max-height: 80px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 28px; }
  .cta-banner { padding: 40px 24px; }
  .shopify-card { padding: 32px 24px; }

  /* Bottom CTA bar replaces the floating WhatsApp button on mobile */
  .mobile-cta-bar { display: flex; }
  .whatsapp-fab { display: none; }
  body { padding-bottom: 68px; }
  .contact-map iframe { height: 280px; }
}

@media (max-width: 480px) {
  .hero { min-height: 92vh; }
}
