/* Home: vende la idea DDL. Las landings por vertical demuestran conocimiento específico. */

/* HERO */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(46px, 7vw, 92px); }
.hero h1 .grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; font: 800 clamp(24px, 2.6vw, 32px)/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink-3); }
.rotator-word { display: inline-grid; color: var(--accent); transition: color .4s; }
.rotator-word span { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.rotator-word span.out { opacity: 0; transform: translateY(-60%); }
.rotator-word span.pre { opacity: 0; transform: translateY(60%); }

/* Collage del hero: tres industrias, tres conversiones */
.hero-visual { position: relative; aspect-ratio: 4 / 4.4; }
.shot {
  position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--c);
}
.shot img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, transparent) 0%, transparent 45%, color-mix(in srgb, var(--c) 35%, transparent) 100%); }
.shot-a { --c: var(--salud); width: 58%; aspect-ratio: 4 / 5; left: 0; top: 6%; z-index: 2; }
.shot-b { --c: var(--hoteles); width: 50%; aspect-ratio: 4 / 5; right: 0; top: 0; }
.shot-c { --c: var(--fitness); width: 46%; aspect-ratio: 1; right: 4%; bottom: 0; z-index: 3; }
.shot-label { position: absolute; left: 16px; top: 14px; z-index: 2; font: 700 11px/1 var(--font-body); letter-spacing: .16em; color: #fff; }

.toast {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow);
  font: 600 14px/1.2 var(--font-body); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.toast i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-style: normal; flex: none; }
.toast i svg { width: 16px; height: 16px; }
.toast small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.toast-a { --c: var(--salud); left: -4%; bottom: 30%; }
.toast-b { --c: var(--hoteles); right: -2%; top: 40%; animation-delay: -2s; }
.toast-c { --c: var(--fitness); left: 14%; bottom: 2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-ring { color: var(--hoteles); width: 520px; height: 520px; right: -180px; top: -120px; opacity: .25; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin: 8px auto 0; }
  .toast-a { left: 0; }
  .toast-b { right: 0; }
}

/* ¿POR QUÉ INTERACTIVA? */
.why { background: var(--ink); color: #fff; overflow: hidden; }
.why .eyebrow { color: rgba(255, 255, 255, .6); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.why h2 { font-size: clamp(40px, 6vw, 80px); }
.why h2 em { font-style: normal; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-copy { display: grid; gap: 22px; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .78); }
.why-copy strong { color: #fff; font-weight: 600; }
.chain { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(48px, 7vw, 80px); padding: 0; list-style: none; }
.chain li { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--font-body); color: rgba(255, 255, 255, .9); }
.chain li span { padding: 12px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); }
.chain li:not(:last-child)::after { content: "→"; color: rgba(255, 255, 255, .4); }
.chain li:last-child span { background: var(--brand-gradient); border-color: transparent; color: #fff; }
.why-quote { margin-top: 40px; font: 500 clamp(18px, 1.8vw, 22px)/1.5 var(--font-display); color: rgba(255, 255, 255, .6); max-width: 60ch; }
.why .ring { color: var(--fitness); width: 640px; height: 640px; left: -320px; bottom: -380px; opacity: .35; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; align-items: start; } }

/* MÉTODO */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 32px 28px 36px; border-top: 3px solid var(--line); position: relative; display: grid; gap: 12px; align-content: start; }
.step::before { content: ""; position: absolute; top: -3px; left: 0; height: 3px; width: 0; background: var(--c); transition: width 1s cubic-bezier(.2, .7, .2, 1); }
.step.is-in::before { width: 100%; }
.step:nth-child(1) { --c: var(--hoteles); }
.step:nth-child(2) { --c: var(--salud-2); }
.step:nth-child(3) { --c: var(--fitness); }
.step:nth-child(4) { --c: var(--restaurantes); }
.step-num { font: 800 14px/1 var(--font-display); color: var(--c); }
.step h3 { font-size: clamp(26px, 2.6vw, 34px); }
.step .tag { font-weight: 600; color: var(--ink); }
.step p { color: var(--ink-2); font-size: 16px; }
.method-note { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 16px; color: var(--ink-2); }
.method-note b { color: var(--ink); }
@media (max-width: 900px) { .method { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } .step { padding: 24px 0 28px; } }

/* INDUSTRIAS */
.industries { background: var(--paper-2); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind {
  --c: var(--salud); --ink-on: #fff;
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  min-height: 420px; padding: 26px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--c); color: var(--ink-on); text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.ind:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px color-mix(in srgb, var(--c) 80%, #000); }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ind:hover img { transform: scale(1.05); }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--c) 0%, color-mix(in srgb, var(--c) 70%, transparent) 38%, color-mix(in srgb, var(--c) 10%, transparent) 62%, color-mix(in srgb, var(--c) 85%, transparent) 100%); }
.ind::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -110px; border-radius: 50%; border: 3px solid var(--ink-on); opacity: .3; z-index: -1; }
.ind-top { display: grid; gap: 14px; }
.ind-label { font: 700 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.ind h3 { font-size: clamp(26px, 2.4vw, 32px); }
.ind p { font-size: 15px; opacity: .92; max-width: 30ch; }
.ind-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ind-action { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--ink-on) 18%, transparent); backdrop-filter: blur(8px); font-weight: 700; font-size: 14px; }
.ind-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-on); color: var(--c); display: grid; place-items: center; transition: transform .3s; flex: none; }
.ind-arrow svg { width: 20px; height: 20px; }
.ind:hover .ind-arrow { transform: rotate(-45deg); }

.ind--salud { --c: var(--salud); }
.ind--hoteles { --c: #1d93c6; }
.ind--educacion { --c: var(--educacion); --ink-on: var(--ink); }
.ind--fitness { --c: var(--fitness); }
.ind--restaurantes { --c: #f08a10; --ink-on: #fff; }
.ind--alimentos { --c: #9e3199; }
.ind--alimentos::before { background: var(--brand-gradient); opacity: .94; }
.ind--fitness::before { background: linear-gradient(180deg, var(--fitness) 0%, color-mix(in srgb, var(--fitness) 60%, transparent) 40%, transparent 62%, color-mix(in srgb, var(--wellness) 90%, transparent) 100%); }
.ind--alimentos .ind-glyphs { position: absolute; inset: auto 26px 96px auto; display: flex; gap: 8px; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ind-grid { grid-template-columns: 1fr; } .ind { min-height: 360px; } }

/* SISTEMAS, NO SERVICIOS */
.systems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.swap { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.swap li { display: grid; grid-template-columns: 1fr 24px 1.3fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.swap s { color: var(--ink-3); text-decoration-color: #e0207a; text-decoration-thickness: 2px; font-size: 15px; }
.swap .arrow { color: var(--ink-3); }
.swap b { font: 700 17px/1.3 var(--font-display); letter-spacing: -.01em; }
.swap b::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 10px; vertical-align: 1px; }

.report { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 22px; }
.report h3 { font-size: clamp(24px, 2.4vw, 30px); }
.report > p { color: var(--ink-2); font-size: 16px; }
.funnel { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.bar-track { height: 40px; border-radius: 10px; background: var(--paper-2); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 10px; background: var(--c); display: flex; align-items: center; padding-left: 14px; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.report.is-in .bar-fill { width: var(--w); }
.bar-num { font: 800 22px/1 var(--font-display); min-width: 44px; text-align: right; }
.report-note { font-size: 13px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 16px; }
@media (max-width: 900px) { .systems-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .swap li { grid-template-columns: 1fr; gap: 4px; } .swap .arrow { display: none; } }

/* SERVICIOS */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: var(--ink); transform: translateY(-3px); }
.svc-ico { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); display: grid; place-items: center; }
.svc-ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 20px; letter-spacing: -.01em; }
.svc p { font-size: 15px; color: var(--ink-2); }
.svc--cta { background: var(--ink); color: #fff; border-color: var(--ink); align-content: space-between; }
.svc--cta p { color: rgba(255, 255, 255, .7); }
.svc--cta:hover { border-color: var(--ink); }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* PROCESO */
.process { background: var(--paper-2); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: st; }
.stages li { counter-increment: st; background: var(--white); border-radius: var(--radius-sm); padding: 20px 16px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); }
.stages li::before { content: counter(st, decimal-leading-zero); font: 800 13px/1 var(--font-display); color: var(--ink-3); }
.stages b { font: 700 17px/1.2 var(--font-display); }
.stages span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.contract { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.contract-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-gradient); display: grid; place-items: center; }
.contract-ico svg { width: 30px; height: 30px; }
.contract h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.contract p { color: rgba(255, 255, 255, .75); font-size: 16px; max-width: 70ch; }
.contract-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.contract-chips span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
@media (max-width: 1000px) { .stages { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .stages { grid-template-columns: 1fr 1fr; } .contract { grid-template-columns: 1fr; } }

/* PAQUETES */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; }
.plan-tier { font: 700 12px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.plan h3 { font-size: clamp(32px, 3.4vw, 44px); }
.plan .goal { font-weight: 600; font-size: 17px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan li.inherit { font-weight: 600; color: var(--ink); }
.plan-bar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c); }
.plan:nth-child(1) { --c: var(--hoteles); }
.plan:nth-child(2) { --c: var(--fitness); }
.plan:nth-child(3) { --c: var(--restaurantes); }
.plan:nth-child(3) .plan-bar { background: var(--brand-gradient); }
.plan .btn { width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* CONTACTO */
.contact { background: var(--ink); color: #fff; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact .eyebrow { color: rgba(255, 255, 255, .6); }
.contact h2 { font-size: clamp(40px, 5.6vw, 72px); }
.contact .lead { color: rgba(255, 255, 255, .75); }
.verbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.verbs span { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; background: color-mix(in srgb, var(--c) 26%, transparent); color: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; grid-template-columns: 1fr 1fr; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.form .full { grid-column: 1 / -1; }
.form .btn { width: 100%; min-height: 56px; }
.form-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.contact .ring { color: var(--restaurantes); width: 560px; height: 560px; right: -260px; top: -200px; opacity: .3; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }
