/* Public website (layouts/site.php). Mobile first; Bootstrap 5 underneath. */
:root {
    --site-primary: #1d4ed8;
    --site-primary-2: #4f46e5;
    --site-ink: #0f172a;
    --site-muted: #475569;
    --site-bg-alt: #f5f7fb;
    --site-border: #e2e8f0;
    --bs-primary: #1d4ed8;
    --bs-primary-rgb: 29, 78, 216;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.site { font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--site-ink); background: #fff; }
.site .btn-primary { --bs-btn-bg: var(--site-primary); --bs-btn-border-color: var(--site-primary); --bs-btn-hover-bg: #1e40af; --bs-btn-hover-border-color: #1e40af; }
.site .btn-outline-primary { --bs-btn-color: var(--site-primary); --bs-btn-border-color: var(--site-primary); --bs-btn-hover-bg: var(--site-primary); --bs-btn-hover-border-color: var(--site-primary); }
.site .btn-lg { padding: .75rem 1.4rem; font-size: 1.05rem; border-radius: .6rem; }
.skip-link { position: absolute; z-index: 2000; top: .5rem; left: .5rem; padding: .5rem 1rem; background: #fff; }

/* Header */
.site-announce { background: var(--site-ink); color: #fff; text-align: center; font-size: .875rem; padding: .45rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--site-border); box-shadow: 0 4px 20px rgba(15,23,42,.06); }
.site-header .navbar { padding-top: .8rem; padding-bottom: .8rem; }
.site-header .navbar-brand { font-weight: 700; color: var(--site-ink); }
.site-logo { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--site-primary), var(--site-primary-2)); }
.site-header .nav-link { color: var(--site-muted); font-weight: 500; padding: .5rem .9rem !important; border-radius: .5rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--site-primary); background: #eef2ff; }
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { border-top: 1px solid var(--site-border); margin-top: .6rem; padding-top: .6rem; }
    .site-header .btn { width: 100%; }
}

/* Hero */
.hero { padding: 4rem 0 3.5rem; background: radial-gradient(1200px 500px at 90% -10%, #e0e7ff 0%, transparent 60%), radial-gradient(800px 400px at -10% 20%, #dbeafe 0%, transparent 60%); overflow: hidden; }
.hero-kicker, .section-kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--site-primary); background: #eef2ff; border-radius: 99px; padding: .3rem .8rem; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1rem; }
.hero-text { font-size: 1.15rem; color: var(--site-muted); margin-bottom: 1.75rem; max-width: 36rem; }
.hero-mock { background: #fff; border-radius: 1rem; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25), 0 0 0 1px var(--site-border); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; gap: 6px; padding: .7rem .9rem; background: #f1f5f9; border-bottom: 1px solid var(--site-border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-body { padding: 1.1rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-kpis div { background: var(--site-bg-alt); border-radius: .6rem; padding: .6rem .75rem; }
.mock-kpis small { display: block; color: var(--site-muted); font-size: .72rem; }
.mock-kpis strong { font-size: 1.25rem; }
.mock-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; margin-bottom: 1rem; }
.mock-grid .room { font-size: .75rem; font-weight: 600; text-align: center; padding: .55rem 0; border-radius: .4rem; color: #fff; }
.room.free { background: #22c55e; } .room.busy { background: #3b82f6; } .room.clean { background: #a855f7; } .room.dirty { background: #f59e0b; }
.mock-chart { display: flex; align-items: flex-end; gap: .5rem; height: 90px; }
.mock-chart span { flex: 1; border-radius: .35rem .35rem 0 0; background: linear-gradient(180deg, var(--site-primary-2), var(--site-primary)); opacity: .85; }
@media (max-width: 991.98px) { .hero { padding-top: 2.5rem; } .hero-mock { transform: none; } }

/* Stats */
.stats-strip { background: var(--site-ink); color: #fff; padding: 2rem 0; }
.stat-number { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: .9rem; color: #cbd5e1; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--site-bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--site-muted); font-size: 1.05rem; }
.page-hero { padding: 3.5rem 0 1rem; background: linear-gradient(180deg, #eef2ff 0%, #fff 100%); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; }
.page-hero p { color: var(--site-muted); font-size: 1.1rem; }
@media (max-width: 767.98px) { .section { padding: 3rem 0; } }

.feature-card { background: #fff; border: 1px solid var(--site-border); border-radius: 1rem; padding: 1.4rem; transition: transform .15s, box-shadow .15s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(15,23,42,.18); }
.feature-card p { color: var(--site-muted); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--site-primary); background: #eef2ff; margin-bottom: 1rem; }
.step { background: #fff; border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--site-border); height: 100%; }
.step p { color: var(--site-muted); }
.step-n { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--site-primary); color: #fff; font-weight: 700; margin-bottom: .8rem; }

/* Pricing */
.billing-toggle { display: inline-flex; background: #e2e8f0; border-radius: 99px; padding: 4px; }
.billing-toggle button { border: 0; background: transparent; padding: .45rem 1.2rem; border-radius: 99px; font-weight: 600; color: var(--site-muted); }
.billing-toggle button.active { background: #fff; color: var(--site-ink); box-shadow: 0 2px 6px rgba(15,23,42,.12); }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--site-border); border-radius: 1.1rem; padding: 1.75rem 1.5rem; }
.plan-card.featured { border: 2px solid var(--site-primary); box-shadow: 0 24px 50px -24px rgba(29,78,216,.45); }
.plan-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--site-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .8rem; border-radius: 99px; white-space: nowrap; }
.plan-desc { min-height: 2.6em; }
.plan-price .amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price .per { color: var(--site-muted); margin-left: .25rem; }
.plans[data-cycle="monthly"] .price-yearly, .plans[data-cycle="yearly"] .price-monthly { display: none; }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan-list li { display: flex; gap: .6rem; padding: .35rem 0; font-size: .95rem; }
.plan-list li i { color: #16a34a; }
.plan-list li.muted { color: var(--site-muted); font-size: .9rem; }
.plan-list li.muted i { color: #94a3b8; }
.compare-wrap { background: #fff; border-radius: 1rem; border: 1px solid var(--site-border); }
.compare-table th, .compare-table td { padding: .75rem 1rem; }
.compare-table thead th { position: sticky; top: 0; background: #fff; font-size: .95rem; }
.compare-table .featured { background: #f5f8ff; }
.compare-table tbody th { min-width: 200px; }

/* Testimonials, FAQ, CTA */
.quote-card { background: #fff; border: 1px solid var(--site-border); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.quote-card blockquote { font-size: 1.02rem; color: var(--site-ink); }
.avatar-circle { width: 38px; height: 38px; border-radius: 50%; background: #e0e7ff; color: var(--site-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { color: var(--site-primary); background: #eef2ff; }
.cta-band { padding: 4rem 0; color: #fff; background: linear-gradient(135deg, var(--site-primary), var(--site-primary-2)); }
.cta-band h2 { font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }

/* Contact */
.contact-card, .contact-info { background: #fff; border: 1px solid var(--site-border); border-radius: 1rem; padding: 1.75rem; }
.contact-info { background: var(--site-bg-alt); height: 100%; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; color: var(--site-ink); text-decoration: none; border-bottom: 1px solid var(--site-border); }
.contact-line:last-child { border-bottom: 0; }
.contact-line > i { font-size: 1.3rem; color: var(--site-primary); }
.contact-line small { display: block; color: var(--site-muted); font-size: .75rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--site-ink); color: #cbd5e1; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { padding: .25rem 0; }
.site-footer-title { color: #fff; font-weight: 700; margin-bottom: .75rem; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: #94a3b8; }
.site-social { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.site-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 10px 24px rgba(0,0,0,.2); text-decoration: none; }
.site-whatsapp:hover { color: #fff; transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .feature-card, .site-header { transition: none; } }

/* ---- Multi-page site additions ---- */
.site-crumbs { padding-top: 1rem; font-size: .875rem; }
.site-crumbs a { text-decoration: none; }
.site-mega { padding: 1rem; border: 1px solid var(--site-border); border-radius: 1rem; box-shadow: 0 24px 48px -16px rgba(15,23,42,.25); }
@media (min-width: 992px) { .site-mega { width: 720px; left: 50% !important; transform: translateX(-50%); } }
.site-mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .25rem; }
.site-mega-item { display: flex; gap: .75rem; padding: .7rem; border-radius: .6rem; text-decoration: none; color: var(--site-ink); }
.site-mega-item:hover { background: #eef2ff; }
.site-mega-item > i { font-size: 1.3rem; color: var(--site-primary); }
.site-mega-item strong { display: block; font-size: .92rem; }
.site-mega-item small { display: block; color: var(--site-muted); font-size: .8rem; line-height: 1.35; }
.site-mega-all { display: block; text-align: center; margin-top: .5rem; padding-top: .6rem; border-top: 1px solid var(--site-border); font-weight: 600; text-decoration: none; }
@media (max-width: 991.98px) { .site-mega { box-shadow: none; border: 0; padding: 0 0 .5rem; } .site-mega-item small { display: none; } }

.hero-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--site-muted); font-size: .92rem; }
.hero-checks i { color: #16a34a; margin-right: .35rem; }
.hero-mock { position: relative; }
.mock-float { position: absolute; background: #fff; border-radius: .7rem; padding: .55rem .8rem; font-size: .82rem; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(15,23,42,.35); }
.mock-float i { color: #16a34a; margin-right: .3rem; }
.mock-float-1 { left: -18px; bottom: 36px; }
.mock-float-2 { right: -14px; top: 64px; }
@media (max-width: 575.98px) { .mock-float { display: none; } }

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
.lead-muted { color: var(--site-muted); font-size: 1.08rem; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575.98px) { .compare-cards { grid-template-columns: 1fr; } }
.compare-card { border-radius: 1rem; padding: 1.25rem 1.35rem; border: 1px solid var(--site-border); }
.compare-card ul { margin: 0; padding-left: 1.1rem; }
.compare-card li { padding: .25rem 0; font-size: .95rem; }
.compare-card.before { background: #fff7f7; border-color: #fecaca; }
.compare-card.after { background: #f0fdf4; border-color: #bbf7d0; }
.compare-head { font-weight: 700; margin-bottom: .6rem; }
.compare-card.before .compare-head { color: #b91c1c; }
.compare-card.after .compare-head { color: #15803d; }

a.feature-card { display: block; color: inherit; text-decoration: none; }
.feature-more { font-size: .85rem; font-weight: 600; color: var(--site-primary); }
.trust-item { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--site-border); border-radius: 1rem; padding: 1.2rem; }
.trust-item > i { font-size: 1.6rem; color: var(--site-primary); line-height: 1; }
.trust-item strong { display: block; margin-bottom: .2rem; }
.trust-item span { display: block; color: var(--site-muted); font-size: .9rem; }
.cta-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin-top: 1.25rem; font-size: .9rem; opacity: .9; }
.cta-notes i { margin-right: .3rem; }

.feature-row { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: 2.25rem 0; border-bottom: 1px solid var(--site-border); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.reverse { grid-template-columns: 1fr 180px; }
.feature-row.reverse .feature-row-icon { order: 2; }
.feature-row-icon { width: 180px; height: 180px; border-radius: 2rem; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; color: var(--site-primary); background: radial-gradient(circle at 30% 30%, #e0e7ff, #eef2ff 60%, #f5f7fb); }
.feature-row h2 a { color: var(--site-ink); text-decoration: none; }
.feature-row h2 a:hover { color: var(--site-primary); }
@media (max-width: 767.98px) {
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 1rem; }
    .feature-row.reverse .feature-row-icon { order: 0; }
    .feature-row-icon { width: 72px; height: 72px; border-radius: 1rem; font-size: 2rem; }
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { display: flex; gap: .6rem; padding: .3rem 0; }
.check-list i { color: #16a34a; }
.feature-hero-icon { aspect-ratio: 1; max-width: 260px; margin-left: auto; border-radius: 2.5rem; display: flex; align-items: center; justify-content: center; font-size: 7rem; color: #fff; background: linear-gradient(135deg, var(--site-primary), var(--site-primary-2)); box-shadow: 0 30px 60px -25px rgba(29,78,216,.6); }
.benefit-card { background: var(--site-bg-alt); border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--site-border); }

.prose { font-size: 1.05rem; line-height: 1.75; color: #1e293b; }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.prose blockquote { border-left: 4px solid var(--site-primary); padding: .25rem 1rem; color: var(--site-muted); margin: 1rem 0; }
.prose a { font-weight: 600; }

.faq-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.faq-tabs a { padding: .4rem 1rem; border-radius: 99px; background: #eef2ff; color: var(--site-primary); text-decoration: none; font-weight: 600; font-size: .9rem; }
.help-box, .guarantee { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; background: var(--site-bg-alt); border: 1px solid var(--site-border); border-radius: 1rem; padding: 1.4rem 1.6rem; }
.help-box > i, .guarantee > i { font-size: 2rem; color: var(--site-primary); }
.help-box > div { flex: 1; min-width: 200px; }
.guarantee { max-width: 820px; margin-left: auto; margin-right: auto; background: #f0fdf4; border-color: #bbf7d0; }
.guarantee > i { color: #16a34a; }
.guarantee > div { flex: 1; min-width: 220px; }
