:root {
    --black: #07090C;
    --graphite: #101317;
    --navy: #172033;
    --navy-2: #1b2638;
    --blue: #2F80FF;
    --cyan: #36D6E7;
    --silver: #C8D4E8;
    --silver-dim: #8a96aa;
    --white: #F7F9FC;
    --cta: #FF6340;
    --serif: "adobe-garamond-pro", "Adobe Garamond Pro", "Garamond", "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gutter: clamp(20px, 4vw, 56px);
    --max: 1680px;
    --fs: 1;
    --bg: #07090C;
    --bg-2: #101317;
    --bg-3: #172033;
    --bg-3b: #1b2638;
    --text: #F7F9FC;
    --text-2: #C8D4E8;
    --text-3: #8a96aa;
    --border: rgba(54,214,231,0.1);
    --border-2: rgba(54,214,231,0.15);
    --border-3: rgba(54,214,231,0.25);
    --nav-bg: rgba(7, 9, 12, 0.72);
    --strip-bg: rgba(16, 19, 23, 0.4);
    --card-grad: linear-gradient(180deg, #172033 0%, #101317 100%);
    --phil-grad: linear-gradient(180deg, #101317 0%, #172033 100%);
    --hero-glow-1: rgba(47, 128, 255, 0.18);
    --hero-glow-2: rgba(54, 214, 231, 0.10);
    --icon-bg: #172033;
    --node-bg: #172033;
    --hv-line: rgba(54, 214, 231, 0.18);
    --hv-ring: rgba(54,214,231,0.1);
  }
  html[data-theme="light"] {
    --bg: #F7F9FC; --bg-2: #ECEFF5; --bg-3: #FFFFFF; --bg-3b: #F2F5FA;
    --text: #0F1626; --text-2: #3A4558; --text-3: #6A7689;
    --border: rgba(15,22,38,0.10); --border-2: rgba(15,22,38,0.14); --border-3: rgba(15,22,38,0.22);
    --nav-bg: rgba(247,249,252,0.78); --strip-bg: rgba(255,255,255,0.6);
    --card-grad: linear-gradient(180deg,#FFFFFF 0%,#ECEFF5 100%);
    --phil-grad: linear-gradient(180deg,#ECEFF5 0%,#DEE6F2 100%);
    --hero-glow-1: rgba(47,128,255,0.14); --hero-glow-2: rgba(54,214,231,0.10);
    --icon-bg: #FFFFFF; --node-bg: #FFFFFF;
    --hv-line: rgba(47,128,255,0.22); --hv-ring: rgba(15,22,38,0.10);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; line-height: 1.55; font-size: calc(17px * var(--fs)); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  ::selection { background: var(--blue); color: var(--white); }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
  .logo { font-family: var(--serif); font-size: calc(30px * var(--fs)); line-height: 1; letter-spacing: -0.01em; display: inline-flex; align-items: flex-start; gap: 6px; color: var(--text); user-select: none; }
  .logo .i { color: var(--blue); font-weight: 700; }
  .logo .mid { color: var(--text); font-weight: 300; }
  .logo .a { color: var(--cyan); font-weight: 700; }
  .logo .pill { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%); color: var(--white); font-family: var(--sans); font-weight: 500; font-size: calc(10px * var(--fs)); letter-spacing: 0.04em; padding: 3px 7px; border-radius: 4px; margin-top: 2px; line-height: 1; }
  .nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
  .nav-links { display: flex; gap: 36px; align-items: center; font-size: calc(14px * var(--fs)); color: var(--text-2); font-weight: 300; letter-spacing: 0.01em; }
  .nav-links a { transition: color .2s ease; }
  .nav-links a:hover { color: var(--text); }
  .nav-cta { font-family: var(--sans); font-size: calc(14px * var(--fs)); font-weight: 400; color: var(--white); background: var(--blue); padding: 11px 20px; border-radius: 999px; letter-spacing: 0.01em; transition: background .2s ease; }
  .nav-cta:hover { background: #4690ff; }
  .nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; }
  .nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-2); transition: transform .2s ease, opacity .2s ease; }
  @media (max-width: 760px) {
    .nav-hamburger { display: flex; }
    .nav-links a:not(.nav-cta):not(.nav-keep):not([class*="lang"]) { display: none; }
    .nav-links.open { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 0; }
    .nav-links.open a { padding: 12px var(--gutter); display: block; }
  }
  .hero { position: relative; padding: clamp(40px,6vw,80px) 0 clamp(60px,8vw,120px); overflow: visible; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px,6vw,96px); align-items: center; }
  @media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: calc(12px * var(--fs)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); font-weight: 400; }
  .eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--cyan); }
  h1.headline { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(44px,6.4vw,92px) * var(--fs)); line-height: 1.02; letter-spacing: -0.02em; color: var(--text); margin: 22px 0 28px; text-wrap: balance; }
  h1.headline em { font-style: italic; font-weight: 400; color: var(--cyan); }
  .lede { font-size: calc(18px * var(--fs)); line-height: 1.65; color: var(--text-2); max-width: 540px; font-weight: 300; }
  .cta-row { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
  .btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: calc(15px * var(--fs)); font-weight: 400; padding: 13px 26px; line-height: 1; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease; letter-spacing: 0.005em; }
  .btn-primary { background: var(--blue); color: var(--white); }
  .btn-primary:hover { background: #4690ff; }
  .btn-primary .arrow { transition: transform .2s ease; }
  .btn-primary:hover .arrow { transform: translateX(3px); }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--border-3); }
  .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
  .btn-warm { background: var(--cta); color: var(--white); }
  .btn-warm:hover { background: #ff7855; }
  .hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 500px; justify-self: end; align-self: center; overflow: visible; }
  @media (max-width: 940px) { .hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 500px; justify-self: end; align-self: center; overflow: visible; } }
  .hv-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--border); }
  .hv-ring.r2 { inset: 12%; }
  .hv-ring.r3 { inset: 26%; border-color: rgba(47,128,255,0.18); }
  .hv-ring.r4 { inset: 40%; border-color: rgba(54,214,231,0.22); }
  .hv-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hv-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 18%; height: 18%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--cyan), var(--blue) 65%, #1a4ec0 100%); box-shadow: 0 0 0 1px rgba(54,214,231,0.4), 0 0 80px rgba(47,128,255,0.45), 0 0 160px rgba(47,128,255,0.2); }
  .hv-core::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.6), transparent 60%); mix-blend-mode: screen; }
  .hv-node { position: absolute; width: 56px; height: 56px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--text-2); transform: translate(-50%,-50%); transition: border-color .3s ease, transform .3s ease; }
  .hv-node:hover { border-color: var(--cyan); transform: translate(-50%,-50%) scale(1.05); }
  .hv-node svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .hv-node.sm { width: 40px; height: 40px; border-radius: 8px; }
  @keyframes pulse { 0% { stroke-dashoffset: 200; opacity: 0; } 20% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  .hv-line { stroke: var(--hv-line); stroke-width: 1; fill: none; }
  .hv-pulse { stroke: var(--cyan); stroke-width: 1.5; fill: none; stroke-dasharray: 8 200; animation: pulse 3.5s linear infinite; }
  .hv-pulse.d2 { animation-delay: -1s; stroke: var(--blue); }
  .hv-pulse.d3 { animation-delay: -2s; }
  .hv-pulse.d4 { animation-delay: -2.6s; stroke: var(--blue); }
  @keyframes drift { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  .hv-orbit { position: absolute; inset: 0; animation: drift 90s linear infinite; }
  .hero::before { content: ""; position: absolute; top: -200px; right: -150px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(47,128,255,0.18), transparent 65%); pointer-events: none; }
  .hero::after { content: ""; position: absolute; bottom: -240px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(54,214,231,0.10), transparent 65%); pointer-events: none; }
  .strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; background: var(--strip-bg); }
  .strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .strip-label { font-family: var(--serif); font-size: calc(16px * var(--fs)); letter-spacing: 0.04em; text-transform: none; color: var(--text); font-weight: 400; font-style: italic; }
  .strip-tags { display: flex; gap: clamp(12px,2vw,32px); flex-wrap: wrap; }
  .strip-tag { font-family: var(--sans); font-size: calc(14px * var(--fs)); font-weight: 300; color: var(--text-2); letter-spacing: 0.01em; font-style: italic; }
  section { padding: clamp(90px,11vw,150px) 0; position: relative; }
  .sec-head { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px,6vw,96px); margin-bottom: clamp(60px,7vw,100px); align-items: end; }
  @media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 24px; } }
  .sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(36px,4.6vw,64px) * var(--fs)); line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0 0; text-wrap: balance; color: var(--text); }
  .sec-head h2 em { font-style: italic; color: var(--cyan); font-weight: 400; }
  .sec-lede { font-size: calc(17px * var(--fs)); color: var(--text-2); max-width: 520px; line-height: 1.65; }
  .service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: clamp(40px,5vw,60px); }
  @media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }
  .service-card { background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 14px; padding: clamp(28px,3.5vw,40px); display: flex; flex-direction: column; gap: 16px; transition: border-color .25s; }
  .service-card:hover { border-color: var(--cyan); }
  .service-num { font-family: var(--serif); font-style: italic; color: var(--cyan); font-size: calc(14px * var(--fs)); letter-spacing: 0.06em; }
  .service-card h3 { font-family: var(--serif); font-weight: 400; font-size: calc(26px * var(--fs)); color: var(--text); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
  .service-card p { font-size: calc(15px * var(--fs)); color: var(--text-2); line-height: 1.6; margin: 0; flex: 1; }
  .service-link { display: inline-flex; align-items: center; gap: 8px; font-size: calc(13px * var(--fs)); color: var(--cyan); letter-spacing: 0.04em; margin-top: auto; }
  .service-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .phil-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px,6vw,96px); align-items: start; }
  @media (max-width: 860px) { .phil-grid { grid-template-columns: 1fr; } }
  .phil-left .eyebrow { margin-bottom: 16px; }
  .phil-left h2 { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(32px,4vw,52px) * var(--fs)); line-height: 1.08; letter-spacing: -0.02em; color: var(--text); margin: 0 0 20px; }
  .phil-left h2 em { font-style: italic; color: var(--cyan); }
  .phil-body { font-size: calc(16px * var(--fs)); color: var(--text-2); line-height: 1.7; }
  .phil-item { padding: 20px 0; border-top: 1px solid var(--border); }
  .phil-item:first-child { border-top: none; padding-top: 0; }
  .phil-item-label { font-size: calc(13px * var(--fs)); font-weight: 500; color: var(--text); margin-bottom: 6px; letter-spacing: 0.01em; }
  .phil-item p { font-size: calc(14.5px * var(--fs)); color: var(--text-2); line-height: 1.6; margin: 0; }
  .cta-band { background: var(--bg); padding: clamp(80px,10vw,140px) 0; border-top: 1px solid var(--border); }
  .cta-band-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
  @media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } }
  .cta-band h3 { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(36px,4.2vw,56px) * var(--fs)); line-height: 1.08; margin: 16px 0 22px; color: var(--text); letter-spacing: -0.02em; text-wrap: balance; }
  .cta-band h3 em { color: var(--cyan); font-style: italic; }
  .cta-band p { color: var(--text-2); font-size: calc(17px * var(--fs)); line-height: 1.65; margin: 0 0 32px; max-width: 480px; }
  .cta-card { background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%); border: 1px solid var(--border-2); border-radius: 16px; padding: 36px; position: relative; overflow: hidden; }
  .cta-card::before { content: ""; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(47,128,255,0.18), transparent 60%); pointer-events: none; }
  .cta-card-label { font-size: calc(11px * var(--fs)); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
  .cta-card h4 { font-family: var(--serif); font-weight: 400; font-size: calc(28px * var(--fs)); margin: 0 0 12px; color: var(--text); letter-spacing: -0.01em; }
  .cta-card p { color: var(--text-2); font-size: calc(14.5px * var(--fs)); line-height: 1.6; margin: 0 0 24px; }
  .cta-card-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .cta-card-meta div { display: flex; flex-direction: column; gap: 4px; }
  .cta-card-meta dt { font-size: calc(10px * var(--fs)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
  .cta-card-meta dd { margin: 0; font-family: var(--serif); font-size: calc(17px * var(--fs)); color: var(--text); font-style: italic; }
  .cta-card .btn { width: 100%; justify-content: center; }
  footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 72px 0 28px; }
  .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(32px,4vw,56px); padding-bottom: 56px; border-bottom: 1px solid var(--border); }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
  .foot-brand p { color: var(--text-2); font-size: calc(14px * var(--fs)); line-height: 1.65; margin: 18px 0 0; max-width: 320px; }
  .foot-col h5 { font-size: calc(11px * var(--fs)); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin: 0 0 18px; font-weight: 500; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
  .foot-col a { color: var(--text-2); font-size: calc(14.5px * var(--fs)); transition: color .2s ease; }
  .foot-col a:hover { color: var(--cyan); }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; gap: 24px; flex-wrap: wrap; font-size: calc(12.5px * var(--fs)); color: var(--text-3); letter-spacing: 0.04em; }
  .foot-bottom .pill-dot { display: inline-flex; align-items: center; gap: 8px; }
  .foot-bottom .pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
  .page.hero { position: relative; padding: clamp(40px,6vw,80px) 0 clamp(60px,8vw,120px); overflow: visible; }
  .page-hero::before { content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--hero-glow-1), transparent 65%); pointer-events: none; }
  .page-hero::after { content: ""; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, var(--hero-glow-2), transparent 65%); pointer-events: none; }
  .page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px,6vw,96px); align-items: end; position: relative; }
  @media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; align-items: start; } }
  .page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(44px,6vw,78px) * var(--fs)); line-height: 1.04; letter-spacing: -0.02em; color: var(--text); margin: 20px 0 24px; text-wrap: balance; }
  .page-hero h1 em { font-style: italic; color: var(--cyan); font-weight: 400; }
  .page-lede { font-size: calc(18px * var(--fs)); color: var(--text-2); max-width: 540px; line-height: 1.65; }
  .band { padding: clamp(80px,10vw,140px) 0; position: relative; }
  .band-2 { background: var(--bg-2); position: relative; isolation: isolate; }
  .band-grad { background: var(--phil-grad); }
  .manifesto { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px,6vw,96px); align-items: start; }
  @media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }
  .manifesto-title { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(32px,4vw,52px) * var(--fs)); line-height: 1.05; letter-spacing: -0.02em; color: var(--text); margin: 12px 0 0; }
  .manifesto-title em { font-style: italic; color: var(--cyan); font-weight: 400; }
  .manifesto-body p { font-size: calc(17.5px * var(--fs)); color: var(--text-2); line-height: 1.7; margin: 0 0 22px; max-width: 60ch; }
  .manifesto-body p:last-child { margin-bottom: 0; }
  .manifesto-body p strong { color: var(--text); font-weight: 400; font-family: var(--serif); font-size: calc(20px * var(--fs)); font-style: italic; }
  .approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(32px,4vw,56px); margin-top: clamp(40px,5vw,60px); }
  @media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; } }
  .step { border-top: 1px solid var(--border-2); padding-top: 28px; position: relative; }
  .step-num { font-family: var(--serif); font-style: italic; font-size: calc(14px * var(--fs)); color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 18px; }
  .step h4 { font-family: var(--serif); font-weight: 400; font-size: calc(28px * var(--fs)); line-height: 1.15; margin: 0 0 14px; color: var(--text); letter-spacing: -0.01em; }
  .step p { color: var(--text-2); font-size: calc(15.5px * var(--fs)); line-height: 1.65; margin: 0; }
  .principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); margin-top: clamp(40px,5vw,60px); }
  @media (max-width: 860px) { .principles { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 540px) { .principles { grid-template-columns: 1fr; } }
  .principle { padding: clamp(28px,3.5vw,44px); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
  .principle-num { font-family: var(--serif); font-style: italic; font-size: calc(15px * var(--fs)); color: var(--cyan); letter-spacing: 0.06em; }
  .principle h4 { font-family: var(--serif); font-weight: 400; font-size: calc(24px * var(--fs)); line-height: 1.15; margin: 0; color: var(--text); letter-spacing: -0.01em; }
  .principle p { font-size: calc(15px * var(--fs)); color: var(--text-2); line-height: 1.6; margin: 0; }
  .blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(56px,6vw,80px) 0 clamp(28px,3vw,40px); }
  .blog-filter { padding: 8px 16px; background: transparent; border: 1px solid var(--border-2); border-radius: 999px; font-size: calc(13px * var(--fs)); color: var(--text-2); cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
  .blog-filter:hover { color: var(--text); border-color: var(--border-3); }
  .blog-filter.active { background: var(--bg-3); border-color: var(--cyan); color: var(--text); }
  .blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  @media (max-width: 940px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
  .blog-card { display: flex; flex-direction: column; background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .25s ease, transform .25s ease; text-decoration: none; color: inherit; cursor: pointer; }
  .blog-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
  .blog-card-art { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-3b) 100%); display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--border); }
  .blog-card-art.v1 { background: linear-gradient(135deg,#172033 0%,#1a3a5f 100%); }
  .blog-card-art.v2 { background: linear-gradient(135deg,#1b2638 0%,#1e3b4a 100%); }
  .blog-card-art.v3 { background: linear-gradient(135deg,#172033 0%,#2a3c5c 100%); }
  .blog-card-art.v4 { background: linear-gradient(135deg,#1a2a3a 0%,#14202d 100%); }
  .blog-card-art.v5 { background: linear-gradient(135deg,#1b2638 0%,#25344a 100%); }
  html[data-theme="light"] .blog-card-art.v1, html[data-theme="light"] .blog-card-art.v2, html[data-theme="light"] .blog-card-art.v3, html[data-theme="light"] .blog-card-art.v4, html[data-theme="light"] .blog-card-art.v5 { background: linear-gradient(135deg,#ECEFF5 0%,#DDE6F2 100%); }
  .blog-card-art svg { width: 44%; height: 44%; opacity: 0.85; }
  .blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
  .blog-card-meta { display: flex; gap: 12px; align-items: center; font-size: calc(11px * var(--fs)); color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
  .blog-card h3 { font-family: var(--serif); font-weight: 400; font-size: calc(22px * var(--fs)); line-height: 1.2; letter-spacing: -0.01em; color: var(--text); margin: 0; }
  .blog-card p { font-size: calc(14.5px * var(--fs)); color: var(--text-2); line-height: 1.55; margin: 0; flex: 1; }
  .blog-card-foot { display: flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fs)); color: var(--cyan); letter-spacing: 0.04em; padding-top: 4px; }
  .blog-card-foot svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .blog-tag { display: inline-flex; align-items: center; padding: 4px 10px; background: rgba(54,214,231,0.08); border: 1px solid rgba(54,214,231,0.3); color: var(--cyan); border-radius: 999px; font-size: calc(11px * var(--fs)); letter-spacing: 0.12em; text-transform: uppercase; }
  .article-head { padding: clamp(80px,10vw,120px) 0 clamp(48px,5vw,64px); text-align: left; max-width: 820px; margin: 0 auto; }
  .article-head .blog-tag { margin-bottom: 24px; }
  .article-head h1 { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(40px,5.2vw,64px) * var(--fs)); line-height: 1.05; letter-spacing: -0.02em; color: var(--text); margin: 0 0 24px; text-wrap: balance; }
  .article-head .dek { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: calc(22px * var(--fs)); color: var(--text-2); line-height: 1.5; margin: 0 0 32px; max-width: 60ch; }
  .article-meta { display: flex; gap: 24px; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: calc(13px * var(--fs)); color: var(--text-3); letter-spacing: 0.04em; }
  .article-author-name { color: var(--text); }
  .article-body { max-width: 720px; margin: 0 auto; padding-bottom: clamp(80px,10vw,140px); font-size: calc(18px * var(--fs)); line-height: 1.75; color: var(--text-2); }
  .article-body > p, .article-body > ul, .article-body > ol, .article-body > blockquote { margin: 0 0 24px; }
  .article-body p strong { color: var(--text); font-weight: 500; }
  .article-body h2 { font-family: var(--serif); font-weight: 400; font-size: calc(32px * var(--fs)); line-height: 1.15; letter-spacing: -0.01em; color: var(--text); margin: 48px 0 18px; }
  .article-body h3 { font-family: var(--serif); font-weight: 400; font-size: calc(24px * var(--fs)); line-height: 1.2; color: var(--text); margin: 32px 0 12px; }
  .article-body ul, .article-body ol { padding-left: 24px; }
  .article-body ul li, .article-body ol li { margin-bottom: 10px; line-height: 1.65; }
  .article-body blockquote { border-left: 2px solid var(--cyan); padding: 4px 0 4px 24px; font-family: var(--serif); font-style: italic; font-size: calc(22px * var(--fs)); line-height: 1.45; color: var(--text); }
  .article-body a { color: var(--cyan); border-bottom: 1px solid currentColor; transition: opacity .2s ease; }
  .article-body a:hover { opacity: 0.7; }
  .article-related { background: var(--bg-2); padding: clamp(60px,7vw,100px) 0; border-top: 1px solid var(--border); }
  .article-related h4 { font-family: var(--serif); font-weight: 400; font-size: calc(30px * var(--fs)); margin: 0 0 32px; color: var(--text); letter-spacing: -0.01em; }
  .lang-switcher { display: flex; gap: 8px; align-items: center; }
  .lang-item { font-size: 12px; letter-spacing: 0.08em; color: var(--text-3); padding: 4px 8px; border-radius: 4px; text-decoration: none; transition: color .2s ease; }
  .lang-item.active { color: var(--cyan); background: rgba(54,214,231,0.08); }
  .a11y { position: fixed; right: clamp(20px,2.4vw,32px); bottom: clamp(20px,2.4vw,32px); z-index: 100; pointer-events: none; }
  .a11y * { pointer-events: auto; }
  .a11y-toggle { position: relative; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%); border: none; color: #F7F9FC; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease; box-shadow: 0 12px 28px -8px rgba(47,128,255,0.55), 0 4px 14px rgba(7,9,12,0.35); }
  .a11y-toggle:hover { transform: translateY(-2px); }
  .a11y-toggle::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--cyan); opacity: 0; animation: a11yPulse 3.2s ease-out infinite; pointer-events: none; }
  .a11y.has-opened .a11y-toggle::before { animation: none; }
  @keyframes a11yPulse { 0% { opacity: 0.55; transform: scale(0.96); } 70% { opacity: 0; transform: scale(1.35); } 100% { opacity: 0; transform: scale(1.35); } }
  .a11y-toggle .ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity .2s ease, transform .25s ease; }
  .a11y-toggle .ico svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .a11y-toggle .ico.ico-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
  .a11y.open .a11y-toggle .ico.ico-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
  .a11y.open .a11y-toggle .ico.ico-close { opacity: 1; transform: rotate(0) scale(1); }
  .a11y-panel { position: absolute; right: 0; bottom: calc(100% + 14px); width: 320px; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 18px; padding: 22px; transform-origin: bottom right; transform: translateY(8px) scale(0.96); opacity: 0; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s ease; pointer-events: none; box-shadow: 0 30px 60px -20px rgba(7,9,12,0.55), 0 12px 24px -8px rgba(7,9,12,0.3); }
  .a11y.open .a11y-panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.a11y-panel * { pointer-events: none; }
.a11y.open .a11y-panel * { pointer-events: auto; }
  .a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
  .a11y-head h6 { font-family: var(--serif); font-weight: 400; font-size: calc(22px * var(--fs)); margin: 0; color: var(--text); letter-spacing: -0.01em; }
  .a11y-close { background: transparent; border: none; color: var(--text-3); cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: color .2s ease, background .2s ease; }
  .a11y-close:hover { color: var(--text); background: var(--bg-2); }
  .a11y-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
  .a11y-sublabel { font-size: calc(11px * var(--fs)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
  .a11y-group { margin-top: 22px; }
  .a11y-group:first-of-type { margin-top: 18px; }
  .a11y-group-label { display: flex; align-items: center; gap: 8px; font-size: calc(12px * var(--fs)); color: var(--text-2); margin-bottom: 10px; font-weight: 400; letter-spacing: 0.04em; }
  .a11y-group-label svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .a11y-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg-2); border: 1px solid var(--border); padding: 4px; border-radius: 10px; }
  .a11y-seg.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .a11y-seg button { background: transparent; border: none; cursor: pointer; padding: 9px 8px; border-radius: 7px; font-family: var(--sans); font-size: calc(13px * var(--fs)); color: var(--text-2); transition: background .2s ease, color .2s ease; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .a11y-seg button:hover { color: var(--text); }
  .a11y-seg button.active { background: var(--bg-3b); color: var(--text); box-shadow: 0 1px 0 var(--border-2); }
  .a11y-seg button svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .a11y-fs-A { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-weight: 600; line-height: 1; color: currentColor; }
  .a11y-fs-A.s1 { font-size: 13px; } .a11y-fs-A.s2 { font-size: 16px; } .a11y-fs-A.s3 { font-size: 19px; }
  .a11y-reset { margin-top: 22px; width: 100%; background: transparent; border: 1px solid var(--border-2); border-radius: 8px; padding: 10px; color: var(--text-2); font-family: var(--sans); font-size: calc(12.5px * var(--fs)); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
  .a11y-reset:hover { color: var(--text); border-color: var(--border-3); }
  @media (max-width: 600px) { .a11y { right: 16px; bottom: 16px; } .a11y-panel { width: min(84vw, 300px); } }
  @media print { .a11y { display: none; } }

/* === Process section centered layout === */
.sec-head-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-inline: auto;
}
.sec-head-centered .sec-lede-centered {
  text-align: center;
  justify-self: auto;
  max-width: 700px;
}

/* === Right-align sec-lede in default sec-head grid === */
.sec-head .sec-lede {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-self: end;
}

/* === Country strip scroll animation === */
.strip-scroll {
  display: flex;
  overflow: hidden;
  flex: 1 1 700px;
  min-width: 0;
  max-width: 700px;
  margin-left: auto;
}
.strip-scroll .strip-tags {
  display: flex;
  gap: 60px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  min-width: max-content;
  padding-right: 60px;
  animation: strip-scroll 28s linear infinite;
}
.strip-scroll:hover .strip-tags {
  animation-play-state: paused;
}
@keyframes strip-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.strip-tag { font-family: var(--sans); font-size: calc(14px * var(--fs)); font-weight: 300; color: var(--text-2); letter-spacing: 0.01em; font-style: italic; }

/* === Hero visual SVG === */
.hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 500px; justify-self: end; align-self: center; overflow: visible; }
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hv-ring-outer,
.hv-ring-mid,
.hv-ring-inner {
  stroke: var(--hv-ring);
  fill: none;
}
.hv-spoke,
.hv-spoke-diag {
  stroke: var(--hv-line);
  fill: none;
}
.hv-core-circle {
  fill: var(--node-bg);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 16px 0 24px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--cyan);
}
.page-lede {
  font-size: calc(18px * var(--fs));
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
}
@media (max-width: 800px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* === Forms (Formidable + custom) === */
.lead-form,
.formidable-contact-form {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
}
.form-field { margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-label,
.lead-form label,
.formidable-contact-form label,
.frm_primary_label {
  display: block;
  font-family: var(--sans);
  font-size: calc(13px * var(--fs));
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-2);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.req,
.frm_required {
  color: var(--cyan);
  margin-left: 4px;
}
.form-input,
.form-select,
.form-textarea,
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="url"],
.lead-form textarea,
.lead-form select,
.formidable-contact-form input[type="text"],
.formidable-contact-form input[type="email"],
.formidable-contact-form input[type="tel"],
.formidable-contact-form input[type="url"],
.formidable-contact-form textarea,
.formidable-contact-form select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: calc(15px * var(--fs));
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus,
.formidable-contact-form input:focus,
.formidable-contact-form textarea:focus,
.formidable-contact-form select:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--bg-3);
}
.form-textarea,
.lead-form textarea,
.formidable-contact-form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--sans);
  line-height: 1.55;
}
.form-help,
.frm_description {
  font-size: calc(12px * var(--fs));
  color: var(--text-3);
  margin-top: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) {
  .form-row, .form-row.cols-4 { grid-template-columns: 1fr; }
}
.form-step {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.form-step:last-of-type { border-bottom: none; }
.form-step-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(14px * var(--fs));
  color: var(--cyan);
  margin-bottom: 16px;
}
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: calc(13px * var(--fs));
  cursor: pointer;
  transition: all 0.2s;
}
.form-chip:hover { border-color: var(--cyan); color: var(--text); }
.form-chip input { display: none; }
.form-chip input:checked + span,
.form-chip.is-checked {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.form-submit,
.lead-form .frm_button_submit,
.formidable-contact-form .frm_button_submit {
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: calc(15px * var(--fs));
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, background 0.2s;
}
.form-submit:hover,
.lead-form .frm_button_submit:hover,
.formidable-contact-form .frm_button_submit:hover {
  background: #ff7656;
  transform: translateY(-1px);
}
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-footer-note {
  margin-top: 16px;
  font-size: calc(13px * var(--fs));
  color: var(--text-3);
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(54, 214, 231, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.frm_error,
.frm_error_style {
  color: #ff6340;
  font-size: calc(13px * var(--fs));
  margin-top: 6px;
}
.frm_message {
  background: rgba(54, 214, 231, 0.08);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 16px;
  color: var(--text);
}

/* === Contact page grid === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-block {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 28px;
}
.side-block h5 {
  font-family: var(--sans);
  font-size: calc(12px * var(--fs));
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
}
.side-block p {
  font-size: calc(15px * var(--fs));
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}
.side-block + .side-block { margin-top: 0; }
.big-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: calc(22px * var(--fs));
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.big-link:hover { color: var(--text); }
.expect-list {
  list-style: none;
  counter-reset: expect;
  padding: 0;
  margin: 0;
}
.expect-list li {
  counter-increment: expect;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  color: var(--text-2);
  font-size: calc(15px * var(--fs));
  line-height: 1.55;
}
.expect-list li::before {
  content: counter(expect, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan);
  font-size: calc(15px * var(--fs));
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* === Services page === */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.svc-detail:first-of-type { border-top: none; padding-top: 0; }
.svc-detail-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(18px * var(--fs));
  color: var(--cyan);
  margin-bottom: 16px;
}
.svc-detail h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
}
.lead {
  font-size: calc(17px * var(--fs));
  line-height: 1.6;
  color: var(--text-2);
  max-width: 480px;
}
.svc-block {
  margin-bottom: 28px;
}
.svc-block h5 {
  font-family: var(--sans);
  font-size: calc(12px * var(--fs));
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}
.svc-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.svc-block li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: calc(14px * var(--fs));
  line-height: 1.5;
}
.svc-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
}
.svc-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
  margin: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.svc-meta dt {
  font-size: calc(11px * var(--fs));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.svc-meta dd {
  font-family: var(--serif);
  font-size: calc(18px * var(--fs));
  color: var(--text);
  margin: 0;
}
@media (max-width: 800px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-block ul { grid-template-columns: 1fr; }
  .svc-meta { grid-template-columns: 1fr; gap: 14px; }
}

/* === Radio cards === */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.radio-card {
  display: block;
  position: relative;
  padding: 18px;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  background: var(--bg-2);
  cursor: pointer;
  transition: all 0.2s;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card:hover { border-color: var(--cyan); }
.radio-card:has(input:checked),
.radio-card.is-checked {
  border-color: var(--cyan);
  background: rgba(54, 214, 231, 0.05);
}
.radio-card-title {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs));
  color: var(--text);
  margin-bottom: 4px;
}
.radio-card-sub {
  font-size: calc(13px * var(--fs));
  color: var(--text-3);
}

/* === Packages === */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.pkg {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pkg.featured {
  border-color: var(--cyan);
  background: var(--card-grad);
}
.pkg-head { margin-bottom: 20px; }
.pkg-label {
  font-family: var(--sans);
  font-size: calc(12px * var(--fs));
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 12px;
}
.amt {
  font-family: var(--serif);
  font-size: calc(40px * var(--fs));
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.unit {
  font-size: calc(14px * var(--fs));
  color: var(--text-3);
}

/* === Blog featured === */
.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
  transition: border-color 0.2s;
}
.blog-featured:hover { border-color: var(--border-3); }
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: calc(13px * var(--fs));
  color: var(--text-3);
}
.blog-featured-meta .blog-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(54, 214, 231, 0.1);
  border: 1px solid rgba(54, 214, 231, 0.2);
  color: var(--cyan);
  font-size: calc(11px * var(--fs));
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.blog-featured h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 18px;
}
.blog-featured p {
  font-size: calc(16px * var(--fs));
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: calc(14px * var(--fs));
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.blog-featured-art {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-art svg {
  width: 65%;
  height: auto;
}
@media (max-width: 800px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-art { aspect-ratio: 16 / 10; }
}

/* === Pulse animations (hero visual) === */
.icon-spin {
  transform-origin: 250px 250px;
  animation: spin-icon 12s linear infinite;
}
@keyframes spin-icon { to { transform: rotate(360deg); } }
.pulse {
  stroke-dasharray: 10 200;
  animation: pulse-anim 3s linear infinite;
}
@keyframes pulse-anim {
  0% { stroke-dashoffset: 200; opacity: 0; }
  20% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.p1 { animation-delay: 0s; }
.p2 { animation-delay: -0.375s; }
.p3 { animation-delay: -0.75s; }
.p4 { animation-delay: -1.125s; }
.p5 { animation-delay: -1.5s; }
.p6 { animation-delay: -1.875s; }
.p7 { animation-delay: -2.25s; }
.p8 { animation-delay: -2.625s; }

.ia-delay-2 { transition-delay: 0.2s; }
.ia-delay-3 { transition-delay: 0.3s; }
.ia-delay-4 { transition-delay: 0.4s; }

/* === Booking Modal === */
.js-book-call { cursor: pointer; }
.book-call-shell {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.book-call-shell.is-open { display: block; }
body.book-call-open { overflow: hidden; }
.book-call-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.book-call-modal {
  position: relative;
  width: min(560px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  margin: 6vh auto;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  outline: none;
}
.book-call-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.book-call-kicker {
  font-family: var(--sans);
  font-size: calc(12px * var(--fs));
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.book-call-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(14px * var(--fs));
  color: var(--cyan);
}
.book-call-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.book-call-close:hover { color: var(--text); border-color: var(--border-3); }
.book-call-form { display: block; }
.book-step {
  display: none;
  animation: bookFadeIn 0.3s ease;
}
.book-step.is-active { display: block; }
@keyframes bookFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.book-step-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: calc(20px * var(--fs));
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
}
.book-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.book-month-title {
  font-family: var(--serif);
  font-size: calc(17px * var(--fs));
  color: var(--text);
  text-transform: capitalize;
}
.book-month-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.book-month-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.book-month-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.book-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  font-size: calc(11px * var(--fs));
  text-align: center;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.book-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.book-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: var(--bg-2);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: calc(14px * var(--fs));
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.book-day:hover:not(:disabled) {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--cyan);
}
.book-day:disabled,
.book-day-empty {
  background: transparent;
  color: var(--text-3);
  opacity: 0.4;
  cursor: not-allowed;
}
.book-day.selected {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.book-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.book-time {
  padding: 10px 6px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: calc(14px * var(--fs));
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.book-time:hover { border-color: var(--cyan); }
.book-time.selected {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.book-time:disabled,
.book-time.is-taken {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
@media (max-width: 480px) {
  .book-times { grid-template-columns: repeat(3, 1fr); }
}
.book-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.book-fields input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: calc(15px * var(--fs));
  color: var(--text);
  box-sizing: border-box;
}
.book-fields input:focus {
  outline: none;
  border-color: var(--cyan);
}
.book-selected-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  font-size: calc(13px * var(--fs));
  color: var(--text-2);
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.book-selected-pill:hover { color: var(--cyan); border-color: var(--cyan); }
.book-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.book-back {
  background: transparent;
  border: none;
  color: var(--text-3);
  font-family: var(--sans);
  font-size: calc(13px * var(--fs));
  cursor: pointer;
  transition: color 0.2s;
}
.book-back:hover { color: var(--text); }
.book-submit {
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: calc(14px * var(--fs));
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.book-submit:hover { background: #ff7656; }
.book-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.book-submit.is-loading { opacity: 0.7; }
.book-form-error {
  color: #ff6340;
  font-size: calc(13px * var(--fs));
  margin-top: 12px;
  display: none;
}
.book-form-error:not(:empty) { display: block; }
.book-step-success {
  text-align: center;
  padding: 20px 0;
}

/* === Newsletter === */
.newsletter,
.newsletter-formidable {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 40px);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  box-sizing: border-box;
}

/* === Logo wordmark === */
.logo-wordmark {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo-svg-wrap {
  flex-shrink: 0;
  white-space: nowrap;
}

/* === Misc utility === */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin: 0 6px;
}
.phil-right {
  background: var(--phil-grad);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 56px);
}

/* === Codex cleanup: preserved Claude requests, normalized after CSS recovery === */
.strip-inner {
  gap: 48px;
  overflow: visible;
  flex-wrap: nowrap;
}
.strip-label {
  flex: 0 0 auto;
  font-size: calc(16px * var(--fs));
  letter-spacing: 0.18em;
}
@media (min-width: 861px) {
  .sec-head .sec-lede {
    text-align: right;
    justify-self: end;
  }
}
@media (max-width: 860px) {
  .sec-head .sec-lede {
    text-align: left;
    justify-self: start;
  }
  .strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .strip-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    flex: 1;
    overflow: hidden;
  }
}
.sec-head-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-head-centered .sec-lede,
.sec-head-centered .sec-lede-centered {
  max-width: 700px;
  text-align: center;
  justify-self: auto;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-visual svg {
  display: block;
}
.hv-ring-outer,
.hv-ring-mid,
.hv-ring-inner {
  stroke: var(--hv-ring);
}
.hv-spoke,
.hv-spoke-diag {
  stroke: var(--hv-line);
}
.hv-core-circle {
  fill: rgba(23, 32, 51, 0.9);
}
html[data-theme="light"] .hv-core-circle {
  fill: rgba(255, 255, 255, 0.95);
}
.book-call-shell .book-call-modal {
  width: min(560px, 92vw);
  max-height: 88vh;
  margin: clamp(18px, 6vh, 64px) auto;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 18px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
}
.book-call-shell .book-call-top {
  margin-bottom: 28px;
}
.book-call-shell .book-call-kicker,
.book-call-shell .book-call-count {
  margin: 0;
}
.book-call-shell .book-call-kicker {
  font-size: calc(11px * var(--fs));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.book-call-shell .book-call-count {
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cyan);
}
.book-call-shell .book-call-close {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 auto;
}
.book-call-shell .book-call-close span {
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.book-call-shell .book-call-close span:first-child { transform: rotate(45deg); }
.book-call-shell .book-call-close span:last-child { transform: rotate(-45deg); }
.book-call-shell .book-step-label {
  margin: 0 0 8px;
  font-size: calc(13px * var(--fs));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--sans);
  font-style: normal;
}
.book-call-shell .book-step h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}
.book-call-shell .book-fields label {
  display: block;
  margin: 0;
  color: var(--text-3);
  font-size: calc(11px * var(--fs));
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.book-call-shell .book-fields label span {
  display: block;
  margin-top: 3px;
  text-transform: none;
  letter-spacing: 0;
  font-style: normal;
}
.book-call-shell .book-fields input,
.book-call-shell .book-fields textarea {
  width: 100%;
  margin-top: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
}
.book-call-shell .book-fields textarea {
  min-height: 130px;
  resize: vertical;
}
.book-call-shell .book-fields input:focus,
.book-call-shell .book-fields textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.book-call-shell .book-submit {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.book-call-shell .book-back {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.book-call-shell .book-back::before {
  content: "";
}
@media (max-width: 520px) {
  .book-call-shell .book-call-modal {
    width: min(94vw, 560px);
    margin: 12px auto;
    max-height: calc(100vh - 24px);
  }
  .book-call-shell .book-step h2 {
    font-size: clamp(24px, 9vw, 34px);
  }
}
.lead-form .frm_form_field,
.formidable-contact-form .frm_form_field,
.newsletter-formidable .frm_form_field {
  margin-bottom: 18px;
}
.lead-form .frm_primary_label,
.formidable-contact-form .frm_primary_label,
.newsletter-formidable .frm_primary_label {
  display: block;
  margin-bottom: 9px;
  color: var(--text-3);
  font-size: calc(12px * var(--fs));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="url"],
.lead-form textarea,
.lead-form select,
.formidable-contact-form input[type="text"],
.formidable-contact-form input[type="email"],
.formidable-contact-form input[type="tel"],
.formidable-contact-form input[type="url"],
.formidable-contact-form textarea,
.formidable-contact-form select,
.newsletter-formidable input[type="email"] {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: calc(15px * var(--fs));
  padding: 14px 16px;
  box-shadow: none;
}
.lead-form textarea,
.formidable-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.frm_opt_container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.frm_checkbox,
.frm_radio {
  margin: 0 !important;
}
.frm_checkbox label,
.frm_radio label,
.frm_opt_container label {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.frm_checkbox label:hover,
.frm_radio label:hover,
.frm_opt_container label:hover {
  border-color: var(--cyan);
  color: var(--text);
}
.frm_checkbox label:has(input:checked),
.frm_radio label:has(input:checked),
.frm_opt_container label:has(input:checked) {
  border-color: var(--cyan);
  background: rgba(54, 214, 231, 0.08);
  color: var(--text);
}
.frm_checkbox input[type="checkbox"],
.frm_radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  border: 1px solid var(--text-3);
  background: var(--white);
  display: inline-grid;
  place-content: center;
}
.frm_radio input[type="radio"] {
  border-radius: 50%;
}
.frm_checkbox input[type="checkbox"] {
  border-radius: 5px;
}
.frm_checkbox input[type="checkbox"]::before,
.frm_radio input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.12s ease-in-out;
  background: var(--blue);
}
.frm_radio input[type="radio"]::before {
  border-radius: 50%;
}
.frm_checkbox input[type="checkbox"]:checked::before,
.frm_radio input[type="radio"]:checked::before {
  transform: scale(1);
}
.frm_submit,
.newsletter-formidable .frm_submit {
  margin-top: 12px;
}
.frm_submit button,
.frm_button_submit,
.newsletter-formidable .frm_button_submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--white);
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: calc(15px * var(--fs));
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.frm_submit button:hover,
.frm_button_submit:hover,
.newsletter-formidable .frm_button_submit:hover {
  background: #ff7855;
  transform: translateY(-1px);
}
.newsletter-formidable form,
.newsletter-formidable .frm_fields_container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.newsletter-formidable .frm_form_field {
  flex: 1 1 280px;
  margin-bottom: 0;
}
.newsletter-formidable .frm_submit {
  flex: 0 0 auto;
  margin-top: 0;
}
@media (max-width: 640px) {
  .frm_opt_container {
    flex-direction: column;
    align-items: stretch;
  }
  .frm_checkbox label,
  .frm_radio label,
  .frm_opt_container label,
  .newsletter-formidable .frm_submit,
  .newsletter-formidable .frm_button_submit {
    width: 100%;
  }
}
/* === Focused mobile and overflow fixes === */
#packages { overflow: hidden; isolation: isolate; }
.pkg-grid { position: relative; z-index: 1; }
.pkg { overflow: hidden; }
.pkg ul { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.pkg ul li { display: flex; align-items: flex-start; gap: 10px; font-size: calc(14px * var(--fs)); color: var(--text-2); line-height: 1.5; }
.pkg ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: var(--cyan); }
.pkg ul li::marker { display: none; }

.logo-svg-wrap {
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .nav-inner { position: relative; height: 64px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 18px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a { display: block; padding: 12px 20px; }
  .nav-links.open a:not(.nav-cta):not(.nav-keep):not([class*="lang"]) {
    display: block;
  }
  .nav-links.open .lang-switcher {
    display: flex;
    gap: 10px;
    padding: 12px 20px;
  }
  .nav-links.open .nav-cta {
    margin: 8px 20px 0;
    text-align: center;
    justify-content: center;
  }
  .hero {
    padding: 32px 0 44px;
  }
  .hero-grid,
  .page-hero-grid,
  .sec-head,
  .phil-grid,
  .approach-grid,
  .cta-band-inner,
  .svc-detail,
  .contact-grid,
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-grid,
  .pkg-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 500px; justify-self: end; align-self: center; overflow: visible; }
  h1.headline,
  .page-hero h1 {
    font-size: calc(clamp(34px, 10vw, 52px) * var(--fs));
  }
  .sec-head .sec-lede {
    text-align: left;
    justify-self: start;
  }
  .band,
  .cta-band,
  section {
    padding-top: clamp(48px, 10vw, 72px);
    padding-bottom: clamp(48px, 10vw, 72px);
  }
  .page-hero { position: relative; padding: clamp(72px,9vw,120px) 0 clamp(72px,9vw,120px); overflow: hidden; }
  .cta-row {
    gap: 12px;
  }
  .btn {
    max-width: 100%;
  }
  .strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .strip-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    flex: 1;
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .wrap { padding-inline: 18px; }
  .hero { padding-top: 28px; }
  .radio-cards,
  .radio-cards.cols-4,
  .form-row,
  .svc-meta {
    grid-template-columns: 1fr;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Formidable: pill-style selectable fields + button
   ============================================================ */

/* Hide native checkbox/radio inputs */
.frm_form_fields input[type="checkbox"],
.frm_form_fields input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* Pill container */
.frm_form_fields .frm_checkbox,
.frm_form_fields .frm_radio {
  display: inline-flex;
  position: relative;
  margin: 0;
}

/* Pill label */
.frm_form_fields .frm_checkbox label,
.frm_form_fields .frm_radio label {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border-2, rgba(255,255,255,0.15));
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: calc(14px * var(--fs));
  font-weight: 400;
  color: var(--text-2);
  background: var(--bg-2, rgba(255,255,255,0.04));
  transition: border-color .2s, background .2s, color .2s;
  user-select: none;
  line-height: 1.4;
  white-space: nowrap;
}

/* Hover state */
.frm_form_fields .frm_checkbox label:hover,
.frm_form_fields .frm_radio label:hover {
  border-color: var(--cyan);
  color: var(--text);
}

/* Selected state */
.frm_form_fields input[type="checkbox"]:checked + label,
.frm_form_fields input[type="radio"]:checked + label {
  background: rgba(54,214,231,0.12);
  border-color: var(--cyan);
  color: var(--text);
  font-weight: 500;
}

/* Pill group wrapper - flex wrap */
.frm_form_fields .frm_opt_container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Hide the select dropdown (company type) - keep it functional */
.frm_form_fields select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-color: var(--bg-3, rgba(255,255,255,0.06)) !important;
  border: 1px solid var(--border-2, rgba(255,255,255,0.15)) !important;
  border-radius: 8px !important;
  padding: 12px 40px 12px 16px !important;
  font-family: var(--sans) !important;
  font-size: calc(14px * var(--fs)) !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  width: 100% !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(200,210,230,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  transition: border-color .2s !important;
  line-height: 1.5 !important;
  height: auto !important;
}
.frm_form_fields select:focus {
  outline: none !important;
  border-color: var(--cyan) !important;
}
.frm_form_fields select option {
  background: var(--bg-2, #1a2035) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
}

/* Submit button */
.frm_button_submit,
.frm_form_fields [type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: calc(15px * var(--fs));
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: 0.01em;
  width: auto;
  margin-top: 12px;
}
.frm_button_submit:hover,
.frm_form_fields [type="submit"]:hover {
  background: #1a6fe8;
  transform: translateY(-1px);
}
.frm_button_submit:active,
.frm_form_fields [type="submit"]:active {
  transform: translateY(0);
}

/* Form field labels */
.frm_primary_label {
  font-family: var(--sans);
  font-size: calc(12px * var(--fs));
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  display: block;
}

/* Form inputs */
.frm_form_fields input[type="text"],
.frm_form_fields input[type="email"],
.frm_form_fields textarea {
  width: 100%;
  background: var(--bg-2, rgba(255,255,255,0.04));
  border: 1px solid var(--border-2, rgba(255,255,255,0.15));
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: calc(14px * var(--fs));
  color: var(--text);
  transition: border-color .2s;
}
.frm_form_fields input[type="text"]:focus,
.frm_form_fields input[type="email"]:focus,
.frm_form_fields textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

/* Light mode adjustments */
[data-theme="light"] .frm_form_fields .frm_checkbox label,
[data-theme="light"] .frm_form_fields .frm_radio label {
  background: rgba(15,22,38,0.04);
  border-color: rgba(15,22,38,0.15);
  color: var(--text-2);
}
[data-theme="light"] .frm_form_fields select,
[data-theme="light"] .frm_form_fields input[type="text"],
[data-theme="light"] .frm_form_fields input[type="email"],
[data-theme="light"] .frm_form_fields textarea {
  background: #fff;
  border-color: rgba(15,22,38,0.15);
  color: var(--text);
}

/* Unified form field styling - all inputs, selects match exactly */
.frm_form_fields input[type="text"],
.frm_form_fields input[type="email"],
.frm_form_fields textarea,
.frm_form_fields select {
  background-color: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
  font-family: var(--sans) !important;
  font-size: calc(14px * var(--fs)) !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  width: 100% !important;
  transition: border-color .2s !important;
  box-sizing: border-box !important;
}
.frm_form_fields input[type="text"],
.frm_form_fields input[type="email"] {
  padding: 12px 16px !important;
  height: auto !important;
}
.frm_form_fields textarea {
  padding: 12px 16px !important;
}
.frm_form_fields select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding: 12px 40px 12px 16px !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(180,195,220,0.6)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px !important;
  height: auto !important;
}
.frm_form_fields input[type="text"]:focus,
.frm_form_fields input[type="email"]:focus,
.frm_form_fields textarea:focus,
.frm_form_fields select:focus {
  outline: none !important;
  border-color: var(--cyan) !important;
}
[data-theme="light"] .frm_form_fields input[type="text"],
[data-theme="light"] .frm_form_fields input[type="email"],
[data-theme="light"] .frm_form_fields textarea,
[data-theme="light"] .frm_form_fields select {
  background-color: #ffffff !important;
  border-color: rgba(15,22,38,0.18) !important;
  color: var(--text) !important;
}

/* Mobile strip-scroll fix */
@media screen and (max-width: 600px) {
  .strip-scroll { flex: 1 !important; }
}

/* A11y widget: ensure it does not overlay interactive SVG elements */
.a11y-widget { isolation: isolate; z-index: 9000; }

/* Hero visual sits in normal flow - ensure a11y expanded panel cannot overlap it */
.hero-visual { isolation: isolate; }


/* Mobile: clip hero decorative blobs that cause horizontal overflow */
/* Safe because hero-visual SVG is already display:none on mobile */
@media (max-width: 600px) {
  .hero { overflow: hidden; }
}

/* Buttons: never full-width on mobile */
@media (max-width: 600px) {
  .btn { width: auto !important; align-self: flex-start; white-space: nowrap; }
  .cta-row, .hero-cta { flex-wrap: nowrap; overflow: visible; }
}

/* ── Nav dropdown ────────────────────────────────────────── */
.nav-item { position: relative; }
.nav-item .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s;
  z-index: 200;
  box-shadow: 0 16px 40px -8px rgba(7,9,12,0.5);
}
/* Invisible bridge fills gap so mouse can reach submenu */
.nav-item .sub-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item:hover .sub-menu,
.nav-item:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-item .sub-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: calc(14px * var(--fs));
  color: var(--text-2);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-item .sub-menu li a:hover {
  background: var(--bg-2);
  color: var(--text);
}
/* Clean static chevron */
.nav-item.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 10px;
  margin-bottom: 5px;
  opacity: 0.45;
  vertical-align: middle;
}
[data-theme="light"] .nav-item .sub-menu {
  background: #fff;
  box-shadow: 0 8px 32px -8px rgba(15,22,38,0.18);
}

/* Light mode */
[data-theme="light"] .nav-item .sub-menu {
  background: #fff;
  box-shadow: 0 8px 32px -8px rgba(15,22,38,0.18);
}

/* Service detail page grids */
@media (max-width: 900px) {
  .tpl-service-detail-grid-4 { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 560px) {
  .tpl-service-detail-grid-4 { grid-template-columns: 1fr !important; }
}


/* FAQ toggle: hide the + span when details is open, show - via summary::after */
details summary span.faq-toggle-icon { display: inline-block; }
details[open] summary span.faq-toggle-icon { display: none; }
details[open] summary::after {
  content: "-";
  font-size: 24px;
  color: var(--cyan);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}



/* Heading variants */
/* CTA band h2 — smaller than page-level h2, centred context */
.h2-cta {
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(clamp(28px, 3.2vw, 40px) * var(--fs));
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
  text-wrap: balance;
}

/* Section h2 (FAQ header etc) — mid-size, em gets cyan */
.h2-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(clamp(28px, 3.2vw, 40px) * var(--fs));
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 8px 0 0;
}
.h2-section em,
.h2-cta em {
  font-style: italic;
  color: var(--cyan);
  font-weight: 400;
}
