:root {
  --sn-blue: #1e3a8a;
  --sn-blue-2: #2563eb;
  --sn-blue-3: #4f46e5;
  --sn-purple: #6d28d9;
  --sn-red: #ef4056;
  --sn-green: #25d366;
  --sn-ink: #172033;
  --sn-muted: #667085;
  --sn-light: #f5f7fb;
  --sn-line: #e8ecf3;
  --sn-dark: #1f232a;
  --sn-radius: 24px;
  --sn-shadow: 0 18px 50px rgba(23, 32, 51, .10);
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: var(--sn-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: inherit; }
.section-anchor { scroll-margin-top: calc(var(--nav-h) + 10px); }

/* Navbar */
.navbar-sn {
  min-height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.72);
  transition: box-shadow .25s ease, background .25s ease;
  padding-top: max(.45rem, env(safe-area-inset-top));
}
.navbar-sn.is-scrolled { box-shadow: 0 10px 30px rgba(23,32,51,.08); background: rgba(255,255,255,.98); }
.navbar-brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: 1rem; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.06; }
.brand-copy strong { font: 700 1.03rem/1.1 'Poppins', sans-serif; color: var(--sn-blue); }
.brand-copy small { margin-top: .24rem; font-size: .59rem; color: #5370ad; font-weight: 600; }
.navbar-toggler { font-size: 1.9rem; color: var(--sn-ink); }
.nav-anchor {
  position: relative;
  padding: .65rem .7rem !important;
  font-size: .84rem;
  font-weight: 700;
  color: #4b5565 !important;
  transition: color .2s ease;
}
.nav-anchor::after {
  content: '';
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .34rem;
  height: 2px;
  border-radius: 999px;
  background: var(--sn-blue-2);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-anchor:hover, .nav-anchor.active { color: var(--sn-blue-2) !important; }
.nav-anchor.active::after { transform: scaleX(1); }
.btn-whatsapp-nav {
  border: 1.5px solid var(--sn-green);
  color: #159447;
  font-size: .84rem;
  font-weight: 800;
  padding: .62rem 1rem;
  background: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-whatsapp-nav:hover { color: #fff; background: var(--sn-green); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37,211,102,.24); }

/* Hero */
.hero-sn { min-height: calc(100vh - var(--nav-h)); background: #fff; overflow: hidden; }
.hero-copy-col {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.13), transparent 24%),
    linear-gradient(135deg, #6419cf 0%, #4934ef 48%, #2c6cf2 100%);
  background-size: 130% 130%;
  animation: heroGradient 12s ease-in-out infinite alternate;
}
.hero-copy-col::after {
  content: '';
  position: absolute;
  right: -76px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin-left: auto;
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 5vw, 5.8rem);
  color: #fff;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .52rem .85rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-logo { width: 84px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.24)); margin-bottom: 1.4rem; animation: logoFloat 4.8s ease-in-out infinite; }
.hero-copy h1 {
  max-width: 670px;
  margin: 0 0 1rem;
  font: 800 clamp(2.35rem, 4vw, 4.5rem)/1.03 'Poppins', sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-lead { max-width: 660px; margin: 0 0 1.8rem; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.7; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-hero-primary, .btn-primary-sn {
  border: 0;
  background: linear-gradient(135deg, #f4475d, #ea3654);
  color: #fff;
  font-weight: 800;
  padding: .88rem 1.35rem;
  box-shadow: 0 12px 28px rgba(222,42,75,.26);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-hero-primary:hover, .btn-primary-sn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(222,42,75,.33); filter: saturate(1.05); }
.btn-hero-secondary {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  background: rgba(255,255,255,.06);
  font-weight: 700;
  padding: .88rem 1.2rem;
}
.btn-hero-secondary:hover { color: #fff; background: rgba(255,255,255,.14); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.05rem 1.35rem; margin-top: 1.7rem; color: rgba(255,255,255,.82); font-size: .79rem; font-weight: 600; }
.hero-trust i { margin-right: .32rem; color: #b9f5c7; }
.hero-media-col { position: relative; min-height: calc(100vh - var(--nav-h)); overflow: hidden; background: #111827; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,18,31,.18), rgba(12,18,31,.65)); }
.hero-media-content {
  position: absolute;
  left: clamp(1.5rem, 4vw, 4rem);
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(2rem, 5vw, 4.5rem);
  z-index: 2;
  color: #fff;
}
.media-label { display: block; margin-bottom: .75rem; color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.media-solutions { display: flex; flex-wrap: wrap; gap: .7rem; }
.media-solutions span { display: inline-flex; align-items: center; gap: .45rem; padding: .72rem .9rem; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; background: rgba(18,24,38,.34); backdrop-filter: blur(10px); font-size: .84rem; font-weight: 700; animation: chipFloat 5.4s ease-in-out infinite; }
.media-solutions span:nth-child(2) { animation-delay: -.9s; }
.media-solutions span:nth-child(3) { animation-delay: -1.8s; }
.media-solutions span:nth-child(4) { animation-delay: -2.7s; }

/* Common sections */
.section-sn { padding: clamp(5rem, 8vw, 8rem) 0; }
.section-heading { max-width: 850px; margin-bottom: 2.2rem; }
.section-heading.text-center { margin-left: auto; margin-right: auto; }
.section-eyebrow { display: inline-block; margin-bottom: .7rem; color: var(--sn-blue-2); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.section-heading h2, .focus-band h2, .process-section h2, .quote-copy h2 {
  margin: 0 0 1rem;
  font: 700 clamp(2rem, 3.6vw, 3.35rem)/1.08 'Poppins', sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-heading p, .focus-band p, .process-section > .container > .row > div > p { color: var(--sn-muted); font-size: 1rem; line-height: 1.75; }

/* Services */
#servicios { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 1.55rem;
  border: 1px solid var(--sn-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23,32,51,.05);
  transform: perspective(950px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.service-card:hover {
  --lift: -9px;
  box-shadow: 0 24px 50px rgba(23,32,51,.12);
  border-color: rgba(37,99,235,.28);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: auto -55px -70px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(37,99,235,.055);
  transition: transform .45s ease, background .3s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -70%;
  width: 48%;
  height: 165%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: rotate(18deg);
  transition: left .65s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover::before { transform: scale(1.15); background: rgba(37,99,235,.085); }
.service-card:hover::after { left: 130%; }
.service-icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.8rem;
  border-radius: 15px;
  background: #eef4ff;
  color: var(--sn-blue-2);
  font-size: 1.45rem;
  transform: translateZ(28px);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.service-card:hover .service-icon { transform: translateZ(28px) translateY(-3px) rotate(-4deg) scale(1.08); box-shadow: 0 10px 24px rgba(37,99,235,.14); }
.service-number { position: absolute; top: 1.35rem; right: 1.35rem; color: #cdd6e6; font-weight: 800; font-size: .72rem; }
.service-card h3 { position: relative; z-index: 2; margin-bottom: .72rem; font: 700 1.08rem/1.32 'Poppins', sans-serif; transform: translateZ(18px); }
.service-card p { position: relative; z-index: 2; color: var(--sn-muted); font-size: .84rem; line-height: 1.62; }
.card-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; color: var(--sn-blue-2); font-size: .81rem; font-weight: 800; text-decoration: none; }
.card-link i { transition: transform .2s ease; }
.card-link:hover i { transform: translateX(4px); }
.service-card-support {
  border-color: rgba(79,70,216,.20);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}
.service-card-support::before { background: rgba(109,40,217,.07); }
.service-card-support .service-icon { background: linear-gradient(145deg, #f2edff, #edf3ff); color: #5b4bd8; }
.service-card-support .service-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(91,75,216,.24);
  border-radius: 19px;
  animation: ticketPulse 2.7s ease-out infinite;
}
.service-client-badge {
  position: absolute;
  top: 1.25rem;
  right: 3.25rem;
  padding: .28rem .48rem;
  border: 1px solid rgba(91,75,216,.15);
  border-radius: 999px;
  background: #f4f1ff;
  color: #6557c9;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-link-support { color: #5b4bd8; }

/* Focus */
.focus-band { padding: clamp(4.8rem, 8vw, 7.5rem) 0; background: linear-gradient(135deg, #182240, #202b50 48%, #24396d); color: #fff; }
.focus-band p { max-width: 650px; color: rgba(255,255,255,.72); }
.section-eyebrow-light { color: #9bb5ff; }
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.focus-item { min-height: 155px; padding: 1.35rem; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(255,255,255,.055); transition: transform .28s ease, background .28s ease, border-color .28s ease; }
.focus-item:hover { transform: translateY(-6px); background: rgba(255,255,255,.085); border-color: rgba(255,255,255,.20); }
.focus-item i { display: block; margin-bottom: 1.15rem; color: #88aaff; font-size: 1.5rem; }
.focus-item strong { display: block; margin-bottom: .32rem; font: 700 .98rem/1.2 'Poppins', sans-serif; }
.focus-item span { color: rgba(255,255,255,.68); font-size: .82rem; }

/* Portfolio types */
.portfolio-section { background: var(--sn-light); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.portfolio-type {
  min-height: 250px;
  padding: 1.55rem;
  border: 1px solid #e0e6f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23,32,51,.055);
  transition: transform .25s ease, box-shadow .25s ease;
}
.portfolio-type:hover { transform: translateY(-5px); box-shadow: var(--sn-shadow); }
.portfolio-type-large { grid-column: span 2; grid-row: span 2; min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, #fff, #f4f7ff); }
.portfolio-type > span, .portfolio-copy > span { color: var(--sn-blue-2); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.portfolio-type h3, .portfolio-copy h3 { margin: .55rem 0 .6rem; font: 700 1.3rem/1.25 'Poppins', sans-serif; }
.portfolio-type p, .portfolio-copy p { margin-bottom: 0; color: var(--sn-muted); font-size: .88rem; line-height: 1.65; }
.portfolio-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 2.4rem; border-radius: 15px; background: #eef4ff; color: var(--sn-blue-2); font-size: 1.35rem; }
.mock-browser { overflow: hidden; width: 100%; min-height: 290px; margin-bottom: 1.5rem; border: 1px solid #dce4f3; border-radius: 18px; background: #fff; box-shadow: 0 22px 45px rgba(37,99,235,.09); transform: rotate(-1deg); }
.mock-top { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #f1f4f9; border-bottom: 1px solid #e2e8f0; }
.mock-top span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.mock-body { height: 250px; padding: 26px; background: linear-gradient(135deg,#6432db,#3e63ed); }
.mock-body div { border-radius: 10px; background: rgba(255,255,255,.92); }
.mock-body div:nth-child(1) { width: 45%; height: 20px; margin: 35px 0 12px; }
.mock-body div:nth-child(2) { width: 72%; height: 12px; opacity: .75; }
.mock-body div:nth-child(3) { width: 120px; height: 38px; margin-top: 24px; background: #ef4056; }
.portfolio-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; padding: 1.4rem 1.55rem; border-radius: 20px; background: #fff; border: 1px solid #e0e6f0; }
.portfolio-cta strong { display: block; margin-bottom: .2rem; font: 700 1rem/1.3 'Poppins', sans-serif; }
.portfolio-cta span { color: var(--sn-muted); font-size: .86rem; }

/* Benefits */
.benefits-section { background: #fff; }
.benefit-card { height: 100%; padding: 1.5rem 1.4rem; border-left: 3px solid #dce6ff; }
.benefit-card i { color: var(--sn-blue-2); font-size: 1.65rem; }
.benefit-card h3 { margin: 1.1rem 0 .5rem; font: 700 1.05rem/1.3 'Poppins', sans-serif; }
.benefit-card p { margin-bottom: 0; color: var(--sn-muted); font-size: .87rem; line-height: 1.6; }

/* Process */
.process-section { background: #f8f9fc; }
.process-section h2 { font-size: clamp(2rem, 3.1vw, 3rem); }
.process-list { position: relative; }
.process-list::before { content: ''; position: absolute; left: 28px; top: 28px; bottom: 28px; width: 1px; background: #dce3ef; }
.process-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1.1rem; padding: 0 0 2.1rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step > span { position: relative; z-index: 2; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #dce3ef; border-radius: 17px; background: #fff; color: var(--sn-blue-2); font-size: .76rem; font-weight: 800; box-shadow: 0 8px 18px rgba(23,32,51,.05); }
.process-step h3 { margin: .25rem 0 .45rem; font: 700 1.08rem/1.3 'Poppins', sans-serif; }
.process-step p { margin: 0; color: var(--sn-muted); font-size: .89rem; line-height: 1.65; }

/* Quote */
.quote-section { padding: clamp(5rem, 8vw, 8rem) 0; background: #fff; }
.quote-shell { overflow: hidden; border-radius: 28px; box-shadow: 0 28px 70px rgba(23,32,51,.12); }
.quote-copy { padding: clamp(2rem, 4.5vw, 4.2rem); color: #fff; background: linear-gradient(145deg, #5426cc, #2f5ee9); }
.quote-copy p { color: rgba(255,255,255,.76); line-height: 1.72; }
.quote-points { display: grid; gap: .68rem; margin: 1.7rem 0 2rem; }
.quote-points span { font-size: .87rem; color: rgba(255,255,255,.88); }
.quote-points i { margin-right: .55rem; color: #b8f1c4; }
.quote-direct { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.quote-direct > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.12); font-size: 1.1rem; }
.quote-direct span { display: flex; flex-direction: column; }
.quote-direct small { color: rgba(255,255,255,.68); }
.quote-direct strong { font-size: .94rem; }
.quote-form-wrap { padding: clamp(2rem, 4.5vw, 4.2rem); background: #fff; }
.quote-form label { color: #344054; font-size: .82rem; font-weight: 700; }
.quote-form .form-control, .quote-form .form-select { min-height: 49px; padding: .75rem .9rem; border: 1px solid #d7deea; border-radius: 12px; font-size: .9rem; box-shadow: none; }
.quote-form textarea.form-control { min-height: 130px; resize: vertical; }
.quote-form .form-control:focus, .quote-form .form-select:focus { border-color: #7b9cf4; box-shadow: 0 0 0 .22rem rgba(37,99,235,.10); }
.form-note { max-width: 290px; color: var(--sn-muted); line-height: 1.45; }

/* Footer */
.footer-sn { padding-bottom: max(0px, env(safe-area-inset-bottom)); background: var(--sn-dark); color: #fff; }
.footer-brand img { width: 220px; max-width: 100%; }
.footer-copy { max-width: 470px; color: #aeb6c5; font-size: .88rem; line-height: 1.65; }
.footer-title { margin-bottom: 1rem; color: #fff; font: 700 .75rem/1.2 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a { color: #b9c0cc; font-size: .85rem; text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-whatsapp { display: inline-flex; align-items: center; gap: .45rem; color: #6be48f; font-weight: 700; font-size: .85rem; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); color: #7f8998; font-size: .76rem; }
.footer-separator { margin: 0 .35rem; color: rgba(255,255,255,.22); }
.footer-support-link { color: #aeb6c5; text-decoration: none; font-weight: 600; transition: color .2s ease; }
.footer-support-link:hover { color: #fff; }

@keyframes heroGradient {
  0% { background-position: 0% 20%; }
  100% { background-position: 100% 80%; }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes ticketPulse {
  0% { opacity: .55; transform: scale(.94); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}

/* Motion */
.reveal { opacity: 0; filter: blur(7px); transform: translateY(30px) scale(.985); transition: opacity .78s ease, transform .78s cubic-bezier(.2,.7,.2,1), filter .78s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.back-to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px)); z-index: 1040; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 14px; background: #fff; color: var(--sn-blue-2); box-shadow: 0 12px 30px rgba(23,32,51,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1199.98px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .brand-copy small { display: none; }
  .nav-anchor { padding-left: .48rem !important; padding-right: .48rem !important; }
  .nav-anchor::after { left: .48rem; right: .48rem; }
}

@media (max-width: 991.98px) {
  :root { --nav-h: 70px; }
  .navbar-collapse { background: rgba(255,255,255,.99); margin: .45rem -.75rem -.45rem; padding: 0 .75rem; border-top: 1px solid #edf0f5; }
  .nav-anchor { padding: .72rem .35rem !important; }
  .nav-anchor::after { display: none; }
  .btn-whatsapp-nav { width: 100%; justify-content: center; margin: .3rem 0 .8rem; }
  .hero-sn, .hero-copy-col { min-height: auto; }
  .hero-copy-col { min-height: 660px; }
  .hero-media-col { min-height: 420px; }
  .hero-copy { width: 100%; margin: 0; padding: 5rem max(1.25rem, env(safe-area-inset-left)) 4rem; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .portfolio-type-large { grid-column: span 2; min-height: 500px; }
}

@media (max-width: 767.98px) {
  .services-grid { grid-template-columns: 1fr; }
  .section-sn { padding: 4.5rem 0; }
  .hero-copy-col { min-height: 660px; }
  .hero-logo { width: 70px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-trust { gap: .7rem 1rem; }
  .hero-media-col { min-height: 350px; }
  .media-solutions span { font-size: .77rem; padding: .64rem .75rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item { min-height: auto; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-type-large { grid-column: span 1; min-height: 470px; }
  .mock-browser { min-height: 245px; }
  .mock-body { height: 205px; }
  .portfolio-cta { align-items: flex-start; flex-direction: column; }
  .portfolio-cta .btn { width: 100%; }
  .quote-shell { border-radius: 22px; }
  .footer-brand img { width: 190px; }
}

@media (max-width: 575.98px) {
  .brand-mark { width: 35px; height: 35px; }
  .brand-copy strong { font-size: .96rem; }
  .hero-kicker { border-radius: 12px; line-height: 1.35; }
  .hero-copy { padding-left: max(1.15rem, env(safe-area-inset-left)); padding-right: max(1.15rem, env(safe-area-inset-right)); }
  .hero-media-content { left: 1rem; right: 1rem; bottom: 1.25rem; }
  .service-card, .portfolio-type { border-radius: 18px; }
  .process-list::before { left: 23px; }
  .process-step { grid-template-columns: 48px 1fr; gap: .85rem; }
  .process-step > span { width: 48px; height: 48px; border-radius: 14px; }
  .quote-copy, .quote-form-wrap { padding: 2rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; filter: none; transform: none; }
  .hero-copy-col, .hero-logo, .media-solutions span, .service-card-support .service-icon::after { animation: none !important; }
  .service-card { transform: none !important; }
}

/* =========================================================
   PORTAFOLIO — slider de proyectos reales
   ========================================================= */
.portfolio-showcase-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(37,99,235,.08), transparent 27%),
    radial-gradient(circle at 86% 88%, rgba(94,50,219,.08), transparent 30%),
    var(--sn-light);
}
.portfolio-showcase-section .portfolio-heading { max-width: 790px; margin-inline: auto; }
.portfolio-showcase-section .portfolio-heading h2 { margin-bottom: .8rem; }
.portfolio-showcase-section .portfolio-heading p { max-width: 620px; margin: 0 auto; color: var(--sn-muted); }

.portfolio-slider { position: relative; max-width: 1080px; margin: 3rem auto 0; }
.portfolio-slider-viewport {
  overflow: hidden;
  border-radius: 28px;
  filter: drop-shadow(0 28px 55px rgba(23,32,51,.12));
}
.portfolio-slider-track {
  display: flex;
  will-change: transform;
  transition: transform .78s cubic-bezier(.22,.72,.18,1);
}
.portfolio-slide {
  flex: 0 0 100%;
  min-width: 0;
  opacity: .45;
  transform: scale(.975);
  transition: opacity .55s ease, transform .65s cubic-bezier(.22,.72,.18,1);
}
.portfolio-slide.is-active { opacity: 1; transform: scale(1); }
.portfolio-project-card {
  overflow: hidden;
  border: 1px solid #dbe3f0;
  border-radius: 28px;
  background: #fff;
}
.portfolio-browser-bar {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid #e7ecf4;
  background: rgba(249,250,252,.96);
}
.browser-dots { display: flex; align-items: center; gap: 6px; }
.browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: #d4dbe7; }
.browser-dots span:nth-child(1) { background: #ff6b6b; }
.browser-dots span:nth-child(2) { background: #ffc857; }
.browser-dots span:nth-child(3) { background: #61d095; }
.browser-address {
  min-width: 0;
  max-width: 620px;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: .48rem;
  padding: .55rem .85rem;
  border: 1px solid #e3e8f0;
  border-radius: 11px;
  background: #fff;
  color: #667085;
  font-size: .78rem;
  line-height: 1;
}
.browser-address i { flex: 0 0 auto; color: #55a36f; font-size: .7rem; }
.browser-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-open {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--sn-blue-2);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.browser-open:hover { color: #4d36c8; }

.portfolio-embed-shell {
  position: relative;
  height: clamp(390px, 48vw, 590px);
  overflow: hidden;
  background: #f4f7fb;
  isolation: isolate;
}
.portfolio-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  pointer-events: none;
}
.embed-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.20) 48%, transparent 60%);
  transform: translateX(-120%);
  opacity: 0;
}
.portfolio-slide.is-active .embed-shine { animation: portfolioShine 1.35s .28s ease both; }

.portfolio-project-info {
  display: grid;
  grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: 2rem;
  padding: 1.45rem 1.65rem 1.6rem;
  border-top: 1px solid #e9edf4;
  background: #fff;
}
.portfolio-project-type {
  display: block;
  margin-bottom: .35rem;
  color: var(--sn-blue-2);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.portfolio-project-info h3 { margin: 0; font: 700 1.25rem/1.3 'Poppins', sans-serif; }
.portfolio-project-info p { margin: 0; color: var(--sn-muted); font-size: .88rem; line-height: 1.65; }

.portfolio-slider-controls {
  display: grid;
  grid-template-columns: 48px 1fr auto 48px;
  align-items: center;
  gap: .9rem;
  margin-top: 1.25rem;
}
.portfolio-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe5ef;
  border-radius: 15px;
  background: #fff;
  color: #172033;
  box-shadow: 0 8px 18px rgba(23,32,51,.05);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.portfolio-arrow:hover { transform: translateY(-2px); border-color: #b7c7f6; color: var(--sn-blue-2); box-shadow: 0 12px 24px rgba(37,99,235,.10); }
.portfolio-dots { display: flex; justify-content: center; align-items: center; gap: .55rem; }
.portfolio-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd7e5;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}
.portfolio-dot.is-active { width: 30px; background: linear-gradient(90deg,#5e32db,#2563eb); }
.portfolio-counter { display: flex; align-items: baseline; gap: .25rem; min-width: 54px; color: #9aa4b2; font-size: .72rem; }
.portfolio-counter strong { color: #172033; font: 700 1rem/1 'Poppins', sans-serif; }
.portfolio-progress { height: 2px; margin: .9rem 64px 0; overflow: hidden; border-radius: 999px; background: #e4e9f1; }
.portfolio-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#5e32db,#2563eb); }
.portfolio-slider.is-running .portfolio-progress span { animation: portfolioProgress 8s linear forwards; }
.portfolio-slider.is-paused .portfolio-progress span { animation-play-state: paused; }

@keyframes portfolioProgress { from { width: 0; } to { width: 100%; } }
@keyframes portfolioShine { 0% { opacity: 0; transform: translateX(-120%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(120%); } }

@media (max-width: 767.98px) {
  .portfolio-slider { margin-top: 2.2rem; }
  .portfolio-slider-viewport, .portfolio-project-card { border-radius: 20px; }
  .portfolio-browser-bar { grid-template-columns: auto minmax(0,1fr); min-height: 54px; gap: .7rem; padding: .65rem .75rem; }
  .browser-address { width: 100%; justify-self: stretch; padding: .5rem .65rem; font-size: .69rem; }
  .browser-open { display: none; }
  .portfolio-embed-shell { height: 430px; }
  .portfolio-project-info { grid-template-columns: 1fr; gap: .65rem; padding: 1.2rem 1.15rem 1.35rem; }
  .portfolio-project-info h3 { font-size: 1.08rem; }
  .portfolio-project-info p { font-size: .82rem; }
  .portfolio-slider-controls { grid-template-columns: 44px 1fr 44px; gap: .65rem; }
  .portfolio-arrow { width: 44px; height: 44px; border-radius: 14px; }
  .portfolio-counter { display: none; }
  .portfolio-progress { margin-left: 56px; margin-right: 56px; }
}

@media (max-width: 575.98px) {
  .portfolio-embed-shell { height: 390px; }
  .browser-dots span { width: 8px; height: 8px; }
  .portfolio-showcase-section .portfolio-heading p { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-slider-track, .portfolio-slide, .portfolio-dot, .portfolio-arrow { transition: none !important; }
  .portfolio-progress span, .portfolio-slide.is-active .embed-shine { animation: none !important; }
}

/* Google Reviews */
.reviews-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 7.2rem) 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(79,70,229,.10), transparent 30%),
    radial-gradient(circle at 92% 82%, rgba(37,99,235,.08), transparent 32%),
    #f8faff;
}
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,.13) .7px, transparent .7px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  opacity: .34;
}
.reviews-shell { position: relative; z-index: 1; }
.reviews-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: 2.2rem;
}
.reviews-copy { max-width: 700px; }
.reviews-copy h2 { margin: .65rem 0 .9rem; max-width: 680px; font: 700 clamp(2rem, 4vw, 3.35rem)/1.08 'Poppins', sans-serif; letter-spacing: -.035em; }
.reviews-copy p { max-width: 650px; margin: 0; color: var(--sn-muted); font-size: 1rem; line-height: 1.75; }
.google-rating-card {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.55rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 45px rgba(23,32,51,.08);
  backdrop-filter: blur(12px);
}
.google-rating-card::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  right: -58px;
  top: -58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(66,133,244,.12), rgba(52,168,83,.08));
}
.google-rating-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: .55rem; color: #344054; font-weight: 800; font-size: .82rem; }
.google-rating-brand i { font-size: 1.08rem; color: #4285f4; }
.google-rating-value { position: relative; z-index: 1; display: flex; align-items: center; gap: .9rem; margin: 1rem 0 .85rem; }
.google-rating-value > strong { font: 800 3rem/1 'Poppins', sans-serif; color: var(--sn-ink); letter-spacing: -.06em; }
.review-stars { display: flex; gap: .22rem; color: #f7b928; font-size: .92rem; }
.google-rating-value small { display: block; margin-top: .32rem; color: var(--sn-muted); font-size: .75rem; font-weight: 700; }
.google-rating-unavailable { margin: 1rem 0; color: var(--sn-muted); font-size: .9rem; }
.google-rating-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; color: var(--sn-blue-2); font-size: .82rem; font-weight: 800; text-decoration: none; }
.google-rating-link:hover { color: var(--sn-purple); }
.reviews-slider { position: relative; overflow: hidden; border-radius: 28px; }
.reviews-track { display: flex; transition: transform .55s cubic-bezier(.2,.75,.2,1); will-change: transform; }
.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.65rem, 4vw, 3.1rem);
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 28px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 22px 55px rgba(23,32,51,.08);
  opacity: .45;
  transform: scale(.985);
  transition: opacity .35s ease, transform .35s ease;
}
.review-card.is-active { opacity: 1; transform: scale(1); }
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.review-author { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.review-author img, .review-avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; }
.review-avatar { display: grid; place-items: center; background: linear-gradient(135deg, var(--sn-blue-2), var(--sn-purple)); color: #fff; font-weight: 800; }
.review-author div { min-width: 0; }
.review-author a, .review-author strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sn-ink); font-size: .9rem; font-weight: 800; text-decoration: none; }
.review-author a:hover { color: var(--sn-blue-2); }
.review-author small { display: block; margin-top: .22rem; color: #98a2b3; font-size: .72rem; }
.review-google { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid #edf0f5; border-radius: 50%; color: #4285f4; background: #fff; }
.review-card blockquote { max-width: 900px; margin: 1.15rem 0 0; color: #344054; font: 500 clamp(1.05rem, 2.2vw, 1.45rem)/1.65 'Inter', sans-serif; }
.review-card blockquote.review-no-text { color: #98a2b3; font-style: italic; }
.reviews-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.35rem; }
.reviews-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #dce3ef; border-radius: 50%; background: #fff; color: var(--sn-ink); transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.reviews-arrow:hover { transform: translateY(-2px); border-color: #b8c6e0; color: var(--sn-blue-2); box-shadow: 0 8px 20px rgba(37,99,235,.12); }
.reviews-dots { display: flex; align-items: center; gap: .45rem; }
.reviews-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #cbd5e1; transition: width .25s ease, background .25s ease; }
.reviews-dot.is-active { width: 24px; background: var(--sn-blue-2); }
.reviews-empty { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.5rem; border: 1px solid var(--sn-line); border-radius: 20px; background: #fff; box-shadow: 0 14px 35px rgba(23,32,51,.06); }
.reviews-empty > i { font-size: 1.7rem; color: var(--sn-blue-2); }
.reviews-empty div { display: flex; flex: 1; flex-direction: column; gap: .25rem; }
.reviews-empty strong { font-size: .9rem; }
.reviews-empty span { color: var(--sn-muted); font-size: .8rem; }
.reviews-empty a { color: var(--sn-blue-2); font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.reviews-attribution { display: flex; justify-content: center; gap: .5rem; margin-top: 1.35rem; color: #98a2b3; font-size: .68rem; text-align: center; }

@media (max-width: 991.98px) {
  .reviews-summary { grid-template-columns: 1fr; align-items: stretch; }
  .google-rating-card { max-width: 430px; }
}
@media (max-width: 575.98px) {
  .reviews-section { padding: 4rem 0; }
  .reviews-copy h2 { font-size: 2rem; }
  .review-card { min-height: 340px; padding: 1.4rem; }
  .review-card blockquote { font-size: 1rem; line-height: 1.65; }
  .reviews-empty { align-items: flex-start; flex-wrap: wrap; }
  .reviews-empty a { margin-left: 3.2rem; }
  .reviews-attribution { flex-direction: column; gap: .15rem; }
  .reviews-attribution-dot { display: none; }
}
