/* ==========================================================
   Brandellox — main stylesheet
   ========================================================== */
:root {
  --purple: #8a2be2;
  --purple-2: #a855f7;
  --brand: #a100ff;
  --black: #000000;
  --ink: #111111;
  --heading: #333333;
  --text: #444444;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --hero-bg: #f1f1f1;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #8a2be2 0%, #b05cf7 100%);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-alt: "Hind", "Poppins", system-ui, Arial, sans-serif;
  --container: 1140px;
  --header-h: 75px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--purple-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.page { background: var(--white); border-radius: 0 0 40px 40px; overflow: hidden; position: relative; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 500; font-size: 16px;
  padding: 12px 24px; border-radius: 4px; border: 0; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: #7520c9; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #2a2a2a; }
.btn-pill {
  background: #000; color: #fff; border-radius: 50px; font-weight: 600; font-size: 15px;
  padding: 14px 36px;
}
.btn-pill:hover { background: var(--purple); }
.btn-glow {
  background: var(--grad); color: #fff; border-radius: 10px; font-weight: 600; font-size: 17px;
  padding: 16px 38px; box-shadow: 0 10px 30px rgba(138, 43, 226, .55);
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(138, 43, 226, .7); }
.btn-dark-outline {
  background: #111; color: #fff; border: 1px solid #3a3a3a; border-radius: 10px;
  font-weight: 600; font-size: 17px; padding: 16px 38px;
}
.btn-dark-outline:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  height: var(--header-h); border-bottom: 1px solid #f0f0f0;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo img { height: 27px; width: auto; }
.nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 26px 0;
  font-size: 16px; font-weight: 500; color: #1a1a1a; background: none; border: 0; cursor: pointer;
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active, .nav-item:hover > .nav-link { color: var(--purple); }
.nav-link .caret { font-size: 10px; transition: transform .2s ease; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.dropdown {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px;
  min-width: 210px; background: #fff; border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease;
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a { display: block; padding: 10px 22px; font-size: 15px; color: #222; }
.dropdown a:hover, .dropdown a.active { color: var(--purple); background: #f7f0fe; }
.nav-login {
  margin-left: 6px; padding: 9px 22px; border-radius: 4px; background: #000; color: #fff !important;
  font-size: 15px; font-weight: 500;
}
.nav-login:hover, .nav-login.active { background: var(--purple); }
.menu-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
  font-size: 22px; color: #111;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-bg); position: relative; overflow: hidden;
  padding: 148px 0 150px;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; color: #d9d9d9; }
.hero-deco svg { position: absolute; }
.hero .container { position: relative; width: min(1310px, 100% - 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.33fr); gap: 100px; align-items: center; }
.hero-kicker { font-size: 16px; color: #333; margin-bottom: 6px; }
.hero h1 { font-size: 62px; font-weight: 700; color: #333; letter-spacing: -1px; line-height: 1.08; }
.grad-text {
  background: linear-gradient(90deg, #8a2be2 0%, #a855f7 60%, #c06cf9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { margin: 22px 0 26px; font-size: 16px; color: #333; max-width: 480px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { padding: 12px 24px; border-radius: 4px; font-weight: 500; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }

/* ---------- Marquee ---------- */
.marquee { background: #fff; padding: 22px 0 18px; overflow: hidden; border-top: 1px solid #f2f2f2; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
  font-size: 44px; font-weight: 700; color: #111; white-space: nowrap; letter-spacing: -.5px;
}
.marquee-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); flex: none; }

/* ---------- Section heading ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: 38px; font-weight: 700; color: #444; }
.section-head p { margin-top: 12px; font-size: 16px; color: #8a8a8a; line-height: 1.5; }

/* ---------- Solutions cards ---------- */
.solutions { padding: 26px 0 70px; }
.solutions .section-head { margin-bottom: 40px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 26px; max-width: 1020px; margin: 0 auto; }
.sol-card {
  background: #fff; border-radius: 18px; text-align: center; padding: 26px 22px 24px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .07); transition: transform .3s ease, box-shadow .3s ease;
}
.sol-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.icon-circle {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 40px;
}
.sol-card h3 { font-size: 32px; font-weight: 700; color: #111; line-height: 1.22; margin-bottom: 18px; }
.sol-card p { font-size: 15px; color: #555; line-height: 1.6; min-height: 48px; margin-bottom: 14px; }
.sol-card .btn-pill { padding: 15px 50px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 10px; margin-top: 30px; }
.cta-inner { background: #000; padding: 70px 0; }
.cta-inner .container { width: min(1440px, 100% - 40px); display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; }
.cta-inner h2 { color: #fff; font-size: 50px; font-weight: 700; letter-spacing: -.5px; line-height: 1.08; }
.cta-inner p { color: #fff; font-size: 14px; margin: 12px 0 22px; max-width: 690px; line-height: 1.85; }
.cta-actions { display: flex; gap: 24px; flex-wrap: wrap; padding-left: 136px; }
.contact-cards { display: grid; gap: 12px; max-width: 375px; justify-self: end; width: 100%; }
.contact-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 50px;
  padding: 18px 26px 18px 18px; transition: transform .2s ease;
}
.contact-card:hover { transform: translateX(-4px); }
.contact-card .ic {
  width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 20px; flex: none;
}
.contact-card small { display: block; font-size: 12px; letter-spacing: 1px; color: #777; font-weight: 500; }
.contact-card strong { display: block; font-size: 18px; font-weight: 800; color: #000; line-height: 1.25; }
.contact-card span { display: block; font-size: 12px; color: #888; }

/* ---------- Trending + FAQ ---------- */
.trend-faq { padding: 80px 0 290px; }
.trend-faq .container { width: min(1590px, 100% - 40px); display: grid; grid-template-columns: 1fr 1fr; }
.trending { padding-right: 40px; border-right: 1px solid #ddd; padding-bottom: 10px; }
.trending h2 { font-size: 32px; font-weight: 600; color: #333; margin: 20px 0 30px; }
.trend-list { list-style: none; padding: 0; margin: 0; }
.trend-list li { border-bottom: 1px solid #e5e5e5; }
.trend-list a {
  display: flex; align-items: flex-start; gap: 8px; padding: 30px 10px; font-weight: 600;
  font-size: 16px; color: #111; transition: color .2s ease, padding .2s ease;
}
.trend-list a .arr { font-size: 16px; color: #aaa; transition: color .2s ease; }
.trend-list a:hover { color: var(--purple); padding-left: 16px; }
.trend-list a:hover .arr { color: var(--purple); }
.trend-more { padding: 40px 0 10px; }
.trend-more .btn-pill { padding: 17px 36px; font-weight: 600; }
.faq { padding-left: 120px; padding-top: 18px; }
.faq-item { border-bottom: 1px solid #e5e5e5; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; text-align: left; cursor: pointer; padding: 28px 0;
  font-family: var(--font); font-size: 26px; font-weight: 700; color: #111; line-height: 1.05;
}
.faq-q i { font-size: 14px; transition: transform .25s ease; flex: none; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 24px; font-size: 15px; color: #555; line-height: 1.7; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #fff; padding: 80px 0 30px; font-family: var(--font-alt); }
.footer-logo { display: block; width: min(515px, 80%); margin: 0 auto; }
.footer-social { display: flex; justify-content: center; gap: 18px; margin: 60px 0 44px; }
.footer-social a {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid #444; display: grid; place-items: center;
  font-size: 20px; color: #fff; transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--purple); border-color: var(--purple); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; list-style: none; padding: 0; margin: 0 0 50px; }
.footer-links a { font-size: 16px; font-weight: 600; color: #fff; }
.footer-links a:hover { color: var(--purple-2); }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; font-size: 14px; color: #ddd;
}

/* ---------- Floating chat ---------- */
.chat-float { position: fixed; right: 20px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px; }
.chat-bubble {
  background: #fff; color: #555; font-size: 14px; padding: 7px 10px; border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15); font-family: var(--font-alt);
}
.chat-btn {
  width: 54px; height: 54px; border-radius: 50%; background: #2563eb; color: #fff; display: grid; place-items: center;
  font-size: 22px; box-shadow: 0 6px 18px rgba(37, 99, 235, .45); transition: transform .2s ease;
}
.chat-btn:hover { transform: scale(1.08); }

/* ==========================================================
   Inner pages
   ========================================================== */
.page-hero { background: var(--hero-bg); padding: 90px 0 80px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; }
.crumbs { font-size: 14px; color: #777; margin-bottom: 14px; }
.crumbs a:hover { color: var(--purple); }
.page-hero h1 { font-size: 56px; font-weight: 700; color: #333; letter-spacing: -1px; max-width: 820px; }
.page-hero p { margin-top: 16px; max-width: 640px; font-size: 17px; color: #444; }

/* Post grid (blogs + works) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .07); transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.post-cover {
  aspect-ratio: 16 / 10; background: #000; color: #fff; display: flex; flex-direction: column;
  justify-content: space-between; padding: 22px; position: relative; overflow: hidden;
}
.post-cover::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -60px; bottom: -80px; background: var(--grad); opacity: .9;
}
.post-cover .tag {
  align-self: flex-start; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .12);
  padding: 5px 12px; border-radius: 30px; position: relative; z-index: 1;
}
.post-cover .cover-title { font-size: 24px; font-weight: 700; line-height: 1.2; position: relative; z-index: 1; max-width: 85%; }
.post-cover .cover-icon { position: absolute; right: 22px; bottom: 22px; font-size: 34px; z-index: 2; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; color: #888; }
.post-body h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.post-body p { font-size: 15px; color: #555; }
.read-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--purple); font-size: 15px; }
.post-card:hover .read-link { text-decoration: underline; }

/* Article */
.article { padding: 70px 0 110px; }
.article .container { max-width: 780px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 30px; background: #fff; color: #333; border: 1px solid #ddd; }
.chip-purple { background: var(--purple); border-color: var(--purple); color: #fff; }
.prose { font-size: 17px; color: #333; line-height: 1.8; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 46px 0 14px; color: #111; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 30px 0 10px; color: #111; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #111; }
.prose a { color: var(--purple); text-decoration: underline; }
.callout { background: #f7f0fe; border-left: 4px solid var(--purple); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 30px 0; }
.callout p:last-child { margin-bottom: 0; }
.service-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; padding: 0; list-style: none; }
.service-chips li { margin: 0; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 30px; background: #000; color: #fff; }
.article-cta {
  margin-top: 56px; background: #000; color: #fff; border-radius: 20px; padding: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.article-cta h3 { color: #fff; font-size: 26px; }
.article-cta p { color: #ccc; margin-top: 6px; }
.related { padding: 0 0 100px; }
.related h2 { font-size: 30px; margin-bottom: 30px; color: #333; }

/* Websites */
.site-showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.site-showcase + .site-showcase { margin-top: 90px; }
.showcase-media { background: linear-gradient(160deg, #f3ecff 0%, #ffffff 55%, #ece6ff 100%); border-radius: 24px; overflow: hidden; }
.showcase-media img { width: 100%; height: auto; }
.showcase-info .tag-line { font-size: 15px; color: var(--purple); font-weight: 600; }
.showcase-info h2 { font-size: 44px; font-weight: 700; margin: 8px 0 16px; color: #222; }
.showcase-info p { font-size: 16px; color: #555; margin-bottom: 16px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; font-size: 15px; color: #333; }
.feature-list i { color: var(--purple); margin-top: 5px; }
.showcase-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Services page */
.svc-group { display: grid; grid-template-columns: 340px 1fr; gap: 50px; padding: 60px 0; border-bottom: 1px solid #eee; scroll-margin-top: 100px; }
.svc-group:last-child { border-bottom: 0; }
.svc-group-head .icon-circle { margin: 0 0 20px; width: 72px; height: 72px; font-size: 30px; }
.svc-group-head h2 { font-size: 34px; font-weight: 700; color: #111; }
.svc-group-head p { margin-top: 12px; font-size: 15px; color: #555; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-item { background: #fafafa; border: 1px solid #eee; border-radius: 16px; padding: 24px; transition: border-color .2s ease, background .2s ease; }
.svc-item:hover { border-color: var(--purple); background: #fff; }
.svc-item h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.svc-item h3 i { color: var(--purple); font-size: 16px; }
.svc-item p { font-size: 14.5px; color: #555; line-height: 1.65; }
.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.svc-jump a { font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 30px; background: #fff; border: 1px solid #ddd; }
.svc-jump a:hover { border-color: var(--purple); color: var(--purple); }

/* About */
.about-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-intro img { border-radius: 18px; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.about-intro h2 { font-size: 40px; font-weight: 700; color: #222; margin-bottom: 18px; }
.about-intro p { font-size: 16px; color: #555; margin-bottom: 14px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #000; color: #fff; border-radius: 20px; padding: 40px; }
.mv-card h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.mv-card p { color: #d4d4d4; font-size: 16px; }
.mv-card .icon-circle { margin: 0 0 22px; width: 64px; height: 64px; font-size: 26px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { border: 1px solid #eee; border-radius: 16px; padding: 28px 24px; }
.value i { font-size: 26px; color: var(--purple); margin-bottom: 14px; display: block; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: #555; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: 16px; background: #f5f5f5; }
.step-num { font-size: 15px; font-weight: 700; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: #555; }
.bg-soft { background: var(--hero-bg); }

/* Forms (careers + contact) */
.form-wrap { max-width: 820px; margin: 0 auto; }
.join-title { text-align: center; font-size: 52px; font-weight: 800; color: #111; letter-spacing: -.5px; }
.join-sub { text-align: center; color: #666; margin: 14px auto 44px; max-width: 560px; }
.form-card { background: #fff; border-radius: 22px; padding: 44px; box-shadow: 0 10px 40px rgba(0, 0, 0, .08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: #222; }
.req { color: var(--purple); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #ddd; background: #fafafa; border-radius: 10px; padding: 14px 16px;
  font-size: 15px; color: #111; transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 3px rgba(138, 43, 226, .15); }
.field.invalid input, .field.invalid textarea, .field.invalid .role-grid { border-color: #d93025; }
.field-error { font-size: 13px; color: #d93025; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; border: 1px solid transparent; border-radius: 12px; }
.role-opt { position: relative; }
.role-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-opt span {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid #ddd; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #222; background: #fafafa; cursor: pointer; transition: all .2s ease; height: 100%;
}
.role-opt span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #bbb; flex: none; transition: all .2s ease; }
.role-opt input:checked + span { border-color: var(--purple); background: #f7f0fe; color: var(--purple); }
.role-opt input:checked + span::before { border-color: var(--purple); background: var(--purple); box-shadow: inset 0 0 0 3px #fff; }
.role-opt input:focus-visible + span { outline: 3px solid var(--purple-2); outline-offset: 2px; }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions .btn-glow { box-shadow: 0 8px 24px rgba(138, 43, 226, .4); }
.form-success { display: none; margin-top: 20px; background: #effaf2; border: 1px solid #b7e4c3; color: #1d6b35; padding: 16px 20px; border-radius: 12px; font-size: 15px; }
.form-success.show { display: block; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-side h2 { font-size: 36px; font-weight: 700; color: #222; margin-bottom: 14px; }
.contact-side > p { color: #555; margin-bottom: 26px; }
.contact-side .contact-cards { max-width: none; justify-self: stretch; }
.contact-side .contact-card { background: #000; }
.contact-side .contact-card small, .contact-side .contact-card span { color: #aaa; }
.contact-side .contact-card strong { color: #fff; }
.hours { margin-top: 26px; font-size: 15px; color: #555; }

/* Maintenance */
.maint { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 90px 20px; background: var(--hero-bg); }
.maint-icon { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 28px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 44px; box-shadow: 0 14px 40px rgba(138, 43, 226, .35); }
.maint h1 { font-size: 48px; font-weight: 700; color: #222; }
.maint p { margin: 14px auto 30px; color: #555; max-width: 480px; font-size: 17px; }
.maint-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.maint .btn-black, .maint .btn-purple { padding: 13px 26px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1200px) {
  .faq { padding-left: 60px; }
  .cta-actions { padding-left: 0; }
}
@media (max-width: 1024px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid #f0f0f0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    padding: 0 0 8px 12px; display: none; min-width: 0;
  }
  .nav-item:hover > .dropdown { display: none; }
  .nav-item.open > .dropdown { display: block; }
  .nav-item:hover .caret { transform: none; }
  .nav-item.open .caret { transform: rotate(180deg); }
  .nav-login { display: block; text-align: center; margin: 20px 0 0; padding: 14px; }
  .nav-item:has(.nav-login) { border-bottom: 0; }

  .hero { padding: 80px 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner .container { grid-template-columns: 1fr; }
  .contact-cards { justify-self: start; }
  .trend-faq .container { grid-template-columns: 1fr; }
  .trending { border-right: 0; padding-right: 0; }
  .trend-faq { padding-bottom: 0; }
  .trend-more { padding: 30px 0 50px; }
  .faq { padding: 0 0 100px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .site-showcase, .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .svc-group { grid-template-columns: 1fr; gap: 26px; }
  .values-grid, .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .brand-logo img { height: 22px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 38px; }
  .marquee-item { font-size: 28px; gap: 26px; padding-right: 26px; }
  .marquee-dot { width: 12px; height: 12px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .cards-3, .post-grid, .mv-grid, .values-grid, .process, .svc-list { grid-template-columns: 1fr; }
  .sol-card h3 { font-size: 28px; }
  .cta-inner { padding: 54px 0; }
  .cta-inner h2 { font-size: 34px; }
  .cta-actions .btn { width: 100%; }
  .contact-card strong { font-size: 16px; }
  .faq-q { font-size: 20px; }
  .page { border-radius: 0 0 28px 28px; }
  .page-hero { padding: 60px 0 54px; }
  .page-hero h1 { font-size: 38px; }
  .showcase-info h2 { font-size: 34px; }
  .join-title { font-size: 34px; }
  .form-card { padding: 26px 20px; }
  .form-grid, .role-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-links { gap: 12px 26px; }
  .maint h1 { font-size: 34px; }
  .chat-bubble { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
