/*
Theme Name: Chyshabo Portfolio
Theme URI: https://chyshabo.com
Author: Abdul Karim Shabo
Description: Portfolio and lead-generation theme for a Shopify expert. Edit text, prices, links and images in Appearance > Customize.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: chyshabo
*/
/* Self-hosted fonts (latin subset, variable) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/lora-latin.woff2) format('woff2'); }

/* =========================================================
   Abdul Karim Shabo – Portfolio
   Colors and fonts are set here. Change them once, the whole site updates.
   ========================================================= */
:root {
  --green: #15803d;        /* buttons */
  --green-hover: #166534;
  --green-bright: #22c55e; /* highlights on dark backgrounds */
  --green-soft: #ecfdf3;
  --dark: #0f1311;
  --dark-2: #171c19;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f0f5f1;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-hover: 0 2px 4px rgba(16,24,40,.06), 0 16px 40px rgba(16,24,40,.10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; border-radius: 10px; border: 2px solid transparent; padding: 12px 20px; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; font-family: inherit; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--photo { padding: 5px 20px 5px 5px; gap: 10px; border-radius: 999px; }
.btn__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center top; background: #fff; border: 2px solid rgba(255,255,255,.9); flex: none; }
.nav__links .nav__cta-mobile.btn--photo { padding: 8px 20px 8px 8px; justify-content: center; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: #fff; box-shadow: none; }
.btn--green:hover { background: var(--green-hover); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15,19,17,.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav__logo { display: flex; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff; text-decoration: none; white-space: nowrap; }
.nav__logo-img { height: 46px; width: auto; display: block; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__links .nav__cta-mobile { display: none; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1000px 500px at 85% 20%, rgba(34,197,94,.12), transparent 60%), var(--dark); color: rgba(255,255,255,.8); padding: 88px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); margin: 20px 0 20px; }
.accent { color: var(--green-bright); }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 600px; margin-bottom: 32px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__buttons--center { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.badge--dark { background: rgba(34,197,94,.12); color: var(--green-bright); border: 1px solid rgba(34,197,94,.3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero__photo { position: relative; justify-self: center; }
.photo-ring { width: min(360px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #f6c453, #f59e0b); border: 6px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.photo-ring img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; bottom: 18px; right: -8px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.3); white-space: nowrap; }

/* ---------- Trust bar ---------- */
.trust { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stats li { text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
.trust__certs { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.trust__certs b { color: var(--ink); }
.trust__link { text-align: center; margin: 0; font-size: 14px; font-weight: 600; }
.trust__link a { text-decoration: none; }
.trust__link a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid #e1e9e3; border-bottom: 1px solid #e1e9e3; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.eyebrow--light { color: var(--green-bright); }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.icon-box { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.service p { margin-bottom: 16px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 26px; margin: 0 0 9px; font-size: 14.5px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks--light li { color: rgba(255,255,255,.85); }
.checks--light li::before { background-color: rgba(34,197,94,.18); }

/* ---------- Image slots (show a neat placeholder if an image is missing) ---------- */
.img-slot { position: relative; background: linear-gradient(135deg, #e8efe9, #d5e3d8); }
.img-slot.is-missing img { opacity: 0; }
.img-slot.is-missing::after { content: "Add " attr(data-label) " in Customize"; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; font-size: 13px; font-weight: 600; color: #3f6b4d; }

/* ---------- Case studies ---------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.case:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case__img { aspect-ratio: 4/3; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case:hover .case__img img { transform: scale(1.04); }
.case__body { padding: 24px 26px 28px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.case__result { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--green); line-height: 1.2; margin: 0 0 8px; }
.case__sub { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.case__lines { margin: 14px 0 0; }
.case__lines dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-top: 12px; }
.case__lines dd { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); }
.case__quote { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--green-bright); background: var(--bg-alt); border-radius: 0 10px 10px 0; font-size: 14px; font-style: italic; color: var(--text); }
.also { text-align: center; max-width: 820px; margin: 40px auto 0; color: var(--muted); }
.also b { color: var(--ink); }

.gallery__title { text-align: center; font-family: var(--font-head); font-size: 1.5rem; margin: 64px 0 28px; }
.gallery__item { margin: 0; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__item figcaption { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 10px; }

/* ---------- Contact page ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info h3 { font-size: 1.3rem; margin: 0 0 14px; }
.contact__info p { color: var(--muted); margin: 0 0 22px; }
.contact__info ul { list-style: none; margin: 0; padding: 0; }
.contact__info li { margin-bottom: 14px; font-size: 15px; }
.contact__info li a { font-weight: 600; }
.contact__note { display: inline-block; margin-top: 22px; padding: 10px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Sub-page header (Work / Services / Pricing / Reviews / FAQ) ---------- */
#page-hero { background: var(--dark); padding: 72px 0 56px; text-align: center; }
#page-hero .eyebrow { color: var(--green-bright); }
#page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 2.9rem); margin: 10px 0 14px; }
#page-hero p { color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto; font-size: 17px; }
@media (max-width: 640px) { #page-hero { padding: 52px 0 40px; } }

/* ---------- Services carousel ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 14px; }
.carousel__viewport { overflow: hidden; flex: 1; min-width: 0; cursor: grab; touch-action: pan-y; }
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track, .carousel__track img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.carousel__track { display: flex; gap: 22px; transition: transform .45s cubic-bezier(.22,.68,0,1); will-change: transform; }
.carousel__slide { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }
.carousel__slide .card { height: 100%; }
.carousel__arrow {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; font-size: 24px; line-height: 1; color: var(--ink);
  cursor: pointer; transition: box-shadow .2s, transform .2s, opacity .2s;
}
.carousel__arrow:hover:not(:disabled) { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.carousel__arrow:disabled { opacity: .35; cursor: default; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.carousel__dot.is-active { background: var(--green); transform: scale(1.3); }

@media (max-width: 900px) {
  .carousel__slide { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
  .carousel { gap: 8px; }
  .carousel__slide { flex-basis: 100%; }
  .carousel__arrow { width: 38px; height: 38px; font-size: 20px; }
}

/* ---------- Who we help cards ---------- */
#who-we-help .card h3 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 10px; }
#who-we-help .card p { font-size: 15px; }
#who-we-help .icon-box {
  width: 68px; height: 68px; border-radius: 16px;
  border: 2px solid var(--green-bright);
}
#who-we-help .icon-box img { width: 40px; height: 40px; display: block; }@media (max-width: 900px) { #who-we-help .card h3 { font-size: 1.25rem; } }

/* ---------- Featured work marquees ---------- */
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 22px; padding: 4px 0; animation: marquee-left 38s linear infinite; }
.marquee__track--reverse { animation-name: marquee-right; }
.marquee__track img { height: 260px; width: auto; flex-shrink: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@media (max-width: 900px) { .marquee__track img { height: 190px; } }
@media (max-width: 640px) { .marquee__track img { height: 150px; } }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.price h3 { font-size: 1.05rem; margin-bottom: 12px; min-height: 2.5em; }
.price__amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; margin: 0 0 14px; }
.price__amount small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); }
.price__desc { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.price .checks { margin-bottom: 16px; }
.price__time { font-size: 13.5px; font-weight: 600; color: var(--green); margin: auto 0 18px; }
.price--featured { border: 2px solid var(--green); box-shadow: 0 20px 50px rgba(21,128,61,.16); }
.price__label { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
@media (min-width: 901px) {
  .price--featured { transform: scale(1.06); z-index: 1; }
}
.pricing__note { text-align: center; margin: 32px 0 0; color: var(--muted); }
.pricing__note a { font-weight: 600; }

/* ---------- Audit ---------- */
.audit { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 10% 10%, rgba(34,197,94,.14), transparent 60%), var(--dark); color: rgba(255,255,255,.82); padding: 84px 0 96px; }
.audit::before { content: ""; position: absolute; inset: 0; background: url(assets/lines.svg?v=3) center / cover no-repeat; opacity: 1; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, #000 45%, #000 100%); mask-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, #000 45%, #000 100%); }
.audit__grid { position: relative; display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 64px; align-items: center; }
.audit__text, .audit__form { position: relative; z-index: 1; }
.audit h1, .audit h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.audit h1 em, .audit h2 em { font-style: italic; color: var(--green-bright); }
.audit__text p { font-size: 16px; margin-bottom: 22px; max-width: 520px; }
.audit__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.audit__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #fff; }
.audit__cta { margin: 0; }
.audit__text .audit__sub { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; max-width: 500px; margin: 0 0 28px; }
.audit__logos { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 26px; padding: 9px 18px; background: #fff; border-radius: 12px; }
.audit__logos img { height: 24px; width: auto; display: block; }
@media (max-width: 640px) { .audit__logos { gap: 8px 16px; padding: 8px 14px; } .audit__logos img { height: 20px; max-width: 100%; } }
.audit__form { background: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 24px; padding: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.4); color: var(--ink); }
.audit__form-title { font-size: 1.1rem; line-height: 1.35; margin: 0 0 16px; color: var(--ink); }
.audit__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.audit__group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.audit__group legend { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 10px; }
.audit__form .field label { font-size: 13px; }
.audit__form .field input, .audit__form .field textarea { background: rgba(255,255,255,.9); border-color: #e3e6e4; }
.audit__form .field textarea { min-height: 104px; }
.req { color: #b91c1c; font-weight: 700; margin-left: 2px; }
.audit__group.has-error legend { color: #b91c1c; }
.audit__group.has-error .chip span { border-color: #f5a3a3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 16px; border: 1.5px solid #dfe3e0; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.chip:hover span { border-color: var(--green); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--green-bright); outline-offset: 2px; }
.audit__send { display: flex; align-items: center; gap: 14px; margin: 6px auto 0; padding: 8px 8px 8px 28px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; box-shadow: none; transition: background .2s, transform .2s; }
.audit__send:hover:not(:disabled) { background: var(--green-hover); transform: translateY(-2px); }
.audit__send:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }
.audit__send:disabled { opacity: .7; cursor: default; }
.audit__send-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--green); transition: transform .25s; }
.audit__send:hover:not(:disabled) .audit__send-icon { transform: translateX(3px); }
.sr-only, .field label.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Compact top section on desktop so the whole hero (text, buttons and form) fits in one screen. */
.audit__caption { display: block; }
@media (min-width: 901px) {
  .audit { padding: 30px 0 36px; }
  .audit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; }
  .audit h1 { font-size: clamp(2.4rem, 3.9vw, 3.6rem); line-height: 1.08; margin-bottom: 16px; }
  .audit__caption { margin-bottom: 14px; }
  .audit__text .audit__sub { font-size: 1.05rem; margin-bottom: 24px; max-width: 540px; }
  .audit__form { padding: 18px 20px; border-radius: 18px; }
  .audit__form-title { font-size: .95rem; margin-bottom: 10px; }
  .audit__form .field { margin-bottom: 8px; }
  .audit__form .field label { font-size: 12px; margin-bottom: 3px; }
  .audit__form .field input, .audit__form .field textarea { padding: 7px 11px; font-size: 13.5px; border-radius: 8px; }
  .audit__form .field textarea { min-height: 50px; }
  .audit__group { margin-bottom: 10px; }
  .audit__group legend { font-size: 12.5px; margin-bottom: 6px; }
  .chips { gap: 5px; }
  .chip span { padding: 5px 11px; font-size: 10.5px; letter-spacing: .04em; }
  .audit__send { margin-top: 0; padding: 5px 5px 5px 22px; font-size: 11.5px; }
  .audit__send-icon { width: 28px; height: 28px; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .audit { padding: 20px 0; }
  .audit h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); margin-bottom: 10px; }
  .audit__caption { margin-bottom: 8px; }
  .audit__text .audit__sub { font-size: .98rem; margin-bottom: 16px; }
  .audit__form { padding: 14px 18px; }
  .audit__form-title { margin-bottom: 7px; }
  .audit__form .field { margin-bottom: 6px; }
  .audit__form .field input, .audit__form .field textarea { padding: 6px 10px; }
  .audit__form .field textarea { min-height: 40px; }
  .audit__group { margin-bottom: 7px; }
  .audit__group legend { margin-bottom: 4px; }
  .chip span { padding: 5px 10px; }
  .audit__send-icon { width: 26px; height: 26px; }
}
/* Hero fills the screen down to just above the stats bar; both columns centred. */
@media (min-width: 901px) {
  .audit { min-height: calc(100vh - 91px); display: flex; align-items: center; }
  .audit .container { width: 100%; }
  .audit__grid { width: 100%; }
}
/* Taller screens: more room, so larger form content. */
@media (min-width: 901px) and (min-height: 701px) {
  .audit { padding: 40px 0; }
  .audit__form { padding: clamp(20px, 3vh, 30px) 24px; }
  .audit__form-title { font-size: 1.1rem; margin-bottom: 14px; }
  .audit__form .field { margin-bottom: 12px; }
  .audit__form .field label { font-size: 13px; }
  .audit__form .field input, .audit__form .field textarea { padding: 10px 13px; font-size: 15px; }
  .audit__form .field textarea { min-height: 72px; }
  .audit__group { margin-bottom: 14px; }
  .audit__group legend { font-size: 14px; margin-bottom: 8px; }
  .chips { gap: 7px; }
  .chip span { padding: 7px 14px; font-size: 11.5px; }
  .audit__send { padding: 6px 6px 6px 26px; font-size: 12.5px; }
  .audit__send-icon { width: 34px; height: 34px; }
}
.svc__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 30px; }
.svc__logos img { height: 34px; width: auto; display: block; }
@media (max-width: 640px) { .svc__logos { gap: 12px 22px; margin-top: 24px; } .svc__logos img { height: 26px; } }
.dd { display: none; }
@media (max-width: 640px) {
  .audit__group--dd .dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: var(--muted); cursor: pointer; }
  .audit__group--dd.has-value .dd { color: var(--ink); }
  .dd__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .dd svg { flex: none; transition: transform .2s; }
  .audit__group--dd.is-open .dd { border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,128,61,.12); }
  .audit__group--dd.is-open .dd svg { transform: rotate(180deg); }
  .audit__group--dd.has-error .dd { border-color: #f5a3a3; }
  .audit__group--dd .chips { display: none; flex-direction: column; gap: 0; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
  .audit__group--dd.is-open .chips { display: flex; }
  .audit__group--dd .chip span { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 14px; font-size: 13px; box-shadow: none; }
  .audit__group--dd .chip:last-child span { border-bottom: 0; }
  .audit__group--dd .chip span::after { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #cfd5d1; border-radius: 5px; background: #fff; }
  .audit__group--dd .chip input:checked + span { background: var(--green-soft); color: var(--green); border-color: var(--line); box-shadow: none; }
  .audit__group--dd .chip input:checked + span::after { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,128,61,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 12px 0 0; font-size: 14px; min-height: 1.2em; color: var(--muted); text-align: center; }
.form__status:empty { margin: 0; min-height: 0; }
.form__status.ok { color: var(--green); font-weight: 600; }
.form__status.err { color: #b91c1c; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.steps__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about__photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-hover); background: linear-gradient(135deg, #f6c453, #f59e0b); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { font-size: 16.5px; }
.about__facts { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 8px; }
.about__facts li { font-size: 15px; color: var(--ink); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Reviews ---------- */
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 18px; }
.verified { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }
.review blockquote { margin: 0 0 16px; font-size: 16px; color: var(--ink); flex-grow: 1; }
.review figcaption { font-size: 14px; color: var(--muted); }
.reviews + .center { margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { background: radial-gradient(800px 400px at 50% 0%, rgba(34,197,94,.14), transparent 60%), var(--dark); color: rgba(255,255,255,.8); padding: 96px 0; text-align: center; }
.final h2 { color: #fff; max-width: 760px; margin: 0 auto 14px; }
.final p { font-size: 18px; max-width: 620px; margin: 0 auto 32px; }
.contact { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.contact a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; word-break: break-word; }
.contact a:hover { color: #fff; }
.contact a span { font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: rgba(255,255,255,.55); padding: 28px 0 90px; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,10,9,.9); display: grid; place-items: center; padding: 24px; z-index: 100; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; border-radius: 12px; }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; width: 48px; height: 48px; }

/* ---------- Review cards (home carousel + Reviews page) ---------- */
#reviews-carousel .carousel__slide { display: flex; }
#reviews-carousel .rcard { box-shadow: none; border-color: #dfe7e1; }
.rcard { display: flex; flex-direction: column; width: 100%; min-height: 330px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 24px; box-shadow: var(--shadow); box-sizing: border-box; }
.rcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rcard__head h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.rcard__head .stars { font-size: 14px; letter-spacing: 1px; white-space: nowrap; padding-top: 3px; }
.rcard__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rcard blockquote { margin: 0 0 20px; flex-grow: 1; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.rcard__author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rcard__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.rcard__who { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rcard__who strong { font-size: 14.5px; color: var(--ink); }
.rcard__who span { font-size: 13px; color: var(--muted); }
.reviews-grid { align-items: stretch; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager__btn { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.pager__btn:hover { border-color: var(--green); color: var(--green); }
.pager__btn.is-current { background: var(--green); border-color: var(--green); color: #fff; }
.reviews-grid > div { display: flex; }
@media (max-width: 640px) { .rcard { padding: 22px; min-height: 0; } }

/* ---------- Services accordion ---------- */
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--green); }
.svc { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 72px; align-items: start; }
.svc__intro { position: sticky; top: 110px; }
.svc__intro h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 22px; }
.svc__intro p { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.svc__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.svc__buttons .btn { border-radius: 999px; padding: 14px 28px; }
.svc__item { border-bottom: 1px solid var(--ink); }
.svc__item:first-child { border-top: 1px solid var(--ink); }
.svc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; cursor: pointer; list-style: none; }
.svc__item summary::-webkit-details-marker { display: none; }
.svc__item summary h3 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 600; transition: color .2s; }
.svc__item summary:hover h3, .svc__item[open] summary h3 { color: var(--green); }
.svc__icon { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .25s; }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .25s, background .25s; }
.svc__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.svc__item[open] .svc__icon { background: var(--green); border-color: var(--green); }
.svc__item[open] .svc__icon::before, .svc__item[open] .svc__icon::after { background: #fff; }
.svc__item[open] .svc__icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.svc__tags { list-style: none; margin: 0; padding: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; animation: svc-in .35s ease; }
.svc__tags li { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 18px; font-size: 15px; color: var(--ink); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.svc__tags li:hover { background: var(--green); border-color: var(--green); color: #fff; }
@keyframes svc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 40px; }
  .svc__intro { position: static; }
}
@media (max-width: 640px) {
  .svc__item summary { padding: 22px 0; }
  .svc__icon { width: 38px; height: 38px; }
  .svc__tags li { padding: 7px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .svc__tags { animation: none; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { row-gap: 30px; }
}

@media (max-width: 900px) {
  .nav__links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--dark); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 16px; }
  .nav__links .nav__cta-mobile { display: flex; margin-top: 16px; border: 0; padding: 14px; color: #fff; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero__photo { order: -1; }
  .photo-ring { width: min(240px, 60vw); }
  .photo-badge { right: 50%; transform: translateX(50%); bottom: -14px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }

  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .audit__grid, .about { grid-template-columns: 1fr; gap: 40px; }  .about__photo { max-width: 360px; margin: 0 auto; }
  .section, .audit, .final { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav__logo { font-size: 17px; }
  .nav__logo-img { height: 40px; }
  .hero__buttons .btn { width: 100%; }
  .badge { font-size: 12px; padding: 6px 12px; }
  .price h3 { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:last-child { grid-column: 1 / -1; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  #who-we-help .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card, .review { padding: 24px; }
  .audit__form { padding: 28px 22px; }
  .audit__row { grid-template-columns: 1fr; }
  .chip span { padding: 7px 13px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer nav { justify-content: center; }
  .contact { flex-direction: column; align-items: center; }
}

/* Work page hero: fits one screen on desktop, text and video centred */
.whero { background: var(--dark); padding: 28px 0; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); }
.whero .container { width: 100%; }
.whero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.whero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; }
.whero h1 em { font-style: normal; color: var(--green-bright); }
.whero p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 520px; margin: 0; }
.whero__video { display: flex; justify-content: center; align-items: center; }
.whero__video video { display: block; width: min(100%, calc(100vh - 125px)); width: min(100%, calc(100svh - 125px)); aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; background: #e9ecf1; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
@media (max-width: 900px) {
  .whero { padding: 44px 0; min-height: 0; }
  .whero__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .whero p { margin: 0 auto; }
  .whero .audit__logos { margin-left: auto; margin-right: auto; }
  .whero__video video { width: min(100%, 440px); border-radius: 18px; }
}
/* Services page: categories with flip cards */
.svcx { margin-bottom: 64px; }
.svcx:last-child { margin-bottom: 0; }
.svcx__label { margin: 0 0 20px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.svcx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svcx__card { position: relative; background: #fff; perspective: 1200px; -webkit-user-select: none; user-select: none; caret-color: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; min-height: 236px; }
.svcx__card:focus-visible { outline: 3px solid var(--green-bright); outline-offset: -3px; z-index: 3; }
.svcx__inner { display: grid; width: 100%; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4, .2, .2, 1); }
.svcx__front, .svcx__back { grid-area: 1 / 1; padding: 34px 32px; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: background .25s ease; }
.svcx__front { position: relative; background: #fff; }
.svcx__back { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; background: var(--dark); transform: rotateY(180deg); visibility: hidden; transition: visibility 0s .3s; }
.svcx__card.is-flipped .svcx__inner { transform: rotateY(180deg); }
.svcx__card.is-flipped .svcx__back { visibility: visible; transition-delay: 0s; }
.svcx__front h3, .svcx__back h3 { margin: 8px 0 10px; font-size: 1.28rem; line-height: 1.25; color: var(--ink); transition: color .25s; }
.svcx__front p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); transition: color .25s; }
.svcx__num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); transition: color .25s; }
.svcx__arrow { position: absolute; right: 26px; bottom: 20px; font-size: 20px; line-height: 1; color: var(--green); opacity: .35; transition: opacity .25s, transform .25s, color .25s; }
.svcx__card:not(.is-flipped):hover .svcx__front { background: var(--dark); }
.svcx__card:not(.is-flipped):hover .svcx__front h3 { color: #fff; }
.svcx__card:not(.is-flipped):hover .svcx__front p { color: rgba(255,255,255,.78); }
.svcx__card:not(.is-flipped):hover .svcx__num, .svcx__card:not(.is-flipped):hover .svcx__arrow { color: var(--green-bright); }
.svcx__card:not(.is-flipped):hover .svcx__arrow { opacity: 1; transform: translate(3px, -3px); }
.svcx__back h3 { color: #fff; margin: 4px 0 18px; }
.svcx__back .svcx__num { color: var(--green-bright); }
.svcx__book { box-shadow: none; }
.svcx__hint { margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.svcx__fill { background: var(--bg-alt); }
@media (max-width: 1000px) {
  .svcx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcx__fill { display: none; }
  .svcx__card:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .svcx { margin-bottom: 44px; }
  .svcx__grid { grid-template-columns: 1fr; }
  .svcx__card { min-height: 0; }
  .svcx__front, .svcx__back { padding: 26px 22px 30px; }
  .svcx__book { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .svcx__inner, .svcx__front, .svcx__back { transition: none; } }

/* Mobile header: "Book a free call" always visible next to the menu button. */
@media (max-width: 900px) {
  .nav__inner { gap: 10px; }
  .nav__cta { display: inline-flex; margin-left: auto; padding: 4px 14px 4px 4px; font-size: 13px; gap: 8px; }
  .nav__cta .btn__avatar { width: 30px; height: 30px; }
  .nav__links .nav__cta-mobile { display: none; }
  .nav__toggle { flex: none; }
}
@media (max-width: 400px) {
  .nav__logo-img { height: 36px; }
  .nav__cta { padding: 9px 12px; font-size: 12.5px; }
  .nav__cta .btn__avatar { display: none; }
}
/* Mobile menu: contact links */
.nav__extra { display: none; }
@media (max-width: 900px) {
  .nav__links { max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav__extra { display: block; margin-top: 8px; padding-top: 6px; }
  .nav__links .nav__extra a { display: block; padding: 12px 0; border-bottom: 0; font-size: 15px; font-weight: 600; color: var(--green-bright); }
  .nav__links .nav__extra a span { display: inline-block; min-width: 22px; margin-right: 6px; color: rgba(255,255,255,.85); font-weight: 500; }
  .nav__note { display: inline-block; margin-top: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(34,197,94,.14); color: var(--green-bright); font-size: 14px; font-weight: 600; }
}
/* Home carousel: keep very long reviews to a fixed height (full text is on the Reviews page). */


/* Review cards: identical size, 5-line preview, "Read more" popup */
.reviews-grid > div { display: flex; }
.rcard { min-height: 0; height: 100%; }
.rcard__head { min-height: 3.1em; }
.rcard blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; flex-grow: 0; min-height: calc(5 * 1.65em); margin: 0 0 10px; }
.rcard__more { align-self: flex-start; margin: 0 0 18px; padding: 0; background: none; border: 0; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rcard__more:hover { color: var(--green-hover); }
.rcard__author { margin-top: auto; }
.rmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.rmodal[hidden] { display: none; }
.rmodal__backdrop { position: absolute; inset: 0; background: rgba(6,11,8,.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.rmodal__box { position: relative; width: min(680px, 100%); max-height: min(86vh, 760px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 38px 38px 32px; box-shadow: 0 30px 80px rgba(0,0,0,.45); outline: none; }
.rmodal__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.rmodal__close:hover { background: var(--green-soft); color: var(--green); }
.rmodal__body h3 { margin: 0 44px 8px 0; font-size: 1.4rem; line-height: 1.3; }
.rmodal__body .stars { display: block; margin-bottom: 18px; font-size: 16px; letter-spacing: 1px; }
.rmodal__body blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.75; color: var(--text); display: block; min-height: 0; }
.rmodal__body .rcard__author { margin-top: 0; }
body.is-modal-open { overflow: hidden; }
@media (max-width: 640px) { .rmodal { padding: 12px; } .rmodal__box { padding: 30px 22px 24px; border-radius: 18px; } .rmodal__body blockquote { font-size: 16px; } }
.reviews-grid { grid-auto-rows: 1fr; }

/* Start-your-project click feedback */
.audit__form.is-pulse { animation: formPulse 1.4s ease-out; }
@keyframes formPulse { 0% { box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 0 rgba(34,197,94,.75); } 60% { box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 14px rgba(34,197,94,0); } 100% { box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .audit__form.is-pulse { animation: none; } }

/* Button text: capitalize every word */
.btn, .nav__cta, .audit__send, .rcard__more, .svcx__book, .chip span, .dd, .dd__text, .rmodal__close { text-transform: capitalize; }
.audit__send { letter-spacing: .02em; font-size: 15px; }
.chip span { letter-spacing: .02em; font-size: 13px; }
/* Service pages */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: rgba(255,255,255,.9); }
.svcpage__lead { font-size: 1.15rem; line-height: 1.75; color: var(--text); margin: 0; }
.svcpage__note { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 28px auto 0; }
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link h3 { color: var(--ink); margin: 0 0 8px; }
.card--link .card__more { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 600; font-size: 14px; }
.card--link:hover .card__more { text-decoration: underline; }

/* Footer columns */
.footer__top { display: grid; grid-template-columns: 1.15fr 1.5fr 1.15fr .8fr; gap: 40px; padding-bottom: 28px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__name { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0 0 10px !important; }
.footer__brand p { line-height: 1.6; margin: 0 0 12px; max-width: 340px; }
.footer__title { color: #fff; font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col--services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer__inner { justify-content: flex-start; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer__col--services ul { grid-template-columns: 1fr; }
  .footer__inner { text-align: left; }
}
.footer nav.footer__col { display: block; }

/* Services page: every card links to its own page */
.svcx__tile { position: relative; display: block; background: #fff; text-decoration: none; min-height: 236px; -webkit-tap-highlight-color: transparent; outline: none; }
.svcx__tile:focus-visible { outline: 3px solid var(--green-bright); outline-offset: -3px; z-index: 3; }
.svcx__tile .svcx__front { min-height: 236px; }
.svcx__more { position: absolute; left: 32px; bottom: 22px; font-size: 13.5px; font-weight: 600; color: var(--green); transition: color .25s, transform .25s; }
.svcx__tile:hover .svcx__front { background: var(--dark); }
.svcx__tile:hover .svcx__front h3 { color: #fff; }
.svcx__tile:hover .svcx__front p { color: rgba(255,255,255,.78); }
.svcx__tile:hover .svcx__num, .svcx__tile:hover .svcx__more { color: var(--green-bright); }
.svcx__tile:hover .svcx__more { transform: translateX(3px); }
.svcx__front { padding-bottom: 56px; }
.svcx__overview { margin-left: 12px; font-size: 12.5px; letter-spacing: .04em; text-transform: none; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.svcpage__meta { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .svcx__tile:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .svcx__tile, .svcx__tile .svcx__front { min-height: 0; } .svcx__more { left: 22px; } }
.svc__tags li:has(a) { padding: 0; }
.svc__tags li a { display: block; padding: 8px 18px; color: inherit; text-decoration: none; }
@media (max-width: 640px) { .svc__tags li a { padding: 7px 14px; } }
.svc__tags li:hover a { color: #fff; }

/* Service pages: client-voice sections */
#page-hero .svcpage__hook { max-width: 740px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); }
.svcpage__proof { margin: 26px auto 0; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.55); }
#page-hero .svcpage__proof { font-size: 13px; color: rgba(255,255,255,.55); }
.pain { display: flex; flex-direction: column; gap: 10px; }
.pain .pain__q { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.4; font-weight: 700; color: var(--ink); font-style: italic; margin: 0; }
.pain__label { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.outlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.outlist li { position: relative; padding: 16px 18px 16px 52px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--ink); }
.outlist li::before { content: "\2713"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; display: grid; place-items: center; }
.svcpage__begin { background: var(--dark); border-radius: 24px; padding: 44px 40px; text-align: center; color: rgba(255,255,255,.8); }
.svcpage__begin .eyebrow { color: var(--green-bright); }
.svcpage__begin h2 { color: #fff; margin: 6px 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.svcpage__begin p { max-width: 620px; margin: 0 auto 26px; font-size: 17px; line-height: 1.7; }
@media (max-width: 640px) { .outlist { grid-template-columns: 1fr; } .svcpage__begin { padding: 32px 22px; border-radius: 18px; } #page-hero .svcpage__hook { font-size: 16.5px; } }
#page-hero p.svcpage__proof { margin: 32px auto 0; }
@media (max-width: 640px) { #page-hero p.svcpage__proof { margin-top: 26px; } }

/* ============ Free tools ============ */
.tools__intro { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 17px; }
.tool-card__tag { display: inline-block; margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.tools-band { background: var(--dark); }
.tools-band .eyebrow { color: var(--green-bright); }
.tools-band h2 { color: #fff; }
.tools-band .tools__intro { color: rgba(255,255,255,.7); }
.tools-band .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.tools-band .card h3 { color: #fff; }
.tools-band .card p { color: rgba(255,255,255,.68); }
.tools-band .card--link:hover { background: rgba(255,255,255,.08); }
.tools-band .card__more, .tools-band .tool-card__tag { color: var(--green-bright); }

.tool { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.tool__panel { padding: 34px 34px 28px; }
.tool__bar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.tool__h { margin: 0; font-size: 1.25rem; font-family: var(--font-head); color: var(--ink); }
.tool__curlabel { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tool__curlabel select { font: inherit; font-size: 14px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.tool__fields { display: grid; gap: 16px; }
.tool__field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.tool__field small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.tool__input { position: relative; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.tool__input:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,128,61,.12); }
.tool__input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 14px; color: var(--ink); outline: none; -moz-appearance: textfield; }
.tool__input input::-webkit-outer-spin-button, .tool__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tool__pre, .tool__suf { padding: 0 0 0 14px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.tool__suf { padding: 0 14px 0 0; }
.tool__actions { margin-top: 22px; }
.tool__btn { padding: 9px 18px; font-size: 14px; }

.tool__out { background: var(--dark); color: rgba(255,255,255,.85); padding: 34px 34px 28px; display: flex; flex-direction: column; }
.tool__outhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tool__out .tool__h { color: #fff; }
.tool__copy { background: transparent; color: var(--green-bright); border: 1px solid rgba(34,197,94,.45); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tool__copy:hover { background: rgba(34,197,94,.12); }
.tool__verdict { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; background: rgba(255,255,255,.06); border-left: 4px solid rgba(255,255,255,.3); display: grid; gap: 4px; }
.tool__verdict strong { color: #fff; font-size: 15px; }
.tool__verdict span { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.75); }
.tool__verdict.is-good { border-left-color: var(--green-bright); }
.tool__verdict.is-warn { border-left-color: #fbbf24; }
.tool__verdict.is-bad { border-left-color: #f87171; }
.tool__big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.tool__stat { background: rgba(255,255,255,.05); border-radius: 12px; padding: 14px 16px; }
.tool__stat--big:only-child { grid-column: 1 / -1; }
.tool__stat dt, .tool__row dt { font-size: 12.5px; color: rgba(255,255,255,.62); margin: 0 0 4px; line-height: 1.35; }
.tool__stat dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.85rem); color: #fff; line-height: 1.15; word-break: break-word; }
.tool__stat.is-good dd, .tool__row.is-good dd { color: var(--green-bright); }
.tool__stat.is-warn dd, .tool__row.is-warn dd { color: #fbbf24; }
.tool__stat.is-bad dd, .tool__row.is-bad dd { color: #f87171; }
.tool__stat small, .tool__row small { display: block; margin-top: 4px; font-size: 11.5px; color: rgba(255,255,255,.5); }
.tool__list { margin: 0; display: grid; }
.tool__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 2px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.tool__row dt { margin: 0; }
.tool__row dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }
.tool__cta { margin-top: auto; padding-top: 24px; }
.tool__cta p { margin: 0 0 12px; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.55; }
.tool__disclaimer { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.tool__group { border: 0; padding: 0; margin: 0 0 20px; }
.tool__group legend { padding: 0; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.tool__check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; font-size: 15px; line-height: 1.45; color: var(--ink); transition: border-color .2s, background .2s; }
.tool__check:hover { border-color: var(--green); }
.tool__check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.tool__check:has(input:checked) { background: var(--green-soft); border-color: var(--green); }
.tool__score { text-align: center; padding: 8px 0 20px; }
.tool__scorenum { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 4.2rem); font-weight: 700; line-height: 1; color: #fff; }
.tool__score.is-good .tool__scorenum { color: var(--green-bright); }
.tool__score.is-warn .tool__scorenum { color: #fbbf24; }
.tool__score.is-bad .tool__scorenum { color: #f87171; }
.tool__scorelab { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.75); }
.tool__bars { display: grid; gap: 12px; margin-bottom: 20px; }
.tool__bartop { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; color: rgba(255,255,255,.85); }
.tool__track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.tool__track i { display: block; height: 100%; border-radius: 999px; transition: width .4s ease; }
.tool__track i.is-good { background: var(--green-bright); }
.tool__track i.is-warn { background: #fbbf24; }
.tool__track i.is-bad { background: #f87171; }
.tool__missh { margin: 4px 0 10px; font-size: 14px; color: #fff; font-family: var(--font); }
.tool__miss { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tool__miss li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: rgba(255,255,255,.05); border-radius: 10px; }
.tool__miss a { color: #fff; text-decoration: underline; text-decoration-color: rgba(34,197,94,.6); text-underline-offset: 3px; font-size: 14px; }
.tool__miss small { color: rgba(255,255,255,.5); font-size: 12px; }
.tool__more { margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }

.tool__h2 { margin: 6px 0 14px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.tool__ul, .tool__ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 10px; color: var(--text); line-height: 1.65; }
.tool__formula { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.tool__formula li { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: var(--ink); line-height: 1.5; }
.tool__example { background: var(--green-soft); border: 1px solid #cfe9d9; border-radius: 14px; padding: 20px 22px; }
.tool__example strong { color: var(--green); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.tool__example p { margin: 8px 0 0; color: var(--ink); line-height: 1.7; }

@media (max-width: 900px) {
  .tool { grid-template-columns: 1fr; }
  .tool__panel, .tool__out { padding: 26px 22px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tool__big { grid-template-columns: 1fr; }
  .tool__stat dd { font-size: 1.5rem; }
  .tool { border-radius: 18px; }
}
/* ============ Free tools: redesigned pages ============ */
.thero#page-hero { padding: 64px 0 150px; text-align: left; position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(34,197,94,.16), transparent 60%), var(--dark); }
.thero--hub#page-hero { padding-bottom: 90px; }
.thero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; }
.thero .crumbs--left { justify-content: flex-start; margin-bottom: 22px; }
.thero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.4); color: var(--green-bright); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.thero__pill svg { width: 18px; height: 18px; }
.thero#page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; max-width: 16em; }
.thero#page-hero p { margin: 0; max-width: 620px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; }
.thero#page-hero .thero__proof { margin-top: 20px; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.5); }
.thero__art-wrap { display: flex; justify-content: center; }
.thero__art { width: min(100%, 340px); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }

.tool-section { position: relative; z-index: 2; margin-top: -96px; padding: 0 0 56px; }
.tool { box-shadow: 0 30px 80px rgba(15,19,17,.22); border-color: rgba(21,128,61,.25); }
.tool__detect { display: grid; gap: 18px; }
.tool__go { width: 100%; }
.tool__detect .tool__input input { font-size: 17px; padding: 15px 16px; }

.tool-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; flex: none; }
.tool-ico svg { width: 22px; height: 22px; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; background: #fff; border: 1px solid #cfe3d6; border-radius: 20px; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,19,17,.12); border-color: var(--green); }
.tcard h3 { margin: 6px 0 0; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.tcard p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.tcard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--green); }
.tcard__go span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; line-height: 1; }
.section--alt .tcard { background: #fff; }
.tools-band .tcard { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.tools-band .tcard:hover { background: rgba(255,255,255,.09); border-color: var(--green-bright); }
.tools-band .tcard h3 { color: #fff; }
.tools-band .tcard p { color: rgba(255,255,255,.68); }
.tools-band .tcard__go { color: var(--green-bright); }

.tool__num { margin: 0 0 22px; font-size: clamp(1.5rem, 3vw, 2rem); }
.tool__num span { color: var(--green); margin-right: 6px; }
.tool__steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.tool__steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; line-height: 1.6; color: var(--ink); }
.tool__stepn { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; }
.tool__sub { margin: 0 0 14px; font-size: 1.15rem; }
.tool__defs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool__defs div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tool__defs dt { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.tool__defs dd { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.tool__who { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tool__who li { position: relative; padding: 14px 16px 14px 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); line-height: 1.55; }
.tool__who li::before { content: "\2713"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; display: grid; place-items: center; }
.tool__chips { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool__chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13.5px; }

@media (max-width: 900px) {
  .thero__grid { grid-template-columns: 1fr; }
  .thero__art-wrap { display: none; }
  .thero#page-hero { padding: 48px 0 130px; }
  .thero--hub#page-hero { padding-bottom: 60px; }
  .tool-section { margin-top: -84px; }
  .tool__defs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .thero#page-hero p { font-size: 16.5px; }
  .tcard { padding: 22px 20px; }
}

/* Tool inputs: two per row */
.tool__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; align-items: start; }
.tool__field label { min-height: 2.6em; display: flex; align-items: flex-end; line-height: 1.3; }
@media (max-width: 640px) {
  .tool__fields { gap: 14px 10px; }
  .tool__field label { font-size: 13px; }
  .tool__field small { font-size: 11.5px; line-height: 1.35; }
  .tool__input input { padding: 12px 8px; }
  .tool__pre { padding-left: 10px; font-size: 14px; }
  .tool__suf { padding-right: 10px; font-size: 14px; }
}
@media (max-width: 359px) { .tool__fields { grid-template-columns: 1fr; } .tool__field label { min-height: 0; } }
/* ============ Blog ============ */
.tool-ico--lg { width: 54px; height: 54px; }
.tool-ico--lg svg { width: 26px; height: 26px; }
.thero--blog#page-hero { text-align: center; padding: 64px 0 64px; background: radial-gradient(900px 420px at 50% -20%, rgba(34,197,94,.2), transparent 65%), var(--dark); }
.thero--blog#page-hero h1 { max-width: none; margin: 0 auto 14px; }
.thero--blog#page-hero p { margin: 0 auto; }
.thero--blog .crumbs { justify-content: center; margin-bottom: 18px; }
.bsearch { position: relative; max-width: 560px; margin: 28px auto 0; }
.bsearch input { width: 100%; font: inherit; font-size: 16px; padding: 15px 54px 15px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; outline: none; }
.bsearch input::placeholder { color: rgba(255,255,255,.55); }
.bsearch input:focus { border-color: var(--green-bright); background: rgba(255,255,255,.12); }
.bsearch button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bsearch button svg { width: 20px; height: 20px; }
.bchips { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bchips a { display: inline-block; padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: background .2s, border-color .2s; }
.bchips a:hover, .bchips a.is-on { background: var(--green); border-color: var(--green); color: #fff; }

.bfeat { margin-bottom: 34px; }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #d5e6db; border-radius: 20px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,19,17,.12); border-color: var(--green); }
.bcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bcard:hover .bcard__img img { transform: scale(1.04); }
.pcover { width: 100%; height: 100%; display: grid; place-items: center; }
.pcover__ico { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.pcover__ico svg { width: 40px; height: 40px; }
.bcard__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.bcard h3 { margin: 2px 0 0; font-size: 1.2rem; line-height: 1.3; }
.bcard h3 a { color: var(--ink); text-decoration: none; }
.bcard h3 a:hover { color: var(--green); }
.bcard p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.btag { align-self: flex-start; display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.btag--light { background: rgba(34,197,94,.15); color: var(--green-bright); border: 1px solid rgba(34,197,94,.35); margin-bottom: 16px; }
.bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.bmeta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.bmeta--light { color: rgba(255,255,255,.65); justify-content: flex-start; margin-top: 18px; font-size: 13.5px; }
.bcard--big { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 24px; }
.bcard--big .bcard__img { aspect-ratio: auto; min-height: 320px; }
.bcard--big .bcard__body { padding: 34px 34px; justify-content: center; gap: 14px; }
.bcard--big h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.bcard--big p { font-size: 16.5px; flex: 0; }
.bpromo { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1.5px dashed #86c9a0; border-radius: 18px; background: var(--green-soft); text-decoration: none; color: inherit; }
.bpromo__t { display: grid; gap: 2px; flex: 1; }
.bpromo__t strong { color: var(--ink); font-size: 1.05rem; }
.bpromo__t span { color: var(--muted); font-size: 14px; }
.bpromo--side { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 10px; }
.bpromo--side strong { color: var(--ink); font-size: 1.05rem; }
.bpromo--side > span:not(.btn) { color: var(--muted); font-size: 14px; line-height: 1.55; }

.navigation.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* article */
.thero--post#page-hero { padding: 56px 0 54px; text-align: left; background: radial-gradient(900px 360px at 20% -30%, rgba(34,197,94,.18), transparent 65%), var(--dark); }
.thero--post .crumbs { justify-content: flex-start; margin-bottom: 20px; }
.thero--post#page-hero h1 { max-width: 20em; font-size: clamp(2rem, 4.4vw, 2.9rem); margin: 0; }
.post { padding-top: 40px; }
.post__cover { margin: 0 0 40px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.post__cover img { width: 100%; height: auto; }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.post__main { min-width: 0; max-width: 760px; }
.post-content { font-size: 18px; line-height: 1.85; color: #2b3440; }
.post-content .lead { font-size: 1.3rem; line-height: 1.7; color: var(--ink); }
.post-content p { margin: 0 0 1.3em; }
.post-content h2 { margin: 2.1em 0 .6em; font-size: clamp(1.5rem, 2.8vw, 1.95rem); line-height: 1.25; scroll-margin-top: 90px; }
.post-content h3 { margin: 1.6em 0 .5em; font-size: 1.25rem; }
.post-content ul, .post-content ol { margin: 0 0 1.4em; padding-left: 1.3em; display: grid; gap: .55em; }
.post-content li { padding-left: .2em; }
.post-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.post-content a:hover { color: var(--green-hover); }
.post-content strong { color: var(--ink); }
.post-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--green); background: var(--green-soft); border-radius: 0 12px 12px 0; font-style: italic; }
.post-content .callout { margin: 1.8em 0; padding: 22px 26px; background: var(--green-soft); border: 1px solid #cfe9d9; border-left: 5px solid var(--green); border-radius: 14px; }
.post-content .callout > strong { display: block; margin-bottom: 6px; color: var(--green); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.post-content .callout p { margin: 0; font-size: 1rem; line-height: 1.7; }
.post-content img { border-radius: 14px; margin: 1.4em 0; }
.post__toc { padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.post__toc strong, .post__toc summary { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.post__toc ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: t; }
.post__toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.4; }
.post__toc a:hover { color: var(--green); border-left-color: var(--green); }
.post__toc--mobile { display: none; margin-bottom: 28px; }
.post__toc--mobile summary { cursor: pointer; list-style: none; }
.post__side { position: sticky; top: 90px; display: grid; gap: 18px; }
.post__cta { padding: 22px; background: var(--dark); color: rgba(255,255,255,.8); border-radius: 18px; }
.post__cta strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.post__cta p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.post__faq { margin-top: 2.4em; }
.post__faq h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
.post__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2.4em 0 1.2em; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post__share a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.post__share a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.post__author { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--bg-alt); border-radius: 16px; }
.post__author strong { color: var(--ink); }
.post__author p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.post__logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; }

@media (max-width: 1000px) {
  .post__grid { grid-template-columns: 1fr; gap: 36px; }
  .post__side { position: static; }
  .post__side .post__toc { display: none; }
  .post__toc--mobile { display: block; }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard--big { grid-template-columns: 1fr; }
  .bcard--big .bcard__img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .bgrid { grid-template-columns: 1fr; }
  .bcard--big .bcard__body { padding: 22px; }
  .post-content { font-size: 17px; line-height: 1.8; }
  .bpromo { flex-wrap: wrap; }
  .thero--blog#page-hero { padding: 48px 0 48px; }
}

/* Blog cover ratio matches the 1200x630 cover images */
.bcard__img { aspect-ratio: 1200 / 630; }
.bcard--big { align-items: center; }
.bcard--big .bcard__img { aspect-ratio: 1200 / 630; min-height: 0; }
@media (max-width: 1000px) { .bcard--big .bcard__img { aspect-ratio: 1200 / 630; } }

/* Article tables and inline code */
.post-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92rem; line-height: 1.5; display: block; overflow-x: auto; }
.post-content th, .post-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-content th { background: var(--green-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.post-content code { padding: 2px 6px; background: #eef3ef; border-radius: 6px; font-size: .88em; color: #14532d; word-break: break-word; }
.post-content h3 { color: var(--ink); }
.post-content .post-note { margin: 0 0 1.6em; padding: 12px 16px; background: #f4f6f4; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.post-content .btn { text-decoration: none; color: #fff; }
.post-content .btn:hover { color: #fff; }

/* Tool stack calculator + embeds */
.tool__stack { display: grid; gap: 18px; margin-bottom: 22px; }
.tool__sgroup { border: 0; padding: 0; margin: 0; }
.tool__sgroup legend { padding: 0; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.tool__srow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 6px; background: #fff; transition: border-color .2s, background .2s; }
.tool__srow:has(input[data-on]:checked) { border-color: var(--green); background: var(--green-soft); }
.tool__srow > input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.tool__srow label { font-size: 14.5px; color: var(--ink); cursor: pointer; line-height: 1.35; margin: 0; }
.tool__sprice { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 13.5px; }
.tool__sprice input { width: 64px; border: 0; background: transparent; font: inherit; font-size: 14px; text-align: right; color: var(--ink); outline: none; -moz-appearance: textfield; }
.tool__sprice input::-webkit-outer-spin-button, .tool__sprice input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tool__fields--stack { padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-embed { margin: 2em 0; }
.tool-embed .tool { grid-template-columns: 1fr; box-shadow: var(--shadow); }
/* embedded tools stay inside the article column */
.tool-embed .tool__panel, .tool-embed .tool__out { padding: 26px 24px; }
.post-content .tool-embed h2 { margin: 0; scroll-margin-top: 0; font-size: 1.25rem; }
.post-content .tool-embed .tool__disclaimer { margin-top: 10px; }
@media (max-width: 640px) { .tool__srow { grid-template-columns: auto minmax(0, 1fr); } .tool__sprice { grid-column: 2; justify-self: start; } .tool__fields--stack { grid-template-columns: 1fr; } }
/* Footer polish: four even columns, one service list */
.footer__top { grid-template-columns: 1.35fr 1fr 1fr .8fr; gap: 44px; align-items: start; }
.footer__col--services ul { grid-template-columns: 1fr; gap: 10px; }
.footer__col ul { gap: 10px; }
.footer__col li a { display: inline-block; line-height: 1.4; }
.footer__col li a strong { color: #fff; }
.footer__brand p { max-width: 300px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 28px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }