/* Reset & base */
* { box-sizing: border-box }
:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --card: #ffffff;
  --border: #eeeeee;
  --primary: #0b72ef;
  --link: #0b72ef;
  --header-bg: #ffffff;
  --nav-active-bg: #f2f5ff;
}
html { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height: 1.6; background: var(--bg); color: var(--text); transition: background-color .3s ease, color .3s ease; }
body { margin: 0; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 36px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

/* Header */
header { position: sticky; top: 0; background: var(--header-bg); border-bottom: 1px solid var(--border); z-index: 10; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 10px 0; }
nav { display: flex; align-items: center; gap: 16px; padding: 12px 0; position: relative; }
nav a { padding: 10px 14px; border-radius: 8px; }
nav a.active { background: var(--nav-active-bg); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; border: 1px solid var(--border); background: var(--bg); padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
.nav-menu { display: flex; align-items: center; gap: 16px; }
.nav-open .nav-menu { transform: translateX(0); }

/* Hero */
.hero { display: grid; gap: 36px; align-items: center; padding: 96px 36px 96px 0; border-radius: 28px; overflow: hidden; }
.hero h1 { font-size: 36px; line-height: 1.25; margin: 0 0 16px; }
.hero p { margin: 0 0 22px; color: var(--muted); line-height: 1.8; }
.hero .cta-group { margin-top: 16px; }
.hero img { border-radius: 22px; }
.measure { max-width: 720px; margin-left: 18px; }
.btn { display: inline-block; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; transition: background-color .3s ease, color .3s ease; }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: var(--bg); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.hero-list li { padding-left: 18px; position: relative; }
.hero-list li::before { content: "•"; position: absolute; left: 0; color: var(--primary); }
.badge-group { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.badge { padding: 6px 12px; border-radius: 999px; background: rgba(11,114,239,.12); color: var(--primary); font-weight: 600; font-size: 13px; }

/* Sections */
section { padding: 56px 0; }
.section-title { font-size: 22px; margin: 0 0 18px; }
.card { border: 1px solid var(--border); border-radius: 25px; padding: 28px; background: var(--card); transition: background-color .3s ease, border-color .3s ease; }
.card h3 { margin: 0 0 10px; }
.card p { margin: 10px 0 0; line-height: 1.8; }
.testimonial { display: flex; gap: 12px; align-items: flex-start; }
.stars { color: #ffb703; letter-spacing: 2px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery img { border-radius: 10px; }
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(1, 1fr); }
.stat-card { padding: 26px; border: 1px solid var(--border); border-radius: 25px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.stat-value { font-size: 24px; font-weight: 700; }
.stat-label { color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); transition: color .3s ease, border-color .3s ease; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; background: #25D366; color: #fff; padding: 12px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.15); z-index: 20; font-weight: 700; }
.wa-float:hover { background: #1dbd58; text-decoration: none; }

/* Blog */
.post { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.post.no-thumb { grid-template-columns: 1fr; }
.post img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; }
.post-title { margin: 0 0 6px; font-size: 18px; }
.post-meta { color: var(--muted); font-size: 13px; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; transition: border-color .3s ease, background-color .3s ease, color .3s ease; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Forms */
form .field { margin-bottom: 12px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="file"], textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
textarea { min-height: 140px; }
.error { color: #b00020; font-size: 13px; }

/* Quill overrides */
.ql-container { border-radius: 8px; }
.ql-editor { min-height: 220px; }

/* Responsive */
@media (min-width: 640px) {
  .hero { grid-template-columns: 1.2fr .8fr; padding: 108px 44px 108px 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .measure { margin-left: 24px; }
}
@media (max-width: 768px) {
  .brand span { white-space: nowrap; font-size: 14px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; top: 0; right: 0; height: 100vh; width: 260px; padding: 80px 20px 24px; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--header-bg); border-left: 1px solid var(--border); box-shadow: -10px 0 30px rgba(0,0,0,.12); transform: translateX(110%); transition: transform .3s ease; z-index: 30; }
  .nav-menu a, .nav-menu button { width: 100%; text-align: left; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 960px) {
  .hero h1 { font-size: 48px; }
  .section-title { font-size: 24px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
:root.dark, html.dark {
  --bg: #0f172a;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --card: #0b1220;
  --border: #1e293b;
  --primary: #3b82f6;
  --link: #60a5fa;
  --header-bg: #0b1220;
  --nav-active-bg: #0b1220;
}
header.shadow { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.hero-gradient { background: radial-gradient(1200px 400px at 10% 10%, rgba(124,58,237,.12), transparent), radial-gradient(1000px 360px at 90% 20%, rgba(6,182,212,.12), transparent), radial-gradient(900px 360px at 50% 90%, rgba(34,197,94,.12), transparent); }
.btn { transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); box-shadow: none; }
.cta-big { font-size: 1.1rem; padding: 14px 22px; }
.card { border-radius: 25px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.12); transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.glass { background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.accent-title { background: linear-gradient(90deg, #7c3aed, #06b6d4, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,114,239,.15); }
.reveal { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s ease, transform .6s ease; }
.reveal-visible { opacity: 1; transform: none; }
.site-footer { border-top: 0; padding: 40px 0; color: var(--muted); background: linear-gradient(180deg, rgba(124,58,237,.06), transparent), linear-gradient(0deg, rgba(6,182,212,.06), transparent); }
.footer-top { display: grid; gap: 24px; grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-col h4 { margin: 0 0 10px; font-size: 16px; color: var(--text); }
.footer-col a { display: inline-block; margin: 6px 0; color: var(--link); }
.map-embed { width: 100%; height: 180px; border: 0; border-radius: 20px; margin-top: 12px; background: #0b1220; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 24px; }
.social { display: flex; gap: 10px; }
.prefooter-cta { padding: 28px; border-radius: 16px; background: linear-gradient(90deg, rgba(124,58,237,.12), rgba(6,182,212,.12)); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.prefooter-cta h3 { margin: 0; font-size: 22px; }
@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1.2fr .8fr .8fr; }
}
:root.dark, html.dark {
  --accent1: #22d3ee;
  --accent2: #a78bfa;
  --accent3: #4ade80;
}
