/* Fonts are served from this site (no requests to Google). Archivo and Source Sans 3, SIL Open Font License. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/archivo-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/archivo-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --navy: #31405A;
  --navy-deep: #253247;
  --blue: #3A6EA5;
  --blue-light: #8DB8E0;
  --ink: #1B2430;
  --muted: #556070;
  --line: #DCE3EC;
  --soft: #F2F5F9;
  --soft2: #E8EEF5;
  --white: #FFFFFF;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; background: var(--white); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 3px; }
html:not([data-lang="en"]) .en,
html:not([data-lang="es"]) .es,
html:not([data-lang="zh"]) .zh,
html:not([data-lang="fr"]) .fr,
html:not([data-lang="it"]) .it,
html:not([data-lang="de"]) .de { display: none !important; }
.wrap { max-width: 77.5rem; margin: 0 auto; padding: 0 2rem; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.12; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 1.35rem; line-height: 1.25; margin: 0 0 0.5rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 40rem; margin: 0 0 2.75rem; }

/* photo frame: shows a label until the real image loads */
.ph { position: relative; background: var(--soft2); border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: #5E6B7C; font-size: 0.9rem; text-align: center; }
.ph::before { content: attr(data-label); padding: 1rem; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph img.missing { display: none; }
.ph.illu { background: var(--white); border: 1px solid var(--line); }
.ph.illu::before { content: none; }
.ph.illu svg { width: 78%; height: auto; }

/* top bar + header */
.topbar { background: var(--navy); color: #D6E0EC; font-size: 0.875rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.topbar a { color: var(--white); text-decoration: none; margin-left: auto; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 1.25rem 2.25rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.brand img { height: 2.75rem; width: auto; }
.brand .logo-b { display: none; height: 3.3rem; }
html.logo-b .brand .logo-a { display: none; }
html.logo-b .brand .logo-b { display: block; }
footer .foot-logo { height: 2.6rem; width: auto; opacity: .92; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 6px; flex-shrink: 0; position: relative; }
.lang > button, .lang-more summary { font: 600 0.85rem var(--body); padding: 0.4rem 0.65rem; border: 0; cursor: pointer; background: transparent; color: var(--muted); line-height: 1.25; }
.lang > button:first-child { border-radius: 5px 0 0 5px; }
html[data-lang="en"] .lang > [data-set-lang="en"], html[data-lang="es"] .lang > [data-set-lang="es"] { background: var(--navy); color: var(--white); }
.lang-more { position: relative; }
.lang-more summary { list-style: none; display: flex; align-items: center; gap: 0.3rem; border-left: 1px solid var(--line); border-radius: 0 5px 5px 0; height: 100%; box-sizing: border-box; }
.lang-more summary::-webkit-details-marker { display: none; }
.lang-more summary svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-more summary::after { content: ""; width: 0.38rem; height: 0.38rem; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-25%) rotate(45deg); margin-left: 0.1rem; }
html[data-lang="zh"] .lang-more summary, html[data-lang="fr"] .lang-more summary, html[data-lang="it"] .lang-more summary, html[data-lang="de"] .lang-more summary { background: var(--navy); color: var(--white); }
html[data-lang="zh"] .lm-cur::before { content: "中文"; }
html[data-lang="fr"] .lm-cur::before { content: "FR"; }
html[data-lang="it"] .lm-cur::before { content: "IT"; }
html[data-lang="de"] .lm-cur::before { content: "DE"; }
.lang-menu { position: absolute; right: -1px; top: calc(100% + 0.45rem); z-index: 40; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.35rem; display: grid; min-width: 10.5rem; box-shadow: 0 14px 34px rgba(49, 64, 90, 0.18); }
.lang-menu button { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; font: 500 0.95rem var(--body); padding: 0.55rem 0.75rem; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
.lang-menu button small { color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.lang-menu button:hover { background: var(--soft); }
.lang-menu button[aria-pressed="true"] { color: var(--blue); font-weight: 700; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 0.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem; display: grid; min-width: 13rem; box-shadow: 0 14px 34px rgba(49, 64, 90, 0.15); }
.menu nav a { padding: 0.6rem 0.75rem; color: var(--ink); text-decoration: none; border-radius: 6px; }
.menu nav a:hover { background: var(--soft); }

.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 0.85rem 1.4rem; border-radius: 6px; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: #C9D4E2; }
.btn-white:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* hero */
.hero { background: var(--soft); }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { font-weight: 700; font-size: clamp(2.3rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.015em; margin: 0; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 0 0 2rem; }
.hero .ph { aspect-ratio: 16 / 11; }

.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.trust-set { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .5s, transform .5s, visibility 0s .5s; }
.trust-set.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .15s, transform .5s .15s, visibility 0s; }
.trust-set > div { display: flex; gap: 0.75rem; align-items: center; font-weight: 600; }
.trust svg { width: 1.65rem; height: 1.65rem; flex-shrink: 0; }

.block { padding: 6rem 0; }
.block.soft { background: var(--soft); }

/* overview cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.card .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card p { margin: 0; color: var(--muted); }
.card a.more { font-weight: 600; margin-top: auto; }

/* service detail: photo + text */
.detail { display: grid; grid-template-columns: 5fr 6fr; gap: 3.5rem; align-items: start; }
.detail.flip { grid-template-columns: 6fr 5fr; }
.detail.flip .ph { order: 2; }
.detail .ph { aspect-ratio: 4 / 3.4; position: sticky; top: 6.5rem; }
.detail .lead { margin-bottom: 2rem; }
.items { display: grid; gap: 1.5rem; }
.items article { border-left: 3px solid var(--blue); padding-left: 1.1rem; }
.items article p { margin: 0; color: var(--muted); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.steps li { background: var(--white); border-radius: 10px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; border: 1px solid var(--line); }
.steps b { font-family: var(--head); font-weight: 700; color: var(--blue); font-size: 1.4rem; }
.steps + .actions { margin-top: 2.25rem; }

/* products */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.product { display: flex; flex-direction: column; gap: 0.55rem; }
.product .ph { aspect-ratio: 1 / 1; background: var(--white); margin-bottom: 0.4rem; }
.product h3 { font-size: 1.2rem; margin: 0; }
.product p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.status { font-size: 0.92rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 0.45rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #AEB8C5; }
.status.live { color: var(--blue); }
.status.live::before { background: var(--blue); }
.status.order::before { background: var(--blue-light); }
.product .btn { align-self: flex-start; margin-top: 0.3rem; }

/* case */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-top: 2.5rem; }
.case .ph { aspect-ratio: 4 / 3; }
.case h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.case p { color: var(--muted); margin: 0 0 1.5rem; }
.case dl { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.6rem 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.case dt { font-weight: 600; }
.case dd { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about .ph { aspect-ratio: 3 / 2; }
.about p { margin: 0 0 1rem; font-size: 1.15rem; color: var(--muted); }

.contact { background: var(--navy); color: var(--white); }
.contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.contact h2 { color: var(--white); }
.contact p { margin: 0; color: #C9D6E6; font-size: 1.15rem; max-width: 36rem; }
.contact .mail { display: inline-block; margin-top: 1rem; font-family: var(--head); font-weight: 600; font-size: 1.6rem; color: var(--white); text-decoration: none; }
.contact .btn-white { border-color: transparent; }

footer { background: var(--navy-deep); color: #A9BBD0; font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; padding-top: 1.6rem; padding-bottom: 1.8rem; }
footer a { color: #A9BBD0; }

@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .top .btn { display: none; }
  .menu { display: block; margin-left: auto; }
  .hero .wrap, .detail, .detail.flip, .case, .about { grid-template-columns: 1fr; gap: 2.25rem; }
  .detail.flip .ph { order: 0; }
  .detail .ph { position: static; }
  .hero .wrap { padding-top: 3rem; padding-bottom: 3.5rem; }
  .cards { grid-template-columns: 1fr; }
  .block { padding: 4.25rem 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 1rem; }
  .products, .steps { grid-template-columns: 1fr; }
  .topbar .wrap > span:not(:first-child) { display: none; }
}
/* ---------- phone layout ---------- */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .top .wrap { min-height: 3.75rem; gap: 0.75rem; }
  .brand img { height: 2.1rem; }
  .brand .logo-b { height: 2.6rem; }
  h2 { font-size: 1.7rem; }
  .lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .block { padding: 3rem 0; }

  .hero .wrap { padding-top: 0; padding-bottom: 2.25rem; gap: 1.5rem; }
  .hero .ph { order: -1; margin: 0 -1rem; border-radius: 0; aspect-ratio: 16 / 10; }
  .hero h1 { font-size: 2rem; margin-bottom: 0; }
  .hero .actions .btn { flex: 1; text-align: center; }

  .trust .wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .trust-set { grid-template-columns: 1fr 1fr; gap: 0.9rem 0.75rem; }
  .trust-set > div { font-size: 0.88rem; line-height: 1.3; gap: 0.5rem; }
  .trust svg { width: 1.3rem; height: 1.3rem; }

  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; margin: 0 -1rem; padding: 0 1rem 0.5rem; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 80%; scroll-snap-align: start; }
  .card .body { padding: 1.1rem; }
  .card p { font-size: 0.95rem; }

  .detail .ph { display: none; }
  .items { gap: 0; border-top: 1px solid var(--line); }
  .items article { border-left: 0; padding: 0; border-bottom: 1px solid var(--line); }
  .items article h3 { font-size: 1.05rem; margin: 0; padding: 0.9rem 2rem 0.9rem 0; position: relative; cursor: pointer; }
  .items article h3::after { content: ""; position: absolute; right: 0.3rem; top: 50%; width: 0.55rem; height: 0.55rem; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
  .items article.open h3::after { transform: translateY(-30%) rotate(-135deg); }
  .items article p { display: none; padding-bottom: 1rem; font-size: 0.95rem; }
  .items article.open p { display: block; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { flex-direction: row; align-items: baseline; gap: 0.9rem; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 0.95rem; }
  .steps b { font-size: 1.1rem; min-width: 1rem; }
  .steps + .actions .btn { width: 100%; text-align: center; }

  .products { grid-template-columns: 1fr 1fr; gap: 1.25rem 0.75rem; }
  .product .ph { margin-bottom: 0.2rem; }
  .product h3 { font-size: 1rem; }
  .product p { display: none; }
  .status { font-size: 0.82rem; }
  .product .btn { width: 100%; text-align: center; padding: 0.5rem; font-size: 0.88rem; }

  .case { gap: 1.25rem; margin-top: 1.25rem; }
  .case .ph { aspect-ratio: 16 / 9; }
  .case h3 { font-size: 1.3rem; }
  .case p { font-size: 0.95rem; }
  .case dl { grid-template-columns: 5.5rem 1fr; font-size: 0.92rem; }

  .about .ph { display: none; }
  .about p { font-size: 1rem; }

  .contact .wrap { padding-top: 3rem; padding-bottom: 3rem; }
  .contact .btn-white { display: none; }
  .contact .mail { font-size: 1.3rem; }

}

/* ---------- shared: links as cards ---------- */
a.product { text-decoration: none; color: inherit; border-radius: 14px; }
a.product .ph { transition: box-shadow .2s, transform .2s; }
a.product:hover .ph { box-shadow: 0 14px 30px -14px rgba(49, 64, 90, 0.35); transform: translateY(-2px); }
a.product:hover h3 { color: var(--blue); }
.product .more, .case-card .more { font-weight: 600; color: var(--blue); font-size: 0.95rem; margin-top: 0.2rem; }
.products.one { grid-template-columns: 1fr; max-width: 20rem; }
.ph.illu img { position: static; width: 78%; height: auto; object-fit: contain; }
.case-link { color: inherit; text-decoration: none; }
.case-link:hover h3 { color: var(--blue); }
.case .more { display: inline-block; margin-top: 1.25rem; font-weight: 600; }
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.case-card { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.case-card .ph { aspect-ratio: 16 / 9; border-radius: 0; }
.case-card .body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.case-card p { margin: 0; color: var(--muted); }
.case-card:hover h3 { color: var(--blue); }

/* ---------- forms ---------- */
.cform, .dlform { background: var(--white); color: var(--ink); border-radius: 12px; padding: 1.75rem; display: grid; gap: 1rem; box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.cform label, .dlform label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.cform input:not([type=checkbox]), .cform textarea, .dlform input:not([type=checkbox]):not([type=radio]) { font: inherit; font-weight: 400; padding: 0.7rem 0.8rem; border: 1px solid #C9D4E2; border-radius: 6px; background: var(--white); color: var(--ink); width: 100%; }
.cform textarea { resize: vertical; min-height: 6rem; }
.cform input:focus, .cform textarea:focus, .dlform input:focus { outline: 2px solid var(--blue-light); border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label.check { display: flex !important; align-items: flex-start; gap: 0.6rem; font-weight: 400 !important; font-size: 0.92rem !important; color: var(--muted); }
label.check input { margin-top: 0.3rem; width: 1rem; height: 1rem; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 0.95rem; min-height: 1.2em; }
.form-msg.ok { color: #2E7D4F; font-weight: 600; }
.form-msg.err { color: #B3261E; font-weight: 600; }
.cform button[disabled], .dlform button[disabled] { opacity: .6; cursor: wait; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.contact-text p { margin-bottom: 0; }

/* ---------- detail pages ---------- */
.narrow { max-width: 50rem; }
.page-title { font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0.6rem 0 1rem; }
.detail-hero { background: var(--soft); padding: 2rem 0 4rem; }
.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.75rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.dh-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; }
.dh-grid > .ph, .gallery-main { aspect-ratio: 4 / 3; }
.dh-grid > .ph.illu { background: var(--white); }
.dh-summary { font-size: 1.2rem; color: var(--muted); margin: 0 0 2rem; }
.gallery { display: grid; gap: 0.75rem; }
.thumbs { display: flex; gap: 0.6rem; overflow-x: auto; }
.thumb { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; width: 5.5rem; aspect-ratio: 4 / 3; cursor: pointer; flex-shrink: 0; background: var(--soft2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--blue); }
.prose-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 4rem; align-items: start; }
.prose { font-size: 1.1rem; }
.prose p, .prose ul { margin: 0 0 1.1rem; color: #3a4553; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose h2 { font-size: 1.8rem; margin: 0 0 1rem; }
.prose h3 { margin: 1.75rem 0 0.5rem; }
.h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.specs { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.specs th { font-weight: 600; width: 42%; padding-right: 1rem; }
.specs td { color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.6rem 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }
.dl-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 3rem; align-items: start; }
.dl-list { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.dl-item { display: grid !important; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 0.75rem !important; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 500 !important; }
.dl-item:has(input:checked) { border-color: var(--blue); background: #F4F8FD; }
.dl-icon { font: 700 0.7rem var(--head); background: var(--navy); color: #fff; border-radius: 4px; padding: 0.3rem 0.4rem; letter-spacing: 0.04em; }
.dl-size { color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.legal h2 { font-size: 2rem; }

@media (max-width: 900px) {
  .contact .wrap, .dh-grid, .prose-grid, .dl-wrap, .case-list { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .row2 { grid-template-columns: 1fr; }
  .cform, .dlform { padding: 1.25rem; }
  .detail-hero { padding: 1.25rem 0 2.5rem; }
  .crumbs { margin-bottom: 1rem; }
  .page-title { font-size: 1.8rem; }
  .dh-summary { font-size: 1.05rem; margin-bottom: 1.25rem; }
  .prose { font-size: 1rem; }
  .product .more { display: none; }
}
.contact .cform .form-msg { color: var(--muted); font-size: 0.95rem; }
.contact .cform .form-msg.ok { color: #2E7D4F; }
.contact .cform .form-msg.err { color: #B3261E; }

/* ---------- screenshots, tables in long texts ---------- */
.ph.fit { background: #10151c; }
.ph.fit img { object-fit: contain; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.shots.one { grid-template-columns: 1fr; }
.shots.phone { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #10151c; }
.shots.phone img { border-radius: 16px; }
.shots figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.4rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.specs.wide { min-width: 30rem; }
.specs.wide thead th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); border-bottom: 2px solid var(--line); }
.specs.wide th, .specs.wide td { width: auto; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
@media (max-width: 760px) {
  .shots { grid-template-columns: 1fr; }
  .shots.phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- rotating hero ---------- */
.hero .wrap { align-items: center; }
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin: 0; }
.hero-lead { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 1rem; }
.hero-words { display: grid; gap: 0.15rem; }
.hero-word { all: unset; cursor: pointer; position: relative; display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.02em; color: #B9C3D1; padding-left: 1.4rem; transition: color .4s; }
.hero-word::before { content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 5px; border-radius: 3px; background: #D5DCE6; overflow: hidden; }
.hero-word .bar { position: absolute; left: 0; top: 0.18em; width: 5px; height: 0; border-radius: 3px; background: var(--blue); }
.hero-word.on { color: var(--navy); }
.hero-word.on .bar { animation: heroBar var(--hero-ms, 5500ms) linear forwards; }
.hero-word:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; border-radius: 4px; }
@keyframes heroBar { from { height: 0; } to { height: calc(100% - 0.36em); } }
.hero .hero-cap { margin: 1.75rem 0 0; color: var(--muted); font-size: 1.05rem; min-height: 3.2em; max-width: 30rem; }
.hero-slides { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 11; background: #1d2633; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; transform: scale(1.02); }
.hero-slides img.on { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero-tag { position: absolute; left: 1rem; bottom: 1rem; background: rgba(20, 28, 40, 0.72); color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.4rem 0.75rem; border-radius: 6px; backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: reduce) {
  .hero-slides img.on { animation: none; }
  .hero-word.on .bar { animation: none; height: calc(100% - 0.36em); }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-text { order: 2; }
}
@media (max-width: 760px) {
  .hero-slides { margin: 0 -1rem; border-radius: 0; aspect-ratio: 16 / 10; }
  .hero-lead { font-size: 1.15rem; margin-bottom: 0.6rem; }
  .hero-words { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
  .hero-word { font-size: 1.55rem; padding-left: 0; padding-bottom: 0.35rem; }
  .hero-word::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .hero-word .bar { top: auto; bottom: 0; height: 3px; width: 0; }
  .hero-word.on .bar { animation-name: heroBarX; }
  @keyframes heroBarX { from { width: 0; } to { width: 100%; } }
  .hero .hero-cap { margin-top: 1rem; font-size: 0.98rem; min-height: 0; }
}

/* ---------- where we work ---------- */
.where-title { margin: 3.5rem 0 1.25rem; font-size: 1.5rem; }
.where { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.where article { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.where .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.where .body { padding: 0.9rem 1rem 1.1rem; }
.where h4 { font-family: var(--head); color: var(--navy); font-size: 1rem; line-height: 1.3; margin: 0 0 0.35rem; }
.where p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 1080px) { .where { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .where { grid-template-columns: 1fr 1fr; } .where-title { margin-top: 2.25rem; } }

/* ---------- order journey ---------- */
.journey { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.journey::before { content: none; }
.journey .wrap { position: relative; }
.journey h2 { color: #fff; }
.journey .lead { color: #B8C6D8; max-width: 40rem; }
.route-wrap { position: relative; margin-top: 3rem; }
.track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 1.9rem; height: 2px; background: rgba(141,184,224,.18); }
.track .fill { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #8DB8E0, #3A6EA5 50%, #8DB8E0); transition: transform 2.4s cubic-bezier(.6,.05,.3,1); }
.track .box { position: absolute; top: -5px; left: 0; width: 18px; height: 12px; border-radius: 2px; background: #F2B43C; box-shadow: 0 0 14px rgba(242,180,60,.8); opacity: 0; }
.journey.go .track .fill { transform: scaleX(1); }
.journey.go .track .box { animation: ride 7s 2.4s linear infinite; }
@keyframes ride { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 18px); opacity: 0; } }
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; position: relative; }
.route li { text-align: center; opacity: .25; transform: translateY(12px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * .4s); }
.journey.go .route li { opacity: 1; transform: none; }
.jn { position: relative; width: 3.8rem; height: 3.8rem; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #1B2638; border: 2px solid rgba(141,184,224,.35); transition: border-color .6s, box-shadow .6s, background-color .6s; transition-delay: calc(var(--i) * .4s); }
.journey.go .jn { border-color: #8DB8E0; background: #3A6EA5; box-shadow: 0 0 0 6px rgba(58,110,165,.25), 0 8px 24px -6px rgba(58,110,165,.9); }
.jn svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.jn b { position: absolute; top: -.35rem; right: -.35rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #F2B43C; color: #1B2638; font: 700 .78rem/1.45rem var(--head); text-align: center; }
.route small { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8DB8E0; border: 1px solid rgba(141,184,224,.35); border-radius: 99px; padding: .1rem .6rem; margin-bottom: .55rem; }
.route h3 { color: #fff; font-size: 1.12rem; margin: 0 0 .35rem; }
.route p { margin: 0; color: #B8C6D8; font-size: .92rem; line-height: 1.5; }
.journey .actions { margin-top: 2.75rem; justify-content: center; display: flex; }
@media (max-width: 900px) {
  .route-wrap { margin-top: 2rem; }
  .track { left: 1.9rem; right: auto; top: 1rem; bottom: 1rem; width: 2px; height: auto; }
  .track .fill { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, #8DB8E0, #3A6EA5); }
  .journey.go .track .fill { transform: scaleY(1); }
  .track .box { left: -5px; top: 0; width: 12px; height: 18px; }
  @keyframes ride { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { top: calc(100% - 18px); opacity: 0; } }
  .journey.go .track .box { animation-name: rideV; }
  .route { grid-template-columns: 1fr; gap: 1.4rem; }
  .route li { text-align: left; display: grid; grid-template-columns: 3.8rem 1fr; column-gap: 1rem; align-items: start; }
  .jn { grid-row: span 3; margin: 0; }
  .route small { justify-self: start; margin-bottom: .3rem; }
  .journey .actions .btn { width: 100%; text-align: center; }
}
@keyframes rideV { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { top: calc(100% - 18px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .route li, .jn, .track .fill { transition: none; } .journey.go .track .box { animation: none; } }

/* ---------- service sections: banner + cards ---------- */
.svc-banner { position: relative; border-radius: 18px; overflow: hidden; min-height: 25rem; display: flex; align-items: flex-end; isolation: isolate; box-shadow: 0 24px 50px -30px rgba(23,32,47,.6); }
.svc-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 6s ease-out; }
.svc-banner:hover > img { transform: scale(1.1); }
.svc-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,25,38,.92) 0%, rgba(17,25,38,.75) 42%, rgba(17,25,38,.15) 75%), linear-gradient(0deg, rgba(17,25,38,.7), transparent 55%); }
.svc-head { padding: 3rem 3rem 6.5rem; max-width: 38rem; color: #fff; }
.svc-head h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); margin: .4rem 0 .9rem; }
.svc-head .lead { color: #C9D6E6; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #8DB8E0; }
.kicker b { font: 700 .8rem var(--head); color: #17202F; background: #F2B43C; border-radius: 99px; padding: .2rem .55rem; letter-spacing: 0; }
.svc-items { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1rem; margin: -4.5rem 1.5rem 0; }
.svc-items[style*="--n:5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.svc-items[style*="--n:5"] article { grid-column: span 2; }
.svc-items[style*="--n:5"] article:nth-child(n+4) { grid-column: span 3; }
.svc-items article { border: 1px solid var(--line); border-left: 0; background: #fff; border-radius: 14px; padding: 1.5rem 1.4rem 1.4rem; box-shadow: 0 14px 30px -22px rgba(23,32,47,.45); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.svc-items article::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #3A6EA5, #8DB8E0); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.svc-items article:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(23,32,47,.55); border-color: #C9D4E2; }
.svc-items article:hover::before { transform: scaleX(1); }
.svc-items .num { display: block; font: 700 .78rem var(--head); font-style: normal; color: var(--blue); letter-spacing: .06em; margin-bottom: .55rem; }
.svc-items h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
.svc-items p { font-size: .95rem; line-height: 1.55; }
@media (max-width: 1080px) {
  .svc-items, .svc-items[style*="--n:5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-items[style*="--n:5"] article, .svc-items[style*="--n:5"] article:nth-child(n+4) { grid-column: auto; }
  .svc-items[style*="--n:5"] article:last-child, .svc-items[style*="--n:3"] article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .svc-banner { min-height: 0; border-radius: 14px; }
  .svc-head { padding: 7rem 1.25rem 1.5rem; }
  .svc-banner::before { background: linear-gradient(0deg, rgba(17,25,38,.95) 30%, rgba(17,25,38,.35) 80%, rgba(17,25,38,.1)); }
  .svc-head .lead { font-size: 1rem; }
  .svc-items, .svc-items[style*="--n:5"] { display: block; margin: 1rem 0 0; background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 0 1rem; }
  .svc-items article { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 0; background: transparent; }
  .svc-items article:last-child { border-bottom: 0; }
  .svc-items article::before, .svc-items .num { display: none; }
  .svc-items article:hover { transform: none; box-shadow: none; }
}

/* ---------- order process in the service style ---------- */
.process .svc-items article { padding: 1.3rem 1.1rem 1.2rem; }
.process .svc-items .num { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.process .sic { width: 1.9rem; height: 1.9rem; border-radius: 8px; background: #EAF1F8; display: grid; place-items: center; }
.process .sic svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.process .loc { margin-left: auto; font: 600 .66rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .1rem .5rem; }
.process .svc-items h3 { font-size: 1.02rem; }
.process .svc-items p { font-size: .9rem; }
.process .actions { margin-top: 2.25rem; display: flex; justify-content: center; }
@media (max-width: 1080px) { .process .svc-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .process .sic, .process .loc { display: none; } .process .actions .btn { width: 100%; text-align: center; } }

/* ---------- products in the service style ---------- */
.svc-products { position: relative; z-index: 1; margin: -4.5rem 1.5rem 0; gap: 1rem; }
.svc-products .product { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem .85rem 1.15rem; box-shadow: 0 14px 30px -22px rgba(23,32,47,.45); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.svc-products .product::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #3A6EA5, #8DB8E0); transform: scaleX(.18); transform-origin: left; transition: transform .35s; z-index: 2; }
.svc-products .product:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(23,32,47,.55); border-color: #C9D4E2; }
.svc-products .product:hover::before { transform: scaleX(1); }
.svc-products .product .ph { border-radius: 10px; border: 0; background: var(--soft); }
.svc-products .product .ph.fit { background: #10151c; }
a.product.svc-x:hover .ph, .svc-products a.product:hover .ph { box-shadow: none; transform: none; }
.svc-products .product h3 { font-size: 1.08rem; padding: 0 .3rem; }
.svc-products .product p, .svc-products .product .status, .svc-products .product .more { padding: 0 .3rem; }
.svc-products .product p { font-size: .93rem; }
.svc-products .product .more { margin-top: auto; }
@media (max-width: 1080px) { .svc-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc-products { margin: 1rem 0 0; } }
.process .loc { display: none; }
.all-products { margin-top: 2rem; display: flex; justify-content: center; }
.svc .crumbs { margin-bottom: 1rem; }
.svc-head .page-title { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); margin: .4rem 0 .9rem; }

/* ---------- selected work: one case at a time ---------- */
.case-rot { display: grid; }
.case-rot .case { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .6s, transform .6s, visibility 0s .6s; }
.case-rot .case.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s, transform .6s, visibility 0s; }
.case-dots { display: flex; gap: .5rem; margin-top: 2rem; }
.case-dots button { width: 3rem; height: 4px; padding: 0; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; overflow: hidden; }
.case-dots button span { display: block; height: 100%; width: 0; background: var(--blue); }
.case-dots button.on span { animation: casebar var(--case-ms, 6500ms) linear forwards; }
[data-cases].paused .case-dots button.on span { animation-play-state: paused; }
@keyframes casebar { to { width: 100%; } }
.case .ph img[src$=".svg"] { object-fit: contain; padding: 12%; background: var(--white); }
.menu summary, .btn-sm, .nav a, .lang button { white-space: nowrap; }
html[data-lang="zh"] body { word-break: normal; line-break: strict; }
@media (max-width: 760px) {
  .svc-items article p { display: block !important; max-height: 0; overflow: hidden; padding-bottom: 0; opacity: 0; transition: max-height .4s ease, opacity .3s, padding-bottom .4s; }
  html:not([data-lang="en"]) .svc-items article p.en, html:not([data-lang="es"]) .svc-items article p.es { display: none !important; }
  .svc-items article.open p { max-height: 18rem; opacity: 1; padding-bottom: 1rem; }
  .svc-items article.open h3 { color: var(--blue); }
}

/* phone: order steps as a vertical route on a light card (like the earlier dark version) */
@media (max-width: 760px) {
  .process .svc-items { position: relative; padding: 1.25rem 1rem 1.25rem; }
  .process .svc-items::before { content: ""; position: absolute; left: calc(1rem + 1.2rem - 1px); top: 2.4rem; bottom: 2.4rem; width: 2px; background: linear-gradient(180deg, #8DB8E0, #3A6EA5); }
  .process .svc-items article { border: 0; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .9rem; padding: 0 0 1.2rem; position: relative; }
  .process .svc-items article:last-child { padding-bottom: 0; }
  .process .svc-items .num { display: contents; }
  .process .svc-items .sic { display: grid !important; grid-row: span 3; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #3A6EA5; box-shadow: 0 0 0 4px #EAF1F8; position: relative; z-index: 1; }
  .process .svc-items .sic svg { stroke: #fff; }
  .process .svc-items .loc { display: inline-block !important; grid-column: 2; justify-self: start; margin: 0 0 .25rem; }
  .process .svc-items h3 { grid-column: 2; padding: 0; margin: 0 0 .2rem; cursor: default; font-size: 1.05rem; }
  .process .svc-items h3::after { display: none; }
  .process .svc-items p { grid-column: 2; display: block !important; max-height: none !important; opacity: 1 !important; padding: 0 !important; font-size: .93rem; }
}
@media (max-width: 760px) { .process .svc-items .n { display: none; } .process .svc-items .loc { margin-top: .35rem; } }
.ph.render { background: #fff; }
.ph.render img, .case .ph.fit img { object-fit: contain; }
.svc-products .product .ph.render { background: #fff; border: 1px solid var(--line); }

/* sourcing figures in the banner */
.svc-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2.25rem; row-gap: .2rem; margin-top: 1.6rem; }
.svc-stats small { grid-column: 1 / -1; font: 600 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #F2B43C; }
.svc-stats div { display: flex; flex-direction: column; }
.svc-stats b { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--head); color: #fff; }
.svc-stats div > span { color: #B8C6D8; font-size: .85rem; line-height: 1.3; max-width: 11rem; }
@media (max-width: 760px) { .svc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .8rem; } .svc-stats div > span { font-size: .75rem; } }
.ph.fit, .svc-products .product .ph.fit { background: linear-gradient(180deg, #253247, #121924); }

/* team */
.team-lead { max-width: 52rem; }
.team-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 2.5rem; }
.team-facts div { border-left: 4px solid #F2B43C; padding: .3rem 0 .3rem 1rem; }
.team-facts b { display: block; font: 700 2.4rem/1 var(--head); color: var(--navy); }
.team-facts span { color: var(--muted); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.person { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.4rem; background: #fff; border: 1px solid var(--line, #e3e8ef); border-radius: 14px; padding: 1.8rem; box-shadow: 0 10px 30px rgba(15, 35, 70, .06); }
.person .avatar { width: 5.5rem; height: 5.5rem; border-radius: 50%; display: grid; place-items: center; font: 700 1.6rem var(--head); color: #fff; background: linear-gradient(135deg, #0b2a55, #2f5f9a); }
.person h3 { margin: 0; color: var(--navy); }
.person .role { margin: .25rem 0 1rem; font-weight: 600; color: #3a6ea5; }
.person p { margin: 0 0 .8rem; color: var(--muted); }
.person .draft-note { font-style: italic; }
@media (max-width: 860px) { .team, .team-facts { grid-template-columns: 1fr; } .person { grid-template-columns: 1fr; } }
.team-sec[hidden] { display: none; }
.svc-items + .actions, .items + .actions { margin-top: 2rem; }
.facts + .actions { margin-top: 1.5rem; }
.person ul { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--muted); }
.person li { margin: 0 0 .45rem; }
.person .team-ic svg { width: 2.6rem; height: 2.6rem; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.team { align-items: start; }

/* ---------- client portal entrance in the header ---------- */
.nav { align-items: center; }
.nav a.nav-portal, .menu nav a.nav-portal { display: inline-flex; align-items: center; gap: .4rem; }
.nav a.nav-portal { padding: .34rem .8rem; border: 1px solid var(--line); border-radius: 99px; margin: -.34rem 0 -.34rem -.4rem; }
.nav a.nav-portal:hover, .nav a.nav-portal[aria-current] { border-color: var(--blue); color: var(--blue); }
.nav-portal .ico { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
@media (max-width: 1180px) {
  .nav a.nav-portal { padding: .4rem; margin-left: -.6rem; }
  .nav a.nav-portal > span { display: none !important; }
  .nav a.nav-portal .ico { width: 1.15rem; height: 1.15rem; }
}
.menu nav a.nav-portal { border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: .25rem; padding-top: .8rem; }
