/* =====================================================================
   Fabio Salsi Traduzioni — salsi.net
   Aligned to the Relume "Concept 1" design system.
   Colors/typography/shadows are wired to ../tokens.css.
   ===================================================================== */
@import url("../tokens.css");

:root {
  /* map short local names onto the design-system tokens */
  --navy:      var(--color-brand-navy);
  --navy-2:    var(--color-brand-navy-600);
  --blue:      var(--color-brand-blue);
  --blue-dk:   var(--color-brand-blue-700);
  --steel:     var(--color-brand-steel);
  --steel-dk:  #5f748f;
  --sky:       var(--color-neutral-100);
  --sky-2:     var(--color-brand-mist);
  --grey-1:    var(--color-neutral-100);
  --grey-2:    var(--color-neutral-400);
  --line:      var(--border-default);
  --border:    var(--border-default);
  --border-soft: rgba(26,92,168,.15);
  --ink:       var(--text-heading);
  --page:      var(--color-neutral-100);   /* soft blue-grey background */
  --surface:   var(--color-neutral-0);      /* card / surface background */
  --header-bg: rgba(234,239,246,.85);       /* sticky header background */

  /* radius — design system: buttons/inputs 8px, cards 12–14px */
  --radius:    12px;
  --radius-lg: 14px;
  --radius-sm: 8px;
  --pill:      999px;

  --shadow-sm: var(--shadow-sm);
  --ff: var(--font-sans);
  --maxw: var(--container-max);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--ff); color: var(--text-body);
  background: var(--page); line-height: var(--lh-body); font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: var(--ff); color: var(--ink); line-height: 1.14; font-weight: 700; margin: 0 0 .4em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dk); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.bg-soft { background: var(--sky); }
.bg-pale { background: var(--sky-2); }
.bg-white { background: var(--surface); }

.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}

/* section head */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); display: inline-block; }
.section-head { max-width: 900px; margin: 0 auto 60px; text-align: center; }
.section-head p { max-width: 660px; margin-left: auto; margin-right: auto; }
.section-head.left p { max-width: 640px; margin-left: 0; margin-right: 0; }
.section-head.left { max-width: none; }
.section-head.left h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--text-body); font-size: 1.1rem; margin-bottom: 0; }
.section-head.left .eyebrow::before { display: none; }

/* buttons — squared 8px, per Relume concept */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--ff); font-weight: 600; font-size: .98rem;
  padding: .82em 1.5em; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn .btn-ico { display: inline-flex; transition: transform .2s ease; font-weight: 700; }
.btn:hover .btn-ico { transform: translateX(4px); }
/* primary = navy fill; accent CTA = blue */
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--accent { background: var(--blue); color: #fff; }
.btn--accent:hover { background: var(--blue-dk); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); color:#fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--color-neutral-50); }
.btn--wa { background: #25d366; color: #053d20; }
.btn--wa:hover { background: #1eb955; color: #053d20; }
.btn--light { background:#fff; color:#002855; }
.btn--light:hover { background:#eef3f9; color: var(--blue); }

/* top bar */
.topbar { background: var(--navy); color: #b9c8dc; font-size: .86rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; height: 44px; gap: 16px; }
.topbar a { color: #b9c8dc; } .topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__social { display: flex; gap: 16px; }

/* header / nav */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 26px; height: 80px; }

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand__dots { display: flex; gap: 5px; }
.brand__dots i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.brand__dots i:nth-child(1) { background: var(--navy); }
.brand__dots i:nth-child(2) { background: var(--steel); }
.brand__dots i:nth-child(3) { background: #fff; box-shadow: inset 0 0 0 2px var(--steel); }
.brand__txt { line-height: 1; }
.brand__name { font-weight: 800; color: var(--ink); font-size: 1.18rem; letter-spacing: .01em; }
.brand__sub { font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--steel-dk); font-weight: 600; }

.nav__links { display: flex; gap: 4px; list-style: none; }
.nav__links > li { position: relative; }
.nav__links > li > a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 600; font-size: .97rem; padding: 10px 15px; border-radius: 8px; }
.nav__links > li > a:hover { color: var(--blue); background: var(--sky); }
.nav__links .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.has-drop:hover .caret { transform: rotate(-135deg) translateY(-2px); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 10px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease; z-index: 70;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li a { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.dropdown li a:hover { background: var(--sky); color: var(--blue); }
.dropdown .d-ico { color: var(--blue); flex: 0 0 auto; font-size: 1.05rem; line-height: 1.4; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 46px; height: 46px; border-radius: 10px; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content:""; display:block; width: 24px; height: 2px; background: var(--navy); margin: 0 auto; transition: .25s; position: relative; }
.nav__toggle span::before { position:absolute; top:-7px; } .nav__toggle span::after { position:absolute; top:7px; }

/* hero */
.hero { position: relative; overflow: hidden; background:
   radial-gradient(900px 480px at 88% -10%, rgba(26,92,168,.14), transparent 60%),
   radial-gradient(700px 420px at -5% 110%, rgba(0,40,85,.07), transparent 55%),
   var(--page); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 90px 0 100px; }
.hero__pill { display: inline-flex; align-items: center; gap: 9px; background: var(--color-brand-blue-050); color: var(--blue-dk); border: 1px solid var(--border-soft); border-radius: var(--pill); padding: 7px 16px 7px 8px; font-weight: 600; font-size: .86rem; margin-bottom: 1.4rem; }
.hero__pill b { background: var(--blue); color: #fff; border-radius: var(--pill); padding: 3px 11px; font-size: .76rem; }
.hero h1 { font-size: clamp(2.3rem, 4.7vw, 3.7rem); font-weight: 800; margin-bottom: .5em; }
.hero h1 .accent { color: var(--blue); }
.hero__lead { font-size: 1.16rem; color: var(--text-body); max-width: 44ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: .9rem; }
.hero__note { font-size: .88rem; color: var(--text-body); margin: 0 0 2rem; display: inline-flex; align-items: center; gap: 8px; }
.hero__note::before { content: "✓"; color: var(--blue); font-weight: 800; }
.hero__clients { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatars span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; background: var(--sky-2); display: grid; place-items: center; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.avatars span:first-child { margin-left: 0; }
.hero__clients .ct b { color: var(--ink); display: block; line-height: 1.1; }
.hero__clients .ct span { font-size: .86rem; color: var(--text-body); }

.hero__media { position: relative; }
.hero__photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/5.2; object-fit: cover; }
.hero__art { position: relative; width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 5/5.2; overflow: hidden; }
.hero__art svg { width: 100%; height: 100%; display: block; }
.hero__statcard { position: absolute; left: -26px; bottom: 30px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.hero__statcard .n { font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.hero__statcard .l { font-size: .8rem; color: var(--text-body); max-width: 12ch; }
.hero__badge { position: absolute; right: -14px; top: 26px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow-md); max-width: 220px; }
.hero__badge .bdots { display: flex; gap: 4px; flex: 0 0 auto; }
.hero__badge .bdots i { width: 10px; height: 10px; border-radius: 50%; }
.hero__badge .bdots i:nth-child(1){background:var(--surface);} .hero__badge .bdots i:nth-child(2){background:var(--steel);} .hero__badge .bdots i:nth-child(3){background:var(--blue);}
.hero__badge span { font-size: .82rem; line-height: 1.25; }

/* brand / trust strip */
.brands { border-top: 1px solid var(--grey-1); border-bottom: 1px solid var(--grey-1); background: var(--surface); }
.brands__row { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 30px 0; }
.brands__label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); }
.brands__item { font-weight: 700; font-size: 1.05rem; color: var(--ink); opacity: .74; display: inline-flex; align-items: center; gap: 8px; transition: opacity .2s; }
.brands__item:hover { opacity: 1; }
.brands__item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.svc { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-soft); }
.svc__img { height: 172px; position: relative; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,40,85,0) 40%, rgba(0,40,85,.55)); }
.svc__img .num { position: absolute; top: 12px; right: 16px; z-index: 2; font-weight: 800; font-size: 1rem; color: #fff; background: rgba(0,40,85,.5); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; backdrop-filter: blur(2px); }
.svc__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: .55rem; }
.svc__list { list-style: none; display: grid; gap: 9px; margin-bottom: 18px; }
.svc__list li { font-size: .93rem; color: var(--text-body); padding-left: 20px; position: relative; }
.svc__list li::before { content:"›"; position:absolute; left:0; color: var(--blue); font-weight: 800; }
.svc__list li b { color: var(--ink); font-weight: 600; }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); font-size: .92rem; }
.svc__more .arr { transition: transform .2s; }
.svc:hover .svc__more .arr { transform: translateX(4px); }

/* other languages band */
.langs { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.langs .eyebrow { margin-bottom: .5rem; }
.langs h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.langs p { margin: 0; color: var(--text-body); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.lang-chips span { background: var(--sky); color: var(--ink); border: 1px solid var(--border); border-radius: var(--pill); padding: 8px 16px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.lang-chips span.is-main { background: var(--navy); color: #fff; border-color: var(--ink); }
@media (max-width: 820px) { .langs { grid-template-columns: 1fr; } .lang-chips { justify-content: flex-start; } }

/* business / empresas section */
.biz-sec { background: radial-gradient(620px 320px at 12% 0%, rgba(26,92,168,.30), transparent 60%), var(--navy); color: #cdddf0; }
.biz { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.biz h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
.biz p { color: #a7bcd6; font-size: 1.06rem; margin-bottom: 1.4rem; }
.biz .eyebrow { color: var(--brand-blue-300); }
.biz .eyebrow::before { background: var(--brand-blue-300); }
.biz__list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 1.6rem; }
.biz__list li { display: flex; gap: 11px; align-items: flex-start; color: #dbe6f3; font-weight: 500; font-size: .98rem; }
.biz__list li::before { content: "✓"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(76,134,201,.22); color: var(--brand-blue-300); font-weight: 800; font-size: .8rem; display: grid; place-items: center; margin-top: 1px; }
@media (max-width: 820px) { .biz { grid-template-columns: 1fr; gap: 32px; } }

/* reusable image placeholder — marks where a real image should go */
.img-ph { border: 2px dashed var(--border-strong); border-radius: var(--radius); background: var(--sky); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px; min-height: 300px; color: var(--text-muted); }
.img-ph svg { width: 46px; height: 46px; opacity: .55; }
.img-ph .ph-title { font-weight: 700; color: var(--ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.img-ph .ph-desc { font-size: .9rem; max-width: 34ch; line-height: 1.5; }

/* detailed service sections (3 sub-blocks each) */
.svc-detail .section-head { margin-bottom: 42px; }
.subs { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.sub { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.sub:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sub__media { height: 175px; position: relative; overflow: hidden; }
.sub__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sub:hover .sub__media img { transform: scale(1.06); }
.sub__ph { height: 100%; min-height: 175px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px; padding: 16px; background: var(--sky); border-bottom: 1px dashed var(--border-strong); color: var(--text-muted); }
.sub__ph::before { content: ""; width: 30px; height: 30px; opacity: .5; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002855' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E"); }
.sub__ph .ph-title { font-weight: 700; color: var(--ink); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.sub__ph .ph-desc { font-size: .78rem; line-height: 1.4; max-width: 30ch; }
.sub__body { padding: 20px 22px 24px; }
.sub__body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.sub__body p { margin: 0; font-size: .92rem; color: var(--text-body); }
@media (max-width: 900px) { .subs { grid-template-columns: 1fr; } }

/* about / bio */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; }
.about__exp { position: absolute; right: -20px; bottom: -20px; background: var(--blue); color: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-md); text-align: center; }
.about__exp .n { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about__exp .l { font-size: .78rem; letter-spacing: .04em; }
.creds { display: flex; gap: 22px; margin: 22px 0; flex-wrap: wrap; }
.cred { display: flex; align-items: center; gap: 12px; }
.cred img { width: 56px; height: 56px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.cred b { display: block; font-size: .92rem; color: var(--ink); }
.cred span { font-size: .78rem; color: var(--text-body); }
.about__body h2 { font-size: clamp(1.9rem,3.6vw,2.7rem); font-weight: 800; }
.about__list { list-style: none; display: grid; gap: 13px; margin: 1.2rem 0 1.8rem; }
.about__list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-body); }
.about__list li .ck { flex:0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 800; margin-top: 2px; }

/* stats */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats__row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; position: relative; z-index: 1; }
.stat__n { font-size: clamp(2.4rem,4.5vw,3.4rem); font-weight: 800; color: #fff; line-height: 1; display: inline-flex; align-items: baseline; }
.stat__n .suf { color: var(--steel); }
.stat__l { color: #a7bcd6; font-size: .96rem; margin-top: 6px; }
.stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }

/* memberships */
.members__row { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.member { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__logo { height: 74px; display: grid; place-items: center; }
.member__logo img { max-height: 74px; max-width: 100%; width: auto; object-fit: contain; }
.member b { color: var(--ink); font-size: .96rem; line-height: 1.3; }
.member span { font-size: .8rem; color: var(--grey-2); font-weight: 600; letter-spacing: .05em; }

/* how it works — steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.step { text-align: center; }
.step__ic { position: relative; width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; background: var(--sky-2); display: grid; place-items: center; color: var(--blue); }
.step:nth-child(even) .step__ic { background: var(--color-brand-blue-050); }
.step__ic svg { width: 40px; height: 40px; }
.step__n { position: absolute; top: -4px; left: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step:nth-child(even) .step__n { background: var(--blue); }
.step h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--text-body); margin: 0; max-width: 24ch; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2,1fr); gap: 36px 24px; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* translation process (methodology) */
.process { background: radial-gradient(600px 260px at 50% -20%, rgba(26,92,168,.35), transparent 60%), var(--navy); border-radius: var(--radius-lg); padding: 48px 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; box-shadow: var(--shadow-md); }
.pstep { flex: 1; text-align: center; position: relative; }
.pstep__ic { position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 16px; border: 2px solid rgba(255,255,255,.16); background: var(--navy); display: grid; place-items: center; color: var(--brand-blue-300); }
.pstep__ic svg { width: 34px; height: 34px; }
.pstep h4 { color: #fff; font-size: .98rem; margin: 0; }
.pstep p { color: #a7bcd6; font-size: .8rem; line-height: 1.35; margin: 7px auto 0; max-width: 22ch; }
.pstep:not(:last-child)::after { content: ""; position: absolute; top: 37px; left: 50%; width: 100%; border-top: 2px dotted rgba(255,255,255,.30); z-index: 0; }
@media (max-width: 720px) {
  .process { flex-direction: column; align-items: center; gap: 24px; padding: 36px 24px; }
  .pstep:not(:last-child)::after { display: none; }
}

/* data / cifras */
.datagrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.datacard { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 22px; text-align: center; transition: transform .25s, box-shadow .25s; }
.datacard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.datacard .n { font-size: clamp(2.2rem,4vw,3rem); font-weight: 800; color: var(--blue); line-height: 1; display: inline-flex; align-items: baseline; }
.datacard .n .suf { color: var(--steel); font-size: .7em; }
.datacard .l { margin-top: 8px; color: var(--text-body); font-size: .95rem; }
@media (max-width: 820px) { .datagrid { grid-template-columns: repeat(2,1fr); gap: 18px; } }
.bars-title { text-align: center; font-size: 1.2rem; color: var(--ink); margin: 50px 0 22px; }
.bars { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 190px 1fr 44px; align-items: center; gap: 14px; }
.bar__label { font-size: .92rem; color: var(--ink); font-weight: 600; text-align: right; }
.bar__track { background: var(--sky-2); border-radius: var(--pill); height: 14px; overflow: hidden; }
.bar__fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--navy)); border-radius: var(--pill); }
.bar__val { font-weight: 800; color: var(--blue); font-size: .95rem; }
@media (max-width: 600px) { .bar { grid-template-columns: 118px 1fr 30px; gap: 8px; } .bar__label { font-size: .76rem; } }

/* FAQ accordion */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
.faq { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq .chev { width: 11px; height: 11px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg); transition: transform .25s; flex: 0 0 auto; margin-top: -3px; }
.faq[open] .chev { transform: rotate(-135deg); margin-top: 3px; border-color: var(--blue); }
.faq[open] summary { color: var(--blue); }
.faq__a { padding: 0 22px 20px; color: var(--text-body); font-size: .95rem; line-height: 1.65; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* types of translation */
.types-note { max-width: 840px; margin: 0 auto 36px; background: var(--color-brand-blue-050); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px 24px; text-align: center; color: var(--ink); font-size: 1rem; }
.types-note strong { color: var(--blue); }
.types { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.type { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.type:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.type--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.type__htxt { display: flex; flex-direction: column; line-height: 1.15; }
.type__tag { font-size: .76rem; font-weight: 500; color: rgba(255,255,255,.82); margin-top: 2px; }
.type__badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--pill); box-shadow: var(--shadow-sm); }
.type__head { background: var(--navy); color: #fff; padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.type--featured .type__head { background: var(--blue); }
.type__head svg { width: 26px; height: 26px; flex: 0 0 auto; }
.type__head h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.type__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.type__list { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; }
.type__list li { position: relative; padding-left: 22px; font-size: .93rem; color: var(--text-body); }
.type__list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.type__for { border-top: 1px dashed var(--border); padding-top: 14px; margin-top: auto; margin-bottom: 18px; }
.type__for b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel-dk); margin-bottom: 6px; }
.type__for span { font-size: .9rem; color: var(--text-body); }
.type .btn { justify-content: center; }
.types-foot { text-align: center; margin-top: 30px; font-size: .95rem; color: var(--text-muted); }
.types-foot strong { color: var(--ink); }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } }

/* recognition routes (equipollenza / equivalenza) */
.recon { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.recon__card { background: var(--surface); border: 1px solid var(--grey-1); border-left: 4px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px 30px; transition: transform .25s, box-shadow .25s; }
.recon__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.recon__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-dk); margin-bottom: 6px; }
.recon__card h3 { font-size: 1.3rem; margin-bottom: .2rem; color: var(--ink); }
.recon__old { display: block; font-size: .82rem; color: var(--text-muted); font-style: italic; margin-bottom: 12px; }
.recon__card p { color: var(--text-body); margin-bottom: .9rem; }
.recon__list { list-style: none; display: grid; gap: 9px; margin: 0; }
.recon__list li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--text-body); }
.recon__list li::before { content: "›"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
@media (max-width: 920px) { .recon { grid-template-columns: 1fr; } }

/* contact */
.contact { background:
   radial-gradient(600px 300px at 90% 0%, rgba(26,92,168,.30), transparent 60%), var(--navy); color: #cdddf0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(2rem,4vw,2.9rem); font-weight: 800; }
.contact p { color: #a7bcd6; font-size: 1.08rem; }
.contact__info { display: grid; gap: 14px; margin-top: 24px; }
.cinfo { display: flex; align-items: center; gap: 15px; }
.cinfo .ci { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; font-size: 1.25rem; flex: 0 0 auto; }
.cinfo .ct span { display: block; font-size: .8rem; color: #8aa4c4; }
.cinfo .ct a, .cinfo .ct b { color: #fff; font-weight: 600; }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.qform { background: var(--surface); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); }
.qform h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 6px; }
.qform .qsub { color: var(--text-body); font-size: .94rem; margin-bottom: 20px; }
.qform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff); font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--sky); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: var(--focus-ring); }
.field textarea { resize: vertical; min-height: 96px; }
.qform .note { font-size: .8rem; color: var(--grey-2); margin-top: 12px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; }
.form-msg.ok  { background: #E8F3EC; color: #2E7D52; }  /* feedback-success + bg (skill tokens) */
.form-msg.err { background: #FAEAE7; color: #C8402F; }  /* feedback-error + bg (skill tokens) */
.qform.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.hpot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post { background: var(--surface); border: 1px solid var(--grey-1); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post__img { height: 190px; position: relative; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 12px; border-radius: var(--pill); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .8rem; color: var(--grey-2); margin-bottom: 8px; }
.post__body h3 { font-size: 1.16rem; line-height: 1.3; margin-bottom: 14px; }
.post__more { margin-top: auto; font-weight: 600; color: var(--blue); font-size: .9rem; display: inline-flex; gap: 7px; align-items: center; }

/* footer */
.site-footer { background: var(--color-neutral-900); color: #93a8c4; padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer__brand img { height: 74px; width: auto; margin-bottom: 4px; }
.footer h4 { color: #fff; }
.footer__brand p { font-size: .94rem; margin: 16px 0; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: .85rem; }
.footer__social a:hover { background: var(--blue); }
.footer h4 { font-size: 1.05rem; margin-bottom: 20px; }
.footer__links { list-style: none; display: grid; gap: 11px; }
.footer__links a { color: #93a8c4; font-size: .94rem; } .footer__links a:hover { color: #fff; }
.footer__news p { font-size: .92rem; margin-bottom: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: #fff; font-family: var(--ff); }
.news-form input::placeholder { color: #6f88a8; }
.news-form button { border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; flex: 0 0 auto; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer__bottom small { color: #6f88a8; font-size: .85rem; }
.footer__bottom .links { display: flex; gap: 20px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; } .reveal[data-d="3"] { transition-delay: .24s; }

/* responsive */
@media (max-width: 1000px) {
  .hero__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media, .about__media { max-width: 440px; margin: 0 auto; }
  .svc-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .members__row { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__row { grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
  .stats .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .topbar { display: none; }
  .nav__links { position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0; background: var(--surface); padding: 10px 24px 22px; transform: translateY(-135%); transition: transform .3s ease; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--grey-1); max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav__links.open { transform: none; }
  .nav__links > li { border-bottom: 1px solid var(--grey-1); }
  .nav__links > li > a { padding: 15px 4px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .has-drop .caret { display: none; }
  .nav__toggle { display: block; }
  .nav .btn--primary { display: none; }
  .qform .row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .svc-grid, .blog-grid, .members__row { grid-template-columns: 1fr; }
  .hero__statcard { left: 8px; } .hero__badge { right: 8px; }
  .about__exp { right: 8px; }
}

/* =========================== DARK THEME =========================== */
:root[data-theme="dark"] {
  --page: #0B131F;
  --surface: #16202E;
  --ink: #F3F7FC;
  --body: #C4D0DF;
  --sky: #14212F;
  --sky-2: #1C2C3E;
  --grey-1: #243448;
  --line: #2A3949;
  --border: #2A3949;
  --border-soft: rgba(76,134,201,.30);
  --steel-dk: #9fb3c9;
  --header-bg: rgba(11,19,31,.82);
  --blue: #4C86C9;
  --blue-dk: #6ea3db;
  /* raw tokens used directly in a few rules */
  --color-neutral-50: #1C2C3E;
  --color-brand-blue-050: #13273c;
}
:root[data-theme="dark"] .site-footer { background: #060d15; }

/* theme toggle button */
.theme-toggle { width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--border); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s; flex: 0 0 auto; }
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* footer tagline */
.footer__brand .footer__tag { color: #fff; font-weight: 700; font-size: 1.08rem; margin: 12px 0 0; }

/* differentiator band (after hero) */
.diff-band { background: var(--color-brand-blue-050); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.diff-band .container { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px 24px; }
.diff-band .db-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.diff-band .db-ico svg { width: 22px; height: 22px; }
.diff-band p { margin: 0; color: var(--ink); font-size: 1.06rem; max-width: 920px; }
.diff-band strong { color: var(--blue); }
@media (max-width: 640px) { .diff-band .container { flex-direction: column; gap: 10px; text-align: center; padding: 18px 24px; } }
