@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600;700&family=Archivo:wght@400;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===================== Theme palettes ===================== */
/* Default = Voltage (electric violet/magenta, Space Grotesk + Inter) */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #ede9fe;
  --accent: #ec4899;
  --accent-light: #fce7f3;
  --bg: #ffffff;
  --bg-alt: #f5f3ff;
  --surface: #ffffff;
  --soft: #f3f0ff;
  --border: #e2ddf5;
  --ink: #0f0f1a;
  --ink-soft: #555067;
  --ink-faint: #908aa8;
  --on-primary: #ffffff;
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #0f0f1a 0%, #3b1d6e 40%, #7c3aed 100%);
  --hero-overlay: rgba(15, 15, 26, 0.55);
  --hero-text: #ffffff;
  --shadow-sm: 0 1px 3px rgba(15, 15, 26, 0.08);
  --shadow-md: 0 4px 16px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 12px 40px rgba(124, 58, 237, 0.18);
}
html[data-theme="atelier"] {
  --primary: #c8451e;
  --primary-dark: #a5381a;
  --primary-light: #fce8e0;
  --accent: #d4924a;
  --accent-light: #faf0e1;
  --bg: #fdfaf6;
  --bg-alt: #f7f0e8;
  --surface: #ffffff;
  --soft: #f0e8df;
  --border: #e5d8c8;
  --ink: #2a2520;
  --ink-soft: #6b5440;
  --ink-faint: #9a8470;
  --on-primary: #fff8f3;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #2a2520 0%, #5c3a2e 50%, #c8451e 100%);
  --hero-overlay: rgba(42, 37, 32, 0.5);
  --hero-text: #fff8f3;
  --shadow-sm: 0 1px 3px rgba(42, 37, 32, 0.08);
  --shadow-md: 0 4px 16px rgba(42, 37, 32, 0.1);
  --shadow-lg: 0 12px 40px rgba(42, 37, 32, 0.15);
}
html[data-theme="monolith"] {
  --primary: #00d977;
  --primary-dark: #00b362;
  --primary-light: #d4f7e6;
  --accent: #00d977;
  --accent-light: #d4f7e6;
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --surface: #1a1a1a;
  --soft: #222222;
  --border: #2e2e2e;
  --ink: #f0f0f0;
  --ink-soft: #a0a0a0;
  --ink-faint: #666666;
  --on-primary: #0a0a0a;
  --font-head: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  --hero-overlay: rgba(10, 10, 10, 0.3);
  --hero-text: #f0f0f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: var(--radius); background: var(--hero-gradient); display: flex; align-items: center; justify-content: center; color: var(--hero-text); flex-shrink: 0; }
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-link { color: var(--ink-soft); font-weight: 500; font-size: 0.92rem; padding: 8px 14px; border-radius: var(--radius-pill); transition: color .15s, background .15s; }
.nav-link:hover { text-decoration: none; background: var(--soft); color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-cta { background: var(--primary); color: var(--on-primary) !important; border-radius: var(--radius-pill); padding: 10px 22px; transition: background .15s, transform .15s; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px 8px; border-radius: var(--radius); }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero { position: relative; padding: 100px 24px 120px; text-align: center; overflow: hidden; background: var(--hero-gradient); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; color: var(--hero-text); }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 18px; font-weight: 800; letter-spacing: -0.02em; }
.hero .tagline { font-size: 1.25rem; opacity: 0.9; margin-bottom: 12px; font-weight: 500; }
.hero .description { font-size: 1.1rem; opacity: 0.85; margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.hero-stat .label { font-size: 0.85rem; opacity: 0.75; margin-top: 4px; }
.hero.with-image { background-blend-mode: overlay; }

/* ===================== Sections ===================== */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 12px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head.left { text-align: left; margin-left: 0; }

/* ===================== Client wall ===================== */
.client-wall { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; max-width: 1000px; margin: 0 auto; }
.client-item { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 700; font-size: 1.05rem; font-family: var(--font-head); opacity: 0.65; transition: opacity .2s; letter-spacing: -0.01em; }
.client-item:hover { opacity: 1; }
.client-mark { width: 30px; height: 30px; border-radius: 7px; background: var(--hero-gradient); display: flex; align-items: center; justify-content: center; color: var(--hero-text); font-size: 0.8rem; font-weight: 800; }

/* ===================== Cards ===================== */
.card-grid { display: grid; gap: 24px; max-width: 1200px; margin: 0 auto; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.card-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.card .card-summary { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.card a { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; }
html[data-theme="monolith"] .card { border: 1px solid var(--border); }
html[data-theme="monolith"] .card:hover { border-color: var(--primary); }

/* ===================== Buttons ===================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all .15s; text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--soft); text-decoration: none; }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
html[data-theme="monolith"] .btn-primary { color: var(--on-primary); }

.badge { display: inline-block; padding: 4px 14px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; background: var(--primary-light); color: var(--primary); }
.tag { display: inline-block; padding: 3px 12px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 500; background: var(--soft); color: var(--ink-soft); }

/* ===================== Case studies ===================== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.case-card-img { height: 220px; background: var(--hero-gradient); display: flex; align-items: center; justify-content: center; color: var(--hero-text); font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card-body { padding: 24px; }
.case-card-category { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 8px; }
.case-card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); line-height: 1.35; }
.case-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }
.case-metrics { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.case-metric .value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.case-metric .label { font-size: 0.78rem; color: var(--ink-faint); }

.case-detail { max-width: 800px; margin: 0 auto; }
.case-detail-header { padding: 48px 24px 36px; text-align: center; }
.case-detail-header .badge { margin-bottom: 16px; }
.case-detail-header h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
.case-detail-header .client { color: var(--ink-soft); font-size: 1.1rem; }
.case-detail-img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 40px; }
.case-detail-body h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; color: var(--ink); }
.case-detail-body p, .case-detail-body li { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.8; }
.case-detail-body ul { margin: 0 0 16px 20px; }
.case-detail-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.case-detail-metric { text-align: center; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.case-detail-metric .value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--primary); }
.case-detail-metric .label { font-size: 0.85rem; color: var(--ink-faint); margin-top: 6px; }

/* ===================== Team ===================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.team-card { text-align: center; }
.team-card-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--surface); box-shadow: var(--shadow-sm); }
.team-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.team-card .role { color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
.team-card .bio { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }
.team-socials { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.social-link { width: 36px; height: 36px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--ink-soft); transition: background .15s, color .15s; }
.social-link:hover { background: var(--primary); color: var(--on-primary); text-decoration: none; }
.social-link svg { width: 16px; height: 16px; }

/* ===================== Pricing ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); position: relative; }
.pricing-card.featured::after { content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); font-size: 0.78rem; font-weight: 700; padding: 4px 18px; border-radius: var(--radius-pill); white-space: nowrap; }
.pricing-card h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 20px; }
.pricing-price .amount { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--ink); }
.pricing-price .currency { font-size: 1.2rem; color: var(--ink-soft); font-weight: 600; }
.pricing-price .period { font-size: 0.95rem; color: var(--ink-soft); }
.pricing-features { list-style: none; flex-grow: 1; margin-bottom: 24px; }
.pricing-features li { padding: 8px 0; color: var(--ink-soft); font-size: 0.92rem; border-bottom: 1px solid var(--border); display: flex; align-items: start; gap: 8px; }
.pricing-features li::before { content: "\2713"; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ===================== Testimonials ===================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card .text { color: var(--ink); font-size: 0.98rem; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .name { font-weight: 700; color: var(--ink); }
.testimonial-author .meta { font-size: 0.85rem; color: var(--ink-faint); }

/* ===================== FAQ ===================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-summary { padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq-summary:hover { color: var(--primary); }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq-item[open] .faq-summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--ink-soft); line-height: 1.7; }

/* ===================== Blog ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.blog-card-img { height: 180px; background: var(--hero-gradient); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; }
.blog-card .date { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 8px; }
.blog-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card .excerpt { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }

.article-detail { max-width: 760px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 36px; }
.article-header .date { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 10px; }
.article-header h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.article-header .excerpt { color: var(--ink-soft); font-size: 1.15rem; }
.article-img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; }
.article-body h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin: 28px 0 12px; color: var(--ink); }
.article-body h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 24px 0 10px; color: var(--ink); }
.article-body p { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; margin: 20px 0; background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft); font-style: italic; }
.article-body a { color: var(--primary); font-weight: 600; }

.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 48px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius); font-weight: 600; font-size: 0.92rem; }
.pagination a { border: 1px solid var(--border); color: var(--ink-soft); transition: all .15s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .current { background: var(--primary); color: var(--on-primary); }

/* ===================== CTA ===================== */
.cta-section { background: var(--hero-gradient); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--hero-text); margin-bottom: 14px; }
.cta-section p { color: var(--hero-text); opacity: 0.88; font-size: 1.15rem; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: #fff; color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--bg-alt); }
.cta-section .btn-outline { border-color: #fff; color: #fff; }
.cta-section .btn-outline:hover { background: #fff; color: var(--primary); }

/* ===================== Forms ===================== */
.form { max-width: 640px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.form-field .help { font-size: 0.82rem; color: var(--ink-faint); margin-top: 4px; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: var(--font-body); color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-light); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-honeypot { position: absolute; left: -9999px; }
.consent-row { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
.consent-row input { margin-top: 3px; accent-color: var(--primary); }
.form-success { background: var(--accent-light); border: 1px solid var(--accent); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--ink); }
.form-success h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-info h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--ink-soft); margin-bottom: 12px; }
.contact-info .icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-info .icon-row svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ===================== Breadcrumb ===================== */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--ink-faint); margin-bottom: 24px; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 24px 24px 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--primary); }

/* ===================== Footer ===================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 24px 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.footer-col p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; color: var(--ink-faint); font-size: 0.85rem; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.powered-by { opacity: 0.8; }
.powered-by a { color: inherit; text-decoration: none; }
.powered-by a:hover { text-decoration: underline; opacity: 1; }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-socials .social-link svg { width: 18px; height: 18px; }

/* ===================== WhatsApp float ===================== */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 60; box-shadow: var(--shadow-lg); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; }

/* ===================== Theme switcher ===================== */
.theme-btn {
  position: fixed; bottom: 92px; right: 24px; z-index: 110;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .15s, transform .15s;
}
.theme-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.theme-btn svg { width: 24px; height: 24px; }
.theme-panel {
  position: fixed; bottom: 156px; right: 24px; z-index: 120;
  width: 280px; max-width: calc(100vw - 32px);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px;
  display: none; text-align: left;
}
.theme-panel.open { display: block; }
.theme-panel h3 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.theme-panel .theme-sub { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 12px; }
.theme-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--soft); border: 2px solid transparent; border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); transition: border-color .15s, background .15s;
}
.theme-card:hover { background: color-mix(in srgb, var(--soft) 60%, var(--primary-light)); }
.theme-card.active { border-color: var(--primary); background: var(--primary-light); }
.theme-swatches { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.theme-swatches .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.theme-card .t-name { font-weight: 700; font-size: 0.9rem; }
.theme-card .t-desc { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.35; }
.theme-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 0.72rem; color: var(--ink-faint); line-height: 1.4; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .blog-grid, .team-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .case-detail-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; z-index: 49; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.5rem; }
  .hero { padding: 64px 20px 72px; }
  .section { padding: 48px 20px; }
  .theme-panel { right: 16px; bottom: 148px; }
  .theme-btn { right: 16px; bottom: 88px; }
  .wa-float { right: 16px; bottom: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
