/* ─── Tokens ──────────────────────────────────────── */
:root {
  --lime: #c7f268;
  --ink: #07110f;
  --paper: #f3f2eb;
  --accent: #72bb8c;
  --accent-soft: #dce9df;
  --muted: #66716b;
  --hero-image: url('/service-web.jpg');
}

/* ─── Hero badge disponibilidad ──────────────────── */
.avail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(199,242,104,.12); border: 1px solid rgba(199,242,104,.28);
  border-radius: 999px; padding: 6px 14px 6px 8px; margin-bottom: 26px;
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199,242,104,.22);
  animation: pulse-dot 2s ease infinite;
}
.avail-badge span { font-size: 9px; font-weight: 800; letter-spacing: .8px; color: var(--lime); }
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 4px rgba(199,242,104,.22); }
  50%      { box-shadow: 0 0 0 8px rgba(199,242,104,.08); }
}

/* ─── Proof strip ─────────────────────────────────── */
.wd-strip {
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.wd-strip div { padding: 28px 26px; border-right: 1px solid rgba(255,255,255,.1); }
.wd-strip div:last-child { border-right: 0; }
.wd-strip b { font-size: 10px; color: var(--lime); display: block; letter-spacing: .5px; }
.wd-strip span { display: block; font-size: 8px; margin-top: 6px; color: #98a49d; letter-spacing: .5px; }

/* ─── Benefit cards ───────────────────────────────── */
.wd-benefit-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 52px;
}
.wd-benefit-card {
  background: #fff; padding: 36px 30px 50px; border-top: 3px solid var(--accent);
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.wd-benefit-card::after {
  content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
  right: -70px; bottom: -70px; background: var(--accent); opacity: .08; transition: .3s;
}
.wd-benefit-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(7,17,15,.1); }
.wd-benefit-card:hover::after { transform: scale(1.5); }
.wd-benefit-card > span { font-size: 8px; font-weight: 800; letter-spacing: 1.2px; color: #77827b; }
.wd-benefit-card h3 { font-size: 22px; letter-spacing: -.6px; margin: 60px 0 12px; }
.wd-benefit-card p { font-size: 11px; line-height: 1.75; color: #69756e; margin: 0; }
.wd-benefit-card small { position: absolute; bottom: 28px; font-size: 8px; font-weight: 800; color: var(--accent); }

/* ─── Deliverables dark ───────────────────────────── */
.wd-deliverables {
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; padding: 105px 5vw;
}
.wd-deliverables .sales-heading { position: sticky; top: 120px; align-self: start; }
.wd-deliverables .sales-heading .sales-eyebrow { color: var(--lime); }
.wd-deliverables .sales-heading h2 { color: #fff; }
.wd-deliverables .sales-heading p { color: #97a39c; }
.wd-del-list { border-top: 1px solid rgba(255,255,255,.15); }
.wd-del-list article {
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  display: grid; grid-template-columns: 44px 1fr 28px; gap: 14px; align-items: start;
}
.wd-del-list article > span { font-size: 8px; color: var(--lime); padding-top: 4px; }
.wd-del-list h3 { font-size: 17px; margin: 0; }
.wd-del-list p { font-size: 10px; line-height: 1.7; color: #8f9b94; margin: 7px 0 0; }
.wd-del-list b { font-size: 15px; color: var(--accent); margin-top: 2px; }

/* ─── Proceso / Timeline ──────────────────────────── */
.wd-process {
  background: var(--ink); padding: 105px 5vw; overflow: hidden; position: relative;
}
.wd-process::after {
  content: ""; position: absolute;
  width: 450px; height: 450px; border: 1px solid rgba(199,242,104,.07); border-radius: 50%;
  right: -240px; top: 80px; pointer-events: none;
}
.wd-process .sales-heading { max-width: 720px; margin-bottom: 70px; }
.wd-process .sales-heading h2 { color: #fff; }
.wd-process .sales-heading h2 em { font-family: "DM Serif Display"; font-weight: 400; color: var(--lime); }
.wd-process .sales-heading .sales-eyebrow { color: var(--lime); }
.wd-process .sales-heading p { color: #8a9590; }

.wd-timeline-wrap { position: relative; max-width: 1000px; margin: 0 auto; padding: 10px 0; }
.wd-timeline-wrap::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,.14);
}
.wd-timeline-wrap::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(var(--lime), #6bb88e);
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.8s cubic-bezier(.2,.8,.2,1);
}
.wd-timeline-wrap.visible::after { transform: scaleY(1); }

.wd-tl-item {
  width: 50%; position: relative; padding: 0 68px 58px 0;
  opacity: 0; transform: translateX(-26px);
  transition: opacity .7s ease, transform .7s ease;
}
.wd-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 58px 68px; transform: translateX(26px); }
.wd-timeline-wrap.visible .wd-tl-item { opacity: 1; transform: translateX(0); }
.wd-timeline-wrap.visible .wd-tl-item:nth-child(2) { transition-delay: .22s; }
.wd-timeline-wrap.visible .wd-tl-item:nth-child(3) { transition-delay: .44s; }
.wd-timeline-wrap.visible .wd-tl-item:nth-child(4) { transition-delay: .66s; }

.wd-tl-item > i {
  position: absolute; right: -22px; top: 8px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: #0b1512;
  border: 1px solid rgba(199,242,104,.4); box-shadow: 0 0 0 8px var(--ink);
  z-index: 2; font-style: normal; transition: background .4s, color .4s;
}
.wd-tl-item:nth-child(even) > i { left: -22px; right: auto; }
.wd-timeline-wrap.visible .wd-tl-item > i { background: var(--lime); color: var(--ink); }
.wd-tl-item > i b { font: 800 9px "Manrope"; }

.wd-tl-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  padding: 28px; transition: background .35s, border-color .35s, transform .35s;
}
.wd-tl-card:hover { background: rgba(255,255,255,.07); border-color: rgba(199,242,104,.26); transform: translateY(-4px); }
.wd-tl-card > span { font: 800 8px "Manrope"; letter-spacing: 1.5px; color: var(--lime); }
.wd-tl-card h3 { font-size: 28px; color: #fff; margin: 10px 0 10px; letter-spacing: -.8px; }
.wd-tl-card p { font-size: 11px; line-height: 1.7; color: #95a09b; margin: 0 0 20px; }
.wd-tl-card small { font: 700 8px "Manrope"; letter-spacing: 1.2px; color: #607069; }

/* ─── Steps bar ───────────────────────────────────── */
.wd-steps-bar { display: grid; grid-template-columns: repeat(4,1fr); background: #0a1512; margin-top: 64px; }
.wd-steps-bar span {
  min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border-right: 1px solid rgba(255,255,255,.12); font-size: 9px; color: #8a9590;
}
.wd-steps-bar span:last-child { border-right: 0; }
.wd-steps-bar b { color: var(--lime); font-size: 8px; }

/* ─── Trabajo reciente (wrapper) ──────────────────── */
.wd-work { padding: 105px 5vw; background: #f4f3ed; }
.wd-work .sales-heading h2 em { font-family: "DM Serif Display"; font-weight: 400; color: var(--accent); }

.wd-demo-box {
  padding: clamp(24px,3.5vw,48px); background: #07110f; border-radius: 2px;
  box-shadow: 0 35px 90px rgba(7,17,15,.22);
}
.wd-demo-head {
  display: grid; grid-template-columns: .45fr 1.2fr .7fr; gap: 30px;
  align-items: end; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.13);
}
.wd-demo-head > span {
  font: 700 9px "Manrope"; letter-spacing: 1.4px; color: var(--lime);
  display: flex; align-items: center; gap: 9px;
}
.wd-demo-head > span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--lime); box-shadow: 0 0 0 5px rgba(199,242,104,.1);
}
.wd-demo-head h3 { font-size: clamp(26px,2.8vw,40px); line-height: 1.02; margin: 0; letter-spacing: -1.6px; color: #fff; }
.wd-demo-head h3 em { color: #88cba6; font-family: "DM Serif Display"; font-weight: 400; }
.wd-demo-head p { font-size: 11px; line-height: 1.7; color: #9aa59f; margin: 0; }

/* ─── Demo gallery ────────────────────────────────── */
.demo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 18px; }
.demo-case {
  min-width: 0; padding: 17px; display: flex; flex-direction: column;
  color: #fff; text-decoration: none; background: #101b17;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s, background .35s;
}
.demo-case-store { grid-column: 1 / -1; }
.demo-case:hover { transform: translateY(-7px); border-color: rgba(199,242,104,.46); background: #13211c; }
.demo-case-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 2px 15px; font: 700 7px "Manrope"; letter-spacing: 1.35px;
}
.demo-case-top span { color: var(--lime); }
.demo-case-top i { color: #718078; font-style: normal; }
.demo-browser { overflow: hidden; background: #e9e5dc; box-shadow: 0 18px 38px rgba(0,0,0,.22); }
.demo-case-store .demo-browser { height: 365px; }
.demo-case:not(.demo-case-store) .demo-browser { height: 285px; }
.demo-browser-bar {
  height: 28px; display: flex; align-items: center; gap: 5px;
  padding: 0 11px; background: #f7f5ef; color: #8d918c;
}
.demo-browser-bar > span { width: 5px; height: 5px; border-radius: 50%; background: #bfc2bd; }
.demo-browser-bar small { margin: 0 auto; font-size: 6px; letter-spacing: .5px; }

.store-preview, .floors-preview, .imports-preview {
  height: calc(100% - 28px); position: relative; overflow: hidden;
}
.store-preview { padding: 24px 32px; background: #e7d5bd; color: #34251d; }
.store-preview nav { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.store-preview nav b { font-size: 9px; letter-spacing: 1px; }
.store-preview nav span { font-size: 5px; letter-spacing: .8px; }
.store-preview > div:not(.store-object) { position: relative; z-index: 2; margin-top: 65px; }
.store-preview small, .floors-preview small, .imports-preview small { display: block; font-size: 6px; font-weight: 800; letter-spacing: 1.3px; }
.store-preview strong, .floors-preview strong, .imports-preview strong { display: block; margin-top: 10px; font: 700 39px/.88 "Manrope"; letter-spacing: -2.5px; }
.store-preview strong em, .floors-preview strong em, .imports-preview strong em { font-family: Georgia,serif; font-weight: 400; }
.store-preview > div > i, .floors-preview > i, .imports-preview > i {
  display: inline-block; margin-top: 19px; padding: 9px 12px;
  background: #34251d; color: #fff; font: 700 6px "Manrope"; font-style: normal;
}
.store-object { position: absolute !important; border-radius: 48% 48% 12% 12%; filter: drop-shadow(0 15px 12px rgba(78,48,31,.18)); }
.object-one { width: 125px; height: 195px; right: 19%; bottom: -32px; background: linear-gradient(90deg,#a55f39,#d59569 53%,#8f4c2d); }
.object-one::before { content: ""; position: absolute; width: 49px; height: 28px; left: 38px; top: -15px; background: #b97149; border-radius: 9px 9px 2px 2px; }
.object-two { width: 90px; height: 132px; right: 6%; bottom: -15px; background: linear-gradient(90deg,#d8b995,#f1dbc0,#ae886a); }
.floors-preview { padding: 35px 28px; background: linear-gradient(135deg,#101a19 0 48%,#34433f 48.2% 49%,#15231f 49.2%); color: #fff; }
.floors-preview strong { font-size: 34px; }
.floors-preview strong em { color: #d2fb75; }
.floors-preview > i { background: #d2fb75; color: #10201b; }
.floor-shine { position: absolute; width: 260px; height: 100px; right: -65px; bottom: 25px; transform: rotate(-28deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent); filter: blur(4px); }
.imports-preview { padding: 35px 28px; background: #e9e6dc; color: #142720; }
.imports-preview strong { font-size: 34px; position: relative; z-index: 2; }
.imports-preview strong em { color: #287c5b; }
.imports-preview > i { background: #142720; color: #fff; position: relative; z-index: 2; }
.route-line { position: absolute; width: 245px; height: 245px; right: -76px; bottom: -90px; border: 1px solid rgba(31,115,82,.32); border-radius: 50%; }
.route-line::before, .route-line::after { content: ""; position: absolute; border: 1px solid rgba(31,115,82,.23); border-radius: 50%; inset: 28px; }
.route-line::after { inset: 62px; }
.route-line b { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #2a8d67; box-shadow: 0 0 0 5px rgba(42,141,103,.12); }
.route-line b:nth-child(1) { left: 18px; top: 56px; }
.route-line b:nth-child(2) { left: 68px; top: 20px; }
.route-line b:nth-child(3) { left: 91px; top: 95px; }
.demo-case-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; padding: 22px 3px 5px; }
.demo-case-meta h4 { margin: 0; font: 700 clamp(20px,2.1vw,28px)/1 "Manrope"; letter-spacing: -1.4px; }
.demo-case-meta p { margin: 7px 0 0; color: #7f8d86; font-size: 9px; }
.demo-case-meta > span { flex: none; color: #d7ff61; font: 700 7px "Manrope"; letter-spacing: 1px; }
.demo-case-meta > span b { width: 27px; height: 27px; display: inline-grid; place-items: center; margin-left: 8px; border: 1px solid rgba(215,255,97,.3); border-radius: 50%; transition: background .3s, color .3s, transform .3s; }
.demo-case:hover .demo-case-meta > span b { background: var(--lime); color: var(--ink); transform: rotate(45deg); }

/* ─── Ideal para ──────────────────────────────────── */
.wd-fit { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: start; padding: 105px 5vw; }
.wd-fit-list { display: grid; gap: 10px; }
.wd-fit-row { background: #fff; padding: 20px 22px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; }
.wd-fit-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-style: normal; font-size: 10px; font-weight: 800; }
.wd-fit-row b { font-size: 11px; }
.wd-fit-row span { display: block; font-size: 9px; color: #778079; margin-top: 4px; }

/* ─── FAQ ─────────────────────────────────────────── */
.wd-faq { background: #e8e8e1; padding: 105px 5vw; }
.wd-faq-inner { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; }
.wd-faq-list { border-top: 1px solid #bec4bf; }
.wd-faq-list details { border-bottom: 1px solid #bec4bf; padding: 22px 0; overflow: hidden; }
.wd-faq-list summary { cursor: pointer; list-style: none; font-size: 12px; font-weight: 800; display: flex; justify-content: space-between; gap: 14px; }
.wd-faq-list summary::after { content: "+"; color: var(--accent); font-size: 17px; }
.wd-faq-list details[open] summary::after { content: "−"; }
.wd-faq-list p { font-size: 10px; line-height: 1.75; color: #657069; max-width: 680px; padding-right: 35px; }
.wd-faq-list details > :not(summary) { transform-origin: top; }
.wd-faq-list details.faq-opening > :not(summary) { animation: faq-in .28s cubic-bezier(.22,1,.36,1) both; }
.wd-faq-list details.faq-closing > :not(summary) { animation: faq-out .2s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes faq-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-6px); } }

/* ─── CTA final ───────────────────────────────────── */
.wd-cta {
  margin: 0 5vw 80px; background: var(--ink);
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  align-items: center; padding: 72px; position: relative; overflow: hidden;
}
.wd-cta::before {
  content: ""; position: absolute;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle,rgba(199,242,104,.14),transparent 70%);
  right: -100px; bottom: -120px; pointer-events: none;
}
.wd-cta-copy { position: relative; z-index: 1; }
.wd-cta-copy .sales-eyebrow { color: var(--lime); }
.wd-cta-copy h2 { font-size: clamp(34px,4.5vw,58px); line-height: .95; letter-spacing: -3px; color: #fff; max-width: 780px; margin: 12px 0 16px; }
.wd-cta-copy h2 em { font-family: "DM Serif Display"; font-weight: 400; color: var(--lime); }
.wd-cta-copy p { font-size: 11px; color: #8a9590; max-width: 520px; margin: 0; }
.wd-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; position: relative; z-index: 1; }
.wd-cta-btn {
  display: inline-flex; align-items: center; gap: 20px; padding: 15px 22px;
  background: var(--lime); color: var(--ink); text-decoration: none;
  font-size: 9px; font-weight: 800; letter-spacing: .3px; white-space: nowrap;
  transition: transform .28s, box-shadow .28s;
}
.wd-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(199,242,104,.25); }
.wd-cta-actions small { font-size: 8px; font-weight: 700; letter-spacing: .5px; color: #607069; }

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .wd-strip { grid-template-columns: 1fr 1fr; }
  .wd-strip div:nth-child(2) { border-right: 0; }
  .wd-strip div { border-bottom: 1px solid rgba(255,255,255,.08); }
  .wd-benefit-grid { grid-template-columns: 1fr; }
  .wd-deliverables { grid-template-columns: 1fr; padding: 75px 5vw; }
  .wd-deliverables .sales-heading { position: static; }
  .wd-timeline-wrap::before, .wd-timeline-wrap::after { left: 20px; }
  .wd-tl-item, .wd-tl-item:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 40px 64px; transform: translateX(18px); }
  .wd-tl-item > i, .wd-tl-item:nth-child(even) > i { left: 0; right: auto; }
  .wd-steps-bar { grid-template-columns: 1fr 1fr; }
  .wd-steps-bar span:nth-child(2) { border-right: 0; }
  .wd-steps-bar span { border-bottom: 1px solid rgba(255,255,255,.1); }
  .wd-work { padding: 75px 5vw; }
  .wd-demo-head { grid-template-columns: 1fr; gap: 14px; }
  .demo-gallery { grid-template-columns: 1fr; }
  .demo-case-store { grid-column: auto; }
  .demo-case-store .demo-browser, .demo-case:not(.demo-case-store) .demo-browser { height: 300px; }
  .object-two { display: none; }
  .wd-fit { grid-template-columns: 1fr; padding: 75px 5vw; }
  .wd-faq { padding: 75px 5vw; }
  .wd-faq-inner { grid-template-columns: 1fr; }
  .wd-cta { grid-template-columns: 1fr; padding: 50px 28px; }
  .wd-cta-actions { align-items: flex-start; }
  .wd-process { padding: 75px 5vw; }
}
@media (max-width: 520px) {
  .wd-strip { grid-template-columns: 1fr; }
  .wd-tl-card h3 { font-size: 22px; }
  .wd-steps-bar { grid-template-columns: 1fr; }
  .wd-steps-bar span { border-right: 0; }
  .wd-cta { margin-inline: 20px; }
  .wd-cta-copy h2 { font-size: 32px; letter-spacing: -2px; }
  .demo-case-store .demo-browser, .demo-case:not(.demo-case-store) .demo-browser { height: 250px; }
  .store-preview, .floors-preview, .imports-preview { padding: 25px 20px; }
  .store-preview > div:not(.store-object) { margin-top: 45px; }
  .store-preview strong, .floors-preview strong, .imports-preview strong { font-size: 29px; }
}
