:root {
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --green: #22C55E;
    --orange: #F97316;
    --text: #111827;
    --muted: #4B5563;
    --border: #E5E7EB;
    --bg: #F9FAFB;
    --card: #FFFFFF;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    --radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    margin: 0 0 12px;
    color: var(--text);
}

p { margin: 0 0 12px; color: var(--muted); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { padding-left: 18px; color: var(--muted); }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

.nav-links { display: flex; align-items: center; gap: 16px; }

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #5b8df7, #2563EB);
    position: relative;
}
.logo-icon::after, .logo-icon::before {
    content: '';
    position: absolute;
    background: #fff;
}
.logo-icon::before { width: 10px; height: 10px; border-radius: 999px; top: 10px; left: 10px; }
.logo-icon::after { width: 2px; height: 12px; border-radius: 4px; top: 9px; right: 9px; transform: rotate(-20deg); }

.nav-list {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.nav-list a {
    white-space: nowrap;
    color: var(--text);
    font-weight: 500;
    padding: 6px 5px;
    border-radius: 8px;
}
.nav-list a:hover { background: #EFF6FF; color: var(--blue); }
.nav-list a.cta-btn { font-weight: 600; border-radius: 9px; padding: 11px 16px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.cta-btn {
    background: var(--blue);
    color: #fff;
    padding: 10px 18px;
    border-radius: 9px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cta-btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); color: #fff; }
.cta-btn:focus, .cta-btn:active { color: #fff; }
.cta-btn.secondary { background: #fff; border: 1px solid var(--blue); color: var(--blue); }
.cta-btn.secondary:hover { background: #EFF6FF; }
.cta-btn.whatsapp { background: #16a34a; border: 1px solid #16a34a; color: #fff; }
.cta-btn.whatsapp:hover { background: #15803d; color: #fff; }
.cta-btn.small { padding: 11px 16px; font-size: 14px; }

.lang-switcher { display: inline-flex; align-items: center; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.lang-switcher a { color: var(--muted); font-weight: 600; }
.lang-switcher a.active { color: var(--blue); }

.hero {
    padding: 30px 0 26px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}
.hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EFF6FF;
    color: var(--blue);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 12px;
}
.hero h1 { font-size: 2.25rem; line-height: 1.2; }
.hero p { font-size: 1.05rem; }
.hero-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.hero-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    border: 1px solid var(--border);
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.chip {
    background: #F3F4F6;
    color: var(--muted);
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}

.section { padding: 24px 0; }
.section.gray { background: #fff; }
.section .section-header { margin-bottom: 12px; }
.section h2 { font-size: 1.9rem; }
.section .intro { color: var(--muted); }

.grid { display: grid; gap: 12px; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
}

.card h2 { font-size: 1.35rem; line-height: 1.2; }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; line-height: 1.25; }
.card p { color: var(--muted); }
.card .tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #ECFDF3; color: #166534; font-weight: 700; font-size: 0.9rem; }

.pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #EEF2FF;
    color: var(--blue);
    font-weight: 700;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #EFF6FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--muted);
}
.list-check li::before { content: '✓'; color: var(--green); font-weight: 700; }

.faq-item { border: 1px solid var(--border); background: #fff; border-radius: var(--radius); padding: 14px 16px; }
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--text); }
.faq-item p { margin: 10px 0 0; }

.pricing { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.price-card { position: relative; overflow: hidden; }
.price-card .price { font-size: 1.85rem; font-weight: 700; color: var(--blue); }
.price-card .small { color: var(--muted); font-size: 0.95rem; }

.calculator {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.calculator label { font-weight: 600; display: block; margin-bottom: 8px; }
.calculator input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 1rem;
}
.calculator .result { margin-top: 12px; font-size: 1.15rem; font-weight: 700; }

form { display: grid; gap: 12px; }
label { font-weight: 600; color: var(--text); }
input, textarea, select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid #cbd8ff; border-color: var(--blue); }
.field-error { border-color: #DC2626; }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.form-help { color: var(--muted); font-size: 0.95rem; }
.form-status { padding: 12px; border-radius: 10px; font-weight: 600; }
.form-status.success { background: #ECFDF3; color: #166534; border: 1px solid #BBF7D0; }
.form-status.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text);
    margin-top: 6px;
}
.checkbox-inline input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; }

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
}
.form-actions .cta-btn { justify-self: center; padding: 14px 22px; font-size: 15px; }

.badge-orange { background: #FFF7ED; color: var(--orange); border-radius: 10px; padding: 6px 10px; font-weight: 700; }
.badge-green { background: #ECFDF3; color: var(--green); border-radius: 10px; padding: 6px 10px; font-weight: 700; }

.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #EEF2FF; color: var(--blue); font-weight: 700; }
.step { display: flex; gap: 12px; }
.step-number { width: 40px; height: 40px; border-radius: 12px; background: #EEF2FF; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.table th, .table td { border: 1px solid var(--border); padding: 14px 12px; text-align: left; }
.table th { background: #F8FAFC; color: #0F172A; }

.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.blog-card time { color: var(--muted); font-size: 0.95rem; }

.support-links { display: flex; gap: 12px; flex-wrap: wrap; }
.support-links a { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: #fff; }

.main-footer { background: #0F172A; color: #E2E8F0; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.footer-title { font-weight: 700; margin-bottom: 8px; color: #fff; }
.footer-logo { font-weight: 700; font-size: 1.2rem; color: #fff; }
.main-footer a { color: #E2E8F0; }
.footer-bottom {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 18px;
    color: #94A3B8;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom .cookie-config-link { color: #E2E8F0; font-weight: 700; }
.footer-bottom .cookie-config-link:hover { text-decoration: underline; }

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    z-index: 50;
    max-width: 380px;
}
.cookie-banner.is-visible { display: block; }
.cookie-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.cookie-actions--panel { justify-content: flex-end; }
.cookie-banner p { margin: 0; }
.cookie-more { font-size: 0.95rem; }
.cookie-config-link { background: none; border: none; padding: 0; color: var(--blue); cursor: pointer; font-weight: 700; }
.cookie-config-link:hover { text-decoration: underline; }
.link { color: var(--blue); font-weight: 600; }

.cookie-panel {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 60;
}
.cookie-panel.is-open { display: flex; }
.cookie-panel__inner {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 560px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.cookie-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-panel__header h2 { margin: 0; }
.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #F8FAFC;
    margin: 12px 0;
}
.cookie-option__title { margin: 0 0 6px; font-weight: 700; }
.cookie-option__desc { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cookie-close { color: #64748B; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #CBD5E1;
    transition: .2s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.switch input:checked + .slider { background: var(--blue); }
.switch input:checked + .slider:before { transform: translateX(18px); }
.switch input:disabled + .slider { background: #94A3B8; cursor: not-allowed; }
.switch input:disabled + .slider:before { box-shadow: none; }

.highlight {
    background: linear-gradient(135deg, #EFF6FF, #ECFEFF);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
