@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;520;650;750;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --ink: #162033;
  --muted: #667087;
  --line: #dce4f2;
  --brand: #0737ff;
  --brand-dark: #082c9e;
  --accent: #ff650f;
  --accent-soft: #fff0e7;
  --teal: #18b7ac;
  --magenta: #ed1775;
  --shadow: 0 18px 55px rgba(10, 42, 130, 0.1);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 16%, rgba(7, 55, 255, 0.12), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(255, 101, 15, 0.15), transparent 26%),
    linear-gradient(145deg, rgba(237, 23, 117, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f4f6ff 32%, #e7eeff 100%);
  color: var(--ink);
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 228, 221, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 148px;
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--ink); }

.main-nav a {
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-cta, .button.primary {
  background: linear-gradient(90deg, var(--accent), var(--magenta) 52%, var(--brand));
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(255, 101, 15, 0.25), 0 10px 28px rgba(7, 55, 255, 0.12);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.button.compact {
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.button.light {
  border-color: rgba(255,255,255,0.42);
  color: var(--surface);
  background: rgba(255,255,255,0.12);
}
.button:hover, .header-cta:hover { transform: translateY(-1px); }

.menu-toggle { display: none; }

.hero, .section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 4vw, 56px);
}

.hero {
  isolation: isolate;
}

.home-hero {
  position: relative;
  display: block;
  min-height: calc(100vh - 76px);
}

.image-hero {
  max-width: none;
  min-height: calc(100vh - 76px);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.9) 34%, rgba(255,255,255,0.4) 61%, rgba(255,255,255,0.04) 100%),
    url("assets/hero-pyme-operacion-v1.png");
  background-size: cover;
  background-position: 78% center;
}

.image-hero .hero-copy {
  max-width: 1180px;
  margin: 0 auto;
}

.image-hero .eyebrow,
.image-hero .hero-title-lines,
.image-hero .hero-lead,
.image-hero .hero-actions,
.image-hero .trust-points {
  max-width: 560px;
}

.hero-copy {
  max-width: 940px;
}

.page-hero {
  position: relative;
  min-height: 54vh;
  display: grid;
  align-content: center;
  padding-bottom: clamp(46px, 6vw, 86px);
}

.hero > .eyebrow,
.hero > h1,
.hero > .hero-lead,
.hero > .button,
.hero > .hero-actions,
.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .hero-lead,
.hero-copy > .hero-panel,
.hero-copy > .hero-actions,
.hero-copy > .trust-points {
  animation: hero-intro 0.72s ease both;
}

.hero > h1,
.hero-copy > h1 { animation-delay: 80ms; }
.hero > .hero-lead,
.hero-copy > .hero-lead { animation-delay: 160ms; }
.hero-copy > .hero-panel { animation-delay: 240ms; }
.hero > .button,
.hero > .hero-actions,
.hero-copy > .hero-actions { animation-delay: 320ms; }
.hero-copy > .trust-points { animation-delay: 400ms; }

@keyframes hero-intro {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Space Grotesk", Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 0.98; letter-spacing: 0; margin-bottom: 24px; max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.04; letter-spacing: 0; margin-bottom: 18px; }
h3 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 10px; }

.hero-title-lines {
  font-size: clamp(2.45rem, 4.15vw, 4.05rem);
  line-height: 1.02;
}

.hero-title-lines span {
  display: block;
}

.hero-title-lines span:nth-child(1) {
  font-size: 0.94em;
}

.hero-title-lines span:nth-child(2) {
  font-size: 0.98em;
}

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: #314139;
  max-width: 700px;
}

.image-hero .hero-lead {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-points span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  max-width: 760px;
  margin: 28px 0 8px;
  padding: 22px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 101, 15, 0.26), transparent 28%),
    linear-gradient(160deg, #071a67, #0b267e 48%, #172033);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.panel-head, .metric-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.74);
  font-size: 0.92rem;
}

.panel-head strong { color: var(--accent); }

.flow-card {
  margin: 28px 0 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
}

.flow-label { color: #ffb184; font-weight: 800; font-size: 0.8rem; }
.flow-card p { margin: 8px 0 0; font-size: 1.05rem; }
.flow-line { height: 38px; width: 2px; background: var(--accent); margin-left: 26px; opacity: 0.8; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.flow-grid div, .metric-row div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.09);
}

.flow-grid strong, .flow-grid span, .metric-row b, .metric-row span { display: block; }
.flow-grid span, .metric-row span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.metric-row b { color: #ffb184; font-size: 1.5rem; }

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow), .split-section p, .final-cta p { color: var(--muted); font-size: 1.05rem; }

.services-grid-section {
  padding-top: clamp(28px, 4vw, 46px);
}

.pain-grid, .cards, .quick-grid, .service-suite {
  display: grid;
  gap: 14px;
}

.pain-grid { grid-template-columns: repeat(3, 1fr); }
.cards.four, .quick-grid { grid-template-columns: repeat(4, 1fr); }
.service-suite {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  counter-reset: service;
}

.pain-grid article, .card, .quick-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 10px 35px rgba(23,33,29,0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pain-grid article::before,
.card::before,
.quick-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--magenta), var(--brand));
  opacity: 0.72;
  transition: opacity 0.28s ease, width 0.28s ease;
}

.pain-grid article:hover,
.card:hover,
.quick-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 55, 255, 0.22);
  box-shadow: 0 20px 48px rgba(10, 42, 130, 0.13);
}

.pain-grid article:hover::before,
.card:hover::before,
.quick-card:hover::before {
  width: 7px;
  opacity: 1;
}

.pain-grid article {
  padding: 20px 20px 20px 24px;
  font-weight: 750;
  min-height: 112px;
}

.tinted {
  max-width: none;
  background:
    linear-gradient(90deg, rgba(255, 101, 15, 0.14), rgba(237, 23, 117, 0.09) 42%, rgba(7, 55, 255, 0.14)),
    radial-gradient(circle at 18% 12%, rgba(24, 183, 172, 0.14), transparent 26%),
    linear-gradient(135deg, #e5edff 0%, #f5f8ff 54%, #ffe7d8 100%);
}

.tinted > * {
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.steps-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.steps-card span {
  padding: 18px;
  border-radius: var(--radius);
  background: #f3f6ff;
  font-weight: 800;
}

.compare {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compare.good {
  background: linear-gradient(145deg, #ffffff, #eff8f1);
}

.card, .quick-card { padding: 22px 22px 22px 27px; }
.card p, .quick-card p { color: var(--muted); margin-bottom: 0; }
.card h3,
.quick-card h3,
.service-item h3 {
  transition: color 0.24s ease;
}

.card:hover h3,
.quick-card:hover h3,
.service-item:hover h3 {
  color: var(--brand);
}

.quick-card span { color: var(--accent); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; }

.service-item {
  counter-increment: service;
  position: relative;
  min-height: 185px;
  padding: 28px 28px 28px 94px;
  border: 1px solid rgba(7, 55, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(255,255,255,0.96), rgba(247,250,255,0.78)),
    linear-gradient(135deg, rgba(255, 101, 15, 0.08), rgba(7, 55, 255, 0.08));
  box-shadow: 0 14px 42px rgba(10, 42, 130, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  -webkit-mask: var(--service-icon) center / 34px 34px no-repeat;
  mask: var(--service-icon) center / 34px 34px no-repeat;
  filter: drop-shadow(0 12px 22px rgba(255, 101, 15, 0.22));
}

.service-item::after {
  content: "";
  position: absolute;
  left: 46px;
  top: 82px;
  bottom: 28px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(237, 23, 117, 0.42), rgba(7, 55, 255, 0.2));
}

.service-item:nth-child(1) {
  --service-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm4.7 5.3-2.4 6.9a1 1 0 0 1-.6.6l-6.9 2.4 2.4-6.9a1 1 0 0 1 .6-.6l6.9-2.4Zm-5.8 4.6-.8 2.1 2.1-.8.8-2.1-2.1.8Z'/%3E%3C/svg%3E");
}

.service-item:nth-child(2) {
  --service-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13 2 4 13h6l-1 9 10-13h-6l1-7Z'/%3E%3C/svg%3E");
}

.service-item:nth-child(3) {
  --service-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m8.7 7.3-5 5 5 5 1.4-1.4-3.6-3.6 3.6-3.6-1.4-1.4Zm6.6 0-1.4 1.4 3.6 3.6-3.6 3.6 1.4 1.4 5-5-5-5ZM13.1 4l-4 16h2.1l4-16h-2.1Z'/%3E%3C/svg%3E");
}

.service-item:nth-child(4) {
  --service-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M5 4a3 3 0 0 0-3 3v11.5A1.5 1.5 0 0 0 3.5 20H18a4 4 0 0 0 4-4V5.5A1.5 1.5 0 0 0 20.5 4H5Zm0 2h15v10a2 2 0 0 1-2 2H4V7a1 1 0 0 1 1-1Zm2 3v2h10V9H7Zm0 4v2h7v-2H7Z'/%3E%3C/svg%3E");
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 55, 255, 0.24);
  box-shadow: 0 22px 52px rgba(10, 42, 130, 0.13);
}

.service-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-item h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.service-item h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.service-item:hover h3::after {
  transform: scaleX(1);
}

.section-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 101, 15, 0.14), rgba(237, 23, 117, 0.09), rgba(7, 55, 255, 0.14)),
    linear-gradient(135deg, #ffffff 0%, #e7eeff 100%);
}

.section-cta p { margin: 0; max-width: 680px; font-weight: 720; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  position: relative;
  list-style: none;
  padding: 34px 0 18px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2.3vw, 32px);
  align-items: start;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 5%;
  right: 5%;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
  box-shadow: 0 14px 34px rgba(7, 55, 255, 0.18);
  clip-path: polygon(0 39%, calc(100% - 14px) 39%, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, calc(100% - 14px) 61%, 0 61%);
}

.timeline::after {
  content: "";
  position: absolute;
  top: 62px;
  left: 5%;
  width: 18%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.94), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 101, 15, 0.48));
  animation: timeline-flow 4.8s ease-in-out infinite;
}

@keyframes timeline-flow {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 0.85; }
  82% { opacity: 0.85; }
  100% { transform: translateX(420%); opacity: 0; }
}

.timeline li {
  position: relative;
  overflow: visible;
  padding: 86px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.28s ease;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(7, 55, 255, 0.14);
  box-shadow: 0 16px 44px rgba(10, 42, 130, 0.13);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -18px;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(7, 55, 255, 0.5);
  border-right: 2px solid rgba(7, 55, 255, 0.5);
  transform: rotate(45deg);
  transition: border-color 0.28s ease, transform 0.28s ease;
}

.timeline li:hover {
  transform: translateY(-6px);
}

.timeline li:hover::after {
  border-color: var(--brand);
  transform: translateX(2px) rotate(45deg);
}

.timeline li:hover::before {
  transform: scale(1.08);
  box-shadow: 0 22px 54px rgba(10, 42, 130, 0.18);
}

.timeline span {
  position: absolute;
  left: 10px;
  top: 13px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--surface);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(255, 101, 15, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 0.28s ease;
}

.timeline li:hover span {
  transform: scale(1.08);
}

.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; font-size: 0.94rem; }

.proof-band {
  max-width: none;
  display: block;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 101, 15, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(237, 23, 117, 0.24), transparent 46%),
    linear-gradient(135deg, #06165a 0%, #082c9e 70%, #071a67 100%);
  color: var(--surface);
}

.proof-band {
  position: relative;
}

.proof-band > div {
  max-width: 1068px;
  margin: 0 auto;
}

.proof-band .eyebrow {
  color: #ffb184;
}

.proof-band p:not(.eyebrow) {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: 760px;
}

.proof-band .button.light {
  margin-top: 26px;
  padding: 11px 18px;
  border-radius: var(--radius);
  color: var(--surface);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.proof-band .button.light:hover {
  color: var(--surface);
  background: rgba(255,255,255,0.17);
  border-color: rgba(255,255,255,0.46);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.final-cta {
  text-align: center;
  max-width: 900px;
}

.final-cta .hero-actions { justify-content: center; }

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 48px clamp(20px, 4vw, 56px) 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 101, 15, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(237, 23, 117, 0.16), transparent 44%),
    linear-gradient(135deg, #06165a 0%, #0737ff 58%, #071a67 100%);
  color: rgba(255,255,255,0.76);
}

.site-footer a { color: var(--surface); }
.footer-brand { color: var(--surface); }
.footer-links { display: grid; gap: 10px; }
.site-footer small { grid-column: 1 / -1; color: rgba(255,255,255,0.52); }

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.logo-cloud span {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: 24px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
}

.contact-list a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 750;
}

.cal-box {
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 101, 15, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(237, 23, 117, 0.14), transparent 48%),
    linear-gradient(135deg, #06165a 0%, #082c9e 70%, #071a67 100%);
  color: var(--surface);
}

.cal-box p { color: rgba(255,255,255,0.72); }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea { resize: vertical; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 0;
  box-shadow: 0 16px 40px rgba(14, 66, 36, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 0;
}

.whatsapp-float::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3.2A12.7 12.7 0 0 0 5.1 22.5L3.6 28.8l6.4-1.7A12.7 12.7 0 1 0 16 3.2Zm0 2.4a10.3 10.3 0 0 1 8.8 15.7 10.2 10.2 0 0 1-12.7 3.7l-.5-.2-3.9 1 1-3.8-.3-.5A10.3 10.3 0 0 1 16 5.6Zm-4.3 5.1c-.2 0-.6.1-.9.5-.3.3-1.2 1.2-1.2 2.9s1.3 3.4 1.5 3.6c.2.2 2.5 4 6.1 5.4 3 .9 3.6.7 4.3.7.7-.1 2.1-.9 2.4-1.7.3-.8.3-1.5.2-1.7-.1-.2-.3-.3-.7-.5l-2.2-1c-.3-.1-.6-.1-.8.2l-.9 1.1c-.2.3-.4.3-.8.1-.4-.2-1.5-.6-2.9-1.8-1.1-1-1.8-2.1-2-2.5-.2-.4 0-.6.2-.8l.5-.6c.2-.2.2-.4.3-.6.1-.2.1-.5 0-.7l-1-2.4c-.3-.7-.5-.6-.8-.6h-1.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3.2A12.7 12.7 0 0 0 5.1 22.5L3.6 28.8l6.4-1.7A12.7 12.7 0 1 0 16 3.2Zm0 2.4a10.3 10.3 0 0 1 8.8 15.7 10.2 10.2 0 0 1-12.7 3.7l-.5-.2-3.9 1 1-3.8-.3-.5A10.3 10.3 0 0 1 16 5.6Zm-4.3 5.1c-.2 0-.6.1-.9.5-.3.3-1.2 1.2-1.2 2.9s1.3 3.4 1.5 3.6c.2.2 2.5 4 6.1 5.4 3 .9 3.6.7 4.3.7.7-.1 2.1-.9 2.4-1.7.3-.8.3-1.5.2-1.7-.1-.2-.3-.3-.7-.5l-2.2-1c-.3-.1-.6-.1-.8.2l-.9 1.1c-.2.3-.4.3-.8.1-.4-.2-1.5-.6-2.9-1.8-1.1-1-1.8-2.1-2-2.5-.2-.4 0-.6.2-.8l.5-.6c.2-.2.2-.4.3-.6.1-.2.1-.5 0-.7l-1-2.4c-.3-.7-.5-.6-.8-.6h-1.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(3px);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(14, 66, 36, 0.34);
}

.footer-brand .brand-logo {
  background: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  mix-blend-mode: normal;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    border: 0;
    background: transparent;
    border-radius: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--ink);
    font-size: 0;
    box-shadow: none;
    line-height: 0;
  }

  .menu-toggle::before {
    content: "";
    display: block;
    width: 32px;
    height: 22px;
    background:
      linear-gradient(currentColor, currentColor) center 0 / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) center 50% / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) center 100% / 100% 3px no-repeat;
  }

  .main-nav, .header-cta { display: none; }
  .site-header .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: grid;
    gap: 6px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-hero, .split-section { grid-template-columns: 1fr; min-height: auto; }
  .image-hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 44%, rgba(255,255,255,0.38) 100%),
      url("assets/hero-pyme-operacion-v1.png");
    background-position: 74% center;
  }

  .image-hero .eyebrow,
  .image-hero .hero-title-lines,
  .image-hero .hero-lead,
  .image-hero .hero-actions,
  .image-hero .trust-points {
    max-width: 620px;
  }

  .pain-grid, .cards.four, .quick-grid, .service-suite, .timeline { grid-template-columns: 1fr; }

  .service-item {
    min-height: auto;
    padding: 24px 22px 24px 86px;
  }

  .service-item::before {
    left: 22px;
    top: 24px;
  }

  .service-item::after {
    left: 44px;
    top: 78px;
    bottom: 24px;
  }

  .timeline {
    gap: 28px;
    padding: 18px 0 8px 46px;
  }

  .timeline::before {
    top: 18px;
    bottom: 18px;
    left: 22px;
    right: auto;
    width: 13px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), var(--magenta), var(--brand));
    clip-path: polygon(39% 0, 61% 0, 61% calc(100% - 14px), 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px), 39% calc(100% - 14px));
  }

  .timeline::after {
    top: 18px;
    left: 25px;
    width: 5px;
    height: 74px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.94), transparent);
    animation-name: timeline-flow-mobile;
  }

  @keyframes timeline-flow-mobile {
    0% { transform: translateY(0); opacity: 0; }
    12% { opacity: 0.85; }
    82% { opacity: 0.85; }
    100% { transform: translateY(340%); opacity: 0; }
  }

  .timeline li {
    min-height: 78px;
    padding: 0 0 0 54px;
  }

  .timeline li::before {
    top: 0;
    left: 0;
  }

  .timeline span {
    top: 10px;
    left: 10px;
  }

  .timeline li:not(:last-child)::after { display: none; }
  .contact-layout, .logo-cloud { grid-template-columns: 1fr; }
  .section-cta { flex-direction: column; align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero, .section { padding: 54px 18px; }
  h1 { font-size: 2.55rem; }
  .hero-title-lines { font-size: 2.45rem; }
  h2 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .button.compact { width: fit-content; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .timeline::after {
    animation: none;
    opacity: 0;
  }
}
