
:root {
  --primary: #0b2545;
  --primary-light: #134074;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --whatsapp: #25D366;
  --bg-light: #f4f7fa;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

.top-bar { background: var(--primary); color: #e2e8f0; font-size: 0.85rem; padding: 8px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-left span { margin-right: 18px; }
.top-bar-right a { color: #fbbf24; font-weight: 600; margin-left: 15px; }

header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 12px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.15rem; border-bottom: 3px solid var(--accent); }
.brand-text span.logo-title { font-size: 1.25rem; font-weight: 800; color: var(--primary); display: block; line-height: 1.1; }
.brand-text small { font-size: 0.75rem; color: var(--accent); font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 22px; }
nav.main-nav > a, .dropdown > span { font-weight: 600; font-size: 0.95rem; color: var(--primary); cursor: pointer; transition: color 0.2s; }
nav.main-nav > a:hover, .dropdown:hover > span { color: var(--accent); }

.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 440px; padding: 16px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); border: 1px solid var(--border); grid-template-columns: repeat(3, 1fr); gap: 8px; z-index: 1001; }
.dropdown:hover .dropdown-content { display: grid; }
.dropdown-content a { font-size: 0.84rem; padding: 6px 10px; border-radius: 6px; color: var(--text-dark); transition: all 0.2s; }
.dropdown-content a:hover { background: var(--bg-light); color: var(--accent); font-weight: 600; }

.header-cta { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.25s; cursor: pointer; border: none; }
.btn-call { background: var(--primary); color: var(--white); }
.btn-call:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-wa { background: var(--whatsapp); color: var(--white); }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }

.mobile-toggle { display: none; background: none; border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; font-size: 1.2rem; cursor: pointer; }

.hero { background: linear-gradient(120deg, rgba(11,37,69,0.93), rgba(19,64,116,0.86)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; color: var(--white); padding: 80px 5% 90px; }
.hero-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(230,126,34,0.2); border: 1px solid var(--accent); color: #fbbf24; padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; font-weight: 800; }
.hero h1 span { color: #fbbf24; }
.hero p { font-size: 1.08rem; color: #e2e8f0; margin-bottom: 28px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; }
.stat-item strong { display: block; font-size: 1.5rem; color: #fbbf24; }
.stat-item span { font-size: 0.85rem; color: #cbd5e1; }

.hero-card { background: var(--white); color: var(--text-dark); padding: 28px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.hero-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 6px; }
.hero-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--primary); }
.form-group input, .form-group select { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }

section { padding: 70px 5%; }
.container { max-width: 1240px; margin: 0 auto; }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.section-header span { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.section-header h2 { font-size: 2.1rem; color: var(--primary); margin: 8px 0 12px; }
.section-header p { color: var(--text-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); }
.card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.card-tag { position: absolute; top: 14px; left: 14px; background: var(--primary); color: white; padding: 4px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.card-features { list-style: none; margin-bottom: 18px; font-size: 0.88rem; }
.card-features li { padding: 4px 0; color: var(--text-dark); }
.card-features li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

.calc-section { background: var(--bg-light); }
.calc-wrapper { background: var(--white); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.calc-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.calc-tab { padding: 10px 18px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-light); font-weight: 700; cursor: pointer; color: var(--primary); }
.calc-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-result-box { background: linear-gradient(145deg, var(--primary), var(--primary-light)); color: var(--white); border-radius: 14px; padding: 28px; }
.calc-result-box h3 { font-size: 1.2rem; margin-bottom: 16px; color: #fbbf24; }
.res-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 0.95rem; }
.res-total { font-size: 1.55rem; font-weight: 800; color: #fbbf24; margin: 18px 0 8px; }
.res-note { font-size: 0.8rem; color: #cbd5e1; margin-bottom: 20px; }

.districts-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.district-chip { padding: 10px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 50px; font-size: 0.9rem; font-weight: 600; color: var(--primary); transition: all 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }
.district-chip:hover, .district-chip.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.seo-article { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 38px; box-shadow: var(--shadow); }
.seo-article h2 { color: var(--primary); font-size: 1.8rem; margin-bottom: 16px; }
.seo-article h3 { color: var(--primary-light); font-size: 1.3rem; margin: 24px 0 10px; }
.seo-article p { margin-bottom: 14px; color: #334155; }
.seo-article ul { margin: 12px 0 18px 22px; color: #334155; }
.seo-article li { margin-bottom: 8px; }

.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; background: var(--white); overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 22px 18px; color: var(--text-muted); display: none; font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card { background: var(--bg-light); padding: 30px; border-radius: 14px; border: 1px solid var(--border); }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

footer { background: #071930; color: #cbd5e1; padding: 55px 5% 25px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 36px; margin-bottom: 36px; }
footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1.1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; font-size: 0.92rem; }
footer ul li a:hover { color: #fbbf24; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; }

.floating-bars { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 9999; }
.float-btn { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 50px; color: white; font-weight: 700; font-size: 0.95rem; box-shadow: 0 8px 25px rgba(0,0,0,0.25); transition: transform 0.2s; }
.float-btn:hover { transform: scale(1.04); }
.float-wa { background: var(--whatsapp); }
.float-call { background: var(--accent); }

@media (max-width: 960px) {
  .hero-grid, .calc-wrapper, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  nav.main-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; width: 100%; background: white; padding: 20px; border-bottom: 1px solid var(--border); }
  nav.main-nav.open { display: flex; }
  .dropdown-content { position: static; min-width: 100%; grid-template-columns: repeat(2, 1fr); box-shadow: none; }
  .mobile-toggle { display: block; }
  .header-cta .btn span.txt { display: none; }
  .hero h1 { font-size: 2rem; }
  .calc-inputs { grid-template-columns: 1fr; }
}
