*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --red: #C41F1F;
    --dark-gray: #484848;
    --black: #111111;
    --white: #ffffff;
    --light-bg: #F6F6F6;
    --border: #E3E3E3;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
}
h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.03em; }
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: -0.015em; }
p { margin-bottom: 0.85rem; font-weight: 400; }
.highlight { color: var(--red); font-weight: 700; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }

/* SECTION LABELS */
.section-label {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--red); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-label::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--red); flex-shrink: 0; }
.section-title { color: var(--black); margin-bottom: 1.25rem; }
.section-title span { color: var(--red); }
.section-subtitle { font-size: 1.05rem; color: var(--dark-gray); max-width: 620px; margin-bottom: 2.75rem; font-weight: 400; }

/* NAVBAR */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
#navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; font-size: 1.2rem; font-weight: 800; text-decoration: none; letter-spacing: -0.04em; }
.logo .logo-red { color: var(--red); }
.logo .logo-gray { color: var(--dark-gray); }
.logo-sub { font-size: 0.57rem; font-weight: 400; color: #888; letter-spacing: 0.02em; line-height: 1; margin-top: 1px; text-decoration: none; }
.logo-sub strong { font-weight: 700; color: #666; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark-gray); font-size: 0.85rem; font-weight: 500; transition: color 0.2s; letter-spacing: -0.01em; }
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 0.46rem 1.15rem; border-radius: 5px; font-weight: 600 !important; letter-spacing: -0.01em; }
.nav-cta:hover { background: #a51a1a !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); transition: 0.3s; }

/* HERO */
#hero { padding: 8rem 0 5rem; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: #FDF0F0; color: var(--red); padding: 0.3rem 0.9rem; border-radius: 30px; border: 1px solid #F5CCCC; font-size: 0.76rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.01em; }
.hero-title { margin-bottom: 1.3rem; }
.hero-desc { font-size: 1.02rem; color: var(--dark-gray); margin-bottom: 2rem; max-width: 490px; line-height: 1.7; font-weight: 400; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--red); color: var(--white); padding: 0.82rem 1.85rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.88rem; transition: background 0.2s, transform 0.15s; letter-spacing: -0.01em; }
.btn-primary:hover { background: #a51a1a; transform: translateY(-1px); }
.btn-secondary { display: inline-block; border: 1.5px solid var(--border); color: var(--black); padding: 0.82rem 1.85rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: all 0.2s; letter-spacing: -0.01em; background: var(--white); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--red); letter-spacing: -0.04em; }
.hero-stat span { font-size: 0.78rem; color: var(--dark-gray); font-weight: 400; }

/* Hero Visual */
.hero-visual { background: var(--light-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.hero-visual-header { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #E74C3C; }
.dot-yellow { background: #F39C12; }
.dot-green { background: #2ECC71; }
.hero-visual-title { font-size: 0.78rem; color: var(--dark-gray); font-weight: 600; margin-left: auto; }
.module-list { display: flex; flex-direction: column; gap: 0.55rem; }
.module-item { display: flex; align-items: center; gap: 0.7rem; background: var(--white); padding: 0.58rem 0.85rem; border-radius: 6px; border: 1px solid var(--border); font-size: 0.83rem; font-weight: 500; }
.module-icon { width: 28px; height: 28px; background: #FFF0F0; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.module-badge { margin-left: auto; font-size: 0.7rem; padding: 0.18rem 0.5rem; border-radius: 10px; font-weight: 600; }
.badge-green { background: #E8F5E9; color: #2E7D32; }
.badge-orange { background: #FFF3E0; color: #E65100; }
.badge-blue { background: #E3F2FD; color: #1565C0; }

/* M365 apps grid (hero visual) */
.m365-apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.m365-app-tile { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 0.7rem 0.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.7rem; font-weight: 500; color: var(--dark-gray); text-align: center; transition: border-color 0.2s; }
.m365-app-tile:hover { border-color: #dbb; }
.m365-app-tile .app-icon { font-size: 1.25rem; }

/* TRUST BAR */
#trust { padding: 1.75rem 0; background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 500; color: var(--dark-gray); letter-spacing: -0.01em; }
.trust-icon { color: var(--red); font-size: 0.95rem; }

/* QUÉ ES / COBERTURA */
#que-es { background: var(--white); }
.cobertura-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.cobertura-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.cobertura-stat { text-align: center; padding: 1.4rem 1rem; background: var(--light-bg); border-radius: 10px; border: 1px solid var(--border); }
.cobertura-stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--red); letter-spacing: -0.04em; }
.cobertura-stat span { font-size: 0.79rem; color: var(--dark-gray); }

/* TECH PILLS */
.tech-pills { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.75rem; }
.tech-pill { background: var(--white); border: 1px solid var(--border); padding: 0.45rem 1rem; border-radius: 20px; font-size: 0.83rem; font-weight: 600; color: var(--dark-gray); }
.tech-pill strong { color: var(--red); }

/* BENEFICIOS / MODULES */
#beneficios { background: var(--light-bg); }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.4rem; }
.module-card { border: 1px solid var(--border); border-radius: 10px; padding: 1.75rem; transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s; background: var(--white); }
.module-card:hover { border-color: #dbb; box-shadow: 0 6px 24px rgba(196,31,31,0.07); transform: translateY(-2px); }
.module-card-icon { width: 44px; height: 44px; background: #FDF2F2; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }
.module-card > p { font-size: 0.84rem; color: var(--dark-gray); margin-bottom: 1rem; line-height: 1.6; font-weight: 400; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.feature-list li { font-size: 0.79rem; color: var(--dark-gray); display: flex; align-items: flex-start; gap: 0.45rem; font-weight: 400; }
.feature-list li::before { content: "–"; color: var(--red); flex-shrink: 0; font-weight: 600; }

/* M365 PLAN CARDS */
#planes { background: var(--white); }
.planes-group-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-gray); margin: 2.5rem 0 1.25rem; border-left: 3px solid var(--red); padding-left: 0.85rem; }
.planes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; }
.plan-card { border: 1px solid var(--border); border-radius: 10px; background: var(--white); display: flex; flex-direction: column; transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s; position: relative; overflow: visible; }
.plan-card:hover { border-color: #dbb; box-shadow: 0 6px 24px rgba(196,31,31,0.07); transform: translateY(-2px); }
.plan-card--featured { border-color: var(--red); border-width: 2px; }
.plan-card-badge { position: absolute; top: -1px; right: 1.5rem; background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 0.22rem 0.75rem; border-radius: 0 0 6px 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-card-head { padding: 1.75rem 1.75rem 1.25rem; }
.plan-card-icon { width: 44px; height: 44px; background: #FDF2F2; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.plan-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--black); }
.plan-card-desc { font-size: 0.83rem; color: var(--dark-gray); line-height: 1.6; margin: 0; }
.plan-card-body { padding: 0 1.75rem 1.25rem; flex: 1; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.plan-features li { font-size: 0.82rem; color: var(--dark-gray); display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.5; }
.plan-features li .pf-check { color: var(--red); flex-shrink: 0; font-weight: 700; margin-top: 1px; font-size: 0.8rem; }
.plan-card-footer { padding: 1.25rem 1.75rem 1.75rem; }
.plan-card-footer a { width: 100%; display: block; text-align: center; }
.btn-outline { display: inline-block; border: 1.5px solid var(--red); color: var(--red); padding: 0.72rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.2s; letter-spacing: -0.01em; text-align: center; }
.btn-outline:hover { background: var(--red); color: var(--white); }

/* EMPRESA / IMPACTO */
#impacto { background: var(--light-bg); }
.empresa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.empresa-values { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.75rem; }
.value-item { background: var(--white); border-radius: 8px; padding: 1.2rem; border: 1px solid var(--border); }
.value-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.value-item h4 { font-size: 0.88rem; color: var(--red); margin-bottom: 0.2rem; }
.value-item p { font-size: 0.79rem; color: var(--dark-gray); margin: 0; }
.empresa-stat-block { background: var(--white); border-radius: 10px; padding: 2rem; border: 1px solid var(--border); }
.empresa-big-stat { font-size: 3.5rem; font-weight: 800; color: var(--red); line-height: 1; display: block; letter-spacing: -0.05em; }
.empresa-stat-label { font-size: 1rem; color: var(--black); font-weight: 600; margin-top: 0.2rem; margin-bottom: 0.5rem; }

/* FAQ */
#faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-item { background: var(--white); }
.faq-question { width: 100%; background: none; border: none; padding: 1.4rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.87rem; font-weight: 600; color: var(--black); transition: background 0.2s; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif; letter-spacing: -0.01em; }
.faq-question:hover { background: var(--light-bg); }
.faq-arrow { color: var(--red); font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 1.4rem 1.4rem; font-size: 0.855rem; color: var(--dark-gray); line-height: 1.7; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-item.open .faq-answer { max-height: 300px; }

/* CONTACTO */
#contacto { background: var(--light-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: #FFF0F0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.83rem; font-weight: 700; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.855rem; color: var(--dark-gray); margin: 0; }
.contact-item a { color: var(--red); text-decoration: none; }
.contact-form { background: var(--white); border-radius: 10px; padding: 2rem; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 6px; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif; font-size: 0.855rem; color: var(--black); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,31,31,0.08); }
.form-group textarea { resize: vertical; min-height: 95px; }
.form-submit { width: 100%; background: var(--red); color: var(--white); border: none; padding: 0.88rem; border-radius: 7px; font-size: 0.88rem; font-weight: 700; cursor: pointer; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif; transition: background 0.2s; letter-spacing: -0.01em; }
.form-submit:hover { background: #a51a1a; }
.form-success { background: #E8F5E9; color: #2E7D32; padding: 1rem; border-radius: 4px; font-weight: 600; font-size: 0.88rem; display: none; margin-bottom: 1rem; }
.form-error { background: #FFEBEE; color: #B71C1C; padding: 1rem; border-radius: 4px; font-weight: 600; font-size: 0.88rem; display: none; margin-bottom: 1rem; }
.form-checks { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.1rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 2px; accent-color: var(--red); cursor: pointer; }
.form-check label { font-size: 0.8rem; color: var(--dark-gray); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--red); text-decoration: underline; }

/* SOPORTE */
#soporte { background: #2d2d2d; border-top: none; color: #fff; }
#soporte .section-label { color: rgba(255,255,255,0.75); }
#soporte .section-label::before { background: rgba(255,255,255,0.5); }
#soporte .section-title { color: #fff; }
#soporte .section-title span { color: #fff; }
#soporte p, #soporte strong { color: rgba(255,255,255,0.9); }
.soporte-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3.5rem; align-items: center; }
.soporte-card { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); border-radius: 12px; padding: 2rem; text-align: center; }
.soporte-card h3 { color: #fff; font-size: 1rem; margin-bottom: 0.4rem; }
.soporte-card > p { color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; }
.soporte-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.btn-soporte { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--red); color: #fff; padding: 0.82rem 1.65rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.88rem; transition: background 0.2s, transform 0.15s; }
.btn-soporte:hover { background: #a81a1a; }
.soporte-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.soporte-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.soporte-list-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.soporte-list li h4 { font-size: 0.88rem; color: #fff; margin-bottom: 0.15rem; }
.soporte-list li p { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin: 0; }

/* FOOTER */
footer { background: #1a1a1a; color: #ccc; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #333; }
.footer-brand p { font-size: 0.8rem; color: #888; margin-top: 0.7rem; }
.footer-col h4 { color: #fff; font-size: 0.83rem; margin-bottom: 0.9rem; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul li a { color: #888; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.77rem; color: #555; }
.footer-bottom a { color: #555; text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }

/* SCROLL ANIMATION */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.5s, transform 0.5s; }
.fade-up.visible { opacity: 1; transform: none; }

/* FLOATING BUTTONS */
.float-btn {
    position: fixed; right: 1.25rem; width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 998; box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
    text-decoration: none; cursor: pointer; border: none;
}
.float-btn:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.float-top {
    bottom: 4.75rem; background: var(--red); color: #fff;
    font-size: 1.15rem; font-weight: 700; font-family: inherit;
    opacity: 0; pointer-events: none; transform: translateY(12px);
}
.float-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.float-wa { bottom: 1.25rem; background: #25D366; color: #fff; }
.float-wa svg { width: 26px; height: 26px; fill: #fff; }

/* RESPONSIVE */
@media (max-width: 960px) {
    .hero-grid, .empresa-grid, .contact-grid, .cobertura-grid, .soporte-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .planes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; gap: 1rem; }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .modules-grid { grid-template-columns: 1fr; }
    .planes-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .empresa-values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .float-btn { width: 44px; height: 44px; right: 1rem; }
    .float-top { bottom: 4.25rem; font-size: 1rem; }
    .float-wa { bottom: 1rem; }
}

/* ═══ COOKIE CONSENT ═══ */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #111; color: #ddd; z-index: 9999; padding: 1.1rem 1.5rem; box-shadow: 0 -3px 20px rgba(0,0,0,.35); }
.cb-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cb-text { flex: 1; min-width: 240px; }
.cb-text strong { display: block; font-size: .88rem; color: #fff; margin-bottom: .2rem; }
.cb-text p { font-size: .78rem; color: #999; margin: 0; line-height: 1.55; }
.cb-text a { color: var(--red); text-decoration: none; }
.cb-actions { display: flex; gap: .55rem; flex-shrink: 0; flex-wrap: wrap; }
.cb-btn { padding: .55rem 1rem; border-radius: 6px; font-size: .8rem; font-weight: 700; cursor: pointer; border: none; font-family: inherit; transition: background .2s, color .2s; white-space: nowrap; }
.cb-btn-cfg { background: transparent; border: 1px solid #555; color: #aaa; }
.cb-btn-cfg:hover { border-color: #999; color: #fff; }
.cb-btn-rej { background: #222; color: #ccc; border: 1px solid #444; }
.cb-btn-rej:hover { background: #333; color: #fff; }
.cb-btn-acc { background: var(--red); color: #fff; border: 1px solid var(--red); }
.cb-btn-acc:hover { background: #a51a1a; }
#cookie-panel { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 1rem; }
#cookie-panel.open { display: flex; }
.cp-box { background: #fff; border-radius: 12px; max-width: 500px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.cp-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid var(--border); }
.cp-head h2 { font-size: .95rem; margin: 0; color: var(--black); }
.cp-close { background: none; border: none; font-size: 1.15rem; cursor: pointer; color: var(--dark-gray); padding: .15rem .4rem; border-radius: 4px; line-height: 1; }
.cp-close:hover { background: var(--light-bg); }
.cp-body { padding: .5rem 1.5rem; }
.cp-cat { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.cp-cat:last-child { border-bottom: none; }
.cp-cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; }
.cp-cat-name { font-size: .85rem; font-weight: 700; color: var(--black); }
.cp-cat-desc { font-size: .78rem; color: var(--dark-gray); margin: 0; line-height: 1.5; }
.cp-always { font-size: .7rem; font-weight: 700; color: #2E7D32; background: #E8F5E9; padding: .15rem .55rem; border-radius: 20px; }
.cp-toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.cp-toggle input { opacity: 0; width: 0; height: 0; }
.cp-slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; border-radius: 22px; transition: background .25s; }
.cp-slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform .25s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cp-toggle input:checked + .cp-slider { background: var(--red); }
.cp-toggle input:checked + .cp-slider::before { transform: translateX(18px); }
.cp-foot { display: flex; gap: .65rem; justify-content: flex-end; padding: 1rem 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
@media (max-width: 680px) {
    .cb-inner { flex-direction: column; align-items: flex-start; gap: .85rem; }
    .cb-actions { width: 100%; justify-content: flex-end; }
    .cp-foot { flex-direction: column; }
    .cp-foot .cb-btn { text-align: center; }
}
