:root {
  color-scheme: light;
  --forest: #102820;
  --green: #145641;
  --mint: #c5f5d8;
  --paper: #fbfcf7;
  --surface: #f0f5ed;
  --ink: #162b23;
  --muted: #486457;
  --border: #d1ded4;
  font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #27856b;
  outline-offset: 3px;
}
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.045em; }
h1 { font-size: clamp(2.9rem, 5.9vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.shell { width: min(100% - 2 * clamp(18px, 5vw, 70px), 1250px); margin-inline: auto; }
.navigation, .site-footer { color: white; background: var(--forest); }
.nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: block; width: clamp(122px, 17vw, 196px); flex: 0 0 auto; }
.logo img { display: block; width: 100%; height: auto; }
nav { display: flex; gap: clamp(10px, 2.6vw, 34px); align-items: center; font-size: .9rem; font-weight: 650; }
nav a, .button { text-decoration: none; }
nav a:hover, .site-footer a:hover { color: var(--mint); }
.login-link { border: 1px solid #4e7565; border-radius: 10px; padding: 8px 13px; white-space: nowrap; }
.hero { background: radial-gradient(ellipse at 80% 38%, #ddf2e1 0, transparent 67%), var(--surface); border-bottom: 1px solid var(--border); }
.hero-layout, .price-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); gap: clamp(28px, 6vw, 88px); }
.hero-layout { min-height: min(665px, 80vh); align-items: center; padding-block: clamp(48px, 8vw, 110px); }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.hero h1 { margin-top: 13px; }
.hero h1 em { display: block; color: var(--green); font-style: normal; }
.hero-copy h1 + p { margin-top: 20px; max-width: 43ch; font-size: clamp(1rem, 1.55vw, 1.18rem); }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 47px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 10px;
  color: white; background: var(--green); font: inherit; font-weight: 760; cursor: pointer;
}
.button:hover { background: var(--forest); }
.text-link { font-weight: 690; text-underline-offset: 4px; }

.product-preview {
  display: grid; align-content: center; min-width: 0; padding: clamp(9px, 2.16vw, 29px);
  border: 1px solid #486750; border-radius: clamp(16px, 2.9vw, 36px);
  background: radial-gradient(ellipse at 75% 6%, #427760, #183d30 72%);
  box-shadow: 0 23px 46px #14382927;
}
.product-window { min-width: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 12px 29px #0a211d55; }
.product-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #153629; color: white; font-size: .78rem; }
.product-brand { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--forest); background: var(--mint); font-weight: 880; }
.product-online { margin-left: auto; color: var(--mint); font-size: .65rem; white-space: nowrap; }
.product-desk { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); min-height: 248px; }
.product-queue { min-width: 0; padding: 12px 8px; border-right: 1px solid #dce9df; font-size: .69rem; }
.product-queue > strong { display: block; margin: 1px 3px 8px; font-size: .95rem; }
.product-person, .product-contact { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: .68rem; }
.product-person { margin-top: 6px; padding: 6px 3px; border-radius: 7px; }
.product-person.selected { background: #e8f5ec; }
.product-person div, .product-contact div { min-width: 0; }
.product-person b, .product-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-person small, .product-contact small { color: #526b5f; font-size: .63rem; }
.mini-avatar { flex: 0 0 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.avatar-mint { background: #cdebd9; }
.avatar-peach { background: #f6e8d5; }
.avatar-lavender { background: #eae3fa; }
.nav-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.product-preview .nav-icon { width: 13px; height: 13px; }
.product-search, .product-compose { display: flex; align-items: center; gap: 4px; color: #526b5f; border: 1px solid #dce9df; padding: 5px; border-radius: 6px; font-size: .6rem; }
.product-search { overflow: hidden; white-space: nowrap; }
.product-conversation { display: flex; flex-direction: column; min-width: 0; }
.product-contact { background: white; padding: 7px 8px; }
.product-contact small { display: block; }
.product-messages { display: grid; align-content: end; gap: 7px; flex: 1; background: #eff5ee; padding: 8px; }
.product-date { justify-self: center; color: #526b5f; font-size: .58rem; }
.product-messages p { width: fit-content; max-width: 92%; padding: 5px 7px; border-radius: 7px; background: white; color: var(--ink); font-size: .65rem; line-height: 1.35; }
.product-messages .product-reply { justify-self: end; background: #d8efdf; }
.product-file { display: flex; align-items: center; gap: 5px; font-weight: 730; }
.product-compose { justify-content: space-between; margin: 7px; }

.features, .faq { padding-block: clamp(44px, 8vw, 102px); }
.section-heading { max-width: 670px; margin-bottom: 26px; }
.feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.feature-grid article { padding: clamp(15px, 2.2vw, 25px); background: white; border: 1px solid var(--border); border-radius: 16px; }
.feature-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 16px; border-radius: 12px; background: #e0f3e6; color: var(--green); }
.feature-grid p, .steps p { margin-top: 8px; font-size: .94rem; }

.workflow { padding-block: clamp(46px, 8vw, 92px); background: var(--forest); color: white; }
.workflow-layout, .faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(20px, 6vw, 88px); }
.workflow h2 { max-width: 13ch; }
.steps { display: grid; gap: 15px; list-style: none; padding: 0; }
.steps li { display: flex; gap: 13px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #527064; }
.steps li:last-child { padding-bottom: 0; border: 0; }
.steps li > span { display: grid; flex: 0 0 33px; height: 33px; place-items: center; background: var(--mint); color: var(--forest); border-radius: 9px; font-weight: 800; }
.steps p { color: #d0e5d8; }

.offer { padding-block: clamp(42px, 8vw, 100px); background: var(--surface); border-bottom: 1px solid var(--border); }
.price-layout { align-items: start; }
.price-copy h2 { margin-block: 10px 12px; }
.rates { display: grid; gap: 12px; margin: 24px 0 0; }
.rate-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 96px; padding: clamp(12px, 2vw, 19px); border: 1px solid #87b29d; border-radius: 15px; background: #fff; box-shadow: 0 6px 16px #1028200b; }
.rate-card + .rate-card { background: #e4f5e8; }
.rate-card dt { display: flex; align-items: center; gap: clamp(9px, 2vw, 15px); font-size: clamp(.95rem, 1.65vw, 1.25rem); font-weight: 750; line-height: 1.2; }
.rate-icon { display: grid; flex: none; place-items: center; width: clamp(40px, 5vw, 58px); aspect-ratio: 1; border-radius: 12px; background: var(--mint); color: var(--forest); }
.rate-card + .rate-card .rate-icon { background: var(--green); color: #fff; }
.rate-icon svg { width: 58%; height: 58%; }
.rate-card dd { display: grid; justify-items: end; line-height: 1.1; white-space: nowrap; }
.rate-card dd strong { color: var(--forest); font-size: clamp(1.35rem, 2.6vw, 2rem); }
.rate-card dd small { color: var(--muted); font-weight: 550; margin-top: 4px; }
.total { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
dd { margin: 0; font-weight: 750; }
.plan-form { display: grid; gap: 14px; padding: clamp(17px, 3vw, 32px); border: 1px solid var(--border); border-radius: 18px; background: white; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
legend, label { font-size: .9rem; font-weight: 670; }
.period { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; margin-top: 6px; border: 2px solid var(--forest); border-radius: 999px; }
.period label { position: relative; cursor: pointer; text-align: center; }
.period input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.period span { display: block; padding: 10px 16px; border-radius: 999px; }
.period input:checked + span { color: white; background: var(--forest); }
.period input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.quantities { display: grid; gap: 18px; padding-block: 10px 2px; }
.plan-quantity { display: grid; grid-template-columns: minmax(0, 1fr) 5.4rem; align-items: center; gap: 5px 10px; }
.plan-quantity small { color: var(--muted); font-weight: 500; }
.plan-quantity input[type="number"] { text-align: end; font-weight: 750; }
.plan-quantity input[type="range"] { grid-column: 1 / -1; min-height: 28px; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; }
input { font: inherit; color: inherit; accent-color: var(--green); }
input:not([type="radio"]):not([type="hidden"]) { display: block; width: 100%; min-height: 43px; padding: 8px 11px; border: 1px solid #b4cabd; border-radius: 8px; background: #fbfdfb; }
.plan-form label > input:not([type="radio"]) { margin-top: 4px; }
.total { border-bottom: 1px solid var(--border); color: var(--green); }
output { font-weight: 800; }
.notice { padding: 10px; border-radius: 7px; color: #125138; background: #e7f4e9; }
.notice.error { color: #8b2929; background: #fceceb; }
.faq details { padding: 15px 0; border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 720; }
.faq details p { margin-top: 8px; }
.site-footer a { font-size: .9rem; font-weight: 650; }
.footer-inner {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  padding-block: 12px;
}
.footer-credit {
  margin: 0 0 0 auto;
  min-width: 0;
  color: #f2f8f4;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
}
@media (max-width: 740px) {
  .footer-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 16px 56px 28px;
  }
  .footer-inner .logo { margin-inline: auto; }
  .footer-credit {
    margin: 0;
    max-width: 100%;
    font-size: .8rem;
    text-align: center;
  }
}


.access-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 100dvh; }
.access-entry { display: grid; align-content: center; justify-items: center; padding: 36px 22px; }
.access-inner { width: min(100%, 450px); }
.access-inner .logo { width: min(100%, 264px); margin: 0 auto 26px; border-radius: 14px; overflow: hidden; background: var(--forest); }
.access-inner h1 { margin-bottom: 20px; font-size: 1.6rem; text-align: center; }
.access-form { display: grid; gap: 6px; }
.access-form input:not([type="hidden"]) { min-height: 50px; }
.access-form label[for="password"] { margin-top: 9px; }
.access-form > .button { margin-top: 14px; border-radius: 999px; }
.access-form .notice { margin-bottom: 6px; }
.password-field { position: relative; }
.password-field #password { padding-right: 50px; }
.password-field button { position: absolute; inset: 2px 2px 2px auto; width: 43px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; }
.password-field button:hover { background: #e3efe7; }
.password-field button[hidden] { display: none; }
.access-help { margin-top: 18px; font-size: .89rem; text-align: center; }
.access-help a { color: var(--green); font-weight: 700; }
.access-visual { min-width: 0; background: var(--forest) url("./wabotchat-acceso.webp") center / cover no-repeat; }

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .hero-layout, .price-layout, .workflow-layout, .faq, .access-layout { grid-template-columns: minmax(0,1fr); }
  .hero-layout { min-height: auto; }
  .product-preview { max-width: 580px; }
  .workflow h2 { max-width: none; }
  .access-entry { min-height: 100dvh; }
  .access-visual { display: none; }
}
@media (max-width: 440px) {
  .nav-inner { min-height: 64px; gap: 5px; }
  .nav-feature { display: none; }
  .login-link { padding-inline: 7px; }
  .feature-grid { gap: 8px; }
  .feature-grid h3 { font-size: 1.06rem; }
  .site-footer .nav-inner { flex-wrap: wrap; gap: 10px 16px; padding-block: 8px; }
}
@media (max-width: 350px) {
  .product-desk { grid-template-columns: minmax(0,1fr); }
  .product-queue { display: none; }
}

.sales-checkout-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--border); border-radius: 16px; color: var(--ink); background: white; overflow: hidden; }
.sales-checkout-dialog::backdrop { background: #10282088; }
.sales-checkout-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.sales-checkout-header h2, .sales-checkout-page h2 { font-size: 1.2rem; }
.sales-checkout-header button, .sales-checkout-page .card-checkout-actions button { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--forest); background: white; font: inherit; cursor: pointer; }
.sales-checkout-dialog iframe { display: block; width: 100%; height: min(680px, calc(100dvh - 98px)); border: 0; }
.sales-checkout-page { background: white; }
.sales-checkout-body { padding: 14px clamp(12px, 4vw, 26px); }
.sales-checkout-total { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; padding: 10px; border-radius: 8px; background: var(--surface); }
.sales-checkout-page .module-note, .sales-checkout-page .card-checkout-status { margin: 8px 0; font-size: .9rem; }
.sales-checkout-page .card-checkout-status:empty { display: none; }
.plan-form [hidden], .sales-checkout-page [hidden] { display: none; }

.plan-help { margin: -5px 0 0; color: var(--muted); font-size: .875rem; }
.registration-confirmation { display: grid; place-items: center; min-height: 70vh; }
.registration-confirmation form { width: min(100%, 520px); }
