/* ==========================================================
   TechDigitalPro — Clean Premium Editorial Theme
   2026-08-25
   Visual-only redesign. Existing pages, content, pricing,
   slugs, metadata and functionality remain unchanged.
   ========================================================== */

:root {
  --paper: #ffffff;
  --card: #ffffff;
  --ink: #0b1220;
  --ink-2: #111827;
  --ink-3: #1f2937;
  --line: #e5e7eb;
  --line-dark: #d1d5db;
  --indigo: #1457d9;
  --violet: #1457d9;
  --cyan: #0f7490;
  --mint: #0f8a65;
  --amber: #b7791f;
  --text-1: #101828;
  --text-2: #526070;
  --text-3: #7b8794;
  --text-inv-1: #101828;
  --text-inv-2: #667085;
  --grad: #1457d9;
  --grad-soft: #f2f6ff;
  --shadow-1: 0 1px 2px rgba(16,24,40,.03);
  --shadow-2: 0 16px 40px rgba(16,24,40,.08);
  --shadow-3: 0 28px 70px rgba(16,24,40,.12);
  --glow: none;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --header-h: 74px;
}

html { background: #fff; }
body {
  background: #fff;
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.7;
}
::selection { background: #dce8ff; color: #0b1220; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #f6f7f9; }
::-webkit-scrollbar-thumb { background: #c6ccd5; border: 2px solid #f6f7f9; border-radius: 999px; }

.container { width: min(1240px, calc(100% - 48px)); }
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: #f7f9fc !important; color: #101828 !important; }
.section-dark .section-head h2,
.section-dark h2,
.section-dark h3 { color: #101828 !important; }
.section-dark .section-head p,
.section-dark p { color: #5d6978 !important; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .brand { font-family: var(--font-display); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head h2 {
  margin: 16px 0 14px;
  color: #0b1220;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.section-head p { color: #667085; font-size: 17px; line-height: 1.75; }
.eyebrow {
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1457d9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #1457d9;
  box-shadow: none;
}
.grad-text {
  color: #1457d9;
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  box-shadow: none;
  transform: none;
}
.btn::after { display: none !important; }
.btn-primary {
  background: #0b1220;
  border: 1px solid #0b1220;
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  background: #1457d9;
  border-color: #1457d9;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20,87,217,.18);
}
.btn-dark { background: #0b1220; color: #fff; }
.btn-dark:hover { background: #1b2638; transform: translateY(-1px); }
.btn-ghost,
.btn-ghost-inv {
  background: #fff;
  border: 1px solid #d7dce3;
  color: #253044;
  backdrop-filter: none;
}
.btn-ghost:hover,
.btn-ghost-inv:hover {
  background: #f7f9fc;
  border-color: #aeb7c4;
  color: #0b1220;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  height: var(--header-h);
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e7eaf0;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.scrolled {
  background: rgba(255,255,255,.98);
  border-bottom-color: #dfe3ea;
  box-shadow: 0 8px 28px rgba(16,24,40,.055);
}
.header-inner { gap: 28px; }
.brand {
  gap: 10px;
  color: #0b1220;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1457d9;
  box-shadow: none;
  font-size: 16px;
}
.brand span em { color: #1457d9; }
.main-nav { gap: 2px; }
.main-nav > a,
.nav-drop > button {
  padding: 9px 12px;
  border-radius: 7px;
  color: #4f5d6f;
  font-size: 14px;
  font-weight: 500;
}
.main-nav > a:hover,
.nav-drop > button:hover,
.main-nav > a.active {
  background: #f4f6f9;
  color: #0b1220;
}
.nav-drop > button svg { width: 13px; height: 13px; }
.drop-menu {
  top: calc(100% + 14px);
  width: 620px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 14px;
  box-shadow: 0 26px 65px rgba(15,23,42,.13);
}
.drop-link {
  border-radius: 10px;
  padding: 12px;
}
.drop-link:hover { background: #f6f8fb; }
.drop-link strong { color: #111827; }
.drop-link span span { color: #7a8595; }
.drop-ico { border-radius: 8px; background: #f3f6fb; }
.nav-toggle { background: #fff; border: 1px solid #d9dee6; color: #0b1220; border-radius: 9px; }

/* ---------- Mobile navigation ---------- */
.mobile-menu { background: #fff; color: #0b1220; }
.mobile-menu-head { border-bottom: 1px solid #e8ebef; }
.mobile-close { color: #111827; border-color: #d9dee6; border-radius: 9px; }
.mobile-menu nav > a,
.mobile-group > button {
  color: #111827;
  border-bottom-color: #edf0f3;
}
.mobile-sub { background: #f7f9fc; border-radius: 10px; }
.mobile-sub a { color: #5f6b7a; }
.mobile-sub a:hover { color: #1457d9; }

/* ---------- Homepage hero ---------- */
.hero {
  position: relative;
  background: #fff;
  color: #0b1220;
  border-bottom: 1px solid #e9edf2;
  overflow: hidden;
}
.hero::before,
.hero::after { display: none; }
.hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 10px;
  background: #f5f7fa;
  border: 1px solid #e5e9ef;
  border-radius: 7px;
  color: #526070;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: none;
}
.hero-badge .pulse { background: #0f8a65; box-shadow: 0 0 0 4px rgba(15,138,101,.10); }
.hero h1 {
  color: #0b1220;
  font-size: clamp(46px, 5.25vw, 68px);
  font-weight: 590;
  line-height: .99;
  letter-spacing: -.055em;
  max-width: 760px;
}
.hero p.lead {
  max-width: 690px;
  color: #5b6878;
  font-size: 17px;
  line-height: 1.72;
}
.hero-actions { gap: 10px; }
.hero-proof { gap: 10px; margin-top: 24px; }
.proof-pill {
  max-width: 260px;
  padding: 11px 12px;
  background: transparent;
  border: 1px solid #e3e7ed;
  border-radius: 9px;
}
.proof-pill b { color: #1d2939; font-size: 12.5px; font-weight: 600; }
.proof-pill span { color: #788493; font-size: 11.5px; line-height: 1.45; }
.hero-visual {
  position: relative;
  height: 468px;
}
.hero-visual::before {
  content: '';
  display: block;
  position: absolute;
  width: 72%;
  height: 70%;
  right: -22px;
  top: -24px;
  background: #eef4ff;
  border-radius: 16px;
  z-index: 0;
}
.hero-photo-shell { position: relative; height: 100%; z-index: 1; }
.hero-photo-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 15px;
  box-shadow: 0 24px 64px rgba(15,23,42,.12);
  overflow: hidden;
}
.hero-photo-card img {
  width: 100%;
  height: calc(100% - 54px);
  object-fit: cover;
  border-radius: 0;
}
.hero-photo-card figcaption {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 9px 15px;
  border-top: 1px solid #edf0f3;
  color: #6d7887;
  font-size: 11.5px;
  line-height: 1.45;
}
.hero-stats {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #e1e5eb;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
}
.hero-stat {
  padding: 14px 16px;
  background: #fff;
  color: #111827;
  border: 0;
  border-right: 1px solid #e9edf2;
  border-radius: 0;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat:hover { background: #f8fafc; transform: none; }
.hero-stat b { color: #0b1220; font-size: 20px; font-weight: 600; }
.hero-stat span { color: #7a8594; font-size: 11.5px; }

@media (min-width: 981px) {
  .hero:not(.hero-page) {
    min-height: 100svh;
    max-height: 100svh;
    padding: calc(var(--header-h) + 26px) 0 28px;
    display: flex;
    align-items: center;
  }
  .hero:not(.hero-page) .hero-grid { min-height: 0; }
  .hero:not(.hero-page) .hero-visual { height: min(46vh, 460px); min-height: 350px; }
  .hero:not(.hero-page) .hero-stats { margin-top: 20px; }
  .hero:not(.hero-page) .hero-badge { margin-bottom: 16px; }
  .hero:not(.hero-page) .hero-copy .lead { margin-bottom: 23px; }
}
@media (min-width: 981px) and (max-height: 780px) {
  .hero:not(.hero-page) h1 { font-size: clamp(40px, 4.6vw, 56px); }
  .hero:not(.hero-page) .hero-visual { height: 330px; min-height: 300px; }
  .hero:not(.hero-page) .hero-proof { display: none; }
  .hero:not(.hero-page) .hero-stats { margin-top: 14px; }
}

/* ---------- Interior/service heroes ---------- */
.hero-page {
  padding: calc(var(--header-h) + 66px) 0 76px;
  background: #fff;
  border-bottom: 1px solid #e9edf2;
}
.hero-page .hero-inner.has-media {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, 1.04fr);
  gap: 70px;
  align-items: center;
  text-align: left;
}
.hero-page h1 {
  color: #0b1220;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 590;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.hero-page .lead { color: #5b6878; }
.hero-page .hero-page-copy .hero-actions,
.hero-page .hero-page-copy .hero-chips { justify-content: flex-start; }
.hero-page .hero-chips { margin-top: 24px; }
.hero-page .hero-chips span {
  padding: 8px 10px;
  background: #f7f9fb;
  border: 1px solid #e3e7ec;
  border-radius: 7px;
  color: #5c6877;
  box-shadow: none;
}
.hero-page .hero-chips b { color: #111827; }
.hero-page-media {
  position: relative;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 15px;
  box-shadow: 0 22px 60px rgba(15,23,42,.10);
  overflow: hidden;
}
.hero-page-media::before {
  content: '';
  position: absolute;
  inset: 14px auto auto 14px;
  width: 58px;
  height: 3px;
  background: #1457d9;
  border-radius: 999px;
  z-index: 2;
}
.hero-page-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0;
}
.hero-page-media figcaption {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #edf0f3;
  color: #7a8594;
  font-size: 11.5px;
  line-height: 1.4;
}

/* ---------- Trust strip ---------- */
.trust-bar {
  background: #f8fafc;
  color: #5c6877;
  border-block: 1px solid #e8ecf1;
}
.trust-bar span { font-size: 12.5px; }
.trust-bar span::before { background: #1457d9; }

/* ---------- Service cards ---------- */
.svc-grid { gap: 16px; }
.svc-card {
  position: relative;
  padding: 25px;
  background: #fff;
  border: 1px solid #e1e6ec !important;
  border-radius: 12px;
  box-shadow: none !important;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: #1457d9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: #cad2dc !important;
  box-shadow: 0 14px 38px rgba(15,23,42,.075) !important;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-ico { border-radius: 9px !important; box-shadow: none !important; }
.svc-card h3 { color: #111827; font-weight: 600; letter-spacing: -.025em; }
.svc-card p { color: #667085; line-height: 1.65; }
.svc-meta { border-top-color: #eef1f4; }
.svc-price { color: #667085; }
.svc-price b { color: #0b1220; }
.svc-link { color: #1457d9; font-weight: 600; }

/* ---------- Feature / info cards ---------- */
.feat-grid,
.info-grid,
.compact-info-grid { gap: 16px; }
.feat-card,
.info-card {
  background: #fff;
  border: 1px solid #e2e6ec !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.feat-card { padding: 28px; }
.feat-card:hover,
.info-card:hover { box-shadow: 0 12px 34px rgba(15,23,42,.06) !important; border-color: #cfd6de !important; }
.feat-ico {
  background: #eef4ff;
  color: #1457d9;
  border-radius: 9px;
  box-shadow: none;
}
.feat-card h3,
.info-card h3 { color: #111827; font-weight: 600; letter-spacing: -.02em; }
.feat-card p,
.info-card p { color: #667085; }
.compact-info-grid { grid-template-columns: repeat(3, 1fr); }
.compact-info-grid .info-card { background: #f9fafb; }

/* ---------- Pricing ---------- */
.price-grid { gap: 16px; }
.price-card {
  background: #fff;
  border: 1px solid #e0e5eb !important;
  border-radius: 12px;
  box-shadow: none !important;
  overflow: hidden;
}
.price-card.featured {
  border-color: #9cb8ee !important;
  box-shadow: 0 0 0 3px #edf3ff !important;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: #c7d0da !important;
  box-shadow: 0 14px 36px rgba(15,23,42,.07) !important;
}
.pc-top { border-bottom-color: #edf0f3; background: #fbfcfd; }
.price-name { color: #111827; font-weight: 600; }
.price-qty { color: #667085; }
.price-val { color: #0b1220; font-weight: 650; letter-spacing: -.035em; }
.price-per { color: #7a8594; }
.price-feats li { color: #596675; }
.price-feats li::before { color: #0f8a65; }
.price-group { margin-bottom: 52px; }
.price-group-head { border-bottom-color: #e5e9ef; }
.price-group-head h3 { color: #111827; }
.price-range-note { background: #f7f9fb; border: 1px solid #e4e8ed; color: #667085; }

/* ---------- Process / steps ---------- */
.steps { gap: 16px; }
.step {
  background: #fff;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  box-shadow: none;
}
.step::before { background: #1457d9; color: #fff; box-shadow: none; }
.step h3 { color: #111827; font-weight: 600; }
.step p { color: #667085; }

/* ---------- CTA ---------- */
.cta-band {
  margin-inline: auto;
  width: min(1240px, calc(100% - 48px));
  background: #0b1220;
  color: #fff;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after { display: none; }
.cta-band h2,
.cta-band h3 { color: #fff !important; }
.cta-band p { color: #c5ceda !important; }
.cta-band .btn-primary { background: #fff; border-color: #fff; color: #0b1220; }
.cta-band .btn-primary:hover { background: #eaf1ff; border-color: #eaf1ff; color: #0b1220; }
.cta-band .btn-ghost,
.cta-band .btn-ghost-inv { background: transparent; border-color: #445063; color: #fff; }
.cta-band .btn-ghost:hover,
.cta-band .btn-ghost-inv:hover { background: rgba(255,255,255,.07); border-color: #69758a; color: #fff; }

/* ---------- Article content ---------- */
.prose {
  max-width: 860px;
  color: #344054;
  background: #fff;
}
.prose .article-title,
.prose > h2.article-title {
  margin: 0 0 18px;
  color: #0b1220;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.article-deck {
  margin-bottom: 34px !important;
  padding: 18px 20px;
  background: #f7f9fc;
  border: 1px solid #e2e7ed;
  border-left: 3px solid #1457d9;
  border-radius: 9px;
  color: #536171 !important;
  font-size: 16.5px !important;
  line-height: 1.72 !important;
}
.prose h2 { color: #111827; font-size: 27px; font-weight: 600; letter-spacing: -.025em; }
.prose h3 { color: #253044; font-weight: 600; }
.prose p,
.prose li { color: #526070; font-size: 15.5px; line-height: 1.78; }
.prose a { color: #1457d9; text-decoration-color: #b8cdf6; }

/* ---------- Breadcrumbs ---------- */
.crumbs { color: #7c8796; }
.crumbs a { color: #5e6a78; }
.crumbs a:hover { color: #1457d9; }

/* ---------- Forms / checkout ---------- */
.form-card,
.order-summary,
.contact-info,
.contact-tile {
  background: #fff !important;
  border: 1px solid #e0e5eb !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.form-card { padding: 30px; }
.field label { color: #344054; font-weight: 600; }
input,
select,
textarea {
  background: #fff !important;
  border: 1px solid #d5dbe3 !important;
  border-radius: 8px !important;
  color: #101828 !important;
  box-shadow: none !important;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6e9bf0 !important;
  box-shadow: 0 0 0 3px rgba(20,87,217,.10) !important;
}
.order-summary { background: #f8fafc !important; }
.os-row { border-bottom-color: #e8ecf1; }
.os-total { color: #0b1220; }
.os-note { color: #667085; }
.os-note a { color: #1457d9; }
.contact-tile:hover { border-color: #c7d0da !important; }
.ct-ico { background: #eef4ff; color: #1457d9; border-radius: 9px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid #e5e9ef; }
.faq-item { border-bottom: 1px solid #e5e9ef; }
.faq-q { color: #111827; }
.faq-q:hover { color: #1457d9; }
.faq-a { color: #667085; }

/* ---------- Floating support ---------- */
.chat-widget { z-index: 925; gap: 8px; }
.chat-btn {
  border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(15,23,42,.15);
}
.chat-label { background: #0b1220; color: #fff; border-radius: 7px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 96px;
  background: #fff;
  color: #667085;
  border-top: 1px solid #e3e7ec;
}
.site-footer::before { display: none; }
.footer-cta-strip { border-bottom-color: #e6e9ee; }
.footer-cta-strip h3,
.footer-col h4 { color: #111827; }
.footer-brand p { color: #697586; }
.footer-social a {
  background: #fff;
  border: 1px solid #dce1e8;
  color: #596675;
  border-radius: 8px;
}
.footer-social a:hover { background: #0b1220; border-color: #0b1220; color: #fff; box-shadow: none; }
.footer-col a:hover,
.footer-bottom a:hover { color: #1457d9; }
.footer-bottom { border-top-color: #e6e9ee; }
.site-footer .brand { color: #0b1220; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > a,
  .nav-drop > button { padding-inline: 9px; }
}

@media (max-width: 980px) {
  .container { width: min(100% - 40px, 1240px); }
  .hero:not(.hero-page) {
    min-height: 0;
    max-height: none;
    padding: calc(var(--header-h) + 58px) 0 68px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: clamp(42px, 8vw, 58px); }
  .hero-visual { height: min(65vw, 480px); max-width: 720px; margin: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid #e9edf2; }
  .hero-page .hero-inner.has-media { grid-template-columns: 1fr; gap: 38px; }
  .hero-page-media { max-width: 760px; }
  .hero-page-media img { height: min(55vw, 400px); }
  .compact-info-grid { grid-template-columns: 1fr; }
  .cta-band { width: min(100% - 40px, 1240px); }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { width: min(100% - 28px, 1240px); }
  .section { padding: 68px 0; }
  .section-sm { padding: 54px 0; }
  .site-header { height: var(--header-h); }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .mobile-menu { padding-inline: 18px; }
  .hero:not(.hero-page) { padding-top: calc(var(--header-h) + 42px); }
  .hero h1 { font-size: clamp(37px, 11vw, 48px); line-height: 1.02; }
  .hero p.lead { font-size: 15.5px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof { display: grid; grid-template-columns: 1fr; width: 100%; }
  .proof-pill { max-width: none; }
  .hero-visual { height: 350px; width: 100%; }
  .hero-visual::before { right: -8px; top: -12px; }
  .hero-photo-card img { height: calc(100% - 58px); }
  .hero-stats { margin-top: 20px; }
  .hero-stat { padding: 12px 10px; }
  .hero-stat b { font-size: 17px; }
  .hero-stat span { font-size: 10.8px; }
  .hero-page { padding: calc(var(--header-h) + 40px) 0 56px; }
  .hero-page h1 { font-size: clamp(35px, 10.5vw, 47px); }
  .hero-page-media img { height: 250px; }
  .hero-page .hero-chips span { font-size: 11px; }
  .svc-card,
  .feat-card,
  .form-card { padding: 21px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 32px; }
  .prose .article-title,
  .prose > h2.article-title { font-size: 29px; }
  .prose h2 { font-size: 23px; }
  .article-deck { padding: 15px 16px; font-size: 15.5px !important; }
  .cta-band { width: min(100% - 28px, 1240px); border-radius: 13px; }
  .site-footer { margin-top: 68px; }
}

/* ===== Service-relevant downloaded photography ===== */
.hero-photo-collage { background:#f7f9fc; }
.hero-photo-collage .hero-collage-grid {
  height: calc(100% - 54px);
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap:8px;
  padding:8px;
  background:#f7f9fc;
}
.hero-photo-collage .hero-collage-main { grid-row:1 / 3; min-width:0; overflow:hidden; border-radius:10px; }
.hero-photo-collage .hero-collage-small { min-width:0; overflow:hidden; border-radius:10px; }
.hero-photo-collage img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:0;
}
.hero-photo-collage .hero-collage-main img { object-position:center 32%; }
.hero-photo-collage .hero-collage-small:first-of-type img { object-position:center; }
.hero-photo-collage .hero-collage-small:last-of-type img { object-position:center 40%; }

@media (max-width: 640px) {
  .hero-photo-collage .hero-collage-grid { grid-template-columns: 1.18fr .82fr; gap:6px; padding:6px; }
  .hero-photo-collage figcaption { font-size:10.5px; }
}


/* ---------- Service-specific hero image badges ---------- */
.hero-service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px 8px 8px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  color: #111827;
  font-size: 12px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.hero-service-badge strong { font-weight: 700; letter-spacing: -.01em; }
.hero-service-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  overflow: hidden;
}
.hero-service-icon svg { width: 23px; height: 23px; display: block; }
.hero-service-icon.gmail,.hero-service-icon.outlook,.hero-service-icon.youtube { background:#fff; border:1px solid #e6e8ee; }
.hero-service-icon.yahoo { background:#6001D2; color:#fff; font-size:16px; font-weight:800; }
.hero-service-icon.aol { background:#1B49F5; color:#fff; font-size:11px; font-weight:800; }
.hero-service-icon.icloud { background:linear-gradient(135deg,#3FA9F5,#1D7CE9); }
.hero-service-icon.voice { background:#0F9D58; }
@media (max-width: 640px) {
  .hero-service-badge { top: 12px; right: 12px; padding: 6px 9px 6px 6px; font-size: 11px; }
  .hero-service-icon { width: 27px; height: 27px; flex-basis: 27px; border-radius: 7px; }
  .hero-service-icon svg { width: 20px; height: 20px; }
}
