* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0b5ed7;
  --primary-dark: #083e8c;
  --accent: #ff7a00;
  --wa: #25d366;
  --text: #1f2937;
  --muted: #6b7280;
  --bg-alt: #f3f6fb;
}
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
.container { width: 90%; max-width: 1150px; margin: 0 auto; }

/* Header */
.header { position: sticky; top: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); }
.logo span { background: var(--accent); color: #fff; padding: 0 8px; border-radius: 6px; margin-right: 4px; }
.nav-links a { margin-left: 26px; color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 30px; font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e56d00; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary-dark); }
.btn-whatsapp { background: var(--wa); color: #fff; width: 100%; margin-top: 18px; font-size: 1.1rem; }
.btn-whatsapp:hover { background: #1ebe5b; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 90px 0; }
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.7rem; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: #ffd166; }
.hero p { font-size: 1.15rem; opacity: .9; margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 36px; text-align: center; }
.speed { font-size: 4rem; font-weight: 800; }
.speed small, .price small { font-size: 1rem; font-weight: 400; margin-left: 4px; }
.price { font-size: 2.4rem; font-weight: 700; color: #ffd166; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: 2.1rem; color: var(--primary-dark); margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

/* Plans */
.period-tabs { display: flex; justify-content: center; gap: 6px; margin: -16px auto 40px; background: var(--bg-alt); padding: 6px; border-radius: 30px; width: fit-content; }
.period-tabs .tab { border: 0; background: transparent; padding: 10px 22px; border-radius: 24px; font-size: 1rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.period-tabs .tab.active { background: var(--primary); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plan { position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 34px 26px; text-align: center; transition: .2s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.plan.popular { border: 2px solid var(--accent); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .8rem; padding: 4px 14px; border-radius: 20px; }
.plan h3 { font-size: 1.3rem; }
.plan-speed { font-size: 2rem; font-weight: 800; color: var(--primary); margin: 8px 0; }
.plan-price { font-size: 1.8rem; font-weight: 700; }
.plan-price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 20px 0 26px; color: var(--muted); }
.plan li { padding: 5px 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.feature { background: #fff; border-radius: 14px; padding: 28px 22px; text-align: center; }
.feature .icon, .contact-card .icon { font-size: 2.2rem; margin-bottom: 10px; }
.feature h4 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Connect form */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.connect-info h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 14px; }
.connect-info p { color: var(--muted); margin-bottom: 18px; }
.connect-info ul { list-style: none; }
.connect-info li { padding: 4px 0; color: #15803d; font-weight: 500; }
.form { background: #fff; padding: 32px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.form label { display: block; font-weight: 600; margin: 12px 0 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 1rem; font-family: inherit; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--primary); }
.form .invalid { border-color: #dc2626; }
.error { color: #dc2626; font-size: .85rem; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 30px; }
.contact-card { background: #fff; border-radius: 14px; padding: 28px; text-align: center; }
.contact-card h4 { margin-bottom: 6px; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: 14px; }

/* Footer */
.footer { background: var(--primary-dark); color: #cbd5e1; text-align: center; padding: 22px 0; font-size: .9rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 200; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .connect { grid-template-columns: 1fr; }
  .plans, .contact { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 700px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 0; box-shadow: 0 8px 14px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { margin: 0; padding: 12px 24px; }
  .features { grid-template-columns: 1fr; }
}
