/* Block library styles that the dark theme did not have before (shared block set across both sites). */
.brand__logo { height: 44px; width: auto; }
.about__grid--flip { direction: rtl; } .about__grid--flip > * { direction: ltr; }
.stats__title { margin-bottom: 2.5rem; }
.stat__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(139, 92, 246, .18); color: var(--violet-2); display: grid; place-items: center; margin: 0 auto .6rem; }
.solution { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.solution:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .5); }
.solution__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; } .solution__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.badge { position: absolute; top: 1rem; left: 1rem; background: var(--gradient); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: .3rem .8rem; border-radius: 999px; }
.solution__body { padding: 1.6rem 1.8rem 1.8rem; } .solution__body h3 { margin: 0 0 .4rem; }
.dos__card { background: var(--surface); border: 1px solid var(--border); padding: 2.2rem; border-radius: var(--radius-lg); border-top: 3px solid var(--green); }
.dos__card--dont { border-top-color: var(--red); } .dos__card h3 { font-size: 1.4rem; } .dos__card ul { display: grid; gap: .8rem; } .dos__card li { display: flex; gap: .8rem; align-items: flex-start; }
.dos__card .ico { flex: none; width: 1.5em; height: 1.5em; padding: 4px; border-radius: 50%; color: #fff; background: var(--green); margin-top: .1em; } .dos__card--dont .ico { background: var(--red); }
.why__grid { display: grid; gap: 3rem; align-items: center; } @media (min-width: 1000px) { .why__grid { grid-template-columns: 1.2fr .9fr; gap: 5rem; } }
.why__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); }
.projects__grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 1000px) { .projects__grid { grid-template-columns: repeat(6, 1fr); } .projects__grid > :nth-child(1), .projects__grid > :nth-child(2) { grid-column: span 3; } .projects__grid > :nth-child(n+3) { grid-column: span 2; } }
.project-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1.1; background: var(--bg-3); border: 1px solid var(--border); }
.project-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease); } .project-card:hover img { transform: scale(1.05); }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(7,10,18,.95)); display: grid; gap: .2rem; }
.project-card__body small { color: var(--cyan); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; } .project-card__body strong { font-family: var(--font-head); font-size: 1.2rem; }
.service-card__media { display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; } .service-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.service-card__body { display: grid; gap: .6rem; padding: 0 .4rem; }
.service-card:has(.service-card__media) { padding: 1.2rem 1.2rem 1.6rem; }
.cards--features .feature, .cards--features .feature__icon { transition: none; }
.about__img2 { display: block; position: absolute; right: 0; bottom: 0; width: 40%; border-radius: var(--radius-lg); border: 4px solid var(--bg); }
.about__media:has(.about__img2) { padding-bottom: 3rem; padding-right: 2rem; }
.about__rating { display: grid; position: absolute; left: -1rem; bottom: 2rem; background: var(--bg-2); border: 1px solid var(--border-strong); color: #fff; padding: 1rem 1.4rem; border-radius: var(--radius); gap: .2rem; box-shadow: var(--shadow); }
.about__stars { display: flex; color: #fbbf24; } .about__stars .ico { width: 16px; fill: currentColor; } .about__rating strong { font-family: var(--font-head); font-size: 1.2rem; } .about__rating small { color: var(--text-muted); }
.image-block__figure { margin: 0; } .image-block__figure img { border-radius: var(--radius-lg); width: 100%; border: 1px solid var(--border-strong); } .image-block__figure figcaption { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: .8rem; }
.section__more { text-align: center; margin-top: 2.5rem; }
.lead--center { text-align: center; }
.section__head--left p { margin-inline: 0; }
.hero__shape { display: none; }

/* ---------- interactive tools ---------- */
.tool__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: grid; gap: 1.4rem; }
.tool__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.tool__grid label, .tool__slider { display: grid; gap: .35rem; font-weight: 500; color: var(--text-strong); font-size: .95rem; }
.tool__grid input, .tool__grid select { font: inherit; padding: .8rem 1rem; border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(0,0,0,.25); color: #fff; }
.tool__outputs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; }
.tool__outputs div { background: var(--surface-2); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.tool__outputs dt { font-size: .85rem; color: var(--text-muted); }
.tool__outputs dd { margin: .2rem 0 0; font-family: var(--font-head); font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tool__result { margin: 0; padding: 1rem 1.2rem; border-left: 3px solid var(--violet); background: var(--surface-2); color: #e2e6f0; font-weight: 500; }
.tool__result:empty, .tool__result[hidden] { display: none; }
.tool__cta { display: grid; gap: .8rem; justify-items: start; }
.tool__cta p { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--text-strong); }
.tool__footnote { margin: 0; font-size: .85rem; color: var(--text-muted); }
.tool__checklist { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tool__checklist label { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; }
.tool__checklist label:has(:checked) { border-color: var(--violet-2); background: rgba(139, 92, 246, .12); }
.tool__checklist input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--violet); }
.tool__sliders { display: grid; gap: 1rem; }
.tool__slider { grid-template-columns: 1fr auto; align-items: center; }
.tool__slider span { grid-column: 1 / -1; }
.tool__slider input { width: 100%; accent-color: var(--violet); }
.tool__slider output { font-family: var(--font-head); font-weight: 700; min-width: 2ch; text-align: right; }
.card-list { display: grid; gap: .3rem; margin: 0; padding: 0; font-size: .95rem; }
.card-list li { padding-left: 1.2rem; position: relative; }
.card-list li::before { content: "•"; color: var(--cyan); position: absolute; left: 0; }
/* tighter main navigation so seven items and the button fit on one line */
.nav > ul > li > a { padding: .65rem .7rem; font-size: .94rem; }
.header__inner { gap: 1rem; }
@media (max-width: 1180px) and (min-width: 1001px) { .nav > ul > li > a { padding: .6rem .5rem; font-size: .9rem; } .header__actions .btn { padding: .75rem 1.1rem; font-size: .92rem; } }
.nav > ul > li > a { white-space: nowrap; }
