:root { --ink:#001716; --red:#d10b12; --red-dark:#ad050b; --paper:#f6f7f4; --muted:#5e6a68; --line:#dfe5e2; --white:#fff; }
html[data-theme="dark"] { --ink:#edf5f3; --paper:#101b1a; --muted:#aab9b6; --line:#2b3a38; --white:#081211; color-scheme:dark; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--white); color:var(--ink); font-family:Arial, Helvetica, sans-serif; -webkit-font-smoothing:antialiased; transition:background-color .25s ease,color .25s ease; }
a { color:inherit; text-decoration:none; }
button,input,textarea { font:inherit; }
.container { width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.skip-link { position:fixed; left:16px; top:-60px; background:#fff; padding:12px 16px; z-index:100; border-radius:8px; }
.skip-link:focus { top:12px; }
.site-header { height:82px; background:rgba(255,255,255,.94); border-bottom:1px solid rgba(0,23,22,.08); display:flex; align-items:center; position:sticky; top:0; z-index:50; backdrop-filter:blur(14px); }
.nav-wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand img { display:block; width:166px; height:auto; }
.desktop-nav { display:flex; gap:32px; margin-left:auto; font-size:14px; font-weight:700; }
.desktop-nav a:hover { color:var(--red); }
.theme-toggle { flex:0 0 auto; width:42px; height:42px; display:grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--white); color:var(--ink); cursor:pointer; transition:.2s ease; }
.theme-toggle:hover { transform:translateY(-2px); border-color:var(--red); }
.theme-toggle svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.theme-toggle.is-dark { color:#ffd44d; background:#192220; border-color:#59615d; box-shadow:0 0 24px rgba(255,212,77,.18); }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:52px; padding:0 25px; border:0; border-radius:9px; background:var(--red); color:#fff; font-weight:800; box-shadow:0 12px 28px rgba(209,11,18,.18); transition:.2s ease; cursor:pointer; }
.button:hover { background:var(--red-dark); transform:translateY(-2px); }
.button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #ff777b; outline-offset:3px; }
.button-small { min-height:42px; padding:0 18px; font-size:14px; }
/* Botón "Iniciar sesión": negro, secundario frente al CTA rojo de prueba. */
.button-login { background:#000; color:#fff; box-shadow:0 12px 28px rgba(0,0,0,.18); }
.button-login:hover { background:#1a1a1a; }
/* En modo noche la barra ya es casi negra: sin borde el botón desaparece,
   así que se delinea en vez de cambiarle el color. */
html[data-theme="dark"] .button-login { border:1px solid rgba(255,255,255,.35); }
/* Enlace de autoservicio dentro de la sección de contacto. */
.contact-selfserve { margin-top:14px; font-size:15px; }
.contact-selfserve a { text-decoration:underline; font-weight:700; }
.mobile-menu { display:none; position:relative; }
.mobile-menu summary { list-style:none; font-weight:800; cursor:pointer; }
.mobile-menu nav { position:absolute; right:0; top:38px; width:245px; display:flex; flex-direction:column; background:#fff; padding:18px; gap:16px; border:1px solid var(--line); border-radius:12px; box-shadow:0 16px 40px rgba(0,23,22,.12); }
.mobile-menu .menu-trial { width:100%; min-height:42px; padding:0 12px; color:#fff; font-size:13px; }

.hero { position:relative; overflow:hidden; padding:90px 0 0; background:linear-gradient(135deg,#fff 0%,#f7f8f6 62%,#f2e9e9 100%); }
.hero-glow { position:absolute; width:520px; height:520px; border-radius:50%; background:rgba(209,11,18,.08); filter:blur(80px); right:-180px; top:-230px; }
.hero-grid { position:relative; display:grid; grid-template-columns:.92fr 1.08fr; align-items:center; gap:68px; }
.eyebrow,.kicker { color:var(--red); font-size:12px; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.eyebrow { display:flex; align-items:center; gap:10px; margin-bottom:24px; }
.eyebrow span { width:8px; height:8px; background:var(--red); border-radius:50%; box-shadow:0 0 0 5px rgba(209,11,18,.1); }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(44px,5vw,70px); line-height:.98; letter-spacing:-.055em; margin-bottom:25px; max-width:720px; }
h1 em,h2 em { color:var(--red); font-style:normal; }
.hero-lead { max-width:590px; font-size:19px; line-height:1.65; color:var(--muted); }
.hero-actions { display:flex; align-items:center; gap:28px; margin:34px 0 28px; }
.text-link { font-weight:800; }
.text-link span { color:var(--red); }
.trust-row { display:flex; flex-wrap:wrap; gap:18px; color:#42504e; font-size:13px; font-weight:700; }
.trust-row span::first-letter { color:var(--red); }
.product-window { border:1px solid rgba(0,23,22,.09); border-radius:18px; background:#fff; box-shadow:0 30px 80px rgba(0,23,22,.14); overflow:hidden; transform:perspective(1200px) rotateY(-2deg); }
.window-top { height:58px; display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--line); padding:0 20px; font-size:12px; font-weight:800; }
.window-logo { display:grid; place-items:center; width:29px; height:29px; border-radius:8px; background:var(--red); color:#fff; font-size:16px; }
.live { margin-left:auto; color:#158458; font-size:10px; letter-spacing:.08em; }.live i { display:inline-block; width:7px; height:7px; border-radius:50%; background:#19a86d; margin-right:6px; }
.search-box { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; margin:20px; padding:6px 6px 6px 14px; border:1px solid #cfd7d3; border-radius:10px; color:#84908d; font-size:12px; }
.search-box button { border:0; background:var(--ink); color:#fff; padding:11px 17px; border-radius:7px; font-weight:800; }
.filters { display:flex; gap:8px; padding:0 20px 18px; overflow:hidden; }.filters span { white-space:nowrap; background:#f0f3f1; padding:7px 10px; border-radius:6px; font-size:10px; font-weight:800; }.filters span:first-child { background:#fdebec; color:var(--red); }
.results-head { display:flex; justify-content:space-between; align-items:center; padding:15px 20px; background:#f7f8f6; font-size:11px; }.results-head small { color:#7c8885; }
.opportunity { display:grid; grid-template-columns:82px 1fr auto; align-items:center; gap:14px; padding:16px 20px; border-top:1px solid #edf0ee; }
.opportunity h2 { font-size:12px; margin:0 0 6px; letter-spacing:0; }.opportunity p,.opportunity small { font-size:10px; color:#73807d; margin:0; }.opportunity>small { color:#bd252a; font-weight:800; }
.type { display:inline-block; text-align:center; padding:7px 5px; border-radius:5px; background:#edf7f2; color:#138052; font-size:9px; font-weight:900; }.type-1 { background:#eef1fc; color:#4d5da8; }
.stat-strip { display:grid; grid-template-columns:repeat(3,1fr); margin-top:85px; background:var(--ink); color:#fff; border-radius:16px 16px 0 0; }.stat-strip div { padding:28px 36px; display:flex; flex-direction:column; border-right:1px solid rgba(255,255,255,.12); }.stat-strip div:last-child { border:0; }.stat-strip strong { font-size:20px; }.stat-strip span { margin-top:5px; color:#aab8b5; font-size:12px; }
.live-opportunities { padding:100px 0; background:var(--paper); }.live-heading { text-align:center; max-width:850px; margin:0 auto 38px; }.live-heading h2 { font-size:clamp(35px,5vw,64px); letter-spacing:-.05em; margin:14px 0 12px; }.live-heading h2 strong { color:var(--red); }.live-heading p { color:var(--muted); font-size:17px; }.live-panel { max-width:760px; margin:0 auto 32px; padding:26px 30px; background:var(--white); border:1px solid var(--line); border-radius:16px; box-shadow:0 18px 45px rgba(0,23,22,.08); }.live-panel label { display:block; margin-bottom:10px; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }.live-panel select { width:100%; padding:15px 16px; border:1px solid var(--line); border-radius:9px; background:var(--white); color:var(--ink); font-size:18px; font-weight:800; }.update-status { display:flex; justify-content:center; align-items:center; gap:8px; margin-top:14px; color:var(--muted); font-size:12px; }.status-dot { width:8px; height:8px; border-radius:50%; background:#20a466; box-shadow:0 0 0 4px rgba(32,164,102,.12); }.status-dot.error { background:var(--red); }.breakdown-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:44px 0 16px; }.breakdown-heading h3 { margin:0; font-size:21px; }.breakdown-heading span { color:var(--muted); font-size:12px; }.region-grid,.sector-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.region-grid button,.sector-grid article { min-height:120px; padding:22px; border:1px solid var(--line); border-radius:14px; background:var(--white); color:var(--ink); text-align:left; }.region-grid button { cursor:pointer; }.region-grid button:hover { border-color:var(--red); transform:translateY(-2px); }.region-grid strong,.sector-grid strong { display:block; color:var(--red); font-size:32px; }.region-grid span,.sector-grid span { display:block; margin-top:8px; color:var(--muted); font-size:13px; font-weight:800; line-height:1.4; }.sector-heading { margin-top:52px; }.sector-grid article { border-left:4px solid var(--red); }.live-disclaimer { max-width:850px; margin:25px auto 0; color:var(--muted); font-size:11px; line-height:1.6; text-align:center; }

.section { padding:110px 0; }
.section-heading { max-width:780px; text-align:center; margin:0 auto 54px; }.section-heading h2,.split-heading h2,.pricing-copy h2,.faq h2,.contact h2 { font-size:clamp(34px,4vw,52px); line-height:1.08; letter-spacing:-.04em; margin:14px 0 18px; }.section-heading p,.split-heading>p,.pricing-copy>p,.faq-grid>div>p { color:var(--muted); font-size:17px; line-height:1.65; }
.problem { background:#fff; }.cards { display:grid; gap:22px; }.cards.three { grid-template-columns:repeat(3,1fr); }.cards article { border:1px solid var(--line); border-radius:16px; padding:34px; transition:.25s ease; }.cards article:hover { transform:translateY(-4px); box-shadow:0 18px 44px rgba(0,23,22,.08); }.icon { width:50px; height:50px; display:grid; place-items:center; border-radius:12px; background:#fdeced; color:var(--red); font-size:22px; margin-bottom:25px; }.cards h3 { font-size:20px; margin-bottom:12px; }.cards p { color:var(--muted); line-height:1.65; margin:0; }
.steps { background:var(--paper); }.split-heading { display:grid; grid-template-columns:1.1fr .9fr; align-items:end; gap:100px; margin-bottom:50px; }.split-heading h2 { margin-bottom:0; }.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid #cfd7d3; }.steps-grid article { padding:38px 45px 0 0; }.steps-grid article+article { padding-left:45px; border-left:1px solid #cfd7d3; }.steps-grid span { font-size:12px; font-weight:900; color:var(--red); }.steps-grid h3 { font-size:21px; margin:18px 0 12px; }.steps-grid p { color:var(--muted); line-height:1.6; }
.pricing { background:var(--ink); color:#fff; }.pricing-grid { display:grid; grid-template-columns:1fr 480px; gap:100px; align-items:center; }.pricing-copy>p { color:#9dadaa; }.saving { margin-top:38px; padding-left:18px; border-left:3px solid var(--red); display:flex; flex-direction:column; gap:8px; }.saving span { color:#b8c3c1; font-size:14px; }.price-card { background:#fff; color:var(--ink); border-radius:20px; padding:38px; box-shadow:0 30px 70px rgba(0,0,0,.22); }.price-label { font-size:11px; font-weight:900; letter-spacing:.13em; color:var(--red); }.price { display:flex; align-items:center; gap:15px; margin:18px 0; }.price strong { font-size:48px; letter-spacing:-.05em; }.price span { color:var(--muted); font-size:12px; line-height:1.4; }.trial { background:#fdebec; color:#8e090e; padding:13px 15px; border-radius:8px; font-size:13px; font-weight:800; }.price-card ul { list-style:none; padding:10px 0; margin:0 0 20px; }.price-card li { padding:10px 0; border-bottom:1px solid #eef0ef; font-size:14px; }.price-card li::before { content:"✓"; color:var(--red); font-weight:900; margin-right:10px; }.button-full { width:100%; }.price-card>small { display:block; color:#7d8886; text-align:center; margin-top:15px; line-height:1.5; }
.faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:100px; }.faq-list details { border-top:1px solid var(--line); padding:22px 0; }.faq-list details:last-child { border-bottom:1px solid var(--line); }.faq-list summary { cursor:pointer; font-size:17px; font-weight:800; padding-right:30px; }.faq-list p { color:var(--muted); line-height:1.6; margin:15px 0 0; }
.contact { background:var(--red); color:#fff; padding:100px 0; }.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; }.kicker.light { color:#ffd6d8; }.contact p { color:#ffe4e5; line-height:1.6; max-width:500px; }.phone { display:inline-block; margin-top:20px; font-size:24px; font-weight:900; }.contact form { background:#fff; color:var(--ink); padding:34px; border-radius:16px; }.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.contact label { display:flex; flex-direction:column; gap:8px; font-size:12px; font-weight:800; margin-bottom:14px; }.contact input,.contact textarea { width:100%; border:1px solid #ccd4d1; border-radius:7px; padding:12px; color:var(--ink); resize:vertical; }.contact form small { display:block; margin-top:12px; color:#697572; text-align:center; font-size:10px; }
footer { padding:65px 0 25px; background:#fff; }.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:70px; }.footer-grid img { width:145px; height:auto; }.footer-grid p { color:var(--muted); max-width:350px; line-height:1.6; }.footer-grid>div { display:flex; flex-direction:column; gap:11px; font-size:13px; }.footer-grid strong { margin-bottom:5px; }.footer-grid a,.footer-grid span { color:var(--muted); }.social-icons { display:flex; gap:14px; }.social-icons a { display:inline-flex; color:var(--muted); transition:.2s ease; }.social-icons a:hover { color:var(--red); }.social-icons svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }.copyright { display:flex; justify-content:space-between; border-top:1px solid var(--line); margin-top:45px; padding-top:22px; color:#7d8886; font-size:11px; }
.whatsapp { position:fixed; left:22px; bottom:22px; width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:#25d366; color:#fff; box-shadow:0 10px 30px rgba(0,0,0,.2); z-index:40; transition:.2s ease; }
.whatsapp:hover { transform:translateY(-3px) scale(1.03); background:#20bd5a; }
.whatsapp svg { width:31px; height:31px; fill:currentColor; }

html[data-theme="dark"] .site-header { background:rgba(8,18,17,.94); border-color:rgba(255,255,255,.09); }
html[data-theme="dark"] .brand,html[data-theme="dark"] footer .footer-grid>div:first-child img { background:#fff; border-radius:9px; padding:5px 8px; }
html[data-theme="dark"] .hero { background:linear-gradient(135deg,#081211 0%,#101b1a 62%,#241516 100%); }
html[data-theme="dark"] .hero-glow { background:rgba(209,11,18,.16); }
html[data-theme="dark"] .trust-row { color:#bdcac7; }
html[data-theme="dark"] .product-window,html[data-theme="dark"] .cards article,html[data-theme="dark"] .price-card,html[data-theme="dark"] .contact form { background:#111d1c; color:#edf5f3; border-color:#2b3a38; }
html[data-theme="dark"] .window-top,html[data-theme="dark"] .opportunity,html[data-theme="dark"] .faq-list details,html[data-theme="dark"] .price-card li { border-color:#2b3a38; }
html[data-theme="dark"] .search-box { background:#0b1514; border-color:#3c4b48; }
html[data-theme="dark"] .filters span { background:#24302e; color:#dce6e3; }
html[data-theme="dark"] .filters span:first-child,html[data-theme="dark"] .trial { background:#3b1719; color:#ffb8bb; }
html[data-theme="dark"] .results-head { background:#172321; }
html[data-theme="dark"] .problem,html[data-theme="dark"] footer { background:#0b1514; }
html[data-theme="dark"] .pricing { background:#030a09; }
html[data-theme="dark"] .contact { background:#8f0a0f; }
html[data-theme="dark"] .contact input,html[data-theme="dark"] .contact textarea { background:#091312; border-color:#3c4b48; color:#edf5f3; }
html[data-theme="dark"] .mobile-menu nav { background:#111d1c; border-color:#2b3a38; }
html[data-theme="dark"] .live-panel,html[data-theme="dark"] .region-grid button,html[data-theme="dark"] .sector-grid article { background:#111d1c; }

@media (max-width:960px) { .desktop-nav { display:none; }.mobile-menu { display:block; }.nav-wrap>.button-small { margin-left:auto; }.hero { padding-top:60px; }.hero-grid,.pricing-grid { grid-template-columns:1fr; }.hero-copy { text-align:center; }.hero-copy .eyebrow,.hero-actions,.trust-row { justify-content:center; }.product-window { max-width:720px; margin:auto; transform:none; }.stat-strip { margin-top:60px; }.split-heading,.faq-grid,.contact-grid { grid-template-columns:1fr; gap:35px; }.pricing-grid { max-width:700px; }.price-card { max-width:520px; width:100%; margin:auto; } }
@media (max-width:700px) { .container { width:min(100% - 28px,1180px); }.site-header { height:70px; }.brand img { width:132px; }.nav-wrap { gap:12px; }.theme-toggle { width:38px; height:38px; }.nav-wrap>.button-small { display:none; }.hero { padding-top:48px; } h1 { font-size:42px; }.hero-lead { font-size:16px; }.hero-actions { flex-direction:column; gap:17px; }.trust-row { align-items:center; flex-direction:column; gap:8px; }.product-window { margin-top:15px; }.opportunity { grid-template-columns:70px 1fr; }.opportunity>small { display:none; }.stat-strip,.cards.three,.steps-grid,.footer-grid,.region-grid,.sector-grid { grid-template-columns:1fr; }.stat-strip div { border-right:0; border-bottom:1px solid rgba(255,255,255,.12); padding:22px; text-align:center; }.live-opportunities { padding:74px 0; }.live-panel { padding:22px 18px; }.breakdown-heading { display:block; }.breakdown-heading span { display:block; margin-top:7px; }.section { padding:78px 0; }.section-heading { text-align:left; }.cards article { padding:27px; }.steps-grid article,.steps-grid article+article { border-left:0; border-bottom:1px solid #cfd7d3; padding:27px 0; }.pricing-grid { gap:50px; }.price-card { padding:26px; }.price strong { font-size:39px; }.contact { padding:75px 0; }.contact form { padding:23px; }.form-row { grid-template-columns:1fr; gap:0; }.copyright { flex-direction:column; gap:8px; }.footer-grid { gap:35px; }.search-box { margin:14px; }.filters { padding:0 14px 14px; }.window-top { padding:0 14px; }.results-head,.opportunity { padding-left:14px; padding-right:14px; } }
.map-section { padding:105px 0; overflow:hidden; background:var(--paper); }
.map-heading { display:grid; grid-template-columns:1fr 330px; gap:70px; align-items:end; margin-bottom:38px; }
.map-heading h2 { max-width:720px; font-size:clamp(38px,5vw,64px); line-height:1; letter-spacing:-.05em; margin:14px 0 16px; }
.map-heading p { max-width:700px; color:var(--muted); font-size:17px; line-height:1.6; }
.map-live-card { display:flex; align-items:center; gap:15px; padding:19px 20px; border:1px solid var(--line); border-radius:14px; background:var(--white); box-shadow:0 12px 30px rgba(0,23,22,.05); }
.map-live-card>div { display:flex; flex-direction:column; gap:4px; }
.map-live-card strong { font-size:14px; }
.map-live-card small { color:var(--muted); line-height:1.35; }
.map-live-icon { position:relative; flex:0 0 auto; width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#eaf8f2; }
.map-live-icon::before,.map-live-icon::after { content:""; position:absolute; border:1px solid rgba(28,160,105,.22); border-radius:50%; animation:mapPulse 2.4s infinite; }
.map-live-icon::before { inset:6px; }.map-live-icon::after { inset:1px; animation-delay:.7s; }
.map-live-icon i { width:9px; height:9px; border-radius:50%; background:#1ca069; box-shadow:0 0 0 5px rgba(28,160,105,.12); }
@keyframes mapPulse { 0%,100% { transform:scale(.75); opacity:.25; } 50% { transform:scale(1); opacity:1; } }
.map-shell { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 330px; min-height:680px; overflow:hidden; border:1px solid var(--line); border-radius:24px; background:var(--white); box-shadow:0 28px 70px rgba(0,23,22,.12); }
.map-panel { position:relative; min-width:0; display:flex; flex-direction:column; padding:26px 34px 22px; background:radial-gradient(circle at 25% 20%,rgba(255,255,255,.9),transparent 40%),linear-gradient(145deg,#edf5f3,#dce9e7); }
.map-panel::before { content:""; position:absolute; inset:0; opacity:.38; pointer-events:none; background-image:linear-gradient(rgba(0,23,22,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(0,23,22,.035) 1px,transparent 1px); background-size:28px 28px; mask-image:linear-gradient(to bottom,#000,transparent 92%); }
.map-panel-head { position:relative; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:25px; }
.map-panel-head>div:first-child { display:flex; flex-direction:column; gap:5px; }.map-panel-head strong { font-size:20px; }
.map-panel-kicker { color:var(--red); font-size:10px; font-weight:900; letter-spacing:.14em; }
.map-key { display:flex; align-items:center; gap:6px; color:#63716e; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.map-key i { width:18px; height:8px; border-radius:2px; background:#f7d4d5; }.map-key i:nth-of-type(2) { background:#ef9da0; }.map-key i:nth-of-type(3) { background:#df555a; }.map-key i:nth-of-type(4) { background:#b8070d; }
.chile-map { position:relative; flex:1; min-height:590px; display:grid; place-items:center; z-index:1; }
.chile-map svg { display:block; width:auto; height:555px; max-width:78%; overflow:visible; filter:drop-shadow(0 18px 18px rgba(0,23,22,.15)); }
.chile-map .chile-region { fill:#f2b9bb!important; stroke:#fff!important; stroke-width:1.15!important; stroke-linejoin:round!important; cursor:pointer; transition:fill .18s ease,filter .18s ease,opacity .18s ease; outline:none; }
.chile-map .chile-region[data-level="1"] { fill:#f8d9da!important; }.chile-map .chile-region[data-level="2"] { fill:#f0a4a7!important; }.chile-map .chile-region[data-level="3"] { fill:#df555a!important; }.chile-map .chile-region[data-level="4"] { fill:#bb090f!important; }
.chile-map .chile-region:hover,.chile-map .chile-region:focus-visible,.chile-map .chile-region.is-active { fill:#001716!important; stroke:#fff!important; filter:drop-shadow(0 5px 5px rgba(0,23,22,.36)); }
.map-loading { position:absolute; inset:0; z-index:4; display:grid; place-items:center; padding:30px; background:#e7f0ee; color:var(--muted); text-align:center; }
.map-loading[hidden],.map-meta[hidden],.map-tooltip[hidden] { display:none; }
.map-tooltip { position:absolute; z-index:8; width:238px; padding:16px 17px; border:1px solid rgba(255,255,255,.12); border-radius:13px; background:#001716; color:#fff; box-shadow:0 16px 38px rgba(0,23,22,.3); pointer-events:none; transform:translate(14px,-50%); }
.map-tooltip::before { content:""; position:absolute; left:-6px; top:50%; width:12px; height:12px; background:#001716; transform:translateY(-50%) rotate(45deg); }
.map-tooltip span { display:block; margin-bottom:5px; color:#f4a4a7; font-size:9px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.map-tooltip strong { display:block; font-size:16px; line-height:1.2; }
.map-tooltip div { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:13px; padding-top:12px; border-top:1px solid rgba(255,255,255,.14); }
.map-tooltip p { margin:0; }
.map-tooltip b { display:block; font-size:20px; }.map-tooltip small { color:#aebbb8; font-size:9px; line-height:1.25; }
.map-summary { display:flex; flex-direction:column; padding:32px 28px; background:var(--white); border-left:1px solid var(--line); }
.map-summary-top>span,.map-selected>span { color:var(--red); font-size:9px; font-weight:900; letter-spacing:.15em; }
.map-summary-top>strong { display:block; margin:12px 0 2px; font-size:56px; line-height:1; letter-spacing:-.06em; }
.map-summary-top>p { color:var(--muted); font-size:12px; line-height:1.45; }
.map-metrics { display:grid; gap:10px; margin:23px 0; padding:20px 0; border-block:1px solid var(--line); }
.map-metrics>div { display:flex; align-items:center; gap:13px; }.map-metrics p { display:flex; flex-direction:column; gap:2px; margin:0; }.map-metrics p strong { font-size:22px; }.map-metrics p small { color:var(--muted); font-size:11px; }
.metric-icon { flex:0 0 auto; width:38px; height:38px; display:grid; place-items:center; border-radius:10px; color:#fff; font-size:10px; font-weight:900; }.metric-red { background:var(--red); }.metric-dark { background:#001716; }
.map-selected { min-height:140px; padding:19px; border-radius:14px; background:var(--paper); }.map-selected strong { display:block; margin:8px 0 6px; font-size:19px; line-height:1.25; }.map-selected p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.map-meta { margin-top:auto; padding-top:22px; color:var(--muted); font-size:10px; line-height:1.5; }
.map-meta i { display:inline-block; width:7px; height:7px; margin-right:6px; border-radius:50%; background:#20a466; }
.map-disclaimer { margin-top:18px; color:var(--muted); font-size:10px; line-height:1.6; text-align:center; }
html[data-theme="dark"] .map-live-card,html[data-theme="dark"] .map-shell,html[data-theme="dark"] .map-summary { background:#111d1c; }
html[data-theme="dark"] .map-panel { background:radial-gradient(circle at 25% 20%,rgba(30,52,49,.85),transparent 40%),linear-gradient(145deg,#102220,#183331); }
html[data-theme="dark"] .map-loading { background:#142522; }.map-selected { background:var(--paper); }
html[data-theme="dark"] .map-key { color:#b6c5c2; }html[data-theme="dark"] .metric-dark { background:#344643; }
@media (max-width:960px) { .map-heading { grid-template-columns:1fr; gap:25px; }.map-live-card { max-width:430px; }.map-shell { grid-template-columns:minmax(0,1fr) 285px; }.map-panel { padding-inline:22px; }.map-summary { padding-inline:22px; } }
@media (max-width:760px) { .map-section { padding:75px 0; }.map-shell { display:flex; flex-direction:column; }.map-panel { min-height:640px; }.map-panel-head { align-items:flex-start; flex-direction:column; }.map-key { display:none; }.chile-map { min-height:555px; }.chile-map svg { height:520px; max-width:90%; }.map-summary { border-left:0; border-top:1px solid var(--line); }.map-tooltip { width:205px; transform:translate(10px,-50%); }.map-tooltip::before { display:none; }.map-disclaimer { text-align:left; } }
@media (max-width:440px) { .map-panel { padding-inline:14px; }.chile-map svg { height:490px; }.map-tooltip { width:190px; padding:13px; }.map-tooltip div { grid-template-columns:1fr; }.map-summary-top>strong { font-size:48px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }

/* ¡Sin Ofertar! */
.desktop-nav { align-items:center; gap:16px; }
.desktop-nav a { display:inline-flex; align-items:center; min-height:34px; }
.desktop-nav .nav-feature { padding:0 11px; }
.nav-feature { padding:8px 11px; border-radius:7px; background:#fdebec; color:var(--red)!important; }
.nav-feature:hover { background:var(--red); color:#fff!important; }
.nav-feature[aria-current="page"] { background:var(--red); color:#fff!important; }
.no-bids-section { position:relative; overflow:hidden; padding:110px 0; background:linear-gradient(180deg,var(--white) 0%,var(--paper) 100%); }
.no-bids-section::before { content:""; position:absolute; width:520px; height:520px; right:-250px; top:40px; border-radius:50%; background:rgba(209,11,18,.07); filter:blur(70px); pointer-events:none; }
.no-bids-heading { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 350px; align-items:end; gap:70px; margin-bottom:42px; }
.no-bids-heading h1,.no-bids-heading h2 { margin:10px 0 14px; font-size:clamp(48px,7vw,84px); line-height:.96; letter-spacing:-.065em; }
.no-bids-heading>div>p { max-width:720px; margin:0; color:var(--muted); font-size:18px; line-height:1.65; }
.no-bids-heading>div>p strong { color:var(--ink); }
.no-bids-proof { display:flex; align-items:center; gap:15px; padding:19px 20px; border:1px solid var(--line); border-radius:14px; background:var(--white); box-shadow:0 12px 30px rgba(0,23,22,.05); }
.proof-icon { flex:0 0 auto; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:#fdebec; color:var(--red); font-size:18px; font-weight:900; box-shadow:0 0 0 6px rgba(209,11,18,.06); }
.no-bids-proof div { display:flex; flex-direction:column; gap:4px; }
.no-bids-proof strong { font-size:14px; }
.no-bids-proof small { color:var(--muted); line-height:1.4; }
.no-bids-filters { position:relative; display:grid; grid-template-columns:1.45fr .85fr .72fr auto; align-items:end; gap:14px; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--white); box-shadow:0 22px 55px rgba(0,23,22,.09); }
.no-bids-filters label { min-width:0; display:flex; flex-direction:column; gap:8px; }
.no-bids-filters label>span { color:var(--muted); font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.no-bids-filters input,.no-bids-filters select { width:100%; height:50px; border:1px solid #ccd5d2; border-radius:9px; background:var(--white); color:var(--ink); padding:0 13px; }
.filter-search>div { position:relative; }
.filter-search svg { position:absolute; left:14px; top:14px; width:21px; height:21px; fill:none; stroke:var(--muted); stroke-width:1.8; pointer-events:none; }
.filter-search input { padding-left:44px; }
.no-bids-submit { min-height:50px; gap:20px; white-space:nowrap; }
.no-bids-toolbar { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 2px 10px; }
.no-bids-state { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:13px; }
.no-bids-state i { flex:0 0 auto; width:8px; height:8px; border-radius:50%; background:#20a466; box-shadow:0 0 0 4px rgba(32,164,102,.12); }
.no-bids-state.is-error i { background:var(--red); box-shadow:0 0 0 4px rgba(209,11,18,.1); }
.clear-filters { border:0; padding:5px 0; background:transparent; color:var(--red); font-size:12px; font-weight:800; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.no-bids-results { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; min-height:250px; }
.no-bids-loading,.no-bids-empty { grid-column:1/-1; min-height:260px; display:grid; place-items:center; align-content:center; gap:14px; border:1px dashed #c8d2cf; border-radius:18px; color:var(--muted); text-align:center; }
.no-bids-loading i { width:34px; height:34px; border:3px solid var(--line); border-top-color:var(--red); border-radius:50%; animation:noBidsSpin .85s linear infinite; }
.no-bids-loading p,.no-bids-empty p { margin:0; }
@keyframes noBidsSpin { to { transform:rotate(360deg); } }
.no-bids-card { position:relative; min-width:0; display:flex; flex-direction:column; padding:23px; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--white); box-shadow:0 10px 28px rgba(0,23,22,.055); transition:.2s ease; }
.no-bids-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--red); }
.no-bids-card:hover { transform:translateY(-3px); border-color:#d9a2a4; box-shadow:0 18px 38px rgba(0,23,22,.09); }
.no-bids-card-head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:17px; }
.no-bids-type,.no-bids-zero { display:inline-flex; align-items:center; min-height:27px; padding:0 9px; border-radius:6px; font-size:9px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.no-bids-type { background:#eaf8f2; color:#137b52; }
.no-bids-zero { background:#fdebec; color:var(--red); }
.no-bids-card h3 { margin:0 0 11px; font-size:17px; line-height:1.35; letter-spacing:-.015em; }
.no-bids-org { min-height:38px; margin:0 0 18px; color:var(--muted); font-size:12px; line-height:1.5; }
.no-bids-meta { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:auto; padding:16px 0; border-block:1px solid var(--line); }
.no-bids-meta span { display:block; color:var(--muted); font-size:9px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.no-bids-meta strong { display:block; margin-top:5px; font-size:14px; line-height:1.3; }
.no-bids-deadline { color:var(--red); }
.no-bids-card-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:15px; }
.no-bids-code { color:var(--muted); font-size:10px; font-weight:800; }
.no-bids-link { color:var(--red); font-size:12px; font-weight:900; }
.no-bids-link:hover { text-decoration:underline; text-underline-offset:3px; }
.no-bids-footer { display:grid; grid-template-columns:1fr 1fr; gap:35px; margin-top:30px; padding:23px 26px; border-left:4px solid var(--red); border-radius:0 12px 12px 0; background:var(--white); }
.no-bids-footer p,.no-bids-footer small { margin:0; color:var(--muted); font-size:11px; line-height:1.65; }
.no-bids-footer strong { color:var(--ink); }
html[data-theme="dark"] .nav-feature { background:#3b1719; color:#ffb8bb!important; }
html[data-theme="dark"] .nav-feature:hover { background:var(--red); color:#fff!important; }
html[data-theme="dark"] .nav-feature[aria-current="page"] { background:var(--red); color:#fff!important; }
@media (max-width:1100px) { .desktop-nav { display:none; }.mobile-menu { display:block; }.nav-wrap>.button-small { margin-left:auto; } }
html[data-theme="dark"] .no-bids-section { background:linear-gradient(180deg,#0b1514 0%,var(--paper) 100%); }
html[data-theme="dark"] .no-bids-proof,html[data-theme="dark"] .no-bids-filters,html[data-theme="dark"] .no-bids-card,html[data-theme="dark"] .no-bids-footer { background:#111d1c; }
html[data-theme="dark"] .no-bids-filters input,html[data-theme="dark"] .no-bids-filters select { background:#091312; border-color:#3c4b48; color:#edf5f3; }
html[data-theme="dark"] .no-bids-heading>div>p strong,html[data-theme="dark"] .no-bids-footer strong { color:#edf5f3; }
html[data-theme="dark"] .no-bids-type { background:#13382d; color:#8ce1bd; }
html[data-theme="dark"] .no-bids-zero { background:#3b1719; color:#ffb8bb; }
@media (max-width:1050px) { .no-bids-filters { grid-template-columns:1.3fr 1fr 1fr; }.no-bids-submit { grid-column:1/-1; }.no-bids-results { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .no-bids-section { padding:75px 0; }.no-bids-heading { grid-template-columns:1fr; gap:25px; }.no-bids-proof { max-width:430px; }.no-bids-filters { grid-template-columns:1fr; padding:19px; }.no-bids-submit { grid-column:auto; width:100%; }.no-bids-results { grid-template-columns:1fr; }.no-bids-footer { grid-template-columns:1fr; gap:10px; }.no-bids-toolbar { align-items:flex-start; flex-direction:column; gap:8px; }.no-bids-card { padding:21px; } }
@media (prefers-reduced-motion:reduce) { .no-bids-loading i { animation:none; } }


/* Header: reajuste tras sumar "Contacto" e "Iniciar sesión".
   Con dos ítems más el nav ya no entraba a 1440px y los rótulos se partían
   en dos líneas, descuadrando la barra. nowrap lo impide, los gaps se
   aprietan un poco y el menú móvil entra antes (1240px en vez de 1100). */
.nav-wrap { gap:16px; }
.desktop-nav { gap:14px; font-size:13.5px; }
.desktop-nav a, .nav-wrap > .button { white-space:nowrap; }
.desktop-nav .nav-feature { padding:0 9px; }
.nav-wrap > .button-small { padding:0 14px; }
@media (max-width:1240px) {
  .desktop-nav { display:none; }
  .mobile-menu { display:block; }
  /* La regla previa daba margin-left:auto a los DOS botones y quedaban
     dispersos; solo el primero empuja, así el par viaja junto. */
  .nav-wrap > .button-small { margin-left:0; }
  .nav-wrap > .button-login { margin-left:auto; }
}
