/* Ditesol Networks — shared styles (kept lightweight for low-bandwidth connections) */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #1b2a3a;
  --muted: #5b6b7d;
  --line: #e3e8ef;
  --bg: #f6f8fb;
  --white: #ffffff;
  --green: #16a34a;
  --green-dark: #11833b;
  --teal: #0d9488;
  --orange: #ea580c;
  --wa: #25d366;
  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --accent-soft: #e8f7ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
body.theme-hotspot { --accent: var(--teal); --accent-dark: #0b7a70; --accent-soft: #e6f6f4; }
body.theme-fiber { --accent: var(--orange); --accent-dark: #c2410c; --accent-soft: #fff1e8; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body { margin: 0; background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 0.6rem; }
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); font-size: 1.2rem; font-weight: 600; }
.brand b { color: var(--green); font-weight: 800; }
.brand img { display: block; }
.brand small { display: block; font-size: 0.7rem; font-weight: 700; color: var(--accent-dark); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; padding: 0.3rem 0.5rem; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 1rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-bottom: 2rem; }
.hero .eyebrow { color: #9be7b6; }
body.theme-hotspot .hero .eyebrow { color: #8ee6dc; }
body.theme-fiber .hero .eyebrow { color: #ffc29e; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.hero-art { justify-self: center; width: min(360px, 100%); opacity: 0.95; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(255, 255, 255, 0.12); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.badge .dot.soon { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* Cards & grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; }

.offer { display: flex; flex-direction: column; padding: 2rem; border-top: 5px solid var(--accent); }
.offer.hotspot { --accent: var(--teal); --accent-dark: #0b7a70; --accent-soft: #e6f6f4; }
.offer.fiber { --accent: var(--orange); --accent-dark: #c2410c; --accent-soft: #fff1e8; }
.offer ul { padding-left: 1.1rem; margin: 0 0 1.5rem; color: var(--muted); }
.offer li { margin-bottom: 0.35rem; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer .price-from { font-weight: 700; color: var(--navy); margin-bottom: 1rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 0.8rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311833b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 800; margin-bottom: 0.9rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Coverage */
.coverage-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.coverage-card h3 { margin: 0; }
.coverage-card p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.pill { padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.pill.live { background: #dcfce7; color: #166534; }
.pill.soon { background: #fef3c7; color: #92400e; }

/* Pricing */
.pricing { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; text-align: center; padding: 2rem 1rem; }
.plan .btn { white-space: nowrap; padding-inline: 0.8rem; }
.plan.featured { border: 2px solid var(--accent); transform: translateY(-6px); }
.plan .tag { position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.8rem; border-radius: 999px; white-space: nowrap; }
.plan .speed { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.plan .speed span { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan .price { margin: 1rem 0 0.3rem; white-space: nowrap; font-size: 1.3rem; font-weight: 800; color: var(--accent-dark); }
.plan .price small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.plan .for { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; flex-grow: 1; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 5vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--white); margin: 0 0 0.3rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.8); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.4rem, 4vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
legend { font-weight: 800; color: var(--navy); margin-bottom: 0.8rem; font-size: 1.05rem; padding: 0; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid #cfd8e3; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); transition: border-color 0.15s, box-shadow 0.15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea { min-height: 110px; resize: vertical; }
.invalid input, .invalid select, .invalid textarea { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 0.3rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 0.6rem 1rem; border: 1.5px solid #cfd8e3; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft); }
.gps-row { display: flex; gap: 0.5rem; }
.gps-row input { flex: 1; }
.gps-row .btn { white-space: nowrap; padding: 0.6rem 0.9rem; border-radius: 10px; font-size: 0.85rem; }
.form-alert { padding: 0.9rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.form-alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.form-success { text-align: center; padding: 1rem 0; }
.form-success .ref { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 1.4rem; font-weight: 800; background: var(--accent-soft); color: var(--accent-dark); padding: 0.4rem 1rem; border-radius: 10px; margin: 0.5rem 0 1rem; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; margin: 0 auto 1rem; font-size: 2rem; }
.cf-turnstile { margin-top: 1rem; }

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .icon { margin: 0; width: 42px; height: 42px; flex-shrink: 0; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.site-footer h4 { color: var(--white); margin: 0 0 1rem; font-size: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); transition: transform 0.15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.highlight-box { background: var(--accent-soft); border-radius: var(--radius); padding: 1.8rem; border-left: 5px solid var(--accent); }
.highlight-box h3 { margin-top: 0; }
