/* ==========================================================================
   Digitaloza — components & sections
   ========================================================================== */

/* Hero (homepage) --------------------------------------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-block: clamp(56px, 8vw, 104px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero__bg::before { width: 620px; height: 620px; background: radial-gradient(circle, #6D28D9, transparent 65%); top: -220px; right: -120px; }
.hero__bg::after { width: 520px; height: 520px; background: radial-gradient(circle, #10E08C, transparent 65%); bottom: -260px; left: -120px; opacity: .28; }
.hero__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #D7DBEA; padding: 7px 14px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 500; margin-bottom: 22px; }
.hero__pill .i { width: 16px; height: 16px; color: var(--action); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #B9C0D6; max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__microcopy { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted-light); font-size: .9rem; }
.hero__microcopy span { display: inline-flex; align-items: center; gap: 7px; }
.hero__microcopy .i { width: 17px; height: 17px; color: var(--action); }

/* Hero side card / proof panel */
.hero__panel { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(8px); }
.hero__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero__panel-head span { font-size: .82rem; color: var(--muted-light); }
.hero__panel-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--action); font-size: .8rem; font-weight: 600; }
.hero__panel-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 4px rgba(16,224,140,.2); }
.hero__bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-bottom: 20px; }
.hero__bar { flex: 1; background: var(--grad); border-radius: 8px 8px 0 0; opacity: .85; animation: grow 1s ease both; }
@keyframes grow { from { height: 0; } }
.hero__panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__panel-stat { background: rgba(255,255,255,.05); border-radius: 12px; padding: 14px; }
.hero__panel-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero__panel-stat span { font-size: .8rem; color: var(--muted-light); }

/* Trust / logo strip ------------------------------------------------------ */
.trust { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 30px; }
.trust__label { text-align: center; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; }
.trust__row span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: rgba(255,255,255,.55); letter-spacing: -.01em; }

/* Stats ------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__value { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); }
.stats--light .stat__label { color: var(--muted-light); }

/* Problem cards ----------------------------------------------------------- */
.cards-grid { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.pain__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; color: #E0455E; box-shadow: var(--sh-sm); margin-bottom: 14px; }
.pain h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pain p { font-size: .95rem; color: var(--muted); }

/* System diagram ---------------------------------------------------------- */
.system { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.system__step { position: relative; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 24px 20px; text-align: center; }
.system__num { font-family: var(--font-display); font-size: .78rem; color: var(--action); font-weight: 700; }
.system__icon { width: 52px; height: 52px; margin: 12px auto 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(109,40,217,.22); color: var(--brand-400); }
.system__icon .icon { width: 26px; height: 26px; }
.system__step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.system__step p { font-size: .88rem; color: var(--muted-light); }
.system__arrow { position: absolute; top: 50%; right: -13px; transform: translateY(-50%); z-index: 2; color: var(--action); width: 22px; height: 22px; }

/* Service grid ------------------------------------------------------------ */
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; color: var(--text); }
.svc-card__icon { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: var(--grad); color: #fff; margin-bottom: 16px; }
.svc-card__icon .icon { width: 26px; height: 26px; }
.svc-card__title { font-size: 1.15rem; margin-bottom: 8px; }
.svc-card__text { font-size: .94rem; color: var(--muted); flex: 1; }
.svc-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--brand); font-weight: 600; font-size: .92rem; }
.svc-card__link .i { width: 17px; height: 17px; transition: transform .2s ease; }
.svc-card:hover .svc-card__link .i { transform: translateX(4px); }
.group-label { grid-column: 1 / -1; font-family: var(--font-display); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Pillars (why) ----------------------------------------------------------- */
.pillar { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pillar__icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: rgba(109,40,217,.1); color: var(--brand); margin-bottom: 16px; }
.pillar h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .95rem; }
.section--ink .pillar { background: var(--ink-2); border-color: var(--line-dark); }
.section--ink .pillar p { color: var(--muted-light); }
.section--ink .pillar__icon { background: rgba(139,92,246,.18); color: var(--brand-400); }

/* Industry cards ---------------------------------------------------------- */
.ind-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .2s, box-shadow .2s; color: var(--text); }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--sh); color: var(--text); }
.ind-card__icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface); color: var(--brand); }
.ind-card h3 { font-size: 1.1rem; }
.ind-card p { font-size: .92rem; color: var(--muted); flex: 1; }
.ind-card__stat { font-weight: 600; color: var(--brand); font-size: .9rem; }

/* Process steps ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .94rem; }
.section--ink .step { background: var(--ink-2); border-color: var(--line-dark); }
.section--ink .step p { color: var(--muted-light); }

/* Testimonials ------------------------------------------------------------ */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.tcard__stars { display: flex; gap: 2px; color: #FFB020; margin-bottom: 14px; }
.tcard__stars .icon { width: 18px; height: 18px; fill: #FFB020; stroke: #FFB020; }
.tcard__text { font-size: 1rem; color: var(--text); line-height: 1.6; flex: 1; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard__who b { display: block; font-size: .95rem; color: var(--ink); }
.tcard__who span { font-size: .85rem; color: var(--muted); }
.tcard__result { background: rgba(16,224,140,.12); color: var(--action-700); font-weight: 700; font-size: .85rem; padding: 5px 11px; border-radius: var(--r-pill); }

/* Case cards -------------------------------------------------------------- */
.case-card { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; color: var(--text); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); color: var(--text); }
.case-card__media { background: var(--ink); color: #fff; padding: 26px; position: relative; overflow: hidden; }
.case-card__media::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(16,224,140,.3), transparent 65%); bottom: -120px; right: -80px; }
.case-card__tag { position: relative; z-index: 1; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--action); font-weight: 600; }
.case-card__media h3 { position: relative; z-index: 1; color: #fff; font-size: 1.25rem; margin: 10px 0 18px; }
.case-card__metrics { position: relative; z-index: 1; display: flex; gap: 22px; }
.case-card__metric b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.case-card__metric span { font-size: .8rem; color: var(--muted-light); }
.case-card__body { padding: 24px 26px; }
.case-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.case-card__link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 600; font-size: .92rem; }
.case-card__link .i { width: 17px; height: 17px; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__item[open] { border-color: var(--brand-400); box-shadow: var(--sh-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .2s ease; }
.faq__icon::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq__icon::after { width: 2px; height: 14px; top: 4px; left: 10px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 22px 22px; color: var(--muted); }
.faq__a p { margin-bottom: 10px; }

/* CTA band ---------------------------------------------------------------- */
.cta-band { padding-block: var(--section); background: var(--ink); position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-band__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 120%, rgba(109,40,217,.5), transparent 60%); }
.cta-band__title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.cta-band__text { color: #B9C0D6; font-size: 1.12rem; margin-bottom: 28px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band__trust { margin-top: 22px; color: var(--muted-light); font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; }
.cta-band__trust .i { width: 17px; height: 17px; color: var(--action); }

/* Page hero (inner pages) ------------------------------------------------- */
.phero { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 84px); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(109,40,217,.4), transparent 65%); top: -260px; right: -120px; filter: blur(70px); }
.phero__inner { position: relative; z-index: 1; max-width: 760px; }
.phero h1 { color: #fff; margin-bottom: 18px; }
.phero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #B9C0D6; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.phero--split .phero__inner { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* Split content + form layout (service/tool pages) ------------------------ */
.split { display: grid; grid-template-columns: 1.6fr .9fr; gap: 48px; align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 20px); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh); }
.panel--ink { background: var(--ink); color: #fff; border: 0; }
.panel__title { font-size: 1.2rem; margin-bottom: 6px; }
.panel--ink .panel__title { color: #fff; }
.panel__note { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.panel--ink .panel__note { color: var(--muted-light); }

/* Checklist / deliverables ------------------------------------------------ */
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; color: var(--text); }
.check-list .icon { width: 22px; height: 22px; flex: none; color: var(--action-700); margin-top: 2px; }
.check-list--light li { color: #D7DBEA; }

/* Approach / numbered method --------------------------------------------- */
.method { display: grid; gap: 18px; }
.method__row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 20px; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); }
.method__n { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; }
.method__row h3 { font-size: 1.08rem; margin-bottom: 4px; }
.method__row p { color: var(--muted); font-size: .95rem; }

/* Prose (blog, legal) ----------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose ul { margin: 0 0 16px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--action); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Lead form --------------------------------------------------------------- */
.lead-form .field { margin-bottom: 16px; }
.lead-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.lead-form .req { color: #E0455E; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); transition: border-color .15s ease, background .15s ease;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--brand); background: #fff; outline: none; }
.lead-form input.invalid, .lead-form select.invalid { border-color: #E0455E; }
.panel--ink .lead-form label { color: #fff; }
.panel--ink .lead-form input, .panel--ink .lead-form select, .panel--ink .lead-form textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.lead-form__actions { display: flex; gap: 10px; margin-top: 6px; }
.lead-form__trust { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.lead-form__trust .i { width: 16px; height: 16px; color: var(--action-700); }
.panel--ink .lead-form__trust { color: var(--muted-light); }
.lead-form__progress { display: flex; gap: 8px; margin-bottom: 18px; }
.lead-form__progress .dot { width: 100%; height: 5px; border-radius: 3px; background: var(--line); }
.lead-form__progress .dot.is-active, .lead-form__progress .dot.is-done { background: var(--action); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error { background: #FDECEE; color: #B11233; border: 1px solid #F6C9D1; padding: 11px 14px; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 16px; }

/* Benefit list (tools) ---------------------------------------------------- */
.benefits li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.benefits .icon { width: 24px; height: 24px; color: var(--action-700); flex: none; }

/* Badges ------------------------------------------------------------------ */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); }
.badge--action { background: rgba(16,224,140,.15); color: var(--action-700); }
.badge--brand { background: rgba(109,40,217,.12); color: var(--brand); }

/* Tool cards -------------------------------------------------------------- */
.tool-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .2s, box-shadow .2s; color: var(--text); }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); color: var(--text); }
.tool-card__icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 16px; }
.tool-card__icon .icon { width: 28px; height: 28px; }
.tool-card__badge { position: absolute; top: 22px; right: 22px; }
.tool-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tool-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.tool-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.tool-card__time { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* Calculator -------------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.calc__inputs .field { margin-bottom: 18px; }
.calc__result { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden; }
.calc__result::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(16,224,140,.28), transparent 65%); top: -120px; right: -100px; }
.calc__big { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.calc__big-label { position: relative; z-index: 1; color: var(--muted-light); font-size: .92rem; margin-bottom: 22px; }
.calc__lines { position: relative; z-index: 1; }
.calc__line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.calc__line span { color: var(--muted-light); }
.calc__line b { color: #fff; font-weight: 600; }
.calc__cta { margin-top: 22px; }
.calc input[type=range] { width: 100%; }

/* Author / meta ----------------------------------------------------------- */
.post-meta { display: flex; align-items: center; gap: 14px; color: var(--muted-light); font-size: .9rem; margin-top: 16px; }
.post-meta .badge { color: var(--action); background: rgba(16,224,140,.12); }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; color: var(--text); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh); color: var(--text); }
.blog-card__top { background: var(--grad); height: 8px; }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.blog-card h3 { font-size: 1.18rem; margin: 8px 0; }
.blog-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.blog-card__date { font-size: .82rem; color: var(--muted-light); margin-top: 14px; }

/* Crumbs ------------------------------------------------------------------ */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; font-size: .86rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--muted-light); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Misc -------------------------------------------------------------------- */
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .icon { width: 24px; height: 24px; color: var(--brand); flex: none; }
.contact-info b { display: block; color: var(--ink); }
.contact-info span, .contact-info a { color: var(--muted); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.price--featured { border-color: var(--brand); box-shadow: var(--sh-lg); position: relative; }
.price--featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 14px; border-radius: var(--r-pill); }
.price h3 { font-size: 1.25rem; }
.price__price { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--ink); margin: 10px 0; }
.price__price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price__desc { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.price ul { margin-bottom: 22px; flex: 1; }
.price ul li { display: flex; gap: 10px; padding: 8px 0; font-size: .94rem; color: var(--text); }
.price ul .icon { width: 20px; height: 20px; color: var(--action-700); flex: none; }

/* 404 --------------------------------------------------------------------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound h1 { font-size: clamp(4rem, 12vw, 8rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .phero--split .phero__inner { grid-template-columns: 1fr; }
  .system { grid-template-columns: 1fr 1fr; }
  .system__arrow { display: none; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .calc, .contact-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .system { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mega { display: none; }
}

/* Imagery ----------------------------------------------------------------- */
.img-banner { display: block; width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh); }
@media (max-width: 680px) { .img-banner { aspect-ratio: 16 / 9; } }

/* Case cards — photo behind the dark media panel */
.case-card__photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.case-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,22,42,.68), rgba(10,14,26,.93)); }

/* Blog card image thumbnail (replaces the gradient bar when an image exists) */
.blog-card__img { height: 188px; background-size: cover; background-position: center; }

/* Industry card with photo */
.ind-card--photo { padding: 0; overflow: hidden; }
.ind-card__img { height: 158px; background-size: cover; background-position: center; }
.ind-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ind-card--photo .ind-card__body { padding: 22px; }

/* About media */
.about-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); margin-bottom: 18px; }
.about-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
