/*
 * Client Websites — additions to the original stylesheet (site.css stays unchanged).
 * Everything is scoped to client pages (.client-page / client-* classes) and uses the original
 * design tokens (--line, --card, --muted, --accent, --radius, --mono, --display, --ease).
 */

/* hero: phone screen without the original meters */
.client-photo-initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--display);
  font-size: 46px;
  color: #fff;
}
.phone-photo img {
  display: block;
}
.client-phone-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.client-phone-list li {
  border-top: 1px solid var(--line);
  padding-top: 6px;
}

/* hero: introduction card (reuses .award-card) */
.client-intro .award-text {
  text-align: left;
}
.client-intro .award-caption {
  margin: 0;
}
.client-hero-btn {
  margin-top: 20px;
}

/* skills */
.client-page .skill {
  min-height: 0;
  gap: 12px;
}
.client-skill-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* services: price, button and optional image */
.client-service-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.client-price {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
}
.client-service-btn {
  padding: 8px 16px;
  font-size: 13px;
}
.client-service-img {
  justify-self: end;
  width: 96px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.client-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.85);
  transition: filter 0.5s;
}
.service:hover .client-service-img img {
  filter: none;
}
@media (max-width: 860px) {
  .service.client-service-has-img {
    grid-template-columns: 60px 1fr 64px;
  }
  .client-service-img {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: start;
    width: 64px;
  }
}

/* portfolio */
.project-media img {
  display: block;
}
.client-project-link {
  margin-top: 4px;
  width: fit-content;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.client-project-link:hover {
  color: var(--text);
}

/* gallery */
.client-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.client-gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.client-gallery-media {
  aspect-ratio: 4 / 3;
  background: #111;
  overflow: hidden;
}
.client-gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) brightness(0.75);
  transition: transform 1s var(--ease), filter 0.5s;
}
.client-gallery-item:hover .client-gallery-media img {
  filter: none;
  transform: scale(1.06);
}
.client-gallery-item figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
}

/* testimonials: photo avatar */
.client-avatar-img {
  overflow: hidden;
  padding: 0;
}
.client-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* location */
.client-location {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.client-address {
  margin: 0;
  max-width: 640px;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  white-space: pre-line;
}

/* header logo image */
.client-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.client-logo img {
  height: 28px;
  width: auto;
  border-radius: 6px;
}

/* contact without a form (Phase 3) */
.client-contact-grid {
  grid-template-columns: 1fr;
}

/* hero headings scale with their length (client names and headings vary; the original was
   sized for a short two-line name). --client-hl / --client-hw = characters on the longest line. */
.client-page .hero-name {
  font-size: clamp(36px, min(10.5vw, calc(64vw / var(--client-hl, 8))), 170px);
}
.client-page .hero-word {
  font-size: clamp(40px, min(8.5vw, calc(40vw / var(--client-hw, 8))), 150px);
}
@media (max-width: 860px) {
  .client-page .hero-name {
    font-size: clamp(30px, calc(175vw / var(--client-hl, 8)), 96px);
  }
  .client-page .hero-word {
    font-size: clamp(32px, calc(150vw / var(--client-hw, 8)), 20vw);
  }
}

/* ================================================================ Hero variants
   One shared template: only the hero changes. "tech" = the original 3D-phone hero. */
.client-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---- Variant 2: Professional Profile ---- */
.hero.client-hero-profile {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.client-portrait {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(460px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent), #8a1d00);
  box-shadow: 0 40px 120px #000c, inset 0 0 0 1px #ffffff1a;
  animation: fade 1.2s var(--ease) forwards;
}
.client-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.05);
}
.client-portrait .client-photo-initials {
  font-size: 96px;
}
.client-portrait-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(#0a0a0ad9, #000000f2);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 600;
}
.client-profile-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.client-profile-copy .pill {
  margin-bottom: 24px;
}
.client-profile-name {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
  font-size: clamp(44px, 6.4vw, 112px);
  margin: 0;
}
.client-profile-heading {
  margin: 18px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
}
.client-profile-intro {
  margin: 14px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.client-profile-tags {
  margin-top: 28px;
}

/* ---- Variant 3: Corporate Premium ---- */
.hero.client-hero-corporate {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 32px;
}
.client-corp-brand {
  grid-column: 1 / -1;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.client-corp-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.client-corp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.client-corp-mark {
  font-family: var(--display);
  font-size: 22px;
  background: linear-gradient(135deg, var(--accent), #8a1d00);
}
.client-corp-name {
  font-size: 18px;
  font-weight: 700;
}
.client-corp-tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.client-page .client-corp-title {
  grid-area: auto;
  grid-column: 1;
  align-self: center;
  font-size: clamp(40px, min(9vw, calc(110vw / var(--client-hl, 8))), 150px);
}
.client-corp-intro {
  grid-column: 2;
  z-index: 2;
  align-self: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.client-corp-intro p {
  margin: 0;
}
.client-corp-highlights {
  grid-column: 1 / -1;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
}
.client-corp-highlights li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 8px 0;
}
.client-corp-highlights li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.client-corp-highlights strong {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1;
}
.client-corp-highlights .client-price {
  width: fit-content;
}

@media (max-width: 860px) {
  .hero.client-hero-profile,
  .hero.client-hero-corporate {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .client-portrait {
    width: min(340px, 86vw);
  }
  .client-page .client-corp-title,
  .client-corp-intro {
    grid-column: 1;
  }
  .client-page .client-corp-title {
    font-size: clamp(36px, calc(175vw / var(--client-hl, 8)), 88px);
  }
  .client-corp-highlights li,
  .client-corp-highlights li + li {
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ================================================================ Phase 4A: social icons and
   floating contact buttons. Icons are inline SVG (no icon CDN). */
.client-icon {
  width: 16px;
  height: 16px;
  flex: none;
  display: block;
}
.client-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.client-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.client-social-icons a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}
.client-social-icons a:hover {
  background: var(--text);
  color: #000;
}
.client-social-icons .client-icon {
  width: 18px;
  height: 18px;
}
.client-socials a:focus-visible,
.client-social-icons a:focus-visible,
.client-float:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* floating WhatsApp / Messenger: above the page, below the header (50) and the mobile menu (45) */
.client-floating {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.3s, visibility 0.3s;
}
.client-float {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 30px #0009, inset 0 0 0 1px #ffffff26;
  transition: transform 0.3s var(--ease);
}
.client-float .client-icon {
  width: 28px;
  height: 28px;
}
.client-float:hover {
  transform: translateY(-2px) scale(1.04);
}
/* brand-like colours, dark enough for a white icon (≥ 3:1) */
.client-float-whatsapp {
  background: #0b7a52;
}
.client-float-messenger {
  background: #0866ff;
}
/* Mobile menu text contrast (client pages only — client.css is never loaded by the main website).
   site.css colours the menu links with --dim (#3a3a3a ≈ 1.8:1 on the #050505 overlay) and only
   brightens them on :hover, which phones do not have. Here they are readable without hover
   (#d4d4d4 ≈ 13:1; the /01 numbers keep --muted #8a8a8a ≈ 5.9:1), all three designs alike. */
.menu .menu-list a {
  color: #d4d4d4;
}
.menu .menu-list a:hover,
.menu .menu-list a:focus-visible {
  color: var(--text);
}
.menu .menu-list a:focus-visible,
.menu .menu-foot a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
/* never cover the open mobile menu */
body.menu-open .client-floating {
  opacity: 0;
  visibility: hidden;
}
/* keep the footer (and its "Back to top" link) clear of the buttons: taller than the stack of
   two buttons (2 × 56 + 12 gap + 16 offset = 140 px) */
body.client-has-floating .footer {
  padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 860px) {
  .client-float {
    width: 52px;
    height: 52px;
  }
  .client-float .client-icon {
    width: 26px;
    height: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-float,
  .client-floating {
    transition: none;
  }
  .client-float:hover {
    transform: none;
  }
}
@media print {
  .client-floating {
    display: none;
  }
}

/* ================================================================ Phase 4B: exact location + map */
.client-location-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  flex: 1 1 320px;
}
.client-office-name {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.client-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* with a map: text column + map side by side on wide screens, stacked on phones */
.client-location.client-location-has-map {
  align-items: stretch;
}
.client-map {
  flex: 1 1 420px;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}
.client-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* the dark site around a light map: soften it a little */
  filter: grayscale(0.2);
}
@media (max-width: 860px) {
  .client-map {
    flex-basis: 100%;
    aspect-ratio: 4 / 3;
  }
  .client-location-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ================================================================ Phase 4C: appointment request form */
.client-appointment-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(22px, 4vw, 44px);
  display: grid;
  gap: 18px;
}
.client-appt-intro {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.client-appt-notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff0a;
  font-size: 15px;
  line-height: 1.5;
}
.client-appointment-form {
  display: grid;
  gap: 18px;
}
.client-appt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.client-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.client-field-wide {
  grid-column: 1 / -1;
}
.client-field label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.client-req {
  color: var(--accent);
}
.client-field input,
.client-field select,
.client-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* 16px stops iPhone from zooming into the field */
  color-scheme: dark;
}
.client-field textarea {
  resize: vertical;
  min-height: 110px;
}
.client-field input:focus-visible,
.client-field select:focus-visible,
.client-field textarea:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.client-field [aria-invalid="true"] {
  border-color: #ff6b6b;
}
/* Phase 2: fields clearly visible before focus; example text light gray and italic */
.client-field input,
.client-field select,
.client-field textarea {
  border-color: #ffffff4d;
  background: #121216;
}
.client-field input:hover,
.client-field select:hover,
.client-field textarea:hover {
  border-color: #ffffff80;
}
.client-field input::placeholder,
.client-field textarea::placeholder {
  color: #8f8f99;
  font-style: italic;
  opacity: 1;
}
.client-field-hint {
  font-size: 13px;
  color: var(--muted);
}
.client-appt-privacy {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.client-appt-submit {
  width: fit-content;
}
.client-appt-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.client-appt-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 15px;
  line-height: 1.5;
}
.client-appt-status.is-success {
  color: #7ee2a8;
}
.client-appt-status.is-error {
  color: #ff9a9a;
}
/* honeypot: off-screen for people, still in the form for bots */
.client-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 860px) {
  .client-appt-grid {
    grid-template-columns: 1fr;
  }
  .client-appt-submit {
    width: 100%;
    justify-content: center;
  }
}

/* demo website label (settings.demo): a small fixed label at the bottom left (the header is fixed
   at the top and the chat/WhatsApp buttons sit at the bottom right) */
.client-demo-banner{position:fixed;left:12px;bottom:12px;z-index:60;display:flex;gap:8px;align-items:center;max-width:calc(100% - 120px);padding:6px 12px 6px 6px;border-radius:999px;background:#fef3c7;color:#422006;font-size:13px;line-height:1.3;box-shadow:0 2px 10px #0006}
.client-demo-banner strong{flex:none;padding:2px 8px;border-radius:999px;background:#422006;color:#fef3c7;font-size:11px;letter-spacing:.06em;text-transform:uppercase}

/* =====================================================================================
   1CAW Phase 3 — navigation that always works, on every client website
   ===================================================================================== */
/* a jump from the menu or a button lands BELOW the fixed header (height measured by client-nav.js) */
.client-page section[id] {
  scroll-margin-top: calc(var(--client-header-h, 76px) + 12px);
}
/* "Back to top" reaches the very top of the page */
main#top {
  scroll-margin-top: 100vh;
}
/* a section that receives the keyboard focus after a menu jump shows no box */
.client-page section[tabindex="-1"]:focus {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* desktop: when the menu does not fit on one line, use the menu button (no wrapped, tall header) */
@media (min-width: 920px) {
  body.client-nav-compact .topnav {
    display: none;
  }
  body.client-nav-compact .burger {
    display: block;
  }
  body.client-nav-compact .menu {
    display: flex;
  }
  body.client-nav-compact .menu-list,
  body.client-nav-compact .menu-foot {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Premium menu (phones, and compact desktop): readable rounded cards on deep navy, no icons */
body.client-site .menu {
  background: linear-gradient(165deg, #0d1426 0%, #0a0f1c 55%, #07090f 100%);
  padding: calc(var(--client-header-h, 72px) + 16px) 16px calc(24px + env(safe-area-inset-bottom, 0px));
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.client-site .menu .menu-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
body.client-site .menu .menu-list a {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a2234 0%, #121827 100%);
  box-shadow: inset 0 1px 0 #ffffff14, 0 2px 0 #04060b, 0 8px 18px #00000059;
  color: #e9edf6;
  font-family: var(--body);
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
  transition: background 0.2s, border-color 0.2s, transform 0.12s, box-shadow 0.12s;
}
html[lang="bn"] body.client-site .menu .menu-list a {
  line-height: 1.55; /* Bengali vowel signs need more room */
}
/* the decorative "/01" numbers are not shown in this design */
body.client-site .menu .menu-list a span {
  display: none;
}
body.client-site .menu .menu-list a:hover {
  background: linear-gradient(180deg, #212b41 0%, #172033 100%);
  border-color: #ffffff33;
  color: #fff;
}
body.client-site .menu .menu-list a:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px #00000066;
}
/* the section in view: soft electric-blue edge */
body.client-site .menu .menu-list a[aria-current="true"] {
  border-color: #3b82f6;
  background: linear-gradient(180deg, #1c2f57 0%, #142242 100%);
  box-shadow: inset 3px 0 0 #60a5fa, 0 2px 0 #04060b, 0 8px 18px #00000059;
  color: #fff;
}
body.client-site .menu .menu-list a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}
body.client-site .menu .menu-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ffffff14;
}
/* desktop menu: the section in view */
body.client-site .topnav a[aria-current="true"] {
  color: var(--text);
  background: #ffffff14;
}
@media (prefers-reduced-motion: reduce) {
  body.client-site .menu .menu-list a {
    transition: none;
  }
  body.client-site .menu .menu-list a:active {
    transform: none;
  }
}

/* Bengali client websites (html lang="bn", detected from the page's own text): letter-spacing made
   for Latin capitals breaks Bengali conjuncts and vowel signs, and tight line heights clip them */
html[lang="bn"] body.client-site * {
  letter-spacing: normal;
}
html[lang="bn"] body.client-site :is(h1, h2, h3, .hero-name, .section-title) {
  line-height: 1.3;
}
html[lang="bn"] body.client-site :is(p, li, .client-address) {
  line-height: 1.7;
}

/* 1CAW: on phones the floating buttons and the AI launcher cover less of the page. The launcher
   always shows the complete approved design (same proportions), only smaller; while the visitor
   scrolls down to read it shrinks a little more (client-nav.js), and grows back on scroll up. */
@media (max-width: 480px) {
  .client-floating {
    gap: 10px;
  }
  .client-float {
    width: 46px;
    height: 46px;
  }
  .client-float .client-icon {
    width: 24px;
    height: 24px;
  }
}

/* ================================================================ 1CAW Phase 3: professional 3D
   social icons (classic designs). Brand colours, raised round buttons, a soft highlight on top and a
   darker edge below; hover lifts a little, a tap presses in. Only configured accounts are shown. */
.client-social {
  --s-top: #3a4252;
  --s-bottom: #232936;
  --s-edge: #11151d;
  --s-ink: #fff;
}
.client-social-facebook { --s-top: #3b8cff; --s-bottom: #1466e0; --s-edge: #0b47a3; }
.client-social-instagram { --s-top: #f04d8b; --s-bottom: #b7279c; --s-edge: #7a1a69; }
.client-social-whatsapp { --s-top: #3ee07a; --s-bottom: #1fae57; --s-edge: #127a3b; }
.client-social-youtube { --s-top: #ff3b3b; --s-bottom: #d40d0d; --s-edge: #8f0909; }
.client-social-linkedin { --s-top: #2381e0; --s-bottom: #0a5cb3; --s-edge: #063f7c; }
.client-social-tiktok { --s-top: #2a2a2e; --s-bottom: #050506; --s-edge: #000; }
.client-social-x { --s-top: #2a2a2e; --s-bottom: #050506; --s-edge: #000; }
.client-social-threads { --s-top: #2a2a2e; --s-bottom: #050506; --s-edge: #000; }
.client-social-telegram { --s-top: #3fb7ef; --s-bottom: #1b8dcc; --s-edge: #11618e; }
.client-social-messenger { --s-top: #3c8bff; --s-bottom: #8a3cf7; --s-edge: #4b20a0; }
.client-social-pinterest { --s-top: #f0283c; --s-bottom: #bd0018; --s-edge: #800010; }
.client-social-snapchat { --s-top: #fffb5c; --s-bottom: #f2e200; --s-edge: #b3a700; --s-ink: #111; }
.client-social-phone { --s-top: #22b8e6; --s-bottom: #0a8fc0; --s-edge: #066283; }
.client-social-email { --s-top: #6b7a90; --s-bottom: #4a586c; --s-edge: #2c3644; }
.client-social-website,
.client-social-custom { --s-top: #4b5568; --s-bottom: #2f3746; --s-edge: #1a1f29; }

/* round icon buttons (header menu, footer) */
.client-social-icons {
  gap: 12px;
}
.client-social-icons a.client-social {
  width: 46px;
  height: 46px;
  border: 0;
  color: var(--s-ink);
  background: linear-gradient(180deg, var(--s-top), var(--s-bottom));
  box-shadow: inset 0 1px 0 #ffffff47, inset 0 -2px 0 #0000002e, 0 3px 0 var(--s-edge), 0 8px 18px #00000059;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.client-social-icons a.client-social .client-icon {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 1px 0 #0000004d);
}
.client-social-icons a.client-social:hover {
  background: linear-gradient(180deg, var(--s-top), var(--s-bottom));
  color: var(--s-ink);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #ffffff47, inset 0 -2px 0 #0000002e, 0 5px 0 var(--s-edge), 0 12px 22px #00000066;
}
.client-social-icons a.client-social:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px #00000059, 0 1px 0 var(--s-edge);
}
/* labelled chips (contact and about sections): the brand badge carries the 3D look */
.client-socials a.client-social {
  gap: 10px;
  min-height: 44px;
}
.client-social-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  color: var(--s-ink);
  background: linear-gradient(180deg, var(--s-top), var(--s-bottom));
  box-shadow: inset 0 1px 0 #ffffff47, 0 2px 0 var(--s-edge), 0 5px 12px #0000004d;
  transition: transform 0.15s ease;
}
.client-social-badge .client-icon {
  width: 17px;
  height: 17px;
}
.client-socials a.client-social:hover .client-social-badge {
  transform: translateY(-2px);
}
.client-socials a.client-social:active .client-social-badge {
  transform: translateY(1px);
}
.client-social:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .client-social-icons a.client-social,
  .client-social-badge {
    transition: none;
  }
  .client-social-icons a.client-social:hover,
  .client-social-icons a.client-social:active,
  .client-socials a.client-social:hover .client-social-badge,
  .client-socials a.client-social:active .client-social-badge {
    transform: none;
  }
}

/* 1CAW: service photos are easy to see in the shared designs too (before: 96px, 64px on phones).
   Wide screens: a clear 3:2 picture beside the text. Phones: the picture gets its own full row
   under the text, in natural colours (no hover on touch screens). Never stretched. */
.client-service-img {
  width: 200px;
  aspect-ratio: 3 / 2;
}
@media (max-width: 860px) {
  .service.client-service-has-img {
    grid-template-columns: 60px 1fr;
  }
  .client-service-img {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
    margin-top: 6px;
  }
  .client-service-img img {
    filter: none;
  }
}
