:root {
    --brand: #574b7c;
    --brand-dark: #433a61;
    --brand-soft: #f4f1f9;
    --brand-accent: #b8a6d9;
    --text: #3d3a45;
}

body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; }
h1, h2, h3, .display-font { font-family: 'Playfair Display', serif; color: var(--brand-dark); }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.text-brand { color: var(--brand) !important; }
.bg-brand-soft { background: var(--brand-soft); }

.topbar { background: var(--brand); color: #fff; font-size: .82rem; padding: .35rem 0; }
.topbar a { color: #fff; text-decoration: none; }

.site-nav { box-shadow: 0 2px 12px rgba(87,75,124,.08); }
.site-logo { height: 54px; }
.site-nav .nav-link { color: var(--text); font-weight: 500; font-size: .95rem; padding: .5rem .9rem !important; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--brand); }

/* Hero / slider */
.hero { position: relative; }
.hero .carousel-item { height: 540px; background: linear-gradient(120deg, var(--brand-soft), #e8e1f3); background-size: cover; background-position: center; }
.hero .carousel-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,0) 100%); }
.hero .hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.hero h1 { font-size: 2.8rem; }
@media (max-width: 767px) { .hero .carousel-item { height: 420px; } .hero h1 { font-size: 2rem; } }

.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .eyebrow { color: var(--brand-accent); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 600; }

.service-card { border: 0; border-radius: 18px; box-shadow: 0 10px 30px rgba(87,75,124,.09); transition: transform .2s; height: 100%; }
.service-card:hover { transform: translateY(-4px); }
.service-card .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--brand); }
.service-card .icon img { max-width: 44px; max-height: 44px; }
.price-tag { font-weight: 600; color: var(--brand); font-size: 1.15rem; }
.price-old { text-decoration: line-through; color: #999; font-size: .9rem; }

.blog-card { border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); height: 100%; }
.blog-card img { height: 200px; object-fit: cover; }
.blog-card .placeholder-img { height: 200px; background: linear-gradient(135deg, var(--brand-soft), #e3dbf1); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--brand-accent); }

.page-header { background: linear-gradient(120deg, var(--brand-soft), #ebe5f5); padding: 56px 0 40px; margin-bottom: 40px; }
.page-header h1 { margin: 0; font-size: 2.2rem; }
.content-body img { max-width: 100%; height: auto; border-radius: 10px; }

.accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); }
.accordion-button:focus { box-shadow: none; }

.cta { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 24px; padding: 48px; }
.cta h2 { color: #fff; }

.auth-card { max-width: 480px; margin: 0 auto; border: 0; border-radius: 20px; box-shadow: 0 12px 40px rgba(87,75,124,.12); }

.site-footer { background: #2f2944; color: #e8e4f2; padding: 56px 0 24px; margin-top: 80px; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.site-footer a { color: #d6cfe8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .45rem; }
.footer-logo { height: 56px; filter: brightness(0) invert(1); opacity: .9; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 999; }
.whatsapp-float:hover { color: #fff; }
.footer-legal li { margin-bottom: 0; }
.footer-legal .list-inline-item:not(:last-child) { margin-right: 1.25rem; }
.footer-ssl { max-height: 48px; width: auto; max-width: 100%; }

.password-toggle { position: relative; }
.password-toggle .form-control { padding-right: 2.75rem; }
.password-toggle-btn { position: absolute; top: 0; right: 0; height: 100%; width: 2.75rem; border: 0; background: transparent; color: #6c757d; display: flex; align-items: center; justify-content: center; }
.password-toggle-btn:hover { color: var(--bs-body-color, #333); }
