:root {
  color-scheme: light;
  --ink: #101714;
  --ink-raised: #1a2520;
  --paper: #f2f5ed;
  --white: #fcfdf9;
  --mint: #c7f982;
  --green: #41672b;
  --muted: #536055;
  --edge: #d9dfd4;
  --on-dark: #eef3eb;
  --muted-on-dark: #b8c7bb;
  --shell: 1192px;
  --radius: 1.25rem;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--on-dark); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #638a31; outline-offset: 4px; }
section[id] { scroll-margin: 5rem; }
#demo, #contacto { scroll-margin: 0; }
.shell { max-width: var(--shell); width: calc(100% - 6rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; background: var(--mint); color: var(--ink); padding: .7rem 1rem; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 3; background: var(--ink); border-bottom: 1px solid #2c3931; }
.header-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: .4rem; font-weight: 760; font-size: 1.12rem; letter-spacing: -.045em; white-space: nowrap; }
.brand > span:last-child { color: var(--mint); }
.brand-mark { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 23px; height: 23px; margin-right: .3rem; transform: rotate(-8deg); }
.brand-mark i { display: block; border-radius: 2px; background: var(--mint); }
.brand-mark i:nth-child(2) { opacity: .5; transform: translateY(-2px); }
.brand-mark i:nth-child(3) { opacity: .75; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.main-nav a { font-size: .9rem; font-weight: 600; color: var(--muted-on-dark); transition: color 150ms; }
.main-nav a:hover, .site-footer a:hover { color: var(--mint); }
.main-nav .nav-cta, .menu-toggle { padding: .68rem .95rem; border: 1px solid #526159; border-radius: .55rem; color: var(--on-dark); background: transparent; font-weight: 650; }
.menu-toggle { display: none; }

.hero { background: radial-gradient(ellipse at 77% 22%, #202e24 0, var(--ink) 56%); padding: clamp(3.4rem, 6vw, 6.25rem) 0 clamp(3.75rem, 6vw, 6.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: center; gap: clamp(2rem, 5.5vw, 5.2rem); }
.hero-copy { padding-block: 1rem; }
.eyebrow { color: var(--mint); font-size: .78rem; text-transform: uppercase; font-weight: 730; letter-spacing: .105em; line-height: 1.5; }
.hero-eyebrow { margin-bottom: 1.55rem; }
.hero h1, h2 { letter-spacing: -.065em; line-height: 1.02; font-weight: 750; }
.hero h1 { font-size: clamp(3.4rem, 5.6vw, 5.55rem); line-height: .99; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-description { color: var(--muted-on-dark); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 28rem; margin-top: 1.5rem; }
.hero-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border-radius: .68rem; min-height: 3.1rem; padding: .8rem 1.15rem; border: 1px solid transparent; font-size: .95rem; line-height: 1.3; font-weight: 750; text-align: center; transition: background 150ms, border-color 150ms, color 150ms; }
.button-primary { background: var(--mint); color: #172210; }
.button-primary:hover { background: #dcffa9; }
.button-ghost { color: var(--on-dark); border-color: #4b5b51; }
.button-ghost:hover { background: #26332a; border-color: #798f7d; }
.button-outline { color: var(--ink); border-color: #aab9a6; background: transparent; }
.button-outline:hover { background: #e9f1df; border-color: #7f9977; }
.play-icon { width: 0; height: 0; border: .33rem solid transparent; border-right: 0; border-left-color: currentColor; border-left-width: .47rem; }
.hero-visual { position: relative; aspect-ratio: 1.12; min-width: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid #455547; isolation: isolate; background: linear-gradient(135deg, #3b4d39, #152119 67%, #303323); }
.hero-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% 50%; }
.hero-visual::after { content: ""; position: absolute; inset: 48% 0 0; z-index: 0; background: linear-gradient(180deg, transparent, #0b120e8c); pointer-events: none; }
.visual-note { position: absolute; z-index: 1; left: 1.2rem; bottom: 1.2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .8rem 1rem .8rem .75rem; border-radius: .8rem; color: var(--ink); background: #f6f9eef2; box-shadow: 0 8px 26px #080e0a42; transition: background 150ms; }
.visual-note:hover { background: var(--white); }
.visual-note .play-icon { color: var(--green); margin-left: .35rem; }
.visual-note strong, .visual-note small { display: block; }
.visual-note strong { font-size: .96rem; }
.visual-note small { color: #46534b; font-size: .82rem; margin-top: .22rem; }
.visual-note-icon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .65rem; background: #e0f2ce; color: #365927; }
.visual-note-icon::before { content: ""; width: 1.05rem; height: .85rem; border: 2px solid currentColor; border-radius: 4px 4px 4px 1px; transform: translateY(-1px); box-shadow: inset 0 -3px #e0f2ce; }

.light-section { color: var(--ink); background: var(--paper); }
.services, .packages, .demo-section, .contact-section { padding-block: clamp(3.75rem, 7vw, 6.6rem); }
.section-heading { margin-bottom: 2rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 2rem; }
h2 { font-size: clamp(2.4rem, 4.5vw, 4.4rem); }
.section-heading p, .demo-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.7; max-width: 34rem; }
.section-heading p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--white); min-width: 0; min-height: 11rem; padding: 1.4rem 1.45rem 1.6rem; }
.service-icon { width: 2.4rem; height: 2.4rem; display: inline-grid; place-items: center; margin-bottom: .85rem; border-radius: .65rem; background: #e6efd7; color: var(--green); font-size: 1.25rem; font-weight: 700; }
.icon-agent::before { content: "✦"; }
.icon-flow::before { content: "⌘"; }
.icon-code::before { content: "‹›"; letter-spacing: -.06em; }
.icon-mobile::before { content: ""; width: .62rem; height: 1rem; border: 2px solid currentColor; border-radius: 2px; }
.icon-integration::before { content: "∿"; }
.icon-data::before { content: ""; width: .9rem; height: .85rem; border: 2px solid currentColor; border-radius: .35rem; background: linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat; }
.service h3 { font-size: 1.14rem; line-height: 1.25; letter-spacing: -.028em; }
.service p { color: var(--muted); line-height: 1.52; margin-top: .5rem; }

.demo-section { background: #16221a; }
.demo-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.demo-copy .eyebrow, .contact-copy .eyebrow { margin-bottom: 1rem; }
.demo-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { color: var(--muted-on-dark); margin-top: 1.15rem; }
.demo-choices { display: grid; gap: .55rem; margin-top: 1.5rem; max-width: 22rem; }
.demo-simulator-link { margin-top: 1rem; }
.demo-choices button { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid #4b5d4e; border-radius: .65rem; color: var(--on-dark); background: transparent; text-align: left; transition: background 150ms; }
.demo-choices button[aria-pressed="true"], .demo-choices button:hover { background: #263b29; border-color: #819778; }
.option-dot { width: .7rem; height: .7rem; border: 1px solid #a3b1a3; border-radius: 50%; flex: none; }
.demo-choices button[aria-pressed="true"] .option-dot { background: var(--mint); border-color: var(--mint); }
.demo-screen { min-width: 0; background: #f6f8f1; color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.demo-screen-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.45rem 1.6rem; border-bottom: 1px solid var(--edge); }
.demo-screen-head .eyebrow { color: #496346; }
.demo-screen-head h3 { margin-top: .35rem; font-size: 1.4rem; letter-spacing: -.04em; }
.demo-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: 1rem 1.6rem .65rem; margin: 0; list-style: none; }
.demo-timeline li { display: flex; align-items: center; gap: .45rem; border: 1px solid var(--edge); border-radius: .55rem; min-height: 2.4rem; padding: .35rem .45rem; font-size: .85rem; font-weight: 680; color: #526052; }
.demo-timeline li span { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #e6ebe0; font-size: .74rem; flex: none; }
.demo-timeline li[aria-current="step"] { border-color: #7a9b66; background: #e3f2d4; color: #244522; }
.demo-timeline li[aria-current="step"] span { background: #335631; color: #fff; }
.demo-controls { display: flex; flex-wrap: wrap; gap: .45rem; padding: .2rem 1.6rem .85rem; border-bottom: 1px solid var(--edge); }
.demo-controls .button { min-height: 2.6rem; padding: .55rem .65rem; font-size: .87rem; }
.demo-play { background: #244b32; color: #fff; }
.demo-play:hover { background: #356146; }
.demo-controls .demo-reset { color: #3a6342; border-color: transparent; background: transparent; }
.demo-controls .demo-reset:hover { background: #e9f1df; }
.demo-controls .button:disabled { opacity: .46; cursor: default; }
.demo-content { display: grid; gap: .6rem; padding: .95rem 1.6rem; min-height: 16.75rem; align-content: start; }
.demo-message { width: fit-content; max-width: 92%; background: #e8ece4; border-radius: .8rem .8rem .8rem .2rem; padding: .68rem .85rem; }
.demo-message span { font-size: .82rem; font-weight: 720; color: #43544a; display: block; margin-bottom: .27rem; }
.demo-message p { line-height: 1.48; }
.demo-response { justify-self: end; background: #e3f1d9; border-radius: .8rem .8rem .2rem .8rem; }
.demo-result { display: flex; gap: .65rem; align-items: flex-start; color: #315737; background: #eef4e8; border: 1px solid #d4e6ce; border-radius: .65rem; padding: .65rem .85rem; line-height: 1.45; }
.demo-result strong { display: block; font-size: .85rem; margin-bottom: .24rem; }
.demo-result p { font-size: .95rem; }
.demo-message:not([hidden]), .demo-result:not([hidden]) { animation: demo-appear 330ms ease-out both; }
@keyframes demo-appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.check-icon { flex: 0 0 .7rem; height: .44rem; margin-top: .4rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.demo-screen-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; padding: .85rem 1.6rem 1rem; border-top: 1px solid var(--edge); }
.demo-progress { color: var(--muted); font-size: .88rem; font-weight: 650; }
.demo-package { color: #285134; font-size: .94rem; font-weight: 740; text-decoration: underline; text-underline-offset: .2em; }
.demo-package:hover { color: #486c2a; }

.packages { background: #eaf0e4; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.package { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.15rem, 2.2vw, 1.65rem); background: var(--white); border: 1px solid #ccd7c6; border-radius: var(--radius); }
.package-featured { border-color: #6e8c5a; box-shadow: inset 0 4px 0 #8fc258; }
.package h3 { font-size: 1.32rem; letter-spacing: -.035em; }
.package-intro { color: var(--muted); line-height: 1.5; margin-top: .5rem; min-height: 3rem; }
.package-price { display: grid; gap: .25rem; margin-top: .9rem; }
.package-price small, .package-price span { color: var(--muted); font-size: .88rem; }
.package-price strong { font-size: clamp(2.2rem, 3.7vw, 3.45rem); line-height: 1.05; letter-spacing: -.055em; }
.package ul { list-style: none; margin: 1.2rem 0 1.4rem; padding: 1rem 0 0; border-top: 1px solid var(--edge); }
.package li { position: relative; padding-left: 1.1rem; line-height: 1.47; font-size: .94rem; margin-bottom: .52rem; }
.package li::before { content: ""; position: absolute; top: .38rem; left: .05rem; width: .62rem; height: .35rem; border-bottom: 2px solid var(--green); border-left: 2px solid var(--green); transform: rotate(-45deg); }
.package .button { margin-top: auto; }

.contact-section { background: var(--ink); }
.contact-grid { align-items: start; }
.contact-copy { padding-top: .85rem; }
.purchase-steps { display: grid; gap: .55rem; padding: 0; margin: 1.55rem 0 0; list-style: none; max-width: 29rem; }
.purchase-steps li { display: grid; align-items: start; grid-template-columns: auto 1fr; gap: .65rem; padding: .75rem; border: 1px solid #46584a; border-radius: .68rem; color: var(--muted-on-dark); transition: background 160ms, border-color 160ms; }
.purchase-steps li[aria-current="step"] { color: var(--on-dark); border-color: #8eb775; background: #233528; }
.purchase-steps li strong, .purchase-steps li small { display: block; line-height: 1.4; }
.purchase-steps li small { margin-top: .22rem; font-size: .9rem; }
.purchase-index { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border: 1px solid #627966; border-radius: 50%; font-size: .85rem; font-weight: 730; }
.purchase-steps li[aria-current="step"] .purchase-index { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.purchase-step-complete .purchase-index { color: var(--mint); }
.contact-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.contact-links:has(a:not([hidden])) { margin-top: 1.5rem; }
.contact-links a { display: inline-flex; align-items: center; min-height: 2.65rem; padding: .5rem .75rem; border: 1px solid #4c5d51; border-radius: .55rem; }
.contact-links a:hover { color: var(--mint); border-color: var(--mint); }
.form-card { background: var(--ink-raised); border: 1px solid #415445; border-radius: var(--radius); padding: clamp(1.15rem, 3vw, 1.9rem); }
#quote-form, .form-row { display: grid; gap: .9rem; min-width: 0; }
.form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#quote-form label, #quote-form input, #quote-form textarea, #quote-form select { min-width: 0; display: block; width: 100%; }
#quote-form label { color: var(--on-dark); font-size: .9rem; font-weight: 670; }
#quote-form input, #quote-form textarea, #quote-form select { margin-top: .38rem; border: 1px solid #627466; background: #111b14; border-radius: .55rem; color: var(--on-dark); min-height: 2.8rem; padding: .65rem .75rem; font-size: 1rem; font-weight: 450; color-scheme: dark; }
#quote-form select { appearance: none; padding-right: 2.1rem; background-image: linear-gradient(45deg, transparent 50%, #c0d1bd 50%), linear-gradient(135deg, #c0d1bd 50%, transparent 50%); background-position: calc(100% - 1.15rem) 50%, calc(100% - .85rem) 50%; background-size: .3rem .3rem; background-repeat: no-repeat; }
#quote-form textarea { resize: vertical; min-height: 6.5rem; }
#quote-form textarea::placeholder { color: #a5b6a8; }
.form-trap { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.form-help { color: var(--muted-on-dark); font-size: .86rem; line-height: 1.4; }
#quote-form .button { width: fit-content; }
#quote-form .button:disabled { cursor: wait; opacity: .72; }
.form-status { line-height: 1.45; color: var(--muted-on-dark); font-size: .93rem; }
.form-status:empty { margin-top: -.9rem; }
.form-status[data-state="error"] { color: #ffc8b3; }
.form-status[data-state="success"] { color: var(--mint); }
.checkout-panel { background: #293b2c; border: 1px solid #607b63; border-radius: .7rem; margin-top: 1rem; padding: .95rem; }
.checkout-panel p { line-height: 1.5; margin-bottom: .45rem; }
.checkout-panel .button { margin-top: .3rem; }
.site-footer { border-top: 1px solid #3b4a40; color: var(--muted-on-dark); }
.footer-inner { display: flex; min-height: 5.4rem; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.site-footer .brand { color: var(--on-dark); }

@media (max-width: 990px) {
  .shell { width: calc(100% - 4rem); }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
  .package-grid { gap: .8rem; }
}
@media (max-width: 750px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 65px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: .15rem; background: #18251c; padding: .6rem 1.25rem 1rem; border-bottom: 1px solid #526159; }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav a { padding: .75rem .4rem; }
  .main-nav .nav-cta { margin-top: .3rem; text-align: center; }
  .hero { padding-block: 2.6rem 3.2rem; }
  .hero-grid, .demo-grid, .contact-grid, .split-heading { grid-template-columns: 1fr; gap: 1.55rem; }
  .hero-copy { padding-block: 0; }
  .hero-eyebrow { margin-bottom: 1.1rem; }
  .hero-visual { aspect-ratio: 1.45; }
  .hero h1 { max-width: 35rem; }
  .hero-description { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.45rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-grid { grid-template-columns: 1fr; }
  .package-intro { min-height: 0; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 2rem); }
  .hero h1 { font-size: clamp(2.85rem, 11.5vw, 3.5rem); }
  .hero-visual { aspect-ratio: 1.18; }
  .visual-note { left: .7rem; bottom: .7rem; right: .7rem; width: fit-content; padding: .6rem; }
  .service { padding: 1.08rem; }
  .service p { font-size: .94rem; }
  .form-row { grid-template-columns: 1fr; }
  .demo-screen-head, .demo-content, .demo-timeline, .demo-controls, .demo-screen-footer { padding-left: .8rem; padding-right: .8rem; }
  .demo-timeline { gap: .3rem; }
  .demo-timeline li { font-size: .8rem; gap: .27rem; }
  .demo-content { min-height: 18rem; }
  .demo-message { max-width: 96%; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1.15rem; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .demo-message:not([hidden]), .demo-result:not([hidden]) { animation: none; }
}
