/* ==========================================================
   SRNC Marketing, Negocios y Asesoría — Estilo v2 "Vibrante y juguetón"
   Los cuatro colores del logo en formas grandes y redondeadas.
   Texto siempre en navy sobre fondos pastel (WCAG AA); los colores
   sólidos de marca se reservan para formas, iconos y titulares grandes.
   ========================================================== */

:root {
  --ink: #14213d;
  --ink-soft: #435070;
  --ground: #ffffff;
  --line: #dfe6f3;

  /* Colores del logo (formas) */
  --blue: #0087ff;
  --red: #ff4234;
  --yellow: #fdbb00;
  --green: #00a94f;

  /* Pasteles para superficies con texto navy */
  --sky: #e2f0ff;
  --blush: #ffe6e2;
  --sun: #fff1bd;
  --mint: #d9f4e4;

  /* CTA (rojo con contraste AA para texto blanco) */
  --cta: #d93025;
  --cta-dark: #a5241b;

  --font-display: "Fredoka", "Poppins", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 32px;
  --r-md: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --nav-h: 92px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-body); font-size: 1.02rem; line-height: 1.68;
  color-scheme: light; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw + 0.3rem, 4.6rem); }
h2 { font-size: clamp(2rem, 3.4vw + 0.7rem, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 66ch; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 8vw, 110px); position: relative; }
.bg-sky { background: var(--sky); }
.bg-sun { background: var(--sun); }
.bg-mint { background: var(--mint); }
.bg-blush { background: var(--blush); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 7px 16px; border-radius: 999px; background: var(--sun); color: var(--ink);
  margin: 0 0 18px; max-width: none;
}
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.lead { font-size: clamp(1.08rem, 0.5vw + 1rem, 1.25rem); color: var(--ink-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 54px); }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* Resaltador para palabras clave */
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 0.12em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-blue { color: var(--blue); }

/* ---------- Botones ---------- */
.btn {
  --_bg: var(--cta); --_fg: #fff; --_sh: var(--cta-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em;
  padding: 14px 30px; min-height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--_bg); color: var(--_fg); text-decoration: none;
  box-shadow: 0 5px 0 var(--_sh);
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1.2deg); box-shadow: 0 8px 0 var(--_sh); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--_sh); }
.btn .arrow { transition: transform 0.25s var(--spring); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--ghost { --_bg: #fff; --_fg: var(--ink); --_sh: var(--ink); border: 2.5px solid var(--ink); padding-block: 12px; }
.btn--yellow { --_bg: var(--yellow); --_fg: var(--ink); --_sh: #b98a00; }
.btn--sm { padding: 9px 22px; min-height: 44px; font-size: 1rem; }

/* ---------- Navbar (idéntica en todas las páginas) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nav-h); padding-bottom: 5px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 78px; width: auto; transition: transform 0.4s var(--spring); }
.brand:hover img { transform: rotate(-3deg) scale(1.05); }
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: inline-block; padding: 8px 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 5px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--yellow), var(--green));
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 50px; height: 50px; padding: 0; background: var(--sun); border: 0; border-radius: 16px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 3px; background: currentColor; border-radius: 3px; transition: transform 0.3s ease, background 0.2s ease; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; } .nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 62px; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 26px 40px -20px rgba(20, 33, 61, 0.35); padding: 8px var(--gutter) 24px;
    max-height: 0; overflow: hidden; visibility: hidden; opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
  }
  .nav-menu.is-open { max-height: 460px; visibility: visible; opacity: 1; transition: max-height 0.35s ease, opacity 0.25s ease; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 2px dashed var(--line); }
  .nav-links a { display: block; padding: 16px 2px; font-size: 1.25rem; }
  .nav-links a::after { bottom: 8px; right: auto; width: 46px; }
  .nav-menu .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: var(--sky); right: -180px; top: -200px; z-index: 0; }
.hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--sun); left: -110px; bottom: -80px; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero .lead { max-width: 54ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.rating strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.stack { display: flex; }
.stack .avatar { width: 52px; height: 52px; border: 3px solid #fff; margin-left: -14px; }
.stack .avatar:first-child { margin-left: 0; }

.rise { animation: rise 0.8s var(--spring) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .3s; } .rise.d4 { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* Collage del hero */
.collage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; margin-inline: auto; }
.collage > * { position: absolute; }
.k-dash { left: 4%; top: 6%; width: 68%; height: 62%; background: var(--blue); border-radius: var(--r-lg); padding: 7% 7% 6%; display: flex; flex-direction: column; justify-content: space-between; color: #fff; transform: rotate(-4deg); animation: pop .9s .1s var(--spring) both; box-shadow: 0 24px 40px -22px rgba(0, 92, 190, .7); }
.k-dash .lbl { font-family: var(--font-display); font-weight: 600; font-size: clamp(.9rem, 2.3vw, 1.15rem); margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 6%; height: 62%; }
.bars i { flex: 1; border-radius: 10px 10px 4px 4px; background: #fff; transform-origin: bottom; animation: grow .9s var(--spring) both; }
.bars i:nth-child(1) { height: 32%; animation-delay: .5s; opacity: .55; } .bars i:nth-child(2) { height: 48%; animation-delay: .6s; opacity: .7; }
.bars i:nth-child(3) { height: 40%; animation-delay: .7s; opacity: .7; } .bars i:nth-child(4) { height: 72%; animation-delay: .8s; }
.bars i:nth-child(5) { height: 100%; animation-delay: .9s; background: var(--yellow); }
.k-yellow { right: 2%; top: 2%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(.95rem, 2.6vw, 1.35rem); line-height: 1.05; padding: 6%; transform: rotate(9deg); animation: pop .9s .3s var(--spring) both, float 6s 1.2s ease-in-out infinite alternate; }
.k-red { left: 0; bottom: 8%; width: 46%; background: var(--red); color: var(--ink); border-radius: 26px 26px 26px 6px; padding: 5% 6%; font-family: var(--font-display); font-weight: 700; font-size: clamp(.9rem, 2.4vw, 1.2rem); line-height: 1.1; transform: rotate(-3deg); animation: pop .9s .5s var(--spring) both, float 5s 1.4s ease-in-out infinite alternate-reverse; }
.k-red span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78em; margin-top: 4px; }
.k-green { right: 0; bottom: 14%; width: 50%; background: var(--green); color: var(--ink); border-radius: 26px 26px 6px 26px; padding: 5% 6%; font-family: var(--font-display); font-weight: 700; font-size: clamp(.9rem, 2.4vw, 1.2rem); line-height: 1.1; transform: rotate(4deg); animation: pop .9s .7s var(--spring) both, float 5.5s 1.6s ease-in-out infinite alternate; display: flex; align-items: center; gap: 10px; }
.k-green .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex-shrink: 0; animation: pulse 1.6s ease-in-out infinite; }
.k-star { left: 46%; top: 0; width: 14%; color: var(--red); animation: spin 14s linear infinite; }
.k-star svg { width: 100%; height: auto; display: block; }
@keyframes pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes float { from { translate: 0 -8px; } to { translate: 0 8px; } }
@keyframes pulse { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.6; opacity: .45; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .collage { max-width: 420px; } }

/* ---------- Marquee de palabras clave ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding-block: 20px; }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; gap: 40px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.55rem); white-space: nowrap; }
.marquee .item::after { content: "✦"; color: var(--yellow); }
.marquee .item:nth-child(4n+2)::after { color: var(--red); } .marquee .item:nth-child(4n+3)::after { color: var(--green); } .marquee .item:nth-child(4n)::after { color: var(--blue); }
@keyframes slide { to { transform: translateX(calc(-50% - 20px)); } }

/* ---------- Tarjetas de servicio ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.svc { display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 32px 30px; background: var(--sky); transition: transform 0.4s var(--spring), box-shadow 0.3s ease; }
.svc.c-blue { background: var(--sky); } .svc.k-red { background: var(--blush); } .svc.k-yellow { background: var(--sun); } .svc.k-green { background: var(--mint); }
.svc:hover, .svc:focus-within { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 26px 40px -24px rgba(20, 33, 61, 0.55); }
.svc:nth-child(even):hover { transform: translateY(-10px) rotate(1.2deg); }
.ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; background: var(--blue); color: #fff; transition: transform 0.45s var(--spring); }
.svc:hover .ico { transform: rotate(-10deg) scale(1.12); }
.c-blue .ico { background: var(--blue); } .c-red .ico { background: var(--red); } .c-yellow .ico { background: var(--yellow); color: var(--ink); } .c-green .ico { background: var(--green); }
.ico svg { width: 32px; height: 32px; }
.svc h3 { margin-bottom: 8px; }
.svc p { margin-bottom: 0; color: var(--ink); font-size: 1rem; }
.more { margin-top: 18px; align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-decoration: none; border-bottom: 3px solid var(--ink); padding-bottom: 1px; transition: letter-spacing .25s ease; }
.more:hover { letter-spacing: 0.03em; }

/* ---------- Acerca de ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.team-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.team-mini .avatar { width: 100%; transition: transform 0.4s var(--spring); }
.team-mini .avatar:hover { transform: translateY(-6px) rotate(-5deg) scale(1.05); }
.team-mini a { display: block; }
.start-card { margin-top: 30px; padding: 28px; background: var(--sun); border-radius: var(--r-lg); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.start-card h3 { margin: 0; font-size: 1.6rem; }
.start-card p { margin: 4px 0 0; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); counter-reset: s; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { position: relative; border-radius: var(--r-lg); padding: 84px 26px 28px; background: #fff; transition: transform 0.4s var(--spring); }
.step:nth-child(1) { background: var(--sky); transform: rotate(-1.5deg); } .step:nth-child(2) { background: var(--blush); transform: rotate(1.2deg); }
.step:nth-child(3) { background: var(--sun); transform: rotate(-1deg); } .step:nth-child(4) { background: var(--mint); transform: rotate(1.6deg); }
.step:hover { transform: translateY(-8px) rotate(0deg) scale(1.03); }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 22px; top: -22px;
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: #fff; background: var(--blue);
}
.step:nth-child(2)::before { background: var(--red); } .step:nth-child(3)::before { background: var(--yellow); color: var(--ink); } .step:nth-child(4)::before { background: var(--green); }
.step h3 { font-size: 1.35rem; }
.step p { margin: 0; font-size: 0.97rem; }

/* ---------- Testimonios ---------- */
.score { display: inline-flex; align-items: center; gap: 16px; background: #fff; border-radius: 999px; padding: 10px 26px 10px 12px; margin-bottom: 26px; }
.score .g { width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.score strong { font-family: var(--font-display); font-size: 1.3rem; display: block; line-height: 1.1; }
.score span { font-size: 0.9rem; color: var(--ink-soft); }
.stars { color: #b07a00; letter-spacing: 2px; font-size: 1.05rem; }
.quote { background: #fff; border-radius: var(--r-md); padding: 26px; margin: 0; display: flex; flex-direction: column; gap: 16px; transition: transform 0.4s var(--spring), box-shadow 0.3s ease; break-inside: avoid; }
.quote:hover { transform: translateY(-6px) rotate(-.8deg); box-shadow: 0 22px 36px -22px rgba(20, 33, 61, 0.5); }
.quote blockquote { margin: 0; font-size: 0.99rem; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--red); margin-bottom: 10px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; color: var(--ink); flex-shrink: 0; }
.quote .who.b1 { background: var(--sky); } .quote .who.b2 { background: var(--blush); } .quote .who.b3 { background: var(--sun); } .quote .who.b4 { background: var(--mint); }
.quote cite { font-style: normal; font-weight: 700; display: block; line-height: 1.2; }
.quote small { color: var(--ink-soft); font-size: 0.82rem; }
.masonry { column-count: 3; column-gap: 22px; }
.masonry .quote { margin-bottom: 22px; }
@media (max-width: 1020px) { .masonry { column-count: 2; } }
@media (max-width: 660px) { .masonry { column-count: 1; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--sky); border-radius: var(--r-md); transition: background 0.25s ease; }
.faq details:nth-child(4n+2) { background: var(--blush); } .faq details:nth-child(4n+3) { background: var(--sun); } .faq details:nth-child(4n) { background: var(--mint); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; transition: transform 0.35s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover::after { transform: scale(1.15) rotate(90deg); }
.faq details[open] summary:hover::after { transform: scale(1.15) rotate(135deg); }
.faq .ans { padding: 0 24px 22px; }
.faq .ans p { margin: 0; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 88px) clamp(36px, 5vw, 64px); background: var(--sky); }
.page-hero::before { content: ""; position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 50%; background: var(--yellow); opacity: .9; }
.page-hero::after { content: ""; position: absolute; right: 190px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: var(--red); opacity: .9; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw + .4rem, 3.8rem); max-width: 20ch; }
.page-hero .lead { max-width: 60ch; margin: 0; color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none; transition: transform .3s var(--spring), background .2s ease; }
.jump a:hover { background: var(--ink); color: #fff; transform: translateY(-3px) rotate(-2deg); }

/* ---------- Servicios (detalle) ---------- */
.svc-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(26px, 5vw, 70px); align-items: center; padding-block: clamp(36px, 5vw, 64px); }
.svc-row:nth-child(even) { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.svc-row:nth-child(even) .svc-art { order: -1; }
@media (max-width: 860px) { .svc-row, .svc-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); } .svc-row:nth-child(even) .svc-art { order: 0; } }
.svc-row h2 { font-size: clamp(1.8rem, 2.6vw + .6rem, 2.6rem); }
.svc-art { position: relative; aspect-ratio: 1 / 0.9; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; }
.svc-art .big { width: 46%; color: var(--ink); transition: transform 0.6s var(--spring); }
.svc-row:hover .svc-art .big { transform: scale(1.15) rotate(-6deg); }
.svc-art::before, .svc-art::after { content: ""; position: absolute; border-radius: 50%; opacity: .55; }
.svc-art::before { width: 46%; aspect-ratio: 1; left: -10%; top: -12%; background: #fff; }
.svc-art::after { width: 34%; aspect-ratio: 1; right: -6%; bottom: -8%; background: #fff; }
.art-blue { background: var(--blue); } .art-red { background: var(--red); } .art-yellow { background: var(--yellow); } .art-green { background: var(--green); }
.checks { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; }
.ideal { background: var(--sun); border-radius: var(--r-md); padding: 16px 20px; margin: 0 0 22px; font-size: .97rem; }
.ideal b { font-family: var(--font-display); }
.svc-divider { border: 0; border-top: 3px dashed var(--line); margin: 0; }

/* ---------- Equipo / avatares ---------- */
.avatar { display: block; border-radius: 50%; aspect-ratio: 1; overflow: hidden; background: #fff; }
.avatar svg { display: block; width: 100%; height: 100%; }
.member { text-align: center; background: #fff; border-radius: var(--r-lg); padding: 26px 22px 28px; transition: transform 0.45s var(--spring), box-shadow .3s ease; }
.member:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 28px 40px -26px rgba(20, 33, 61, 0.55); }
.member .avatar { width: 132px; margin: 0 auto 16px; box-shadow: 0 0 0 6px var(--ring, var(--sky)); transition: transform 0.5s var(--spring); }
.member:hover .avatar { transform: scale(1.08) rotate(6deg); }
.member h3 { font-size: 1.3rem; margin-bottom: 2px; }
.member .role { font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); margin: 0 0 10px; max-width: none; }
.member p:last-child { margin: 0; font-size: .95rem; }
.member:nth-child(1) { --ring: var(--yellow); } .member:nth-child(2) { --ring: var(--red); } .member:nth-child(3) { --ring: var(--green); }
.member:nth-child(4) { --ring: var(--blue); } .member:nth-child(5) { --ring: var(--yellow); } .member:nth-child(6) { --ring: var(--red); }
.note { font-size: .85rem; color: var(--ink-soft); margin-top: 22px; }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.cta-band::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--blue); left: -100px; top: -120px; opacity: .9; }
.cta-band::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--red); right: -70px; bottom: -90px; opacity: .9; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin: 0 0 8px; max-width: 18ch; }
.cta-inner p { margin: 0; color: #dbe4f6; font-size: 1.15rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.info { display: grid; gap: 16px; margin-top: 26px; }
.info a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px 16px 16px; border-radius: var(--r-md); background: var(--sky); text-decoration: none; transition: transform 0.4s var(--spring); }
.info a:nth-child(2) { background: var(--mint); } .info a:nth-child(3) { background: var(--sun); }
.info a:hover { transform: translateX(8px) rotate(-1deg); }
.info .ico { margin: 0; width: 56px; height: 56px; border-radius: 18px; }
.info small { display: block; color: var(--ink-soft); font-weight: 600; }
.info b { font-family: var(--font-display); font-size: 1.15rem; overflow-wrap: anywhere; }
.form-card { background: var(--sun); border-radius: 36px; padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
label .req { color: var(--cta-dark); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink); padding: 14px 18px; min-height: 54px;
  background: #fff; border: 3px solid transparent; border-radius: 18px; appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .25s var(--spring);
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%2314213d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; }
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5c6884; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(0, 135, 255, .22); transform: translateY(-2px); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--cta-dark); }
.error-msg { color: #9c1c14; font-size: .88rem; font-weight: 700; margin: 0; }
.error-msg:empty { display: none; }
.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-family: var(--font-body); font-weight: 500; font-size: .92rem; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--cta); cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; }
.form-status { margin-top: 18px; padding: 16px 20px; border-radius: 18px; font-weight: 700; background: #fff; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--mint); } .form-status.err { background: var(--blush); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sky); padding-block: 60px 28px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)); gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-brand img { height: 84px; width: auto; margin-bottom: 12px; }
.foot-brand p { font-size: .95rem; }
.site-footer h4 { font-size: 1.15rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer li a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.site-footer li a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--red); }
.foot-bottom { margin-top: 38px; padding-top: 20px; border-top: 2px dashed rgba(20, 33, 61, .25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

.ico.c-blue { background: var(--blue); color: #fff; } .ico.c-green { background: var(--green); color: #fff; } .ico.c-yellow { background: var(--yellow); color: var(--ink); } .ico.c-red { background: var(--red); color: #fff; }

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

/* ---------- Aliado en social listening ---------- */
.ally-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.ally-row.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ally-row.rev .ally-copy { order: 2; }
@media (max-width: 900px) { .ally-row, .ally-row.rev { grid-template-columns: minmax(0, 1fr); } .ally-row.rev .ally-copy { order: 0; } }
.ally-logo { height: 64px; width: auto; margin-bottom: 18px; }
.dash { margin: 0; }
.dash-frame { display: block; position: relative; width: 100%; padding: 0; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 10px 10px 0 var(--yellow); transition: transform 0.45s var(--spring), box-shadow 0.3s ease; }
.ally-row.rev .dash-frame { box-shadow: -10px 10px 0 var(--blue); }
.dash-frame:hover { transform: translateY(-6px) rotate(-.8deg); box-shadow: 14px 16px 0 var(--yellow); }
.ally-row.rev .dash-frame:hover { transform: translateY(-6px) rotate(.8deg); box-shadow: -14px 16px 0 var(--blue); }
.dash-frame img { display: block; width: 100%; height: auto; }
.zoom-tag { position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }
.dash figcaption { margin-top: 22px; font-size: .88rem; color: var(--ink-soft); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps--3 { grid-template-columns: minmax(0, 1fr); } }
.ally-note { margin: 28px 0 0; font-size: 0.82rem; color: var(--ink-soft); max-width: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); width: 96vw; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 33, 61, .82); }
.lightbox img { display: block; width: 100%; height: auto; border-radius: 16px; border: 3px solid #fff; }
.lb-close { position: absolute; top: -46px; right: 0; background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 8px 18px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; cursor: pointer; }
.lb-close:hover { background: var(--yellow); }

/* ---------- WordPress ---------- */
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.brand .custom-logo, .brand img { height: 78px; width: auto; max-width: none; }
.entry-content { max-width: 78ch; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 16px; }
.alignwide { max-width: min(1180px, 100%); }
.extra-content { padding-block: clamp(30px, 5vw, 60px); }
.nav-links .sub-menu { display: none; }
