*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0d1117;
  --ink2: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --dark: #0b0d12;
  --dark2: #151922;
  --accent: #1d4ed8;
  --accent-soft: #e8eefc;
  --teal: #0f766e;
  --teal-soft: #e6f4f2;
  --gold: #b08d57;
  --radius: 12px;
  --wrap: 1180px;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; letter-spacing: -0.02em; line-height: 1.15; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 1.5rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.8rem 1.4rem; border-radius: 8px; font-weight: 600; font-size: 0.92rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #1e40af; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* TOP BAR */
.topbar { background: #000; color: #9ca3af; font-size: 0.8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; flex-wrap: wrap; }
.topbar a { color: #d1d5db; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* NAV */
header.nav { position: sticky; top: 0; z-index: 100; background: #000; border-bottom: 1px solid #1f2430; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; position: relative; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a, .sub-toggle { color: #d1d5db; text-decoration: none; font-size: 0.9rem; font-weight: 500; background: none; border: none; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-links a:hover, .sub-toggle:hover, .nav-links a[aria-current="page"] { color: #fff; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-sub { position: relative; }
.sub { list-style: none; position: absolute; top: calc(100% + 18px); left: -1rem; min-width: 290px; background: #0b0d12; border: 1px solid #262c38; border-radius: 12px; padding: 0.5rem; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.sub::before { content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.sub a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; }
.sub a:hover { background: #151922; }
.sub small { display: block; color: #6b7280; font-size: 0.76rem; font-weight: 400; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.burger { display: none; background: none; border: 1px solid #374151; border-radius: 8px; width: 42px; height: 42px; color: #fff; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* HERO */
.hero { background: radial-gradient(1100px 500px at 85% -10%, #1e3a8a55, transparent 60%), var(--dark); color: #fff; padding-block: 5rem 5.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; color: #c7d2fe; background: rgba(99,102,241,.12); border: 1px solid rgba(129,140,248,.25); padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; margin-bottom: 1.3rem; }
.hero h1 span { color: #93c5fd; }
.hero-desc { color: #c9cdd4; font-size: 1.08rem; max-width: 590px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; list-style: none; color: #c9cdd4; font-size: 0.88rem; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 16px; height: 16px; color: #4ade80; }
.hero-poles { display: grid; gap: 1rem; }
.pole-card { background: var(--dark2); border: 1px solid #262c38; border-radius: 16px; padding: 1.5rem 1.6rem; text-decoration: none; display: block; transition: border-color .2s; }
.pole-card:hover { border-color: #3b4a6b; }
.pole-card .pole-tag { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 0.4rem; }
.pole-card.digital .pole-tag { color: #93c5fd; }
.pole-card.infra .pole-tag { color: #5eead4; }
.pole-card h2 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips span { font-size: 0.76rem; color: #d1d5db; background: rgba(255,255,255,.06); border: 1px solid #2b3240; padding: 0.2rem 0.6rem; border-radius: 999px; }

/* PAGE HERO (pages services) */
.page-hero { background: radial-gradient(900px 400px at 90% -20%, #1e3a8a55, transparent 60%), var(--dark); color: #fff; padding-block: 2.2rem 4.5rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8rem; color: #9ca3af; margin-bottom: 2.5rem; }
.breadcrumb li + li::before { content: '›'; margin-right: 0.4rem; color: #4b5563; }
.breadcrumb a { color: #9ca3af; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero .wrap > .inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; margin-bottom: 1.2rem; }
.page-hero h1 span { color: #93c5fd; }
.page-hero .lead { color: #c9cdd4; font-size: 1.08rem; margin-bottom: 2rem; }

/* PROOF STRIP */
.proof { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2rem; }
.proof-item { border-left: 3px solid var(--accent); padding-left: 1rem; }
.proof-num { font-family: 'Manrope', sans-serif; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.proof-label { color: var(--ink2); font-size: 0.86rem; }

/* SECTIONS */
section.block { padding-block: 5.5rem; }
.block-alt { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 3rem; }
.kicker { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 0.8rem; }
.teal .kicker { color: var(--teal); }
.head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 0.9rem; }
.head p { color: var(--ink2); font-size: 1.02rem; }

/* PROSE */
.prose-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
.prose h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }
.prose p { color: var(--ink2); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.2rem; color: var(--ink2); }
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); font-weight: 500; }
.aside-box { background: var(--dark); color: #fff; border-radius: 16px; padding: 2rem; position: sticky; top: 100px; }
.aside-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.aside-box ul { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
.aside-box li { display: flex; gap: 10px; font-size: 0.92rem; color: #e5e7eb; }
.aside-box li svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; margin-top: 3px; }

/* CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.block-alt .card { background: var(--bg); }
.card:hover { border-color: #c7d2fe; box-shadow: 0 12px 30px -12px rgba(29,78,216,.18); transform: translateY(-2px); }
a.card { text-decoration: none; color: inherit; }
.icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.2rem; flex-shrink: 0; }
.icon svg { width: 24px; height: 24px; }
.teal .icon { background: var(--teal-soft); color: var(--teal); }
.teal .card:hover { border-color: #99d5cc; box-shadow: 0 12px 30px -12px rgba(15,118,110,.2); }
.card h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink2); font-size: 0.92rem; margin-bottom: 1rem; }
.card ul { list-style: none; display: grid; gap: 0.35rem; }
.card li { font-size: 0.86rem; color: var(--ink2); padding-left: 1.2rem; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.teal .card li::before { background: var(--teal); }
.more { margin-top: auto; padding-top: 1rem; font-size: 0.88rem; font-weight: 600; color: var(--accent); }
.teal .more { color: var(--teal); }

/* REAL ESTATE CHAIN */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.link { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); }
.link:last-child { border-right: none; }
.link-step { font-size: 0.75rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 0.5rem; }
.link h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.link p { font-size: 0.85rem; color: var(--ink2); margin-bottom: 0.8rem; }
.link .tools { font-size: 0.78rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 0.6rem; }

/* WHY / STEPS */
.why, .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why-item { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.step { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.block-alt .step { background: var(--bg); }
.why-num, .step-num { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--accent); font-size: 0.85rem; margin-bottom: 0.7rem; }
.why-item h3, .step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.why-item p, .step p { font-size: 0.88rem; color: var(--ink2); }

/* ZONES */
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.zone { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.block-alt .zone { background: var(--bg); }
.zone h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.zone p { color: var(--ink2); font-size: 0.92rem; margin-bottom: 1rem; }
.zone-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.zone-list li { font-size: 0.84rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--accent-soft); color: #1e3a8a; font-weight: 500; }
.zone-list li.hq { background: var(--dark); color: #fff; }

/* CTA BAND */
.cta-band { background: var(--dark); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 3.5rem; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); max-width: 640px; }
.cta-band p { color: #c9cdd4; margin-top: 0.5rem; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 0.7rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.3rem; }
.block-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink2); font-size: 0.93rem; margin-top: 0.7rem; }

/* CONTACT */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.cinfo { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo .icon { margin: 0; width: 42px; height: 42px; }
.cinfo .icon svg { width: 20px; height: 20px; }
.cinfo small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; }
.cinfo a, .cinfo span { font-weight: 600; text-decoration: none; word-break: break-word; }
.cinfo a:hover { color: var(--accent); }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.84rem; font-weight: 500; }
input, select, textarea { font: inherit; font-size: 0.93rem; padding: 0.7rem 0.85rem; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 120px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: 0.78rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; padding: 0.8rem 1rem; border-radius: 8px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
button[disabled] { opacity: .6; cursor: wait; }

/* FOOTER */
.site-footer { background: #000; color: #9ca3af; padding-block: 3.5rem 1.5rem; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer img { height: 52px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.9rem; font-family: 'Manrope', sans-serif; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: #9ca3af; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid #1f2430; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; }

/* WHATSAPP */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 30px; height: 30px; color: #fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why, .steps, .proof .wrap { grid-template-columns: repeat(2, 1fr); }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .link { border-bottom: 1px solid var(--line); }
  .link:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.2rem; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #000; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1.2rem; border-bottom: 1px solid #1f2430; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .sub-toggle { display: flex; width: 100%; padding: 0.8rem 0; border-bottom: 1px solid #1f2430; justify-content: space-between; }
  .sub { position: static; display: none; min-width: 0; border: none; box-shadow: none; padding: 0.3rem 0 0.6rem 0.8rem; background: transparent; }
  .sub::before { display: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .burger { display: grid; place-items: center; }
  .nav-right .btn { display: none; }
  .hero .wrap, .contact .wrap, .prose-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .aside-box { position: static; }
  .grid-2, .zones { grid-template-columns: 1fr; }
  .hero { padding-block: 3.5rem 4rem; }
  section.block { padding-block: 4rem; }
  .topbar-right { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .why, .steps, .proof .wrap, .chain, .footer-grid { grid-template-columns: 1fr; }
  .link { border-right: none; }
  form { grid-template-columns: 1fr; padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
