/* Prodi Multi Services — shared styles for the whole multi-page site.
   Brand colors are injected as CSS vars by assets/site.js from content.js. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #0F2A43; --ink-soft: #1C3D5A; --accent: #E0A53B; --accent-dark: #C8902B;
  --bg: #F7F7F4; --surface: #FFF; --line: #E6E3DC; --muted: #5C6B7A; --text: #10202E;
}
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.btn { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; padding: 13px 26px; border-radius: 10px; border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; }

/* ---- Header / nav (shared) ---- */
header { position: sticky; top: 0; background: rgba(247,247,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 50; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; color: var(--ink); font-size: 18px; }
.logo span { color: var(--accent-dark); }
nav { display: flex; align-items: center; flex-wrap: wrap; }
nav a { margin-left: 20px; color: var(--muted); font-weight: 500; font-size: 15px; }
nav a:hover, nav a.active { color: var(--ink); }
nav a.active { font-weight: 700; }
nav a.cta { background: var(--accent); color: var(--ink); font-weight: 700; padding: 9px 16px; border-radius: 9px; }
nav a.cta:hover { background: var(--accent-dark); }
.lang { margin-left: 18px; background: transparent; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.lang:hover { background: #fff; }
.menu-toggle { display: none; margin-left: 14px; background: transparent; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 18px; cursor: pointer; color: var(--ink); }
/* Collapse to the hamburger before the inline nav runs out of room. The
   bilingual labels (longer in Spanish) overflow and wrap into the fixed-height
   header below ~960px, so switch to the mobile menu there. */
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 10px 20px 16px; display: none; }
  nav.open { display: flex; }
  nav a { margin: 8px 0; }
  nav a.cta { margin-top: 8px; }
  .lang { margin: 8px 0 0; }
}

/* ---- Hero (home) ---- */
.eyebrow { color: var(--accent-dark); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.hero-band {
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(224,165,59,.20), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #fff; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding: 72px 20px 80px; }
.hero-copy .eyebrow { color: var(--accent); }
.hero-copy h1 { color: #fff; font-size: 46px; line-height: 1.1; margin: 14px 0 16px; letter-spacing: -.01em; }
.hero-copy > p { font-size: 19px; color: #C9D6E3; max-width: 560px; margin: 0 0 28px; }
.hero-copy .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-copy .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.hero-copy .btn-ghost:hover { background: rgba(255,255,255,.10); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; }
.trust li { color: #DCE6F0; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* Brand service icons (inline SVG) — scale with the surrounding font-size */
.bic { width: 1em; height: 1em; vertical-align: -.15em; flex: 0 0 auto; }
.bic-pair { display: inline-flex; gap: .18em; vertical-align: -.15em; }

/* Hero chat mockup — WhatsApp-style */
.hero-visual { display: flex; justify-content: center; }
.chat-mock { width: 100%; max-width: 360px; background: #EFE7DE; border-radius: 22px; box-shadow: 0 18px 50px rgba(8,16,24,.30); overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.chat-top { display: flex; align-items: center; gap: 9px; padding: 11px 13px; background: #075E54; color: #fff; }
.chat-back { font-size: 22px; line-height: 1; opacity: .9; margin-right: -2px; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.chat-avatar svg { width: 21px; height: 21px; }
.chat-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.chat-name { font-weight: 600; font-size: 14.5px; }
.chat-status { font-size: 11.5px; color: #C9E8DF; }
.chat-icons { margin-left: auto; display: flex; gap: 16px; color: #fff; opacity: .92; }
.chat-icons svg { width: 19px; height: 19px; }
.chat-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px;
  background-color: #ECE5DD;
  background-image: radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 18px 18px; }
.chat-body .bubble { position: relative; max-width: 82%; padding: 6px 9px 5px; border-radius: 9px; font-size: 13.5px; line-height: 1.38; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.chat-body .bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; color: #111b21; }
.chat-body .bubble.out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; color: #111b21; }
.chat-body .b-meta { float: right; font-size: 10px; color: #667781; margin: 7px -3px -1px 10px; line-height: 1; white-space: nowrap; }
.chat-body .b-check { color: #53BDEB; font-size: 11px; letter-spacing: -2px; margin-left: 1px; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #F0F2F5; }
.chat-input-pill { flex: 1; background: #fff; border-radius: 18px; padding: 8px 14px; font-size: 13px; color: #8696a0; }
.chat-send { width: 34px; height: 34px; border-radius: 50%; background: #00A884; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.chat-send svg { width: 17px; height: 17px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 20px 60px; text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-copy .actions, .trust { justify-content: center; }
}
@media (max-width: 720px) { .hero-copy h1 { font-size: 33px; } .hero-copy > p { font-size: 17px; } }

/* Home section backgrounds */
.props-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-section { background: var(--bg); }
.plans-section { background: #fff; border-top: 1px solid var(--line); }
.plans-section .setup-note { margin-top: 30px; }

/* Home offer: Basic mini-card + service chips */
.offer-row { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.offer-basic-mini { background: var(--ink); color: #fff; border-radius: 16px; padding: 26px 24px; }
.offer-basic-mini h3 { color: #fff; font-size: 22px; margin: 10px 0 0; }
.offer-basic-mini .price { color: #fff; margin: 10px 0 0; }
.offer-basic-mini .price small { color: #B9C7D6; }
.offer-basic-mini .setup { color: #B9C7D6; margin-bottom: 14px; }
.offer-basic-mini .feat { margin: 0 0 20px; }
.offer-basic-mini .feat li { color: #DCE6F0; font-size: 14px; }
.offer-basic-mini .feat li::before { color: var(--accent); }
.offer-basic-mini .btn { width: 100%; text-align: center; }
.offer-services { padding-top: 4px; }
.offer-services h3 { font-size: 20px; }
.offer-services-sub { color: var(--muted); font-size: 15px; margin: 4px 0 16px; }
.svc-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 20px; }
.svc-chip { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.svc-chip:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.svc-chip-ic { font-size: 19px; flex: 0 0 auto; }
.svc-chip-nm { font-weight: 600; font-size: 14px; flex: 1; min-width: 0; }
.svc-chip-pr { font-weight: 700; font-size: 13px; color: var(--accent-dark); white-space: nowrap; }
@media (max-width: 760px) {
  .offer-row { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- Page hero (subpages) ---- */
.page-hero { padding: 56px 0 8px; text-align: center; }
.page-hero h1 { font-size: 36px; }
.page-hero p { color: var(--muted); font-size: 17px; margin-top: 8px; }

section { padding: 56px 0; }
.section-title { text-align: center; font-size: 30px; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.prop { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.prop .ic { font-size: 30px; }
.prop h3 { font-size: 18px; margin: 12px 0 6px; }
.prop p { color: var(--muted); font-size: 15px; }

/* ---- How it works steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.step h3 { font-size: 18px; margin: 14px 0 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---- Plans ---- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; position: relative; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .tag { color: #DCE6F0; }
.badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 20px; }
.plan .ic { font-size: 26px; }
.plan .tag { color: var(--muted); font-size: 14px; margin: 8px 0 2px; }
.plan h3 { font-size: 22px; }
.price { font-size: 34px; font-weight: 800; color: var(--ink); margin: 14px 0 2px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan.featured .price small { color: #B9C7D6; }
.setup { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan.featured .setup { color: #B9C7D6; }
.feat { list-style: none; margin: 0 0 22px; }
.feat li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; }
.feat li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.plan.featured .feat li { color: #DCE6F0; }
.plan.featured .feat li::before { color: var(--accent); }
.plan .btn { width: 100%; text-align: center; }
.plan.featured .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.setup-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ---- Plan & services page (/plans) ---- */
.basic-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.basic-main { padding: 32px 32px 30px; }
.basic-badge { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 20px; }
.basic-main h2 { font-size: 28px; margin: 12px 0 8px; }
.basic-lede { color: var(--muted); font-size: 16px; max-width: 52ch; }
.basic-incl-h { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 22px 0 10px; }
.basic-card .feat { margin: 0; column-count: 2; column-gap: 28px; }
.basic-buy { background: var(--ink); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.basic-buy .price { color: #fff; margin: 0 0 2px; }
.basic-buy .price small { color: #B9C7D6; }
.basic-buy .setup { color: #B9C7D6; margin-bottom: 18px; }
.basic-buy .btn { width: 100%; text-align: center; }
.basic-note { color: #B9C7D6; font-size: 13px; margin-top: 12px; }
@media (max-width: 760px) {
  .basic-card { grid-template-columns: 1fr; }
  .basic-card .feat { column-count: 1; }
  .basic-main { padding: 26px 22px 22px; }
}

.addons-section { background: #fff; border-top: 1px solid var(--line); }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: stretch; }
.svc-card2 { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.svc-card2 .svc-card-top { display: flex; gap: 12px; align-items: flex-start; }
.svc-card2 .svc-ic { font-size: 28px; line-height: 1; flex: 0 0 auto; }
.svc-card2 .svc-head h3 { font-size: 18px; }
.svc-card2 .svc-price2 { font-weight: 800; color: var(--ink); font-size: 17px; margin-top: 2px; }
.svc-card2 .svc-price2 .svc-setup { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.svc-card2 .svc-benefit { color: var(--text); font-size: 14.5px; margin: 12px 0 0; border-left: 3px solid var(--accent); padding-left: 12px; }
.svc-card2 .svc-demo2 { align-self: flex-start; margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--accent-dark); border: 1px solid currentColor; border-radius: 999px; padding: 1px 9px; }
.svc-card2 .btn.svc-add { width: 100%; text-align: center; margin-top: auto; padding: 10px 20px; }
.svc-card2 .svc-demo2 + .btn.svc-add { margin-top: 16px; }

/* ---- Templates (gallery + groups) ---- */
.type-group { margin-bottom: 44px; }
.type-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.type-head .ic { font-size: 26px; }
.type-head h2 { font-size: 24px; }
.type-desc { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.tpls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tpl { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--surface); position: relative; transition: box-shadow .15s, border-color .15s; }
.tpl:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.tpl.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tpl-thumb { position: relative; height: 165px; overflow: hidden; background: #eef0f2; border-bottom: 1px solid var(--line); }
.tpl-thumb iframe { width: 1280px; height: 860px; border: 0; transform: scale(.27); transform-origin: top left; pointer-events: none; }
.tpl-body { padding: 12px 14px; }
.tpl-body .nm { font-weight: 700; font-size: 15px; }
.tpl-body .ds { color: var(--muted); font-size: 13px; margin-top: 2px; }
.tpl-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.tpl-prev { font-size: 13px; font-weight: 600; color: var(--accent-dark); border: 1px solid var(--line); padding: 5px 11px; border-radius: 7px; }
.tpl-prev:hover { background: var(--bg); }
.tpl-check { font-size: 13px; font-weight: 700; color: var(--accent-dark); display: none; }
.tpl.sel .tpl-check { display: inline; }

/* ---- Onboarding (plan page) ---- */
.alta-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; max-width: 720px; margin: 0 auto; }
.alta-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.plan-pill { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 5px 14px; border-radius: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field .hint { color: var(--muted); font-size: 13px; }
.field.agree { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.agree-row input { width: auto; margin-top: 3px; flex-shrink: 0; }
.two { display: flex; gap: 14px; }
.two .field { flex: 1; }
.alta-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 12px; flex-wrap: wrap; }
.msg { margin-top: 14px; padding: 12px; border-radius: 10px; font-size: 15px; display: none; }
.msg.ok { display: block; background: #EAF6EE; color: #1B6B3A; }
.msg.err { display: block; background: #FCEBEB; color: #A32D2D; }
@media (max-width: 560px) { .two { flex-direction: column; gap: 0; } }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 17px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: center; }
.contact-card .ic { font-size: 28px; }
.contact-card h3 { font-size: 16px; margin: 10px 0 4px; }
.contact-card a, .contact-card p { color: var(--muted); font-size: 15px; word-break: break-word; }
.contact-card a:hover { color: var(--ink); }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: #B9C7D6; margin: 10px 0 24px; font-size: 18px; }

/* ---- Footer ---- */
footer { background: var(--ink-soft); color: #C7D3DF; padding: 36px 0; text-align: center; font-size: 14px; }
footer .logo { color: #fff; margin-bottom: 8px; }
footer a { color: #C7D3DF; }
footer .social { margin: 12px 0; display: flex; gap: 16px; justify-content: center; font-size: 22px; }
footer .social a:hover { color: var(--accent); }
.foot-links { margin-top: 10px; }
.foot-links a { color: var(--accent); margin: 0 8px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { left: 12px; top: 10px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 60; }
.wa-float:hover { background: #1ebe5b; }
