/* ==========================================================================
   Sehli Global – service pages, About and Blog (template-service.php,
   template-about.php, home.php). Builds on sehli-pages.css and sehli-home.css.
   Each page sets its own accent colour in --acc.
   ========================================================================== */

.sgs { --acc: #EC1F26; --sgs-ink: #1B182F; }
.sgs .sg-section { padding: 88px 0; }
.sgs .sgh-head { margin-bottom: 40px; }
.sgs .sgh-kicker { color: var(--acc); }
.sgs .sgh-kicker--light { color: #FF8A8E; }
.sgs-text { font-size: 16.5px; line-height: 1.8; color: var(--sg-text); }
.sgs-text + .sgs-text { margin-top: 16px !important; }
.sgs img { max-width: 100%; height: auto; } /* width/height attributes are for layout stability only */

/* ---------- Hero (shared) ---------- */
.sgs-hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: var(--sgh-cream); }
.sgs-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.sgs-crumbs { margin-bottom: 20px; color: var(--sg-muted); }
.sgs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px !important;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc);
}
.sgs-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sgs-hero__title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.sgs-hero__title span { color: var(--acc); }
.sgs-hero__lead { margin-top: 20px !important; max-width: 620px; font-size: 17.5px; line-height: 1.75; color: var(--sg-text); }
.sgs-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.sg-btn.sgs-btn--line { border: 1.5px solid #DDD5D1; background: #fff; color: var(--sg-navy) !important; }
.sg-btn.sgs-btn--line:hover { border-color: var(--sg-navy); }
.sg-page button.sgs-elig-btn, .sg-page button.sgs-elig-btn:hover, .sg-page button.sgs-elig-btn:focus {
  width: auto !important; height: auto !important; min-height: 52px !important; margin: 0 !important; padding: 0 28px !important;
  border: 0 !important; border-radius: 6px !important; background: var(--sg-red) !important; color: #fff !important;
  font: 600 15px/1 Poppins, system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(236, 31, 38, .8) !important;
}
.sg-page button.sgs-elig-btn:hover { background: var(--sg-red-dark) !important; }
.sg-page button.sgs-elig-btn::before, .sg-page button.sgs-elig-btn::after { content: none !important; }
@media (max-width: 640px) { .sgs-hero__actions .sg-btn, .sg-page button.sgs-elig-btn { flex: 1 1 100%; width: 100% !important; } }
.sgs-hero__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--sg-navy) !important; }
.sgs-hero__phone:hover { color: var(--acc) !important; }
.sgs-hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 28px; font-size: 14px; color: var(--sg-text); }
.sgs-hero__stars { color: #F5B301; letter-spacing: 2px; font-size: 13px; }
.sgs-hero__media { position: relative; margin: 0; }
.sgs-hero__media > img { display: block; width: 100%; aspect-ratio: 14 / 11; object-fit: cover; border-radius: 26px; box-shadow: 0 40px 80px -48px rgba(27, 24, 47, .65); }
.sgs-hero__badge {
  position: absolute; left: -22px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: #fff; box-shadow: 0 24px 48px -28px rgba(27, 24, 47, .55); font-size: 13px; line-height: 1.4; color: var(--sg-text);
}
.sgs-hero__badge i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--acc); color: #fff; font-size: 16px; }
.sgs-hero__badge strong { display: block; color: var(--sg-navy); font-size: 14.5px; }
.sgs .sgs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Variant: split (Study) – light, accent blob, tilted photo */
.sgs-hero-split .sgs-hero { background: radial-gradient(ellipse 50% 70% at 100% 0%, color-mix(in srgb, var(--acc) 16%, transparent) 0%, transparent 70%), #F5F8FF; }
.sgs-hero-split .sgs-hero__media > img { transform: rotate(1.5deg); }

/* Variant: overlay (Visitor) – full-bleed photo */
.sgs-hero-overlay .sgs-hero { min-height: 640px; display: flex; align-items: center; padding: 72px 0 96px; background: #0B2E2A; }
.sgs-hero-overlay .sgs-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(95deg, rgba(6, 30, 28, .92) 0%, rgba(6, 30, 28, .72) 45%, rgba(6, 30, 28, .15) 100%); }
.sgs-hero-overlay .sgs-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); width: min(1200px, 100% - 40px); }
.sgs-hero-overlay .sgs-hero__title, .sgs-hero-overlay .sgs-hero__phone { color: #fff !important; }
.sgs-hero-overlay .sgs-hero__title span { color: #5EE6CF; }
.sgs-hero-overlay .sgs-eyebrow { color: #5EE6CF; }
.sgs-hero-overlay .sgs-hero__lead, .sgs-hero-overlay .sgs-hero__proof, .sgs-hero-overlay .sgs-crumbs, .sgs-hero-overlay .sgs-crumbs span { color: rgba(255, 255, 255, .85) !important; }
.sgs-hero-overlay .sgs-crumbs a { color: #fff !important; }

/* Variant: band (Work) – navy panel, photo cut on a diagonal */
.sgs-hero-band .sgs-hero { padding: 0; background: var(--sgs-ink); }
.sgs-hero-band .sgs-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; min-height: 600px; }
.sgs-hero-band .sgs-hero__copy { padding: 64px 48px 72px 0; align-self: center; }
.sgs-hero-band .sgs-hero__media { margin-right: calc((100vw - min(1200px, 100vw - 40px)) / -2); }
.sgs-hero-band .sgs-hero__media > img { height: 100%; aspect-ratio: auto; border-radius: 0; transform: none; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); box-shadow: none; }
.sgs-hero-band .sgs-hero__badge { left: 4%; }
.sgs-hero-band .sgs-hero__title, .sgs-hero-band .sgs-hero__phone, .sgs-hero-band .sgs-crumbs a { color: #fff !important; }
.sgs-hero-band .sgs-hero__lead, .sgs-hero-band .sgs-hero__proof, .sgs-hero-band .sgs-crumbs, .sgs-hero-band .sgs-crumbs span { color: rgba(255, 255, 255, .78) !important; }
.sgs-hero-band .sgs-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--acc); }

/* Variant: dark (Business) – deep navy, gold frame */
.sgs-hero-dark .sgs-hero { background: radial-gradient(ellipse 60% 80% at 0% 100%, rgba(201, 162, 39, .18) 0%, transparent 60%), #121022; padding: 72px 0 88px; }
.sgs-hero-dark .sgs-hero__title, .sgs-hero-dark .sgs-hero__phone, .sgs-hero-dark .sgs-crumbs a { color: #fff !important; }
.sgs-hero-dark .sgs-hero__title span, .sgs-hero-dark .sgs-eyebrow { color: #E5C454; }
.sgs-hero-dark .sgs-hero__lead, .sgs-hero-dark .sgs-hero__proof, .sgs-hero-dark .sgs-crumbs, .sgs-hero-dark .sgs-crumbs span { color: rgba(255, 255, 255, .78) !important; }
.sgs-hero-dark .sgs-hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--acc); border-radius: 26px; }
.sgs-hero-dark .sgs-hero__media > img { position: relative; }
.sgs-hero-dark .sgs-hero__badge i { background: var(--acc); color: #121022; }

/* Variant: flag (PR) – photo on top, white card overlapping */
.sgs-hero-flag .sgs-hero { padding: 280px 0 64px; background: var(--sgh-cream); }
.sgs-hero-flag .sgs-hero__bg { height: 520px; }
.sgs-hero-flag .sgs-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 520px; z-index: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(251, 247, 243, 1) 100%); }
.sgs-hero-flag .sgs-hero__grid { grid-template-columns: minmax(0, 1fr); }
.sgs-hero-flag .sgs-hero__copy { max-width: 780px; margin-left: auto; padding: 44px 48px; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -50px rgba(27, 24, 47, .6); border-top: 6px solid var(--acc); }

/* ---------- Trust bar ---------- */
.sgs-trust { background: #fff; border-top: 1px solid var(--sgh-line); border-bottom: 1px solid var(--sgh-line); }
.sgs-trust__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sgs-trust__item { display: flex; align-items: center; gap: 12px; padding: 22px 16px; font-size: 14px; color: var(--sg-text); }
.sgs-trust__item + .sgs-trust__item { border-left: 1px solid var(--sgh-line); }
.sgs-trust__item i { font-size: 20px; color: var(--acc); width: 24px; text-align: center; }
.sgs-trust__item strong { color: var(--sg-navy); font-weight: 700; }

/* ---------- Overview + facts ---------- */
.sgs-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
.sgs-intro .sgh-h2 { margin-bottom: 22px !important; }
.sgs-reviewed { margin-top: 22px !important; font-size: 13.5px; color: var(--sg-muted); }
.sgs-reviewed i { color: var(--acc); }
.sgs-facts { display: grid; gap: 14px; margin: 0 !important; padding: 0 !important; position: sticky; top: 110px; }
.sgs-facts li { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: var(--sgh-cream); border: 1px solid var(--sgh-line); }
.sgs-facts i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--acc); font-size: 18px; box-shadow: 0 10px 20px -14px rgba(27, 24, 47, .4); }
.sgs-facts strong { display: block; margin-bottom: 4px; color: var(--sg-navy); font-size: 16px; }
.sgs-facts span { font-size: 14.5px; line-height: 1.6; color: var(--sg-text); }

/* ---------- Embedded tool ---------- */
.sgs-embed { background: linear-gradient(180deg, #fff 0%, var(--sgh-cream) 100%); }
.sgs-embed .sgh-head { text-align: center; margin-inline: auto; max-width: 720px; }
.sgs-embed .sgh-h2 { margin-inline: auto; }
.sgs-embed__box { max-width: 1000px; margin: 0 auto; }

/* ---------- Option cards ---------- */
.sgs-cards { background: var(--sgh-cream); }
.sgs-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sgs-card { position: relative; padding: 30px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--sgh-line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sgs-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.sgs-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -36px rgba(27, 24, 47, .55); }
.sgs-card:hover::after { transform: scaleX(1); }
.sgs-card__n { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 600; color: #C9C2BF; }
.sgs-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); font-size: 21px; }
.sgs-card h3 { margin: 20px 0 8px !important; font-size: 18.5px; line-height: 1.35; font-weight: 600; }
.sgs-card p { font-size: 15px; line-height: 1.7; color: var(--sg-text); }

/* ---------- Process ---------- */
.sgs-steps__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0 !important; padding: 0 !important; counter-reset: none; }
.sgs-steps__list::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--acc) 0 8px, transparent 8px 16px); opacity: .45; }
.sgs-steps__list li { position: relative; }
.sgs-steps__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); color: var(--acc); font-size: 20px; font-weight: 700; }
.sgs-steps__list h3 { margin: 18px 0 8px !important; font-size: 17px; font-weight: 600; }
.sgs-steps__list p { font-size: 14.5px; line-height: 1.65; color: var(--sg-text); }

/* ---------- Documents + fees ---------- */
.sgs-docs { background: #fff; padding-top: 0 !important; }
.sgs-docs__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; padding-top: 72px; border-top: 1px solid var(--sgh-line); }
.sgs-docs__list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 26px 0 0 !important; padding: 0 !important; }
.sgs-docs__list li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--sg-navy); }
.sgs-docs__list li i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 10px; }
.sgs-note { margin-top: 22px !important; font-size: 14px; color: var(--sg-muted); }
.sgs-fees { padding: 32px; border-radius: 24px; color: #fff; background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(236, 31, 38, .35) 0%, transparent 65%), linear-gradient(150deg, #1B182F 0%, #2A2547 100%); }
.sgs-fees__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #FF8A8E; }
.sgs-fees__title { margin: 6px 0 18px !important; color: #fff !important; font-size: 24px; line-height: 1.25; font-weight: 700; }
.sgs-fees__group { margin: 18px 0 6px !important; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .08em; }
.sgs-fees ul { margin: 0 !important; padding: 0 !important; }
.sgs-fees li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.sgs-fees li strong { color: #fff; white-space: nowrap; }
.sgs-fees__note { margin-top: 14px !important; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.sgs-fees .sg-btn { margin-top: 20px; }

/* ---------- Why us ---------- */
.sgs-why { background: var(--sgh-cream); }
.sgs-why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.sgs-why__media { position: relative; margin: 0; }
.sgs-why__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.sgs-why__badge { position: absolute; right: -18px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--sgs-ink); color: rgba(255, 255, 255, .75); font-size: 13px; line-height: 1.4; }
.sgs-why__badge i { color: #FF6B70; font-size: 20px; }
.sgs-why__badge strong { display: block; color: #fff; font-size: 15px; }
.sgs-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 28px 0; }
.sgs-pillars i { color: var(--acc); font-size: 22px; }
.sgs-pillars h3 { margin: 12px 0 6px !important; font-size: 16px; font-weight: 600; }
.sgs-pillars p { font-size: 14.5px; line-height: 1.65; color: var(--sg-text); }
.sgs-never { margin-bottom: 24px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--sgh-line); }
.sgs-never h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px !important; }
.sgs-never ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 0 !important; padding: 0 !important; }
.sgs-never li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--sg-text); }
.sgs-never li i { margin-top: 3px; color: var(--sg-red); }

/* ---------- Reviews ---------- */
.sgs-reviews { background: #fff; }
.sgs-reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.sgs-rating { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: var(--sgh-cream); border: 1px solid var(--sgh-line); font-size: 14.5px; color: var(--sg-text); }
.sgs-rating__stars { color: #F5B301; letter-spacing: 2px; }
.sgs-rating strong { color: var(--sg-navy); }

/* ---------- Offices ---------- */
.sgs-local { background: var(--sgh-cream); }
.sgs-local__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.sgs-local__map { min-height: 440px; }
.sgs-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.sgs-areas__label { font-weight: 600; color: var(--sg-navy); margin-right: 4px; }
.sgs-areas a, .sgs-areas span:not(.sgs-areas__label) { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--sgh-line); font-size: 14px; color: var(--sg-navy) !important; }
.sgs-areas a:hover { border-color: var(--acc); color: var(--acc) !important; }

/* ---------- FAQ + related ---------- */
.sgs-faq { background: #fff; }
.sgs-related { background: var(--sgh-cream); padding-top: 64px !important; padding-bottom: 64px !important; }
.sgs-related__title { font-size: 22px; font-weight: 700; margin-bottom: 20px !important; }
.sgs-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sgs-related__item { position: relative; display: block; padding: 22px 52px 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--sgh-line); }
.sgs-related__item strong { display: block; color: var(--sg-navy); font-size: 17px; }
.sgs-related__item span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--sg-muted); }
.sgs-related__item i { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--sg-red); transition: transform .2s ease; }
.sgs-related__item:hover { border-color: #F3CFCF; }
.sgs-related__item:hover i { transform: translate(4px, -50%); }

/* ==========================================================================
   About
   ========================================================================== */
.sga-hero { background: radial-gradient(ellipse 50% 70% at 100% 0%, rgba(236, 31, 38, .10) 0%, transparent 65%), var(--sgh-cream); }
/* One image in the About hero; the RCIC's photo is in "Meet our RCIC" only. */
.sga-hero__media { margin: 0; }
.sga-hero__media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px; }
.sga-story__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.sga-founder { background: var(--sgs-ink); color: rgba(255, 255, 255, .8); }
.sga-founder .sgh-h2 { color: #fff; }
.sga-founder .sgs-text { color: rgba(255, 255, 255, .8); }
.sga-founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.sga-founder__photo { margin: 0; }
.sga-founder__photo img { display: block; width: 100%; aspect-ratio: 7 / 8; object-fit: cover; object-position: top; border-radius: 26px; }
.sga-founder__role { margin: 8px 0 22px !important; color: #FF8A8E; font-weight: 600; font-size: 15px; }
.sga-quote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sg-red); }
.sga-quote p { color: #fff; font-size: 20px; line-height: 1.5; font-weight: 500; }
.sga-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .6); }
.sga-values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sga-services { background: #fff; }

/* ==========================================================================
   Blog
   ========================================================================== */
.sgb-hero { background: radial-gradient(ellipse 50% 70% at 0% 100%, rgba(236, 31, 38, .08) 0%, transparent 65%), var(--sgh-cream); }
.sgb-search .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sgb-search { display: flex; max-width: 520px; margin-top: 30px; border-radius: 999px; background: #fff; border: 1px solid var(--sgh-line); box-shadow: 0 18px 36px -28px rgba(27, 24, 47, .45); overflow: hidden; }
.sgb-search input[type="search"] { flex: 1; min-width: 0; height: 56px; padding: 0 22px !important; border: 0 !important; background: transparent !important; font: 400 15px Poppins, sans-serif; color: var(--sg-navy); box-shadow: none !important; outline: none; }
.sgb-search button, .sgb-search button:hover { flex: none; width: 56px !important; height: 56px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--sg-red) !important; color: #fff !important; font-size: 16px !important; }
.sgb-cats { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--sgh-line); }
.sgb-cats .sg-wrap { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.sgb-cats a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--sgh-line); font-size: 14px; font-weight: 500; color: var(--sg-navy) !important; white-space: nowrap; }
.sgb-cats a:hover, .sgb-cats a.is-active { background: var(--sg-navy); border-color: var(--sg-navy); color: #fff !important; }
.sgb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sgb-card { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--sgh-line); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.sgb-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -36px rgba(27, 24, 47, .55); }
.sgb-card__img { display: block; aspect-ratio: 16 / 10; background: var(--sgh-cream); overflow: hidden; }
.sgb-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sgb-card:hover .sgb-card__img img { transform: scale(1.04); }
.sgb-card__ph { display: grid; place-items: center; height: 100%; color: #D6CCC8; font-size: 36px; }
.sgb-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.sgb-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 12.5px; color: var(--sg-muted); }
.sgb-card__cat { padding: 3px 10px; border-radius: 999px; background: var(--sg-red-50); color: var(--sg-red); font-weight: 600; }
.sgb-card__title { margin: 12px 0 0 !important; font-size: 18px; line-height: 1.4; font-weight: 600; }
.sgb-card__title a { color: var(--sg-navy) !important; }
.sgb-card__title a:hover { color: var(--sg-red) !important; }
.sgb-card__excerpt { margin-top: 12px !important; font-size: 15.5px; line-height: 1.7; color: var(--sg-text); }
.sgb-card__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--sg-red); }
.sgb-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sgb-card--feature .sgb-card__img { aspect-ratio: auto; min-height: 380px; }
.sgb-card--feature .sgb-card__body { justify-content: center; padding: 40px; }
.sgb-card--feature .sgb-card__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; font-weight: 700; }
.sgb-cta { display: flex; flex-direction: column; justify-content: center; padding: 32px; border-radius: 20px; color: rgba(255, 255, 255, .8); background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(236, 31, 38, .4) 0%, transparent 65%), linear-gradient(150deg, #1B182F 0%, #2A2547 100%); }
.sgb-cta > i { font-size: 28px; color: #FF6B70; }
.sgb-cta h2 { margin: 16px 0 10px !important; color: #fff !important; font-size: 22px; line-height: 1.3; font-weight: 700; }
.sgb-cta p { font-size: 15px; line-height: 1.65; margin-bottom: 22px !important; }
.sgb-cta .sg-btn { align-self: flex-start; }
.sgb-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.sgb-pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--sgh-line); font-weight: 600; color: var(--sg-navy) !important; }
.sgb-pager .page-numbers.current, .sgb-pager a.page-numbers:hover { background: var(--sg-navy); border-color: var(--sg-navy); color: #fff !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .sgs-trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sgs-trust__item:nth-child(4) { border-left: 0; }
  .sgs-trust__item:nth-child(n+4) { border-top: 1px solid var(--sgh-line); }
  .sgs-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .sgs-steps__list::before { display: none; }
  .sga-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .sgs .sg-section { padding: 64px 0; }
  .sgs-hero__grid, .sgs-hero-overlay .sgs-hero__grid, .sgs-intro__grid, .sgs-docs__grid, .sgs-why__grid, .sgs-local__grid, .sga-story__grid, .sga-founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .sgs-facts { position: static; }
  .sgs-cards__grid, .sgs-related__grid, .sgb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgs-hero-band .sgs-hero__grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .sgs-hero-band .sgs-hero__copy { padding: 56px 0 8px; }
  .sgs-hero-band .sgs-hero__media { margin: 0 -20px; }
  .sgs-hero-band .sgs-hero__media > img { aspect-ratio: 16 / 10; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .sgs-hero-flag .sgs-hero { padding-top: 220px; }
  .sgs-hero-flag .sgs-hero__bg, .sgs-hero-flag .sgs-hero::after { height: 400px; }
  .sgs-hero-overlay .sgs-hero { min-height: 0; }
  .sgs-hero__badge { left: 12px; }
  .sgs-why__badge { right: 12px; }
  .sgb-card--feature { grid-template-columns: 1fr; }
  .sgb-card--feature .sgb-card__img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .sgs .sg-section { padding: 52px 0; }
  .sgs-hero { padding: 36px 0 52px; }
  .sgs-hero__actions .sg-btn { width: 100%; }
  .sgs-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgs-trust__item { padding: 16px 10px; font-size: 13px; }
  .sgs-trust__item:nth-child(n) { border-left: 0; border-top: 1px solid var(--sgh-line); }
  .sgs-trust__item:nth-child(even) { border-left: 1px solid var(--sgh-line); }
  .sgs-trust__item:nth-child(-n+2) { border-top: 0; }
  .sgs-cards__grid, .sgs-related__grid, .sgb-grid, .sgs-steps__list, .sgs-docs__list ul, .sgs-pillars, .sgs-never ul, .sga-values__grid { grid-template-columns: 1fr; }
  .sgs-hero-flag .sgs-hero { padding-top: 180px; }
  .sgs-hero-flag .sgs-hero__bg, .sgs-hero-flag .sgs-hero::after { height: 320px; }
  .sgs-hero-flag .sgs-hero__copy { padding: 28px 22px; }
  .sgs-hero-overlay .sgs-hero::after { background: linear-gradient(180deg, rgba(6, 30, 28, .75) 0%, rgba(6, 30, 28, .92) 100%); }
  .sgs-local__map { min-height: 320px; }
  .sgb-card--feature .sgb-card__body { padding: 24px; }
  .sgs-fees { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sgs-card, .sgs-card::after, .sgb-card, .sgb-card__img img, .sgs-related__item i { transition: none !important; }
  .sgs-card:hover, .sgb-card:hover { transform: none; }
}
