:root {
  --brand: #f97316;
  --brand-dark: #c2410c;
  --ink: #0f172a;
  --muted: #526071;
  --line: #e2e8f0;
  --soft: #fff7ed;
  --surface: #ffffff;
  --navy: #07101f;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #9a3412; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 1000; transform: translateY(-150%); padding: .65rem 1rem; border-radius: 10px; background: #fff; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-weight: 850; }
.brand img { width: 42px; height: 42px; padding: 7px; border-radius: 14px; background: linear-gradient(145deg, #fff5ec, #ffe6d3); box-shadow: 0 10px 20px rgba(223, 90, 0, .12); }
.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a { padding: .55rem .7rem; border-radius: 10px; color: #334155; text-decoration: none; font-size: .9rem; font-weight: 750; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #9a3412; background: var(--soft); }

.market-context-nav { border-bottom: 1px solid #e8edf3; background: #fffaf5; }
.market-context-inner { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.market-context-label { color: #9a3412; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.market-context-links { display: flex; align-items: center; gap: .35rem; }
.market-context-links a { padding: .4rem .65rem; border-radius: 999px; color: #475569; font-size: .82rem; font-weight: 750; text-decoration: none; }
.market-context-links a:hover { color: #9a3412; background: #ffedd5; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 13px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--brand), #d95700); box-shadow: 0 14px 28px rgba(249, 115, 22, .22); }
.button-primary:hover { color: #fff; }
.button-secondary { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.button-secondary:hover { color: #fff; background: rgba(255, 255, 255, .13); }

.hero { position: relative; overflow: hidden; padding: clamp(4.8rem, 9vw, 7.5rem) 0; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(249, 115, 22, .24), transparent 28%), linear-gradient(135deg, #060b16 0%, #151020 45%, #712900 130%); }
.hero::after { content: ''; position: absolute; width: 420px; height: 420px; right: -240px; bottom: -260px; border: 75px solid rgba(255, 255, 255, .045); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { display: inline-flex; margin-bottom: 1.2rem; padding: .4rem .85rem; border: 1px solid rgba(251, 146, 60, .4); border-radius: 999px; color: #fdba74; background: rgba(249, 115, 22, .12); font-size: .8rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(2.45rem, 6vw, 4.55rem); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 em { color: #fb923c; font-style: normal; }
.hero-copy > p { max-width: 720px; margin: 1.5rem 0 2rem; color: rgba(255, 255, 255, .78); font-size: clamp(1.02rem, 2vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.proof-list { display: grid; gap: .8rem; margin: 0; padding: 1.35rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .065); backdrop-filter: blur(12px); list-style: none; box-shadow: 0 26px 70px rgba(0, 0, 0, .22); }
.proof-list li { display: flex; gap: .75rem; color: rgba(255, 255, 255, .84); }
.proof-list li::before { content: '✓'; color: #fb923c; font-weight: 900; }

.trust-strip { border-bottom: 1px solid #e8edf3; background: #f8fafc; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem 1.35rem; margin: 0; padding: 1rem 0; list-style: none; color: #526071; font-size: .9rem; font-weight: 650; }

.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-soft { background: linear-gradient(180deg, #fffaf5, #fff); }
.section-dark { color: #fff; background: linear-gradient(150deg, #07101f, #182237 68%, #4f220d 130%); }
.section-heading { max-width: 760px; margin: 0 auto 2.6rem; text-align: center; }
.section-heading small { color: var(--brand-dark); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.section-heading h2 { margin: .55rem 0 .75rem; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.section-heading p { margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: rgba(255, 255, 255, .7); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.card { padding: 1.55rem; border: 1px solid rgba(249, 115, 22, .15); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 15px; background: #ffedd5; font-size: 1.35rem; }
.card h2, .card h3 { margin: 0 0 .55rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: .8rem 0 0; padding-left: 1.15rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split h2 { margin-top: 0; font-size: clamp(1.8rem, 3.5vw, 2.65rem); line-height: 1.18; letter-spacing: -.035em; }
.split p, .prose p, .prose li { color: var(--muted); }
.checklist { display: grid; gap: .7rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.65rem; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-dark); font-weight: 900; }
.callout { padding: 1.5rem; border: 1px solid #fed7aa; border-radius: var(--radius); background: var(--soft); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step { position: relative; padding: 1.5rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .9rem; border: 1px solid #fb923c; border-radius: 50%; color: #fb923c; font-weight: 900; }
.step h3 { margin: 0 0 .45rem; }
.step p { margin: 0; color: rgba(255, 255, 255, .68); }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin: .7rem 0 0; color: var(--muted); }

.cta { padding: 3.2rem 0; color: #fff; text-align: center; background: linear-gradient(135deg, #111827, #7c2d12 68%, #f97316); }
.cta h2 { margin: 0 0 .6rem; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.cta p { max-width: 680px; margin: 0 auto 1.5rem; color: rgba(255, 255, 255, .78); }

.breadcrumbs { padding: 1rem 0; color: #64748b; font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: .4rem; color: #94a3b8; }
.article { max-width: 800px; margin-inline: auto; }
.article h2 { margin-top: 2.4rem; font-size: 1.65rem; line-height: 1.25; }
.article h3 { margin-top: 1.75rem; }
.article-lead { color: #526071; font-size: 1.12rem; }
.article-note { margin: 1.6rem 0; padding: 1.2rem 1.35rem; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--soft); }
.article-index { display: grid; gap: 1rem; }

.pricing-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.pricing-toolbar label { display: grid; gap: .35rem; color: #334155; font-weight: 800; }
.pricing-toolbar select { min-width: 220px; padding: .7rem .85rem; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; color: var(--ink); font: inherit; }
.pricing-status { min-height: 1.5rem; margin: 0; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.price-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.price-card.featured { border-color: #fb923c; background: linear-gradient(180deg, #fff7ed, #fff); }
.price-card h2 { margin: 0; font-size: 1.35rem; }
.price-card p { margin: 0; color: var(--muted); }
.price-value { padding: .8rem 0; border-block: 1px solid #eef2f7; color: var(--brand-dark); }
.price-value strong { display: block; color: var(--ink); font-size: 1.7rem; line-height: 1.2; }
.price-value small { display: block; margin-top: .25rem; color: #64748b; }
.price-features { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; color: #334155; font-size: .9rem; }
.price-features li::before { content: '✓'; margin-right: .45rem; color: var(--brand-dark); font-weight: 900; }
.price-card .button { margin-top: auto; }

.region-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1.2rem; }
.region-switch a { padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: #334155; background: #fff; text-decoration: none; font-weight: 750; }
.region-switch a[aria-current="page"] { color: #9a3412; border-color: #fdba74; background: var(--soft); }

/* Continuidad visual con la portada principal en las páginas regionales. */
.portal-header .header-inner { display: grid; grid-template-columns: auto 1fr auto; }
.portal-header .main-nav { justify-content: center; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.account-link { padding: .65rem .25rem; color: #334155; font-size: .88rem; font-weight: 800; text-decoration: none; }
.account-link:hover { color: #9a3412; }
.regional-hero { padding: 4.8rem 0 2.8rem; }
.regional-hero .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); gap: clamp(2.4rem, 4vw, 4.6rem); }
.regional-hero .hero-copy h1 { font-size: clamp(2.75rem, 4.5vw, 4.15rem); }
.regional-proof { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; margin-top: 1.05rem; color: rgba(255,255,255,.68); font-size: .84rem; font-weight: 700; }
.regional-proof span { display: flex; align-items: center; gap: .35rem; }
.regional-proof b { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid rgba(255,160,90,.28); border-radius: 50%; color: #ffb06b; background: rgba(255,122,26,.14); font-size: .68rem; }
.regional-product-stage { position: relative; min-height: 510px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.regional-product-stage::before { content: ''; position: absolute; z-index: -2; width: 78%; height: 78%; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.22), rgba(255,122,26,.05) 48%, transparent 72%); filter: blur(10px); }
.regional-product-orbit { position: absolute; z-index: -1; width: 455px; height: 455px; border: 1px solid rgba(255,255,255,.065); border-radius: 50%; }
.regional-product-orbit.small { width: 355px; height: 355px; border-color: rgba(255,122,26,.1); }
.regional-product-window { width: min(100%, 525px); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(247,249,252,.98); box-shadow: 0 42px 90px rgba(0,0,0,.34); transform: perspective(1300px) rotateY(-4deg) rotateX(1deg); transition: transform .35s ease, box-shadow .35s ease; }
.regional-product-stage:hover .regional-product-window { transform: perspective(1300px) rotateY(-1deg) translateY(-4px); box-shadow: 0 50px 105px rgba(0,0,0,.4); }
.regional-product-topbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .78rem 1rem; border-bottom: 1px solid #e8edf3; background: rgba(255,255,255,.96); }
.regional-product-brand { display: flex; align-items: center; gap: .65rem; }
.regional-product-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: linear-gradient(145deg,#ff8b2a,#c84b00); box-shadow: 0 8px 16px rgba(255,122,26,.22); font-size: .69rem; font-weight: 900; }
.regional-product-brand strong, .regional-product-brand small { display: block; }
.regional-product-brand strong { color: #172033; font-size: .82rem; }
.regional-product-brand small { color: #8a96a8; font-size: .64rem; }
.regional-live { display: inline-flex; align-items: center; gap: .36rem; padding: .34rem .55rem; border: 1px solid #c8f1db; border-radius: 999px; color: #138051; background: #eefcf4; font-size: .62rem; font-weight: 800; }
.regional-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.regional-product-body { padding: 1rem; }
.regional-product-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.regional-product-heading span, .regional-product-heading strong { display: block; }
.regional-product-heading span { color: #8591a3; font-size: .66rem; }
.regional-product-heading strong { margin-top: .12rem; color: #162033; font-size: 1.03rem; }
.regional-demo { padding: .3rem .48rem; border-radius: 999px; color: #a94408 !important; background: #fff2e8; font-size: .58rem !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.regional-metrics { display: grid; grid-template-columns: 1.35fr .82fr .82fr; gap: .55rem; margin-bottom: .62rem; }
.regional-metrics article { padding: .72rem; border: 1px solid #e7edf4; border-radius: 14px; background: #fff; box-shadow: 0 7px 17px rgba(15,23,42,.035); }
.regional-metrics span, .regional-metrics strong, .regional-metrics small { display: block; }
.regional-metrics span { color: #8a96a8; font-size: .58rem; font-weight: 700; }
.regional-metrics strong { margin: .18rem 0 .08rem; color: #172033; font-size: .96rem; line-height: 1.15; }
.regional-metrics small { color: #78869a; font-size: .53rem; }
.regional-metrics article:first-child small { color: #16945d; }
.regional-product-panels { display: grid; grid-template-columns: 1.22fr .78fr; gap: .62rem; }
.regional-orders, .regional-ai { padding: .76rem; border: 1px solid #e7edf4; border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.04); }
.regional-panel-title { display: flex; justify-content: space-between; margin-bottom: .4rem; color: #253047; font-size: .67rem; font-weight: 800; }
.regional-panel-title span { color: #d55a0b; font-size: .55rem; }
.regional-order { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: .48rem; padding: .48rem 0; border-top: 1px solid #f0f3f7; }
.regional-order:first-of-type { border-top: 0; }
.regional-order > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #b74a08; background: #fff3e9; font-size: .58rem; }
.regional-order strong, .regional-order small { display: block; }
.regional-order strong { color: #253047; font-size: .62rem; }
.regional-order small { color: #9aa5b5; font-size: .52rem; }
.regional-order em { padding: .28rem .4rem; border-radius: 999px; color: #128054; background: #ecfbf2; font-size: .49rem; font-style: normal; font-weight: 800; }
.regional-ai { color: #fff; background: radial-gradient(circle at 100% 0%,rgba(255,133,33,.14),transparent 37%),linear-gradient(155deg,#171f31,#2d1d16); }
.regional-ai span { display: inline-flex; padding: .3rem .45rem; border-radius: 999px; color: #ffad67; background: rgba(255,122,26,.13); font-size: .52rem; font-weight: 900; }
.regional-ai strong { display: block; margin: .62rem 0 .32rem; font-size: .74rem; }
.regional-ai p { margin: 0; color: rgba(255,255,255,.65); font-size: .56rem; line-height: 1.55; }
.regional-float { position: absolute; display: flex; align-items: center; gap: .62rem; min-width: 190px; padding: .7rem .78rem; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; color: #263147; background: rgba(255,255,255,.95); box-shadow: 0 20px 44px rgba(0,0,0,.24); }
.regional-float strong, .regional-float small { display: block; }
.regional-float strong { font-size: .62rem; }
.regional-float small { color: #8c98a8; font-size: .51rem; }
.regional-float.top { right: -18px; top: 55px; }
.regional-float.bottom { left: -24px; bottom: 42px; }
.regional-hero-badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .2rem; padding-top: 1.05rem; border-top: 1px solid rgba(255,255,255,.08); }
.regional-hero-badges span { padding: .52rem .78rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.9); background: rgba(255,255,255,.055); font-size: .78rem; }
.regional-trust { border-bottom: 1px solid #e8edf3; background: #f8fafc; }
.regional-trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.6rem; margin: 0; padding: 1rem 0; color: #526071; list-style: none; font-size: .9rem; font-weight: 700; }
.country-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.country-summary article { padding: 1.35rem; border: 1px solid #fed7aa; border-radius: 18px; background: linear-gradient(145deg,#fff7ed,#fff); }
.country-summary h3 { margin: 0 0 .45rem; }
.country-summary p { margin: 0; color: var(--muted); }

.site-footer { padding: 3rem 0; color: rgba(255, 255, 255, .65); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2, .site-footer h3 { margin-top: 0; color: #fff; font-size: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: .45rem; }
.footer-meta { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .portal-header .header-inner { grid-template-columns: auto 1fr auto; }
  .regional-hero .hero-grid { grid-template-columns: 1fr; }
  .regional-hero .hero-copy { text-align: center; }
  .regional-hero .hero-copy > p { margin-inline: auto; }
  .regional-hero .hero-actions, .regional-proof, .regional-hero-badges { justify-content: center; }
  .regional-product-stage { width: min(100%, 650px); margin-inline: auto; }
  .cards, .steps, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-inner { min-height: 68px; }
  .header-inner > .button { padding: .65rem .85rem; font-size: .85rem; }
  .market-context-inner { justify-content: flex-start; overflow-x: auto; }
  .market-context-label, .market-context-links a { white-space: nowrap; }
  .hero { padding-top: 4.2rem; }
  .portal-header .header-inner { display: flex; }
  .account-link { display: none; }
  .regional-hero { padding: 4rem 0 2.5rem; }
  .regional-product-stage { min-height: 420px; }
  .regional-product-window { border-radius: 19px; transform: none; }
  .regional-product-stage:hover .regional-product-window { transform: translateY(-2px); }
  .regional-metrics { grid-template-columns: 1.15fr .85fr; }
  .regional-metrics article:last-child, .regional-ai { display: none; }
  .regional-product-panels, .country-summary { grid-template-columns: 1fr; }
  .regional-product-orbit { width: 350px; height: 350px; }
  .regional-product-orbit.small { width: 275px; height: 275px; }
  .regional-float { min-width: 166px; }
  .regional-float.top { right: -4px; top: 34px; }
  .regional-float.bottom { left: -4px; bottom: 18px; }
  .regional-hero-badges { display: grid; grid-template-columns: 1fr 1fr; }
  .cards, .steps, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
