/* Elvron AI — focused refinement layer. Keeps existing content and behavior intact. */
:root {
  --refine-paper: #ffffff;
  --refine-surface: #fbfcff;
  --refine-red: #e81e35;
  --refine-red-soft: #fff1f3;
  --refine-ink: #172033;
  --refine-muted: #6c7788;
  --refine-shadow: 0 18px 44px rgba(95,111,132,.13), 0 2px 8px rgba(255,255,255,.9) inset;
}

html, body { background: #f8faff !important; }
body { background: radial-gradient(circle at 4% 2%, rgba(232,30,53,.055), transparent 22rem), radial-gradient(circle at 96% 32%, rgba(209,220,237,.18), transparent 28rem), #f8faff !important; }
.site-header { padding: 10px 18px 8px !important; background: rgba(248,250,255,.84) !important; }
.site-header .header-inner { border: 1px solid rgba(255,255,255,.96) !important; background: rgba(255,255,255,.91) !important; box-shadow: 0 12px 30px rgba(87,103,126,.12), 0 -4px 16px rgba(255,255,255,.98) !important; }

.hero { isolation: isolate; width: min(1500px, calc(100% - 36px)); min-height: 548px; margin-top: 10px; border: 1px solid rgba(255,255,255,.98) !important; border-radius: 34px !important; background: #fff !important; box-shadow: 0 22px 58px rgba(88,102,125,.15), 0 0 0 1px rgba(223,230,240,.42) inset !important; }
.hero-inner { min-height: 548px; padding-block: 72px 78px !important; }
.hero-copy { position: relative; z-index: 3; width: min(48%, 650px); padding: 30px 32px !important; border: 1px solid rgba(255,255,255,.96) !important; border-radius: 26px !important; background: #fff !important; box-shadow: 14px 16px 34px rgba(97,112,133,.12), -8px -8px 24px rgba(255,255,255,.98) !important; }
.hero h1 { color: var(--refine-ink) !important; }
.hero-description { color: #344055 !important; }
.hero-support { color: var(--refine-muted) !important; }
.hero-art { top: 0 !important; right: -8% !important; bottom: 0 !important; left: 48% !important; overflow: hidden; border-radius: 0 34px 34px 0; }
.hero-art video { object-fit: contain !important; object-position: center center !important; background: transparent !important; filter: saturate(1.06) contrast(1.03); }
.hero-art-keyed { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center center; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.hero-art.is-keyed .hero-art-base { opacity: 0 !important; pointer-events: none; }
.hero-art.is-keyed .hero-art-keyed { opacity: 1; }
.hero-art::after { display: none !important; background: none !important; }
.platform-linux > svg { width: 32px; height: 32px; }
.platform-android > svg { width: 32px; height: 32px; }
.platform-windows > svg { width: 32px; height: 32px; }
.motion-control { right: 28px !important; bottom: 22px !important; border: 1px solid rgba(255,255,255,.98) !important; background: rgba(255,255,255,.9) !important; box-shadow: 7px 8px 18px rgba(82,97,118,.13), -4px -4px 12px rgba(255,255,255,.95) !important; }
.capability-strip { position: relative; z-index: 4; margin-top: 18px !important; overflow: hidden !important; border: 1px solid rgba(255,255,255,.98) !important; background: rgba(255,255,255,.95) !important; box-shadow: 0 16px 36px rgba(94,108,130,.12) !important; }
.capability-strip a { min-width: 0; background: rgba(255,255,255,.66); transition: background .2s ease, transform .2s ease; }
.capability-strip a:hover { background: var(--refine-red-soft) !important; transform: translateY(-1px); }
.capability-strip a > svg:first-child { color: var(--refine-red) !important; }
.about-section { padding-block: 64px !important; }
.about-section .about-copy .statement { border-left-color: var(--refine-red) !important; }

.services-section, .ai-section, .industries-section, .technology-section { background: transparent !important; border: 0 !important; }
.ai-section { padding-bottom: 0; }
.ai-section + .products-section { padding-top: 0; }
.services-section > .container, .industries-section > .container, .technology-section > .container, .process-section > .container, .contact-section > .container { border: 1px solid rgba(255,255,255,.96) !important; border-radius: 30px !important; background: rgba(255,255,255,.74) !important; box-shadow: var(--refine-shadow) !important; }
.service-grid { gap: 14px !important; }
.service-card { min-height: 184px; border-radius: 18px !important; background: rgba(255,255,255,.82) !important; }
.service-card:hover { border-color: rgba(232,30,53,.34) !important; }

/* Industries: compact, scannable cards with a clearer information hierarchy. */
.industries-section > .container { position: relative; overflow: hidden; padding: 34px !important; background: linear-gradient(140deg, rgba(255,255,255,.98), rgba(255,249,250,.82)) !important; }
.industries-section > .container::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(232,30,53,.10), transparent 68%); pointer-events: none; }
.industries-section .section-heading { position: relative; z-index: 1; align-items: end; padding-bottom: 22px; border-bottom: 1px solid rgba(206,216,229,.68); }
.industries-section .section-heading h2 { letter-spacing: -.8px; }
.industries-section .industry-grid { position: relative; z-index: 1; grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: 16px !important; margin-top: 22px; }
.industries-section .industry-card { position: relative; display: block; min-height: 154px; margin: 0 !important; padding: 18px !important; overflow: hidden; border: 1px solid rgba(255,255,255,.98) !important; border-radius: 18px !important; background: rgba(255,255,255,.92) !important; box-shadow: 8px 10px 22px rgba(118,131,151,.10), -7px -7px 18px rgba(255,255,255,.96) !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.industries-section .industry-card::after { content: ""; position: absolute; right: -25px; bottom: -30px; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, rgba(232,30,53,.13), transparent 69%); pointer-events: none; }
.industries-section .industry-card:hover { transform: translateY(-4px); border-color: rgba(232,30,53,.27) !important; box-shadow: 10px 16px 30px rgba(118,131,151,.15), -8px -8px 18px rgba(255,255,255,.98) !important; }
.industries-section .industry-card > span { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; margin-bottom: 22px; border-radius: 10px; color: var(--refine-red); background: var(--refine-red-soft); font-size: 10px; font-weight: 850; }
.industries-section .industry-card h3 { margin-bottom: 8px; color: var(--refine-ink); font-size: 12px; letter-spacing: .35px; }
.industries-section .industry-card p { color: var(--refine-muted); font-size: 11px; line-height: 1.55; }

.reason-card, .technology-grid article, .platform-card, .work-card, .product-card, .expert-card, .freelancer-project-card { border-radius: 18px !important; }
.process-section > .container { background: linear-gradient(145deg, #fff, #fff7f8) !important; }
.process-grid li { min-height: 162px; border-radius: 18px !important; background: rgba(255,255,255,.86) !important; }
.contact-section > .container { background: linear-gradient(145deg, #fff, #fff5f6) !important; }
.contact-section { background: transparent !important; }
.site-footer {
  position: relative;
  margin-top: 18px !important;
  padding: 10px 20px 9px !important;
  gap: 5px 16px;
  border: 1px solid #e8edf4 !important;
  border-radius: 17px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(95,111,132,.09) !important;
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 20px; width: 56px; height: 2px; border-radius: 0 0 3px 3px; background: var(--refine-red); }
.site-footer .brand { width: 180px; height: 54px; }
.site-footer .brand-logo { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.site-footer p { margin-top: 0; color: var(--refine-muted); }
.site-footer nav { gap: 8px 15px; align-self: center; font-size: 11px; }
.site-footer small { padding-top: 6px; }
@media (max-width: 600px) {
  .site-footer { padding: 13px !important; gap: 7px; }
  .site-footer::before { left: 13px; }
  .site-footer .brand { width: 176px; height: 53px; }
  .site-footer nav { gap: 8px 14px; }
}

/* Make the two marketplace audiences unmistakable: clients hire, freelancers build visibility. */
.top-expertise-section { position: relative; z-index: 3; margin-top: 18px !important; }
.top-expertise-section > .container { padding: 32px !important; border: 1px solid rgba(255,255,255,.96) !important; border-radius: 30px !important; background: rgba(255,255,255,.82) !important; box-shadow: var(--refine-shadow) !important; }
.audience-intro { max-width: 840px; }
.audience-intro .section-kicker { color: var(--refine-red) !important; }
.audience-intro h2 { margin-top: 8px; color: var(--refine-ink); font-size: clamp(32px, 4.1vw, 58px); line-height: .98; letter-spacing: -2.5px; }
.audience-intro h2 em { color: var(--refine-red); font-style: normal; }
.audience-intro > p:last-child { max-width: 700px; margin-top: 17px; color: var(--refine-muted); font-size: 13px; line-height: 1.7; }
.audience-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.audience-path { min-width: 0; min-height: 194px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px !important; border: 1px solid rgba(223,230,240,.96) !important; border-radius: 22px !important; text-align: left; text-decoration: none; cursor: pointer; box-shadow: 9px 12px 24px rgba(95,111,132,.11), -7px -7px 18px rgba(255,255,255,.98) !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.audience-path:hover { transform: translateY(-3px); border-color: rgba(232,30,53,.32) !important; box-shadow: 12px 17px 30px rgba(95,111,132,.16), -8px -8px 18px rgba(255,255,255,.98) !important; }
.audience-path-client { color: var(--refine-ink) !important; background: linear-gradient(145deg, #fff, #fff9fa) !important; }
.audience-path-freelancer { color: #fff !important; background: linear-gradient(135deg, #1a2232, #303b4f) !important; border-color: rgba(255,255,255,.18) !important; }
.audience-path-kicker { display: block; color: var(--refine-red); font-size: 9px; font-weight: 850; letter-spacing: 1.35px; }
.audience-path-freelancer .audience-path-kicker { color: #ff8b96; }
.audience-path strong { display: block; margin-top: 12px; font-size: 25px; line-height: 1.1; letter-spacing: -.7px; }
.audience-path p { max-width: 520px; margin-top: 10px; color: var(--refine-muted); font-size: 11px; line-height: 1.6; }
.audience-path-freelancer p { color: rgba(255,255,255,.76); }
.audience-path-action { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--refine-red); font-size: 10px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.audience-path-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.audience-path-freelancer .audience-path-action { color: #1a2232; padding: 9px 13px; border-radius: 999px; background: #fff; }
.freelancer-login-prompt { margin: 12px 2px 0; color: var(--refine-muted); font-size: 11px; text-align: right; }
.freelancer-login-prompt a { color: var(--refine-red); font-weight: 850; text-decoration: none; }
.freelancer-login-prompt a:hover { text-decoration: underline; }
.expertise-directory { margin-top: 28px; padding: 22px; border: 1px solid rgba(223,230,240,.9); border-radius: 22px; background: rgba(255,255,255,.72); }
.expertise-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 2px 15px; border-bottom: 1px solid rgba(206,216,229,.72); }
.expertise-directory-heading .section-kicker { color: var(--refine-red) !important; }
.expertise-directory-heading h3 { margin-top: 7px; color: var(--refine-ink); font-size: clamp(21px, 2.3vw, 30px); letter-spacing: -.8px; }
.expertise-directory-heading > p { color: var(--refine-muted); font-size: 11px; }
.expertise-directory > .expertise-toolbar { margin-top: 16px !important; }
.expertise-directory > .expert-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 14px !important; margin-top: 16px; }
.expertise-directory .expert-card { height: 100%; border-color: rgba(223,230,240,.96) !important; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,249,250,.9)) !important; box-shadow: 8px 11px 24px rgba(95,111,132,.10), -7px -7px 18px rgba(255,255,255,.98) !important; }
.expertise-directory .expert-card { display: flex; flex-direction: column; }
.expertise-directory .expert-card-main { flex: 1 1 auto; }
.expertise-directory .expert-card-actions { margin-top: auto; }
.expertise-directory .expert-card::before { height: 5px; background: linear-gradient(90deg, var(--refine-red), #ff7d88 52%, #253045 52%) !important; }
.expertise-directory .expert-card:hover { border-color: rgba(232,30,53,.38) !important; box-shadow: 11px 16px 30px rgba(95,111,132,.15), -8px -8px 18px rgba(255,255,255,.98) !important; }
.expertise-directory .expert-card-main { padding: 16px; }
.expertise-directory .expert-avatar { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(145deg, #fff, #ffecef); box-shadow: 4px 5px 10px rgba(232,30,53,.10), -3px -3px 8px rgba(255,255,255,.98); }
.expertise-directory .expert-name { font-size: 14px; }
.expertise-directory .expert-status { max-width: 94px; white-space: normal; text-align: center; line-height: 1.25; }
.expertise-directory .expert-bio { min-height: 74px; font-size: 10px; line-height: 1.6; }
.expertise-directory .expert-card-actions { padding: 12px 16px 15px; background: rgba(255,255,255,.58); }
.expertise-directory .expert-card { cursor: pointer; }
.expertise-directory .expert-card:focus-visible { outline: 3px solid rgba(232,30,53,.24); outline-offset: 3px; }

/* Freelancer cards: clear client-facing hierarchy with a compact owner upgrade area. */
.expertise-directory .expert-card {
  border-radius: 24px !important;
  background: linear-gradient(145deg, #ffffff 0%, #fbfcff 72%, #fff7f8 100%) !important;
  box-shadow: 12px 16px 32px rgba(72,88,113,.12), -8px -8px 20px rgba(255,255,255,.98) !important;
}
.expertise-directory .expert-card::before { height: 6px; background: linear-gradient(90deg, #e81e35 0%, #ff7480 49%, #253045 49%, #253045 100%) !important; }
.expertise-directory .expert-card:hover { transform: translateY(-4px); box-shadow: 15px 22px 38px rgba(72,88,113,.16), -9px -9px 22px rgba(255,255,255,.98) !important; }
.expertise-directory .expert-card-main { padding: 20px 18px 18px; }
.expertise-directory .expert-card-top { align-items: flex-start; flex-direction: column; gap: 10px; }
.expertise-directory .expert-identity { gap: 12px; }
.expertise-directory .expert-avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 16px; box-shadow: 5px 7px 15px rgba(232,30,53,.12), -4px -4px 10px rgba(255,255,255,.98); }
.expertise-directory .expert-name { font-size: 16px; line-height: 1.18; letter-spacing: -.35px; }
.expertise-directory .expert-profession { margin-top: 6px; font-size: 9px; letter-spacing: .7px; }
.expertise-directory .expert-status { align-self: flex-start; max-width: none; padding: 8px 10px; font-size: 8px; line-height: 1.1; white-space: nowrap; }
.expertise-directory .expert-sample-label { margin-top: 17px; padding: 6px 9px; border: 1px solid #e7ebf1; border-radius: 999px; color: #657187; background: #f8faff; font-size: 8px; letter-spacing: .75px; }
.expertise-directory .expert-plan-label { margin-top: 11px; padding: 10px 12px; border-radius: 13px !important; font-size: 8px; letter-spacing: .25px; text-transform: none; background: rgba(247,249,252,.9); }
.expertise-directory .expert-plan-label span:first-child { color: #253045; font-weight: 900; }
.expertise-directory .expert-plan-label span:last-child { color: #7d8798; font-weight: 750; }
.expertise-directory .expert-upgrade-panel { margin-top: 11px; padding: 13px; border: 1px solid rgba(232,30,53,.12); border-radius: 17px !important; background: linear-gradient(145deg, #fffafb, #fff); box-shadow: inset 2px 2px 8px rgba(232,30,53,.025), 4px 6px 14px rgba(95,111,132,.06); }
.expertise-directory .expert-upgrade-panel > span { color: #e81e35; font-size: 8px; letter-spacing: 1px; }
.expertise-directory .expert-upgrade-actions { gap: 8px; margin-top: 10px; }
.expertise-directory .expert-upgrade-button { min-height: 43px; padding: 8px 9px; border-radius: 12px; color: #5b2d30; background: #fff; box-shadow: 3px 4px 9px rgba(95,111,132,.06); font-size: 8px; }
.expertise-directory .expert-upgrade-button.messages { color: #fff; background: linear-gradient(145deg, #f22945, #d7132d); box-shadow: 0 8px 15px rgba(232,30,53,.2); }
.expertise-directory .expert-stats { gap: 10px; margin-top: 16px; }
.expertise-directory .expert-stat { padding: 14px 12px; border: 1px solid #edf0f5; border-radius: 15px; background: rgba(248,250,253,.94); box-shadow: inset 2px 2px 7px rgba(95,111,132,.035); }
.expertise-directory .expert-stat strong { font-size: 22px; }
.expertise-directory .expert-stat span { margin-top: 7px; font-size: 8px; letter-spacing: .55px; }
.expertise-directory .expert-bio { min-height: 68px; margin-top: 16px; color: #68758a; font-size: 10px; line-height: 1.65; }
.expertise-directory .expert-skills { gap: 7px; margin-top: 15px; }
.expertise-directory .expert-skill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #e4e9f1; border-radius: 999px; color: #4a5870; background: rgba(255,255,255,.85); box-shadow: 3px 4px 9px rgba(95,111,132,.055); font-size: 9px; font-weight: 800; }
.expertise-directory .expert-skill .skill-icon { width: 16px; height: 16px; }
.expertise-directory .expert-card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; gap: 9px; padding: 14px 18px 17px; background: rgba(248,250,253,.58); }
.expertise-directory .expert-action { min-height: 40px; padding: 9px 10px; border-radius: 12px; font-size: 9px; letter-spacing: .15px; text-transform: none; }
.expertise-directory .expert-action-primary { border-color: transparent !important; color: #fff !important; background: linear-gradient(145deg, #f22945, #cf1029) !important; box-shadow: 0 8px 15px rgba(232,30,53,.15) !important; }
.expertise-directory .expert-action-primary:hover { color: #fff !important; background: linear-gradient(145deg, #ec1f3c, #be1026) !important; }

@media (max-width: 700px) {
  .expertise-directory .expert-card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.expert-profile-dialog { width: min(760px, calc(100% - 28px)); max-height: min(820px, calc(100dvh - 32px)); padding: 34px !important; }
.expert-profile-dialog h2 { color: var(--refine-ink); font-size: clamp(26px, 4vw, 40px); letter-spacing: -1.5px; }
.expert-profile-dialog > p:not(.section-kicker) { max-width: 640px; line-height: 1.65; }
.expert-profile-dialog form { margin-top: 24px; gap: 16px; }
.expert-profile-dialog label { color: var(--refine-ink); font-size: 11px; }
.expert-profile-dialog input, .expert-profile-dialog textarea, .expert-profile-dialog select { min-height: 45px; padding: 12px 14px; font-size: 13px; }
.expert-profile-dialog textarea { min-height: 92px; }
.expert-profile-dialog .expert-form-note { margin-top: 2px; border: 1px solid rgba(232,30,53,.12); color: var(--refine-muted); background: linear-gradient(145deg, #fff7f8, #fff); }
.expertise-directory .expert-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.expertise-directory .expert-skill { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 5px 7px; border: 1px solid rgba(223,230,240,.9); border-radius: 7px; color: #4c5668; background: rgba(255,255,255,.88); box-shadow: 2px 3px 7px rgba(95,111,132,.08), -2px -2px 6px rgba(255,255,255,.96); font-size: 9px; font-weight: 700; line-height: 1.1; }
.expertise-directory .expert-skill > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expertise-directory .skill-icon { width: 14px; height: 14px; flex: 0 0 14px; display: block; overflow: visible; }
.expertise-directory .skill-icon-react { color: #61dafb; }
.expertise-directory .skill-icon-flutter { color: #3f9cff; }
.expertise-directory .skill-icon-android { color: #3ddc84; }
.expertise-directory .skill-icon-ios { color: #111827; }
.expertise-directory .skill-icon-firebase { color: #ffca28; }
.expertise-directory .skill-icon-node { color: #5fa04e; }
.expertise-directory .skill-icon-python { color: #3776ab; }
.expertise-directory .skill-icon-typescript { color: #3178c6; }
.expertise-directory .skill-icon-javascript { color: #f7df1e; }
.expertise-directory .skill-icon-html { color: #e34f26; }
.expertise-directory .skill-icon-css { color: #1572b6; }
.expertise-directory .skill-icon-figma { color: #f24e1e; }
.expertise-directory .skill-icon-webflow { color: #146ef5; }
.expertise-directory .skill-icon-ai { color: #e81e35; }
.expertise-directory .skill-icon-automation { color: #ff7a00; }
.expertise-directory .skill-icon-crm { color: #6d5dfc; }
.expertise-directory .skill-icon-product { color: #2563eb; }
.expertise-directory .skill-icon-design-system { color: #10a37f; }
.expertise-directory .skill-icon-prototype { color: #9b51e0; }
.expertise-directory .skill-icon-windows { color: #0078d4; }
.expertise-directory .skill-icon-linux { color: #1b2330; }
.expertise-directory .skill-icon-api, .expertise-directory .skill-icon-generic, .expertise-directory .skill-icon-web { color: var(--refine-red); }

@media (max-width: 1380px) {
  .expertise-directory > .expert-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
@media (max-width: 1120px) {
  .expertise-directory > .expert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) {
  .top-expertise-section > .container { padding: 24px !important; }
  .audience-paths { grid-template-columns: 1fr; }
  .expertise-directory > .expert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 700px) {
  .audience-intro h2 { font-size: 38px; letter-spacing: -1.5px; }
  .audience-intro > p:last-child { font-size: 12px; }
  .freelancer-login-prompt { text-align: left; }
  .audience-path { min-height: 170px; padding: 20px !important; }
  .expertise-directory { padding: 16px; }
  .expertise-directory-heading { align-items: start; flex-direction: column; gap: 8px; }
  .expertise-directory > .expert-grid { grid-template-columns: 1fr !important; }
  .expert-profile-dialog { padding: 26px 20px !important; }
}

/* Keep ELVY present without letting the floating character cover page content. */
.elvy-launcher { width: 94px !important; height: 118px !important; right: max(14px, env(safe-area-inset-right)) !important; bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--elvy-safe-offset)) !important; }
.elvy-status-pill { right: 78px !important; bottom: calc(max(57px, env(safe-area-inset-bottom)) + var(--elvy-safe-offset)) !important; max-width: 190px !important; padding: 9px 12px !important; font-size: 11px !important; }


@media (max-width: 1180px) { .industries-section .industry-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; padding-block: 30px 240px !important; }
  .hero-copy { width: 64%; }
  .hero-art { right: -20% !important; left: 35% !important; }
  .industries-section > .container { padding: 24px !important; }
  .industries-section .industry-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .industries-section .industry-card { min-height: 148px; }
}
@media (max-width: 600px) {
  .site-header { padding: 7px 8px !important; }
  .hero { width: calc(100% - 16px); border-radius: 24px !important; }
  .hero-inner { padding: 26px 0 220px !important; }
  .hero-copy { width: 100%; padding: 18px !important; border-radius: 20px !important; }
  .hero-art { right: -10% !important; left: -10% !important; bottom: 0 !important; height: 235px !important; border-radius: 0 0 24px 24px; }
  .hero-art::after { display: none !important; background: none !important; }
  .capability-strip { margin-top: 14px !important; }
  .services-section > .container, .industries-section > .container, .technology-section > .container, .process-section > .container, .contact-section > .container { padding: 18px !important; border-radius: 22px !important; }
  .industries-section .section-heading { padding-bottom: 17px; }
  .industries-section .industry-grid { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 17px; }
  .industries-section .industry-card { min-height: 156px; padding: 15px !important; }
  .industries-section .industry-card > span { margin-bottom: 17px; }
  .industries-section .industry-card p { font-size: 10px; }
  .elvy-launcher { width: 78px !important; height: 98px !important; right: 10px !important; }
  .elvy-status-pill { right: 66px !important; max-width: 165px !important; font-size: 10px !important; }
}

/* Marketplace Pro card direction: brand-led identity, proof points and one clear client action. */
.expertise-directory .expert-card { border-radius: 26px !important; }
.expertise-directory .expert-card,
.expertise-directory .expert-card button,
.expertise-directory .expert-card a { font-family: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.expertise-directory .expert-card-main { padding: 18px 16px 17px; }
.expertise-directory .expert-card-brand { display: flex; align-items: center; justify-content: space-between; min-height: 22px; color: #172033; font-size: 9px; font-weight: 550; letter-spacing: .55px; }
.expertise-directory .expert-card-brand strong { font-weight: 900; }
.expertise-directory .expert-card-brand em { color: var(--refine-red); font-style: normal; font-weight: 900; }
.expertise-directory .expert-card-menu { color: #738097; font-size: 13px; letter-spacing: 2px; line-height: 1; }
.expertise-directory .expert-card-top { align-items: center; flex-direction: column; gap: 10px; margin-top: 12px; }
.expertise-directory .expert-identity { align-items: center; flex-direction: column; gap: 9px; text-align: center; width: 100%; }
.expertise-directory .expert-avatar { width: 70px; height: 70px; border-radius: 50%; border: 5px solid #fff; color: #e81e35; background: linear-gradient(145deg, #f3f5f8, #ffecef); box-shadow: 7px 9px 18px rgba(72,88,113,.14), -4px -4px 11px rgba(255,255,255,.98); font-size: 19px; }
.expertise-directory .expert-name { text-align: center; font-size: 16px; font-weight: 600; line-height: 1.18; letter-spacing: -.25px; }
.expertise-directory .expert-profession { margin-top: 5px; color: #e81e35; font-size: 8px; font-weight: 600; line-height: 1.4; text-align: center; letter-spacing: .65px; }
.expertise-directory .expert-verified { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 3px; border-radius: 50%; color: #fff; background: #2f8cf4; font-size: 10px; vertical-align: 2px; }
.expertise-directory .expert-status { align-self: center; padding: 7px 11px; font-size: 7.5px; font-weight: 600; letter-spacing: .15px; text-transform: none; }
.expertise-directory .expert-sample-label { display: none; }
.expertise-directory .expert-bio { min-height: 0; margin: 14px 4px 0; color: #657187; font-size: 10px; font-weight: 400; line-height: 1.58; text-align: center; }
.expertise-directory .expert-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 16px; }
.expertise-directory .expert-stat { min-width: 0; padding: 12px 5px; border-radius: 14px; text-align: center; }
.expertise-directory .expert-stat strong { display: flex; min-height: 22px; align-items: center; justify-content: center; overflow: visible; color: #172033; font-size: 14px; font-weight: 600; line-height: 1.05; text-align: center; white-space: normal; word-break: break-word; font-variant-numeric: tabular-nums; }
.expertise-directory .expert-stat span { margin-top: 5px; color: #7a8698; font-size: 7px; font-weight: 500; letter-spacing: .15px; line-height: 1.25; text-transform: none; }
.expertise-directory .expert-rating-star { display: inline; margin-right: 3px; color: #f5ad14; font-size: 16px; }
.expertise-directory .expert-skills { justify-content: center; margin-top: 14px; }
.expertise-directory .expert-skill { padding: 5px 7px; border-radius: 999px; font-size: 7.5px; font-weight: 550; letter-spacing: .05px; }
.expertise-directory .expert-card-actions { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px 16px; background: rgba(248,250,253,.72); }
.expertise-directory .expert-action { min-height: 42px; border-radius: 13px; font-size: 9px; }
.expertise-directory .expert-card-owner .expert-card-top { margin-top: 10px; }
.expertise-directory .expert-card-owner .expert-plan-label { width: 100%; }
.expertise-directory .expert-card-owner .expert-upgrade-panel { width: 100%; }
.expertise-directory .expert-card-owner .expert-stack {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  background: linear-gradient(145deg, #fbfcff, #ffffff);
  box-shadow: 0 6px 14px rgba(71,85,105,.065);
}
.expertise-directory .expert-card-owner .expert-stack-label {
  display: block;
  color: #78859a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}
.expertise-directory .expert-card-owner .expert-skills {
  justify-content: flex-start;
  gap: 7px;
  margin-top: 8px;
}
.expertise-directory .expert-card-owner .expert-skill {
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 650;
  background: #fff;
  box-shadow: 0 3px 8px rgba(71,85,105,.07);
}
.expertise-directory .expert-card-owner .expert-skill .skill-icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

@media (max-width: 700px) {
  .expertise-directory .expert-card-main { padding-inline: 18px; }
  .expertise-directory .expert-card-actions { grid-template-columns: 1fr; }
  .expertise-directory .expert-avatar { width: 76px; height: 76px; }
  .expertise-directory .expert-name { font-size: 16px; }
  .expertise-directory .expert-stat strong { font-size: 14px; }
  .expertise-directory .expert-card-owner .expert-stack { padding: 12px; }
  .expertise-directory .expert-card-owner .expert-skill { min-height: 36px; padding: 7px 10px; font-size: 10px; }
  .expertise-directory .expert-card-owner .expert-skill .skill-icon { width: 22px; height: 22px; flex-basis: 22px; }
}

/* Reference-matched client marketplace card: compact photo-and-proof layout. */
.expertise-directory .expert-card-client {
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(22, 32, 51, .08) !important;
}
.expertise-directory .expert-card-client::before {
  height: 4px;
  background: linear-gradient(90deg, #e81e35 0 50%, #253045 50% 100%) !important;
}
.expertise-directory .expert-card-client .expert-card-main { padding: 12px 12px 11px; }
.expertise-directory .expert-card-client .expert-card-brand { display: none; }
.expertise-directory .expert-card-client .expert-card-top {
  display: grid;
  grid-template-columns: minmax(86px, 100px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 0;
}
.expertise-directory .expert-card-client .expert-identity {
  display: contents;
  text-align: left;
}
.expertise-directory .expert-card-client .expert-avatar {
  grid-column: 1;
  width: 96px;
  height: 116px;
  border: 1px solid #e2e6ed;
  border-radius: 10px;
  color: #e81e35;
  background: linear-gradient(145deg, #eef2f7, #ffecef);
  box-shadow: 0 4px 10px rgba(72,88,113,.14);
  font-size: 18px;
  overflow: hidden;
}
.expertise-directory .expert-card-client .expert-avatar-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.expertise-directory .expert-card-client .expert-identity > div {
  grid-column: 2;
  min-width: 0;
  align-self: start;
}
.expertise-directory .expert-card-client .expert-name {
  display: block;
  max-width: 100%;
  overflow: visible;
  color: #172033;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: break-word;
  white-space: normal;
}
.expertise-directory .expert-card-client .expert-profession {
  margin-top: 4px;
  color: #5e6b7f;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
}
.expertise-directory .expert-card-client .expert-status {
  grid-column: 2;
  align-self: start;
  justify-self: start;
  margin-top: 7px;
  padding: 4px 7px;
  color: #267343;
  background: #edf8f1;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.expertise-directory .expert-card-client .expert-status::before { width: 5px; height: 5px; }
.expertise-directory .expert-card-client .expert-bio { display: none; }
.expertise-directory .expert-card-client .expert-stats {
  display: block;
  margin-top: 9px;
}
.expertise-directory .expert-card-client .expert-stat {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.expertise-directory .expert-card-client .expert-stat:not(:first-child) { display: none; }
.expertise-directory .expert-card-client .expert-stat strong {
  min-height: 0;
  color: #526075;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.expertise-directory .expert-card-client .expert-stat span {
  margin-top: 0;
  color: #7b8798;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
}
.expertise-directory .expert-card-client .expert-rating-star { font-size: 11px; }
.expertise-directory .expert-card-client .expert-stack {
  margin-top: 12px;
  min-height: 104px;
  padding: 10px;
  border: 1px solid #e9edf3;
  border-radius: 11px;
  background: linear-gradient(145deg, #fbfcff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 5px 12px rgba(71,85,105,.055);
}
.expertise-directory .expert-card-client .expert-stack-label {
  display: block;
  color: #8a95a6;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .9px;
}
.expertise-directory .expert-card-client .expert-skills {
  justify-content: flex-start;
  gap: 6px;
  margin-top: 7px;
  min-height: 30px;
}
.expertise-directory .expert-card-client .expert-skill {
  max-width: 100%;
  min-height: 30px;
  padding: 5px 7px;
  border: 1px solid #e3e8f0;
  border-radius: 9px;
  color: #425069;
  background: #fff;
  box-shadow: 0 3px 8px rgba(71,85,105,.07);
  font-size: 8px;
  font-weight: 650;
}
.expertise-directory .expert-card-client .expert-skill .skill-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  padding: 0;
  background: transparent;
}
.expertise-directory .expert-card-client .expert-card-actions {
  display: block;
  padding: 10px 12px 12px;
  border-top-color: #edf0f4;
  background: #fff;
}
.expertise-directory .expert-card-client .expert-action {
  display: none;
}
.expertise-directory .expert-card-client .expert-action-primary {
  display: flex;
  width: 100%;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .expertise-directory .expert-card-client .expert-avatar { width: 92px; height: 112px; }
  .expertise-directory .expert-card-client .expert-card-top { grid-template-columns: 96px minmax(0, 1fr); }
  .expertise-directory .expert-card-client .expert-stack { padding: 11px; }
  .expertise-directory .expert-card-client .expert-stack { min-height: 0; }
  .expertise-directory .expert-card-client .expert-stack-label { font-size: 8px; }
  .expertise-directory .expert-card-client .expert-skill { min-height: 34px; padding: 6px 9px; font-size: 9px; }
  .expertise-directory .expert-card-client .expert-skill .skill-icon { width: 20px; height: 20px; flex-basis: 20px; }
}

/* Homepage previews use featured-experts.css. */

/* Keep the freelancer's own dashboard avatar consistent with the public card. */
.expertise-directory .expert-card-owner .expert-avatar {
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 5px 12px rgba(72,88,113,.14), 0 0 0 1px #e5e9ef;
}

/* Apple-style profile transition: a light lift, controlled flip, then a soft settle. */
.expertise-directory .expert-card {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
  transform-origin: center center;
  isolation: isolate;
  will-change: transform, opacity;
}
.expertise-directory .expert-card.is-flipping {
  pointer-events: none;
  transition: none !important;
  animation: expert-card-flip-open .56s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes expert-card-flip-open {
  0% { opacity: 1; transform: perspective(1100px) translate3d(0, 0, 0) rotateY(0deg) scale3d(1, 1, 1); }
  14% { opacity: 1; transform: perspective(1100px) translate3d(0, -5px, 0) rotateY(0deg) scale3d(1.012, 1.012, 1); }
  52% { opacity: .98; transform: perspective(1100px) translate3d(0, -2px, 0) rotateY(86deg) scale3d(.94, .94, 1); }
  78% { opacity: .68; transform: perspective(1100px) translate3d(0, 0, 0) rotateY(148deg) scale3d(.86, .86, 1); }
  100% { opacity: 0; transform: perspective(1100px) translate3d(0, 0, 0) rotateY(180deg) scale3d(.82, .82, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-directory .expert-card.is-flipping {
    animation: expert-card-fade-open .18s ease forwards;
  }
}
@keyframes expert-card-fade-open {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Services: distinct vector icons and a clearer, more premium card rhythm. */
.services-section > .container {
  position: relative;
  overflow: hidden;
  padding: 38px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,253,.84)) !important;
}
.services-section > .container::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  bottom: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,30,53,.09), transparent 68%);
  pointer-events: none;
}
.services-section .section-heading,
.services-section .service-grid { position: relative; z-index: 1; }
.services-section .section-heading { margin-bottom: 28px; align-items: end; }
.services-section .section-heading h2 { color: var(--refine-ink); font-size: clamp(30px, 3.1vw, 46px); letter-spacing: -1.5px; }
.services-section .section-heading > p { max-width: 560px; color: var(--refine-muted); font-size: 13px; line-height: 1.7; }
.services-section .service-grid { gap: 16px !important; }
.services-section .service-card {
  position: relative;
  display: flex;
  min-height: 218px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px 20px 20px;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(249,251,254,.88)) !important;
  box-shadow: 9px 11px 24px rgba(118,131,151,.12), -7px -7px 18px rgba(255,255,255,.98) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.services-section .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--refine-red), rgba(232,30,53,.12));
}
.services-section .service-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,30,53,.09), transparent 70%);
  pointer-events: none;
}
.services-section .service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,30,53,.32) !important;
  box-shadow: 12px 17px 30px rgba(118,131,151,.17), -8px -8px 20px rgba(255,255,255,.98) !important;
}
.services-section .card-top { position: relative; z-index: 1; justify-content: flex-start; margin-bottom: 20px; }
.services-section .card-top > span { display: none !important; }
.services-section .card-top svg {
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid rgba(232,30,53,.16);
  border-radius: 15px;
  color: var(--refine-red);
  background: linear-gradient(145deg, #fff5f6, #ffe8ec);
  box-shadow: 5px 6px 12px rgba(118,131,151,.12), -4px -4px 10px rgba(255,255,255,.98);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.services-section .service-card:hover .card-top svg {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(145deg, #ffe9ed, #fff8f9);
  box-shadow: 6px 8px 14px rgba(181,21,42,.14), -4px -4px 10px rgba(255,255,255,.98);
}
.services-section .card-top > span {
  padding: 5px 8px;
  border: 1px solid rgba(177,190,207,.34);
  border-radius: 999px;
  color: #9aa4b3;
  background: rgba(247,249,252,.8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .45px;
}
.services-section .service-card h3 { position: relative; z-index: 1; min-height: 37px; margin-bottom: 10px; color: var(--refine-ink); font-size: 14px; font-weight: 800; line-height: 1.32; letter-spacing: .1px; }
.services-section .service-card p { position: relative; z-index: 1; margin-top: auto; color: var(--refine-muted); font-size: 12px; line-height: 1.65; }

/* Services heading: calmer editorial scale with a cleaner premium weight. */
.services-section .section-heading h2 {
  font-family: "Avenir Next", "Helvetica Neue", Inter, Arial, sans-serif;
  font-size: clamp(28px, 2.55vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.15px;
}
.services-section .section-heading .section-kicker {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.35px;
}
.services-section .section-heading > p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .services-section > .container { padding: 28px !important; }
  .services-section .service-card { min-height: 204px; }
}
@media (max-width: 600px) {
  .services-section > .container { padding: 20px !important; }
  .services-section .section-heading { gap: 15px; margin-bottom: 20px; }
  .services-section .section-heading > p { font-size: 12px; }
  .services-section .service-grid { gap: 12px !important; }
  .services-section .service-card { min-height: 0; padding: 20px 17px 18px; }
  .services-section .card-top { margin-bottom: 16px; }
  .services-section .card-top svg { width: 44px; height: 44px; padding: 9px; border-radius: 13px; }
  .services-section .service-card h3 { min-height: 0; font-size: 13px; }
  .services-section .service-card p { font-size: 11.5px; }
  .services-section .section-heading h2 { font-size: 30px; letter-spacing: -.8px; }
  .services-section .section-heading .section-kicker { font-size: 10px; }
  .services-section .section-heading > p { font-size: 13px; }
}

/* Platform services use recognizable brand marks instead of generic device glyphs. */
.services-section .service-logo-set {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.services-section .card-top .service-logo-set > svg {
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid rgba(177,190,207,.34);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 5px 10px rgba(118,131,151,.10), -3px -3px 8px rgba(255,255,255,.98);
}
.services-section .card-top .service-logo-set > svg:nth-child(1) { color: #1b2330; }
.services-section .card-top .service-logo-set > svg:nth-child(2) { color: #172033; }
.services-section .card-top .service-logo-set > svg:nth-child(3) { color: #1b2330; }
.services-section .service-card:hover .card-top .service-logo-set > svg {
  transform: translateY(-2px) scale(1.04);
  background: #fff;
}

/* Crystal-white finish: remove the red wash from service surfaces while keeping logo colors intact. */
.services-section > .container {
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(95,111,132,.12), 0 2px 8px rgba(255,255,255,.95) inset !important;
}
.services-section > .container::after,
.services-section .service-card::after { display: none !important; }
.services-section .service-card {
  border-color: #e4e9f0 !important;
  background: #fff !important;
  box-shadow: 0 9px 22px rgba(95,111,132,.10), 0 0 0 1px rgba(255,255,255,.98) inset !important;
}
.services-section .service-card::before { background: #eef2f6; }
.services-section .service-card:hover {
  border-color: #d2dae5 !important;
  box-shadow: 0 14px 28px rgba(95,111,132,.15), 0 0 0 1px rgba(255,255,255,.98) inset !important;
}
.services-section .card-top > svg:not(.service-logo-set > svg) {
  border-color: #e1e7ee;
  color: #273348;
  background: #fff;
  box-shadow: 4px 5px 10px rgba(118,131,151,.10), -3px -3px 8px rgba(255,255,255,.98);
}
.services-section .service-card:hover .card-top > svg:not(.service-logo-set > svg) {
  background: #fff;
  box-shadow: 5px 7px 13px rgba(118,131,151,.13), -4px -4px 10px rgba(255,255,255,.98);
}
.services-section .card-top .service-logo-set > svg {
  border-color: #e1e7ee;
  background: #fff;
  box-shadow: 4px 5px 10px rgba(118,131,151,.10), -3px -3px 8px rgba(255,255,255,.98);
}

/* Match the WEB. MOBILE. DESKTOP platform palette: cool crystal-white surfaces
   with soft gray neumorphism and standalone brand marks (no square logo tiles). */
.services-section > .container {
  background: var(--nm-surface) !important;
  border-color: rgba(255,255,255,.88) !important;
  box-shadow: var(--nm-raised) !important;
}
.services-section .service-card {
  border-color: rgba(255,255,255,.88) !important;
  background: var(--nm-surface) !important;
  box-shadow: var(--nm-raised-sm) !important;
}
.services-section .service-card:hover {
  border-color: rgba(255,255,255,.94) !important;
  box-shadow: 16px 16px 30px rgba(164,177,194,.28), -10px -10px 24px rgba(255,255,255,.96) !important;
}
.services-section .card-top .service-logo-set > svg,
.services-section .card-top .service-logo-set > svg:nth-child(1),
.services-section .card-top .service-logo-set > svg:nth-child(2),
.services-section .card-top .service-logo-set > svg:nth-child(3) {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.services-section .service-card:hover .card-top .service-logo-set > svg {
  transform: translateY(-2px) scale(1.05);
  background: transparent;
  box-shadow: none;
}

/* Capability strip: recognizable brand marks instead of generic utility glyphs. */
.capability-strip .capability-logo-set { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; color: var(--refine-red); }
.capability-strip .capability-logo-set > svg { width: 25px; height: 25px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.capability-strip .capability-logo-set > svg:first-child { color: var(--refine-red); }
.capability-strip .capability-logo-set > svg:nth-child(2) { color: #273348; }
.capability-strip .capability-logo-set > svg:nth-child(3) { color: #3ddc84; }
.capability-strip a > .capability-logo-set + span { min-width: 0; }

.industries-section .industry-heading-title { display: flex; align-items: flex-start; gap: 13px; }
.industries-section .industry-heading-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; margin-top: 1px; border: 1px solid rgba(232,30,53,.2); border-radius: 12px; color: var(--refine-red); background: var(--refine-red-soft); box-shadow: 4px 5px 10px rgba(118,131,151,.08); }
.industries-section .industry-heading-icon svg { width: 21px; height: 21px; }
.industries-section .industry-heading-title .section-kicker { margin-bottom: 9px; }
@media (max-width: 650px) {
  .industries-section .industry-heading-title { gap: 10px; }
  .industries-section .industry-heading-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
  .industries-section .industry-heading-icon svg { width: 18px; height: 18px; }
}

/* Refined why-Elvron section: icon-led presentation for client trust. */
.reason-section { position: relative; }
.reason-section-heading { align-items: end; gap: 24px; margin-bottom: 24px; }
.reason-title-block .section-kicker { margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 1.35px; }
.reason-title-block h2 { font-family: "Avenir Next", "Helvetica Neue", Inter, Arial, sans-serif; font-size: clamp(28px, 2.55vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -1.15px; }
.reason-intro { max-width: 450px; }
.reason-intro > p { color: var(--refine-muted); font-size: 14px; line-height: 1.6; }
.reason-grid { gap: 16px; }
.reason-card { position: relative; display: flex; flex-direction: column; min-height: 198px; padding: 19px 20px 18px !important; overflow: hidden; border: 1px solid rgba(255,255,255,.98) !important; border-top: 2px solid rgba(232,30,53,.18) !important; border-radius: 20px !important; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(249,251,254,.88)) !important; box-shadow: 8px 11px 23px rgba(118,131,151,.1), -7px -7px 18px rgba(255,255,255,.96) !important; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.reason-card::after { content: ""; position: absolute; right: -35px; bottom: -45px; width: 126px; height: 126px; border-radius: 50%; background: radial-gradient(circle, rgba(232,30,53,.13), transparent 68%); pointer-events: none; }
.reason-card:hover { transform: translateY(-5px); border-color: rgba(232,30,53,.28) !important; box-shadow: 10px 17px 32px rgba(118,131,151,.16), -8px -8px 18px rgba(255,255,255,.98) !important; }
.reason-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid rgba(232,30,53,.16); border-radius: 15px; color: var(--refine-red); background: linear-gradient(145deg, #fff5f6, #ffe8ec); box-shadow: 5px 6px 12px rgba(118,131,151,.12), -4px -4px 10px rgba(255,255,255,.98); }
.reason-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.reason-card h3 { margin-top: 15px; margin-bottom: 7px; color: var(--refine-ink); font-size: 14px; font-weight: 800; line-height: 1.32; letter-spacing: .1px; }
.reason-card p { max-width: 290px; color: var(--refine-muted); font-size: 12px; line-height: 1.6; }
.reason-card-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 12px; color: var(--refine-red); font-size: 11px; font-weight: 800; text-decoration: none; }
.reason-card-link svg { width: 15px; height: 15px; }
.reason-card-link:hover { color: #b70f22; }
@media (max-width: 850px) {
  .reason-section-heading { gap: 18px; }
  .reason-title-block h2 { font-size: clamp(28px, 4vw, 36px); }
  .reason-intro { min-height: 0; }
  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .reason-section-heading { flex-direction: column; }
  .reason-section-heading > div:first-child, .reason-section-heading > div:last-child { width: 100%; max-width: none; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card { min-height: 0; }
  .reason-title-block h2 { font-size: 30px; letter-spacing: -.8px; }
  .reason-title-block .section-kicker { font-size: 10px; }
  .reason-intro > p { font-size: 13px; }
  .reason-card h3 { font-size: 13px; }
  .reason-card p { font-size: 11.5px; }
}

/* ELVY industry service cards. */
.industries-section .industry-card > .industry-card-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 22px; padding: 0; border-radius: 10px; color: var(--refine-red); background: var(--refine-red-soft); }
.industries-section .industry-card-icon svg { width: 18px; height: 18px; }
.industries-section .industry-card h3 { max-width: 190px; }
@media (max-width: 650px) {
  .industries-section .industry-card > .industry-card-icon { margin-bottom: 17px; }
}

/* ELVY industry visuals: preserve each existing card, show the full high-resolution artwork. */
.industries-section .industry-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.industries-section .industry-card-image {
  position: relative;
  isolation: isolate;
  width: calc(100% + 36px);
  aspect-ratio: 16 / 9;
  margin: -18px -18px 16px;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 231, 239, .9);
  border-radius: 17px 17px 12px 12px;
  background: #fff;
}

.industries-section .industry-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.12));
}

.industries-section .industry-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  transform: translateZ(0);
}

.industries-section .industry-card > .industry-card-icon {
  flex: 0 0 auto;
  margin-bottom: 12px;
}

.industries-section .industry-card > div {
  position: relative;
  z-index: 1;
}

.industries-section .industry-card h3 {
  margin-bottom: 7px;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .industries-section .industry-card {
    min-height: 300px;
  }

  .industries-section .industry-card-image {
    width: calc(100% + 30px);
    margin: -15px -15px 14px;
    border-radius: 14px 14px 10px 10px;
  }

  .industries-section .industry-card > .industry-card-icon {
    margin-bottom: 11px;
  }

  .industries-section .industry-card h3 {
    font-size: 11px;
  }
}

/* Keep the complete selected poster visible inside the existing box. */
.industries-section > .container > .section-heading {
  background-color: #fff;
  background-position: center, right center;
  background-size: cover, contain;
}

@media (max-width: 640px) {
  .industries-section > .container > .section-heading {
    background-position: center, right center;
    background-size: cover, contain;
  }
}

/* Final clarity pass for the existing industry visuals only. */
.industries-section .industry-card-image {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(214, 222, 233, .9);
}

.industries-section .industry-card-image::after {
  background: none;
}

.industries-section .industry-card-image img {
  filter: contrast(1.08) saturate(1.08) brightness(1.01);
  image-rendering: auto;
}

/* Industry cards: visual + copy only, with the original card system preserved. */
.industries-section .industry-card > div {
  padding-top: 1px;
}

.industries-section .industry-card h3 {
  max-width: none;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: .2px;
}

.industries-section .industry-card p {
  max-width: 25ch;
}

@media (max-width: 640px) {
  .industries-section .industry-card h3 {
    font-size: 11px;
    line-height: 1.28;
  }

  .industries-section .industry-card p {
    max-width: none;
  }
}

/* Industry card typography: slightly larger, clearer copy. */
.industries-section .industry-card h3 {
  font-size: 14px;
  line-height: 1.32;
}

.industries-section .industry-card p {
  font-size: 12px;
  line-height: 1.58;
}

@media (max-width: 640px) {
  .industries-section .industry-card h3 {
    font-size: 12px;
  }

  .industries-section .industry-card p {
    font-size: 11px;
    line-height: 1.52;
  }
}

/* Compact industry cards without clipping the existing visual or copy. */
.industries-section .industry-card {
  min-height: 280px;
}

@media (max-width: 640px) {
  .industries-section .industry-card {
    min-height: 250px;
  }
}

/* User-selected 4K ELVY poster in the existing industry heading box. */
.industries-section > .container > .section-heading {
  position: relative;
  display: block !important;
  min-height: 270px;
  padding: 30px 34px !important;
  overflow: hidden;
  border-radius: 24px !important;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 38%, rgba(255,255,255,.25) 70%, rgba(255,255,255,.04) 100%),
    url("images/elvy-industry-poster.png");
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: cover, contain;
}

.industries-section > .container > .section-heading > .industry-heading-title,
.industries-section > .container > .section-heading > p {
  position: relative;
  z-index: 1;
  max-width: 58%;
}

.industries-section > .container > .section-heading > p {
  margin-top: 16px;
  color: #65728a;
}

@media (max-width: 640px) {
  .industries-section > .container > .section-heading {
    min-height: 285px;
    padding: 22px 20px !important;
    background-position: center, right center;
    background-size: cover, contain;
  }

  .industries-section > .container > .section-heading > .industry-heading-title,
  .industries-section > .container > .section-heading > p {
    max-width: 70%;
  }

  .industries-section > .container > .section-heading > p {
    margin-top: 13px;
    font-size: 11px;
    line-height: 1.45;
  }
}


/* Professional, readable type treatment for the ELVY poster heading. */
.industries-section > .container > .section-heading > .industry-heading-title {
  gap: 14px;
  align-items: flex-start;
}

.industries-section > .container > .section-heading > .industry-heading-title > div {
  min-width: 0;
  padding-top: 1px;
}

.industries-section > .container > .section-heading .section-kicker {
  margin-bottom: 12px;
  color: #e81e35;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.35px;
  line-height: 1.2;
  text-wrap: balance;
}

.industries-section > .container > .section-heading h2 {
  max-width: 500px;
  color: #172033;
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 700;
  letter-spacing: -1.45px;
  line-height: .99;
  text-wrap: balance;
}

.industries-section > .container > .section-heading h2 em {
  color: #e81e35;
  font-style: normal;
  font-weight: 700;
}

.industries-section > .container > .section-heading > p {
  max-width: 720px;
  margin-top: 21px;
  color: #5d6b82;
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.58;
  text-wrap: balance;
}

/* 4K poster treatment: keep the source image crisp and layer the readable UI in HTML. */
.industries-section > .container > .section-heading {
  min-height: 340px;
  background-size: cover, auto 100%;
  background-position: center, right center;
}

.industries-poster-network {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 28px;
  width: min(43%, 470px);
  height: 180px;
  pointer-events: none;
}

.industry-network-orb {
  position: absolute;
  top: 58px;
  right: 42%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(232, 30, 53, .22);
  border-radius: 50%;
  color: #e81e35;
  background: radial-gradient(circle at 36% 30%, rgba(255,255,255,.98), rgba(255,237,240,.72) 55%, rgba(232,30,53,.16));
  box-shadow: 0 0 0 12px rgba(232,30,53,.05), 0 13px 24px rgba(90,108,137,.14);
}

.industry-network-orb::before,
.industry-network-orb::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(232, 30, 53, .16);
  border-radius: 50%;
}

.industry-network-orb::after {
  inset: -27px;
  border-color: rgba(232, 30, 53, .08);
}

.industry-network-orb span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
}

.industry-network-orb small {
  margin-top: -25px;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.industry-network-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 82px;
  padding: 6px 8px;
  border: 1px solid rgba(232,30,53,.16);
  border-radius: 11px;
  color: #172033;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(91,108,136,.12);
  font-size: 8px;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.industry-network-chip svg {
  width: 15px;
  height: 15px;
  color: #e81e35;
}

.chip-retail { top: 0; left: 4%; }
.chip-finance { top: 0; right: 11%; }
.chip-health { top: 80px; left: 0; }
.chip-manufacturing { top: 80px; left: 29%; }
.chip-travel { top: 86px; right: 0; }
.chip-education { bottom: 0; left: 12%; }
.chip-property { bottom: 0; right: 10%; }

.industries-proof-row {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 18px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  width: min(56%, 660px);
}

.industries-proof-row > span {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  column-gap: 7px;
  min-height: 50px;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(91,108,136,.11);
  backdrop-filter: blur(8px);
}

.industries-proof-row svg {
  grid-row: span 2;
  width: 19px;
  height: 19px;
  color: #e81e35;
}

.industries-proof-row strong,
.industries-proof-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.industries-proof-row strong {
  color: #172033;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.15;
}

.industries-proof-row small {
  color: #65728a;
  font-size: 8px;
  line-height: 1.18;
}

@media (max-width: 640px) {
  .industries-section > .container > .section-heading > .industry-heading-title {
    gap: 10px;
  }

  .industries-section > .container > .section-heading .section-kicker {
    margin-bottom: 9px;
    font-size: 8.5px;
    letter-spacing: 1px;
  }

  .industries-section > .container > .section-heading h2 {
    font-size: clamp(26px, 7.2vw, 32px);
    font-weight: 700;
    letter-spacing: -.8px;
    line-height: 1.02;
  }

  .industries-section > .container > .section-heading > p {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
  }

  .industries-section > .container > .section-heading {
    min-height: 210px;
    margin-bottom: 0;
    padding: 18px 16px !important;
    background-size: cover, auto 100%;
  }

  .industries-poster-network {
    display: none;
  }

  .industries-proof-row {
    display: none;
  }

  .industries-section > .container > .section-heading > .industry-heading-title,
  .industries-section > .container > .section-heading > p {
    max-width: 100%;
  }
}

/* Slim, wide banner with live text over the clean high-resolution ELVY artwork. */
@media (min-width: 641px) {
  .industries-section > .container {
    padding: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .industries-section > .container::after {
    display: none;
  }

  .industries-section > .container > .section-heading {
    min-height: clamp(195px, 14.5vw, 215px);
    height: auto;
    aspect-ratio: auto;
    margin: 0 auto;
    width: 100%;
    padding: 18px 26px !important;
    border: 0 !important;
    border-radius: 24px !important;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.80) 38%, rgba(255,255,255,0) 68%), url("images/elvy-industry-poster.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center, center top;
    background-size: cover, cover;
  }

  .industries-poster-network,
  .industries-proof-row {
    display: none;
  }

  .industries-section > .container > .section-heading > .industry-heading-title,
  .industries-section > .container > .section-heading > p {
    position: relative;
    z-index: 1;
    max-width: 58%;
  }

  .industries-section > .container > .section-heading > p {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.48;
  }

  .industries-section > .container > .section-heading h2 {
    font-size: clamp(28px, 2.55vw, 36px);
    letter-spacing: -1.15px;
    line-height: 1.04;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .industries-section > .container { padding: 20px !important; }
  .industries-section > .container > .section-heading { padding: 18px !important; }
  .industries-section > .container > .section-heading > .industry-heading-title,
  .industries-section > .container > .section-heading > p { max-width: 70%; }
  .industries-section > .container > .section-heading h2 { font-size: clamp(25px, 3.4vw, 32px); }
}

/* Soft-neumorphic finish for the main website banner */
.hero {
  border-color: rgba(255,255,255,.98) !important;
  background: linear-gradient(145deg, #f9fbff 0%, #e9eff7 100%) !important;
  box-shadow:
    20px 24px 48px rgba(91,108,132,.18),
    -14px -14px 30px rgba(255,255,255,.98),
    inset 1px 1px 0 rgba(255,255,255,.96) !important;
}

.hero-copy {
  border-color: rgba(255,255,255,.98) !important;
  background: linear-gradient(145deg, #f9fbff 0%, #eaf0f7 100%) !important;
  box-shadow:
    14px 16px 34px rgba(91,108,132,.16),
    -10px -10px 24px rgba(255,255,255,.99),
    inset 1px 1px 0 rgba(255,255,255,.96) !important;
}

.hero-art {
  box-shadow: inset 10px 0 22px rgba(255,255,255,.25);
}

.capability-strip {
  border-color: rgba(255,255,255,.98) !important;
  background: linear-gradient(145deg, #e8eef6 0%, #f9fbff 100%) !important;
  box-shadow:
    12px 15px 30px rgba(91,108,132,.16),
    -9px -9px 20px rgba(255,255,255,.99),
    inset 1px 1px 0 rgba(255,255,255,.94) !important;
}

.capability-strip a {
  background: linear-gradient(145deg, #f8fbff 0%, #e7edf5 100%) !important;
  box-shadow:
    inset 4px 4px 9px rgba(153,170,193,.12),
    inset -4px -4px 9px rgba(255,255,255,.88);
}

.capability-strip a:hover {
  background: linear-gradient(145deg, #fff1f3 0%, #f8dfe3 100%) !important;
}

/* Contact CTA: a concise, balanced closing section. */
.contact-section { padding-block: 12px !important; }
.contact-section > .contact-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
  padding: 16px clamp(22px, 2.5vw, 34px) !important;
  border: 1px solid #e8edf3 !important;
  border-radius: 18px !important;
  background: linear-gradient(110deg, #fff 0%, #fff9fa 100%) !important;
  box-shadow: 0 10px 25px rgba(53, 70, 97, .07) !important;
}
.contact-section > .contact-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #ef2541, #ce112e);
}
.contact-section .section-kicker {
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.contact-section h2 {
  max-width: none;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.contact-section .contact-signoff {
  margin-top: 3px;
  color: #718096 !important;
  font-size: 11px;
  line-height: 1.35;
}
.contact-section .contact-copy {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  max-width: none;
  padding-left: 0;
  border-left: 0;
}
.contact-section .contact-copy > p {
  color: #536178 !important;
  font-size: 13px;
  line-height: 1.45;
}
.contact-section .contact-copy strong { color: #243149; font-weight: 700; }
.contact-section .contact-actions { margin-top: 0; }
.contact-section .contact-actions .button-primary {
  position: relative;
  min-height: 52px;
  min-width: 218px;
  padding: 8px 9px 8px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #c70d2b !important;
  border-radius: 15px 22px 22px 15px !important;
  background: linear-gradient(135deg, #ef2342 0%, #d90f30 100%) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(180, 19, 48, .22), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  touch-action: manipulation;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact-section .contact-actions .button-primary svg {
  box-sizing: content-box;
  width: 18px;
  height: 18px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 11px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
}
.contact-section .contact-actions .button-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #f62c4b 0%, #cf0b2d 100%) !important;
  box-shadow: 0 13px 24px rgba(180, 19, 48, .27), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}
.contact-section .contact-actions .button-primary:active {
  transform: translateY(1px);
  background: #b6112a !important;
  box-shadow: 0 2px 6px rgba(172, 19, 45, .16) !important;
}
.contact-section .contact-actions .button-primary:focus-visible {
  outline: 3px solid rgba(223, 24, 53, .36) !important;
  outline-offset: 3px;
}
@media (max-width: 1040px) {
  .contact-section > .contact-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 22px !important;
  }
}
@media (max-width: 600px) {
  .contact-section { padding-block: 10px !important; }
  .contact-section > .contact-inner { padding: 18px !important; border-radius: 18px !important; }
  .contact-section h2 { font-size: clamp(22px, 6vw, 27px); }
  .contact-section .contact-copy { display: block; }
  .contact-section .contact-actions { width: 100%; }
  .contact-section .contact-actions .button-primary { width: 100%; min-width: 0; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-section .contact-actions .button-primary { transition: none; }
}

/* Compact ELVY cards with clearer text and less empty space. */
.industries-section > .container > .section-heading > .industry-heading-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.industries-section .industry-heading-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.industries-section > .container > .section-heading .industry-heading-eyebrow .section-kicker { margin: 0; }
.industries-section > .container > .section-heading .industry-heading-title > h2 {
  max-width: 100%;
  text-transform: none;
}
.industries-section .industry-grid { gap: 12px !important; margin-top: 12px; }
.industries-section .industry-card {
  min-height: 0;
  padding: 12px !important;
  border-color: #e7ebf2 !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(30,43,65,.07) !important;
}
.industries-section .industry-card:hover {
  box-shadow: 0 12px 26px rgba(30,43,65,.11) !important;
}
.industries-section .industry-card-image {
  width: calc(100% + 24px);
  aspect-ratio: 2.25 / 1;
  margin: -12px -12px 10px;
}
.industries-section .industry-card-image img { object-fit: cover; }
.industries-section .industry-card h3 { margin-bottom: 5px; }
.industries-section .industry-card p { max-width: none; line-height: 1.48; }
@media (max-width: 640px) {
  .industries-section .industry-card { padding: 12px !important; }
  .industries-section .industry-card-image {
    width: calc(100% + 24px);
    aspect-ratio: 2 / 1;
    margin: -12px -12px 10px;
  }
}

/* Demo customer profiles; sample identities and feedback are visibly disclosed. */
.customer-section { padding-block: 18px 26px; }
.customer-panel {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid #e9edf3;
  border-radius: 28px;
  background: linear-gradient(120deg, #fff 0%, #fff 58%, #fff7f8 100%);
  box-shadow: var(--refine-shadow);
}
.customer-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(22px, 3vw, 40px);
  width: 54px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--refine-red);
}
.customer-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.customer-heading .section-kicker { margin-bottom: 7px; }
.customer-heading h2 { color: var(--refine-ink); font-size: clamp(27px, 3vw, 42px); line-height: 1.08; letter-spacing: -1.2px; }
.customer-heading > p { max-width: 440px; color: var(--refine-muted); font-size: 13px; line-height: 1.6; }
.customer-project-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.customer-project-card { min-width: 0; perspective: 1200px; cursor: pointer; }
.customer-project-inner { position: relative; height: 330px; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.2, .75, .2, 1); }
.customer-project-card.is-flipped .customer-project-inner { transform: rotateY(180deg); }
.customer-project-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid #294560;
  border-radius: 16px;
  background: #0a2039;
  box-shadow: 0 14px 27px rgba(5, 20, 42, .20);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.customer-project-front { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 38px 13px 14px; text-align: center; background: radial-gradient(circle at 50% 24%, #173b60 0%, #0b223d 53%, #081b31 100%); }
.customer-sample-badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border: 1px solid #69435b; border-radius: 999px; color: #ff8197; background: #15304e; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.customer-profile-photo { width: 76px; height: 76px; margin-bottom: 10px; padding: 3px; border: 2px solid #ef1b45; border-radius: 50%; background: #112d4b; box-shadow: 0 0 0 6px rgba(239, 27, 69, .18), 0 0 22px rgba(239, 27, 69, .26); }
.customer-profile-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.customer-profile-eyebrow, .customer-project-label { color: #ff8197; font-size: 8px; font-weight: 800; letter-spacing: .06em; line-height: 1.3; }
.customer-project-front h3 { margin-top: 0; color: #fff; font-size: 17px; line-height: 1.2; }
.customer-project-front .customer-project-type { margin-top: 5px; color: #b4c7dc; font-size: 11px; line-height: 1.3; }
.customer-project-rating { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 6px; margin-top: 10px; line-height: 1.2; }
.customer-project-rating span { color: #ff5e7e; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.customer-project-rating strong { color: #fff; font-size: 12px; }
.customer-project-rating small { flex-basis: 100%; color: #adc1d7; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.customer-project-quote { display: flex; align-items: center; width: 100%; min-height: 62px; margin: 12px 0 10px; padding: 9px 11px; border-left: 3px solid #ff4566; border-radius: 0 9px 9px 0; background: rgba(255, 255, 255, .09); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.45; text-align: left; }
.customer-project-back { display: flex; flex-direction: column; gap: 6px; padding: 12px; overflow-y: auto; scrollbar-width: thin; transform: rotateY(180deg); background: linear-gradient(145deg, #102d4e, #081b31); }
.customer-project-back-image { flex: 0 0 64px; overflow: hidden; border-radius: 9px; background: #f4f7fb; }
.customer-project-back-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.customer-project-back h3 { color: #fff; font-size: 15px; line-height: 1.2; }
.customer-project-toggle, .customer-project-actions button, .customer-project-actions a { padding: 0; border: 0; background: transparent; color: var(--refine-red); font-size: 10px; font-weight: 800; line-height: 1.4; cursor: pointer; }
.customer-project-toggle { display: inline-flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; margin-top: auto; padding: 8px 10px; border: 1px solid #ec1941; border-radius: 10px; background: #ec1941; color: #fff; }
.customer-project-toggle:hover { background: #d31138; border-color: #d31138; }
.customer-project-toggle span, .customer-project-actions a span { margin-left: 5px; }
.customer-project-back > p { color: #c5d4e5; font-size: 10px; line-height: 1.35; }
.customer-demo-review { margin: 2px 0 0; padding: 7px 8px; border-left: 2px solid #ef1b45; border-radius: 0 7px 7px 0; background: #132e4b; }
.customer-demo-review span { display: block; margin-bottom: 4px; color: #ff8197; font-size: 8px; font-weight: 800; letter-spacing: .03em; line-height: 1.25; }
.customer-demo-review p { color: #fff; font-size: 12px; line-height: 1.4; }
.customer-project-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin-top: auto; padding-top: 8px; border-top: 1px solid #34506b; }
.customer-project-actions a { color: #ff8197; }
.customer-project-actions button { color: #e1eaf5; }
.customer-project-card:hover .customer-project-face { border-color: #ee4165; }
.customer-project-toggle:focus-visible, .customer-project-actions button:focus-visible, .customer-project-actions a:focus-visible { outline: 2px solid var(--refine-red); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1270px) {
  .customer-project-grid { display: flex; overflow-x: auto; padding: 3px 3px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .customer-project-card { flex: 0 0 220px; scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .customer-panel { border-radius: 22px; }
  .customer-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .customer-project-card { flex-basis: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-project-inner { transition: none; }
}

/* Homepage rhythm: remove stacked section whitespace without crowding content. */
#main-content > .section:not(.about-section):not(.contact-section):not(.customer-section):not(.ai-section):not(.products-section) { padding-block: 22px; }
#main-content > .about-section { padding-block: 28px !important; }
#main-content > .top-expertise-section { margin-top: 8px !important; }
#main-content > .ai-section { padding-top: 22px; padding-bottom: 0; }
#main-content > .ai-section + .products-section { padding-top: 0; padding-bottom: 22px; }
#main-content > .customer-section { padding-block: 12px 18px; }
#main-content > .capability-strip { margin-top: 12px !important; }
#main-content + .site-footer { margin-top: 12px !important; }

/* One type scale for every homepage section headline; the hero keeps its own hierarchy. */
#main-content { --home-section-headline-size: clamp(28px, 2.5vw, 34px); }
#main-content > section h2 {
  font-family: "Avenir Next", "Helvetica Neue", Inter, Arial, sans-serif;
  font-size: var(--home-section-headline-size);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
}
.section-end { justify-content: flex-end; }

