:root {
  --primary: #6222CC;
  --primary-dark: #4f1aa8;
  --accent: #FBA504;
  --dark: #04000B;
  --light-bg: #F6F4F9;
  --border: #E7E1F5;
  --text: #2B2438;
  --muted: #6b6478;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); text-align: center; margin-bottom: 34px; }
a { color: var(--primary); }
p.lead { font-size: 17px; color: var(--muted); max-width: 640px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 20px; }
.logo { font-weight: 800; font-size: 20px; color: var(--dark); }
.main-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-weight: 500; font-size: 14.5px; }
.main-nav > a, .nav-dropdown > a { color: var(--dark); }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,.08); flex-direction: column;
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 7px 10px; border-radius: 6px; font-size: 13.5px; }
.dropdown-menu a:hover { background: var(--light-bg); }
.btn-cta {
  background: var(--primary); color: #fff !important; padding: 11px 20px; border-radius: 30px;
  font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-block; border: none; cursor: pointer;
}
.btn-cta:hover { background: var(--primary-dark); }
.btn-cta.secondary { background: transparent; color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-cta.large { padding: 15px 30px; font-size: 15.5px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--light-bg), #fff); padding: 60px 0; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; }
.hero-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero-stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 10px 30px rgba(98,34,204,.08); }
.hero-stat-card .stat { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.hero-stat-card .stat:last-child { border: none; padding: 0; }
.hero-stat-card strong { color: var(--primary); font-size: 24px; }
.hero-stat-card span { color: var(--muted); font-size: 13px; text-align: right; }

/* Sections */
section { padding: 56px 0; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service-card, .portfolio-card, .testimonial-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: #fff; transition: .2s;
}
.service-card:hover, .portfolio-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(98,34,204,.1); }
.service-card h3, .portfolio-card h3 { color: var(--dark); font-size: 18px; }
.service-card .price { color: var(--accent); font-weight: 600; font-size: 13.5px; }
.portfolio-card img { border-radius: 10px; margin-bottom: 12px; height: 160px; object-fit: cover; width: 100%; }
.testimonial-card .stars { color: var(--accent); margin-bottom: 8px; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { border: 1px solid var(--border); padding: 8px 16px; border-radius: 30px; font-size: 13.5px; font-weight: 500; color: var(--dark); }
.chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.see-all { text-align: center; margin-top: 20px; font-weight: 600; }

.cta-band { background: var(--dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }

/* Page template */
.page-hero { background: var(--light-bg); padding: 40px 0; }
.page-body { padding: 40px 0; }
.faq-section details { border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq-section summary { font-weight: 600; cursor: pointer; }
.breadcrumbs ol { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; }

/* Footer */
.site-footer { background: var(--dark); color: #cbc2e0; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer a { color: #cbc2e0; display: block; margin-bottom: 6px; font-size: 13.5px; }
.site-footer input, .site-footer textarea { width: 100%; margin-bottom: 8px; padding: 9px 12px; border-radius: 8px; border: none; font-family: inherit; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; } /* mobile nav toggle can be added via main.js */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
