/* =====================================================================
   Software Cloud 2 — landing v3 design system (light, blue + orange)
   Loaded after app.css. New components use the "v3-" prefix so they never
   collide with the legacy rules; legacy sections get migrated one by one.
   ===================================================================== */

:root {
  --c-ink: #0B2540;          /* headlines */
  --c-text: #26394D;
  --c-muted: #5B6B7C;
  --c-blue: #0E6FA8;
  --c-blue-600: #0B5A88;
  --c-sky: #1B8FD4;
  --c-orange: #F2871B;
  --c-orange-600: #E5700A;
  --c-bg: #F6F9FC;
  --c-surface: #FFFFFF;
  --c-line: rgba(11, 37, 64, 0.09);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  --sh-sm: 0 2px 8px rgba(11, 37, 64, 0.06);
  --sh-md: 0 12px 32px rgba(11, 37, 64, 0.10);
  --sh-lg: 0 30px 70px rgba(14, 111, 168, 0.18);

  --container: 1240px;
}

body {
  background: var(--c-bg);
  background-image: none;
  color: var(--c-text);
  font-family: 'Thmanyah', sans-serif;
}

.v3-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- buttons ---------- */
.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.v3-btn:hover { transform: translateY(-2px); }
.v3-btn--primary { background: linear-gradient(135deg, var(--c-orange), var(--c-orange-600)); color: #fff; box-shadow: 0 12px 28px rgba(242, 135, 27, 0.35); }
.v3-btn--primary:hover { box-shadow: 0 16px 36px rgba(242, 135, 27, 0.45); }
.v3-btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); box-shadow: var(--sh-sm); }
.v3-btn--ghost:hover { border-color: var(--c-blue); color: var(--c-blue); }
.v3-btn .ico { width: 18px; height: 18px; }

/* ---------- header (floating pill) ---------- */
.v3-nav {
  position: fixed; z-index: 9999; top: 16px; inset-inline: 0; pointer-events: none;
}
.v3-nav-bar {
  pointer-events: auto;
  width: calc(100% - 32px); max-width: var(--container); margin-inline: auto;
  height: 68px; padding-inline: 14px 14px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 34px rgba(11, 37, 64, 0.08);
  transition: box-shadow .3s ease, background .3s ease;
}
.v3-nav.is-scrolled .v3-nav-bar { box-shadow: 0 14px 44px rgba(11, 37, 64, 0.16); background: rgba(255, 255, 255, 0.92); }
.v3-logo { display: flex; align-items: center; padding-inline: 8px; }
.v3-logo img { height: 44px; width: auto; display: block; }
.v3-menu { display: flex; align-items: center; gap: 4px; }
.v3-menu a {
  padding: 10px 16px; border-radius: var(--r-pill); color: var(--c-text);
  font-weight: 600; font-size: 0.98rem; text-decoration: none; transition: background .2s, color .2s;
}
.v3-menu a:hover { background: rgba(14, 111, 168, 0.08); color: var(--c-blue); }
.v3-nav-actions { display: flex; align-items: center; gap: 10px; }
.v3-lang {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 44px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  font-weight: 800; text-decoration: none; transition: border-color .2s, color .2s;
}
.v3-lang:hover { border-color: var(--c-blue); color: var(--c-blue); }
.v3-nav-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange-600)); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 20px rgba(242, 135, 27, 0.32); transition: transform .2s, box-shadow .2s;
}
.v3-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(242, 135, 27, 0.42); }
.v3-nav-cta .ico { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.v3-hero { position: relative; overflow: hidden; padding: 150px 0 120px; isolation: isolate; }
.v3-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 100%); mask-image: linear-gradient(#000 62%, transparent 100%); }
.v3-hero-bg::before { /* faint grid that fades out */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14, 111, 168, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 111, 168, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 25%, transparent 75%);
}
.v3-hero-bg::after { /* soft brand glows */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(520px 420px at 78% 18%, rgba(27, 143, 212, 0.22), transparent 70%),
    radial-gradient(460px 380px at 12% 85%, rgba(242, 135, 27, 0.16), transparent 70%);
}
.v3-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }

.v3-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-sm);
  color: var(--c-blue); font-weight: 700; font-size: 0.95rem; margin-bottom: 26px;
}
.v3-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 0 4px rgba(242, 135, 27, 0.18); }

.v3-hero h1 { margin: 0 0 24px; font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; font-size: clamp(2.1rem, 4.2vw, 3.7rem); color: var(--c-ink); }
.v3-hero h1 .v3-h1-a { display: block; }
.v3-hero h1 .v3-h1-b { display: block; background: linear-gradient(100deg, var(--c-blue), var(--c-sky) 60%, #37A6E8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.v3-lead { margin: 0 0 34px; max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.9; color: var(--c-muted); }
.v3-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.v3-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.v3-trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-text); font-size: 0.98rem; }
.v3-trust .ico { width: 20px; height: 20px; color: #1FA971; }

/* hero visual: phone mockups built from real project covers */
.v3-hero-visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.v3-hero-visual::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(27, 143, 212, 0.30), rgba(14, 111, 168, 0.06) 60%, transparent 72%); filter: blur(6px); }
@keyframes v3-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.v3-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--sh-md); border: 1px solid #fff; font-weight: 700; color: var(--c-ink); font-size: 0.95rem; white-space: nowrap;
}
.v3-chip small { display: block; color: var(--c-muted); font-weight: 500; font-size: 0.8rem; }
.v3-chip .ico { width: 22px; height: 22px; color: var(--c-orange); }
.v3-chip--a { inset-inline-end: 0; top: 22%; animation: v3-float 8s ease-in-out -1s infinite; }
.v3-chip--b { inset-inline-start: 0; bottom: 18%; animation: v3-float 9s ease-in-out -3s infinite; }

/* ---------- stats strip ---------- */
.v3-stats { position: relative; z-index: 4; margin-top: -64px; padding-bottom: 20px; }
.v3-stats-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px;
  background: #fff; border-radius: var(--r-lg); padding: 30px 20px; box-shadow: var(--sh-md); border: 1px solid var(--c-line);
}
.v3-stat { text-align: center; padding: 6px 12px; position: relative; }
.v3-stat + .v3-stat::before { content: ""; position: absolute; inset-block: 18% ; inset-inline-start: 0; width: 1px; background: var(--c-line); }
.v3-stat-num { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; line-height: 1.1; color: var(--c-blue); font-variant-numeric: tabular-nums; }
.v3-stat-lbl { display: block; margin-top: 8px; color: var(--c-muted); font-weight: 600; font-size: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .v3-menu a { padding: 10px 11px; font-size: 0.92rem; }
  .v3-menu a:nth-child(5) { display: none; }
  .v3-nav-cta { padding: 0 16px; }
  .v3-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .v3-hero { padding-top: 130px; }
  .v3-lead { max-width: none; }
  .v3-hero-visual { height: 470px; }
}
@media (max-width: 768px) {
  .v3-menu, .v3-nav-actions .v3-nav-cta, .v3-nav-actions .v3-lang { display: none; }
  .v3-nav-bar { height: 62px; }
  .v3-logo img { height: 38px; }
}
@media (max-width: 768px) {
  .v3-hero { padding: 112px 0 96px; }
  .v3-hero h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  .v3-cta .v3-btn { width: 100%; }
  .v3-hero-visual { height: 400px; }
  .v3-hero-visual::before { width: 340px; height: 340px; }
  .v3-chip { display: none; }
  .v3-stats { margin-top: -48px; }
  .v3-stats-card { padding: 22px 8px; grid-template-columns: repeat(3, 1fr); }
  .v3-stat-lbl { font-size: 0.875rem; }
  .v3-stat + .v3-stat::before { inset-block: 12%; }
}
@media (prefers-reduced-motion: reduce) {
   .v3-chip { animation: none !important; }
}


/* ===================== sections: shared ===================== */
.v3-section { padding: 110px 0; position: relative; }
.v3-section--tint { background: linear-gradient(180deg, transparent, rgba(14, 111, 168, 0.045) 18%, rgba(14, 111, 168, 0.045) 82%, transparent); }
.v3-sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.v3-eyebrow--sm { margin-bottom: 18px; padding: 6px 14px; font-size: 0.9rem; }
.v3-sec-title { margin: 0 0 14px; font-weight: 900; line-height: 1.25; font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--c-ink); }
.v3-sec-title em { font-style: normal; color: var(--c-blue); }
.v3-sec-sub { margin: 0; color: var(--c-muted); font-size: 1.12rem; line-height: 1.8; }
.v3-center { text-align: center; margin-top: 48px; }
.v3-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; color: var(--c-blue); transition: gap .25s, color .25s; }
html[dir="ltr"] .v3-link .ico, html[dir="ltr"] .v3-more-card > .ico, html[dir="ltr"] .v3-btn .ico:last-child { transform: scaleX(-1); }

/* ===================== client logos strip ===================== */
.v3-logos { padding: 56px 0 24px; overflow: hidden; }
.v3-logos-label { text-align: center; margin: 0 0 22px; color: var(--c-muted); font-weight: 700; letter-spacing: .02em; font-size: 0.98rem; }
.v3-logos-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.v3-logos-track { display: flex; width: max-content; gap: 56px; align-items: center; animation: v3-marquee 38s linear infinite; padding-block: 8px; }
.v3-logos-viewport:hover .v3-logos-track { animation-play-state: paused; }
.v3-logo-item { display: flex; align-items: center; justify-content: center; height: 56px; min-width: 120px; text-decoration: none; color: var(--c-muted); font-weight: 800; font-size: 1.1rem; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.v3-logo-item:hover { filter: none; opacity: 1; }
.v3-logo-item img { max-height: 48px; max-width: 150px; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes v3-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .v3-logos-track { animation-name: v3-marquee-rtl; }
@keyframes v3-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ===================== services: bento ===================== */
.v3-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.v3-bento-card {
  grid-column: span 3; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); text-decoration: none; color: var(--c-text);
  box-shadow: var(--sh-sm); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.v3-bento-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(14, 111, 168, 0.25); }
.v3-bento-card:hover .v3-link { gap: 14px; color: var(--c-orange-600); }
.v3-bento-num { position: absolute; top: 18px; inset-inline-end: 24px; font-size: 3.2rem; font-weight: 900; line-height: 1; color: rgba(14, 111, 168, 0.07); }
.v3-bento-icon { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--c-blue); background: linear-gradient(135deg, rgba(27, 143, 212, 0.14), rgba(242, 135, 27, 0.14)); margin-bottom: 8px; }
.v3-bento-icon img { width: 40px; height: 40px; object-fit: contain; }
.v3-bento-card h3 { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--c-ink); line-height: 1.4; }
.v3-bento-card p { margin: 0 0 8px; color: var(--c-muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v3-bento-card.is-featured { grid-column: span 6; grid-row: span 2; padding: 40px 38px 34px; color: #fff; border: 0;
  background: radial-gradient(520px 320px at 100% 0%, rgba(242, 135, 27, 0.35), transparent 65%), linear-gradient(150deg, var(--c-blue-600), var(--c-blue) 55%, var(--c-sky)); box-shadow: var(--sh-lg); }
.v3-bento-card.is-featured h3 { color: #fff; font-size: 1.9rem; }
.v3-bento-card.is-featured p { color: rgba(255, 255, 255, 0.86); font-size: 1.12rem; -webkit-line-clamp: 5; }
.v3-bento-card.is-featured .v3-bento-icon { background: rgba(255, 255, 255, 0.16); color: #fff; width: 76px; height: 76px; border-radius: 22px; }
.v3-bento-card.is-featured .v3-bento-num { color: rgba(255, 255, 255, 0.12); font-size: 5rem; }
.v3-bento-card.is-featured .v3-link, .v3-bento-card.is-featured:hover .v3-link { color: #fff; }
.v3-bento-card.is-wide { grid-column: span 6; }
.v3-bento.is-single .v3-bento-card { grid-column: 4 / span 6; }

/* ===================== works: showcase ===================== */
.v3-cases { display: flex; flex-direction: column; gap: 28px; }
.v3-case { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fff; border: 1px solid var(--c-line); border-radius: 32px; box-shadow: var(--sh-sm); overflow: hidden; transition: box-shadow .3s; }
.v3-case:hover { box-shadow: var(--sh-md); }
.v3-case.is-flip .v3-case-copy { order: 2; }
.v3-case-copy { padding: 52px 52px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.v3-case-num { font-size: 1rem; font-weight: 900; color: var(--c-orange); letter-spacing: .08em; }
.v3-case-copy h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 900; color: var(--c-ink); line-height: 1.25; }
.v3-case-copy p { margin: 0 0 6px; color: var(--c-muted); line-height: 1.9; font-size: 1.08rem; }
.v3-case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.v3-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(14, 111, 168, 0.08); color: var(--c-blue); font-weight: 700; font-size: 0.9rem; }
.v3-tag--star { background: rgba(242, 135, 27, 0.12); color: var(--c-orange-600); }
.v3-tag .ico { width: 15px; height: 15px; }
.v3-case-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(420px 320px at 30% 20%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(145deg, var(--c-sky), var(--c-blue-600)); }
.v3-case-visual.is-warm { background: radial-gradient(420px 320px at 70% 20%, rgba(255, 255, 255, 0.4), transparent 70%), linear-gradient(145deg, #F7B267, var(--c-orange-600)); }

.v3-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.v3-more-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); text-decoration: none; color: var(--c-ink); font-weight: 700; transition: transform .25s, box-shadow .25s; }
.v3-more-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.v3-more-card > .ico { color: var(--c-blue); margin-inline-start: auto; }
.v3-more-thumb { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(27, 143, 212, 0.14), rgba(242, 135, 27, 0.14)); color: var(--c-blue); }
.v3-more-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v3-more-name { font-size: 1.05rem; }

/* ===================== responsive ===================== */
@media (max-width: 1024px) {
  .v3-bento-card { grid-column: span 6; }
  .v3-bento-card.is-featured { grid-column: span 12; grid-row: auto; }
  .v3-bento-card.is-wide { grid-column: span 12; }
  .v3-bento.is-single .v3-bento-card { grid-column: 1 / -1; }
  .v3-case-copy { padding: 40px 34px; }
  .v3-more { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .v3-section { padding: 68px 0; }
  .v3-sec-head { margin-bottom: 34px; }
  .v3-logos { padding: 40px 0 8px; }
  .v3-logos-track { gap: 36px; }

  /* services: swipe carousel */
  .v3-bento { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -24px; padding: 6px 24px 18px; -webkit-overflow-scrolling: touch; }
  .v3-bento-card, .v3-bento-card.is-featured, .v3-bento-card.is-wide { flex: 0 0 82%; scroll-snap-align: center; grid-column: auto; padding: 26px 22px 22px; }
  .v3-bento-card.is-featured h3 { font-size: 1.5rem; }
  .v3-bento-card.is-featured p { font-size: 1.02rem; -webkit-line-clamp: 4; }

  /* cases: visual first, stacked */
  .v3-case { grid-template-columns: 1fr; border-radius: 26px; }
  .v3-case.is-flip .v3-case-copy { order: 0; }
  .v3-case-visual { order: -1; min-height: 300px; }
  .v3-case-copy { padding: 26px 22px 28px; }
  .v3-case-copy .v3-btn { width: 100%; }
  .v3-more { grid-template-columns: 1fr; }
  .v3-center .v3-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .v3-logos-track { animation: none; } .v3-logos-viewport { overflow-x: auto; } }

/* Reduced motion: show everything immediately, no fade/slide */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 768px) {
  /* project cards: phone peeks up from the bottom of the coloured panel (shorter page) */
  .v3-case-visual { min-height: 0; height: 250px; align-items: flex-end; }
}

/* ===================== helpers ===================== */
.v3-start { text-align: start; margin-inline: 0; }
.v3-btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.v3-btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.v3-btn--block { width: 100%; }
.v3-eyebrow--dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: none; }

/* ===================== why us ===================== */
.v3-why { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; align-items: start; }
.v3-why-intro { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; }
.v3-why-intro .v3-sec-sub { margin-bottom: 28px; }
.v3-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.v3-why-card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.v3-why-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.v3-why-card h3 { margin: 18px 0 10px; font-size: 1.3rem; font-weight: 800; color: var(--c-ink); }
.v3-why-card p { margin: 0; color: var(--c-muted); line-height: 1.85; }
.v3-why-num { position: absolute; top: 20px; inset-inline-end: 24px; font-size: 2.8rem; font-weight: 900; line-height: 1; color: rgba(14, 111, 168, 0.07); }

/* ===================== process ===================== */
.v3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.v3-steps::before { content: ""; position: absolute; top: 31px; inset-inline: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, rgba(14, 111, 168, 0.35) 0 8px, transparent 8px 16px); }
.v3-step { position: relative; text-align: center; padding-inline: 8px; }
.v3-step-dot { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--c-blue), var(--c-sky)); box-shadow: 0 10px 24px rgba(14, 111, 168, 0.3), 0 0 0 8px var(--c-bg); }
.v3-step:last-child .v3-step-dot { background: linear-gradient(135deg, var(--c-orange), var(--c-orange-600)); box-shadow: 0 10px 24px rgba(242, 135, 27, 0.35), 0 0 0 8px var(--c-bg); }
.v3-step h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 800; color: var(--c-ink); }
.v3-step p { margin: 0; color: var(--c-muted); line-height: 1.8; font-size: 1rem; }

/* ===================== tech (dark band) ===================== */
.v3-dark { background: radial-gradient(700px 420px at 85% 0%, rgba(27, 143, 212, 0.28), transparent 70%), radial-gradient(520px 360px at 5% 100%, rgba(242, 135, 27, 0.16), transparent 70%), linear-gradient(180deg, #0B2540, #0A2038); color: #fff; }
.v3-dark .v3-sec-title { color: #fff; }
.v3-dark .v3-sec-title em { color: #7CC4F2; }
.v3-dark .v3-sec-sub { color: rgba(255, 255, 255, 0.72); }
.v3-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.v3-tech-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-lg); padding: 30px 26px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s, background .3s, border-color .3s; }
.v3-tech-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.v3-tech-icon { width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c-sky), var(--c-blue)); color: #fff; margin-bottom: 18px; }
.v3-tech-card h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 800; color: #fff; direction: ltr; text-align: start; }
html[dir="rtl"] .v3-tech-card h3 { text-align: right; }
.v3-tech-card p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.72); line-height: 1.8; font-size: 0.98rem; }
.v3-tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-tech-tags span { padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); font-size: 0.84rem; font-weight: 600; direction: ltr; }

/* ===================== blog ===================== */
.v3-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v3-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-text); box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.v3-post:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.v3-post:hover .v3-link { gap: 14px; color: var(--c-orange-600); }
.v3-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.v3-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.v3-post:hover .v3-post-img img { transform: scale(1.06); }
.v3-post-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; flex: 1; }
.v3-post-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: 0.9rem; }
.v3-post-body h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--c-ink); line-height: 1.5; }
.v3-post-body p { margin: 0 0 6px; color: var(--c-muted); line-height: 1.8; }

/* ===================== FAQ ===================== */
.v3-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.v3-faq-intro { position: sticky; top: 120px; }
.v3-faq-list { display: flex; flex-direction: column; gap: 14px; }
.v3-faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.v3-faq-item.open { border-color: rgba(14, 111, 168, 0.3); box-shadow: var(--sh-md); }
.v3-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 18px 24px; background: none; border: 0; cursor: pointer; text-align: start; color: var(--c-ink); font-weight: 800; font-size: 1.08rem; line-height: 1.6; }
.v3-faq-plus { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(14, 111, 168, 0.08); color: var(--c-blue); transition: transform .3s, background .3s, color .3s; }
.v3-faq-item.open .v3-faq-plus { transform: rotate(45deg); background: var(--c-orange); color: #fff; }
.v3-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.v3-faq-item.open .v3-faq-a { grid-template-rows: 1fr; }
.v3-faq-a > div { overflow: hidden; }
.v3-faq-a p { margin: 0; padding: 0 24px 22px; color: var(--c-muted); line-height: 1.9; font-size: 1.02rem; }

/* ===================== contact ===================== */
.v3-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 60px; border-radius: 40px; color: #fff;
  background: radial-gradient(520px 380px at 100% 0%, rgba(242, 135, 27, 0.30), transparent 70%), radial-gradient(520px 380px at 0% 100%, rgba(27, 143, 212, 0.35), transparent 70%), linear-gradient(150deg, #0B2540, #0E4F7B); box-shadow: var(--sh-lg); }
.v3-contact .v3-sec-title { color: #fff; }
.v3-contact .v3-sec-title em { color: #FFB066; }
.v3-contact .v3-sec-sub { color: rgba(255, 255, 255, 0.78); }
.v3-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.v3-contact-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.v3-contact-lines li { display: flex; align-items: center; gap: 14px; }
.v3-contact-lines .ico { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); color: #fff; flex-shrink: 0; }
.v3-contact-lines span { display: flex; flex-direction: column; }
.v3-contact-lines small { color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; }
.v3-contact-lines a { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; min-height: 24px; }
.v3-form-card { background: #fff; color: var(--c-text); border-radius: 28px; padding: 36px 34px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.v3-field { margin-bottom: 16px; }
.v3-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v3-field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.95rem; color: var(--c-ink); }
.v3-field input, .v3-field select, .v3-field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--c-line); border-radius: 14px; background: #F8FBFE; color: var(--c-ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.v3-field textarea { min-height: 120px; resize: vertical; }
.v3-field input:focus, .v3-field select:focus, .v3-field textarea:focus { border-color: var(--c-blue); background: #fff; box-shadow: 0 0 0 4px rgba(14, 111, 168, 0.12); }

/* ===================== footer ===================== */
.v3-footer { background: #0A2038; color: rgba(255, 255, 255, 0.75); padding: 72px 0 0; margin-top: 40px; }
.v3-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; padding-bottom: 48px; }
.v3-footer-logo { display: inline-flex; padding: 12px 18px; border-radius: 16px; background: #fff; margin-bottom: 20px; }
.v3-footer-logo img { height: 48px; width: auto; display: block; }
.v3-footer-brand p { margin: 0 0 22px; max-width: 460px; line-height: 1.9; }
.v3-social { display: flex; gap: 10px; flex-wrap: wrap; }
.v3-social a { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background .25s, transform .25s; }
.v3-social a:hover { background: var(--c-orange); transform: translateY(-3px); }
.v3-footer-col h3 { margin: 0 0 18px; color: #fff; font-size: 1.1rem; font-weight: 800; }
.v3-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.v3-footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color .2s, transform .2s; }
.v3-footer-col a:hover { color: #fff; transform: translateX(-4px); }
html[dir="ltr"] .v3-footer-col a:hover { transform: translateX(4px); }
.v3-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0 26px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.55); }
.v3-footer-bottom p { margin: 0; }

/* ===================== whatsapp ===================== */
.wa-float { background: #25D366 !important; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4) !important; border-radius: var(--r-pill) !important; }
.v3-wa-bubble { position: fixed; z-index: 9991; left: 24px; bottom: 96px; width: 280px; padding: 18px 20px 16px; background: #fff; border-radius: 20px; box-shadow: var(--sh-md); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 6px; color: var(--c-text); animation: v3-pop .4s ease; }
.v3-wa-bubble[hidden] { display: none; }
.v3-wa-bubble strong { color: var(--c-ink); font-size: 1.05rem; }
.v3-wa-bubble span { font-size: 0.95rem; color: var(--c-muted); }
.v3-wa-bubble a { margin-top: 6px; color: #0B6B3A; font-weight: 800; text-decoration: none; }
.v3-wa-close { position: absolute; top: 6px; inset-inline-end: 10px; width: 32px; height: 32px; border: 0; background: none; font-size: 1.4rem; color: var(--c-muted); cursor: pointer; }
@keyframes v3-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* ===================== responsive ===================== */
@media (max-width: 1024px) {
  .v3-why, .v3-faq { grid-template-columns: 1fr; gap: 36px; }
  .v3-why-intro, .v3-faq-intro { position: static; }
  .v3-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .v3-steps::before { display: none; }
  .v3-tech { grid-template-columns: repeat(2, 1fr); }
  .v3-posts { grid-template-columns: repeat(2, 1fr); }
  .v3-contact { grid-template-columns: 1fr; padding: 44px 34px; gap: 40px; }
  .v3-footer-grid { grid-template-columns: 1fr 1fr; }
  .v3-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .v3-why-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -24px; padding: 6px 24px 16px; }
  .v3-why-card { flex: 0 0 80%; scroll-snap-align: center; padding: 26px 22px; }
  /* process: vertical timeline */
  .v3-steps { grid-template-columns: 1fr; row-gap: 26px; }
  .v3-steps::before { display: block; top: 32px; bottom: 32px; inset-inline: auto; inset-inline-start: 31px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(14, 111, 168, 0.35) 0 8px, transparent 8px 16px); }
  .v3-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: start; padding: 0; align-items: start; }
  .v3-step-dot { grid-row: span 2; margin: 0; width: 56px; height: 56px; }
  .v3-step h3 { margin: 4px 0 6px; }
  /* tech: compact 2x2 */
  .v3-tech { gap: 12px; }
  .v3-tech-card { padding: 20px 16px; }
  .v3-tech-card p, .v3-tech-tags { display: none; }
  .v3-tech-card h3 { font-size: 1.05rem; margin: 0; }
  .v3-tech-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  /* blog: swipe carousel */
  .v3-posts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -24px; padding: 6px 24px 16px; }
  .v3-post { flex: 0 0 84%; scroll-snap-align: center; }
  .v3-faq-q { font-size: 1rem; padding: 16px 18px; }
  .v3-faq-a p { padding: 0 18px 18px; }
  /* contact */
  .v3-contact { padding: 30px 20px; border-radius: 28px; gap: 30px; }
  .v3-contact-actions .v3-btn { width: 100%; }
  .v3-form-card { padding: 24px 18px; border-radius: 22px; }
  .v3-field-row { grid-template-columns: 1fr; gap: 0; }
  .v3-footer { padding-top: 52px; }
  .v3-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .v3-footer-col a { min-height: 44px; }
  .v3-wa-bubble { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .v3-wa-bubble { animation: none; } .v3-faq-a { transition: none; } }


/* ===================== window cards (project covers; any aspect ratio) ===================== */
.v3-shot {
  position: absolute; width: 400px; aspect-ratio: 4 / 3; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg);
}
.v3-shot-bar { flex: 0 0 30px; display: flex; align-items: center; gap: 6px; padding-inline: 14px; background: #F2F6FA; border-bottom: 1px solid var(--c-line); }
.v3-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD7E3; }
.v3-shot-bar i:nth-child(1) { background: #F2871B; }
.v3-shot-bar i:nth-child(2) { background: #1B8FD4; }
.v3-shot-screen { position: relative; flex: 1; min-height: 0; isolation: isolate; background: linear-gradient(160deg, #e6f1fa, #fdf1e2); }
.v3-shot-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.v3-shot-fallback { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; color: var(--c-blue); font-weight: 800; }
.v3-shot-fallback .ico { width: 44px; height: 44px; opacity: .55; }

.v3-shot--main { z-index: 3; width: 430px; left: 50%; top: 84px; transform: translateX(-50%) rotate(-2deg); animation: v3-float 7s ease-in-out infinite; }
.v3-shot--left { z-index: 2; width: 330px; inset-inline-start: -2%; top: 8px; transform: rotate(-8deg); opacity: .96; animation: v3-float 8s ease-in-out -2s infinite; }
.v3-shot--right { z-index: 2; width: 330px; inset-inline-end: -2%; bottom: 6px; transform: rotate(7deg); opacity: .96; animation: v3-float 9s ease-in-out -4s infinite; }
.v3-hero-visual { height: 540px; }

.v3-shot--static { position: relative; width: min(88%, 520px); transform: rotate(-2deg); transition: transform .5s ease; margin-block: 36px; }
.v3-case.is-flip .v3-shot--static { transform: rotate(2deg); }
.v3-case:hover .v3-shot--static { transform: rotate(0) translateY(-6px); }

@media (max-width: 1024px) {
  .v3-shot--main { width: 380px; }
  .v3-shot--left, .v3-shot--right { width: 270px; }
  .v3-hero-visual { height: 470px; }
}
@media (max-width: 768px) {
  .v3-hero-visual { height: 330px; }
  .v3-shot--main { width: 270px; top: 60px; }
  .v3-shot--left, .v3-shot--right { width: 190px; }
  .v3-shot--left { top: 4px; inset-inline-start: -6%; }
  .v3-shot--right { bottom: 8px; inset-inline-end: -6%; }
  .v3-shot-bar { flex-basis: 22px; }
  .v3-case-visual { height: auto; min-height: 220px; align-items: center; }
  .v3-shot--static, .v3-case.is-flip .v3-shot--static { width: 84%; margin: 26px 0; }
}
@media (prefers-reduced-motion: reduce) { .v3-shot { animation: none !important; } }

/* ===================== client logos: equal white tiles, full color ===================== */
.v3-logos-track { gap: 18px; }
.v3-logo-item { flex: 0 0 auto; width: 168px; height: 84px; min-width: 0; padding: 14px 20px; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; box-shadow: var(--sh-sm); filter: none; opacity: 1; font-size: 1rem; text-align: center; line-height: 1.3; }
.v3-logo-item:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.v3-logo-item { transition: box-shadow .3s, transform .3s; }
.v3-logo-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 768px) { .v3-logo-item { width: 140px; height: 72px; padding: 10px 14px; } }
.v3-hero h1 .v3-h1-a, .v3-hero h1 .v3-h1-b { text-wrap: balance; }

/* English: slightly smaller hero headline (Latin text runs wider), friendlier button wrapping */
html[lang="en"] .v3-hero h1 { font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.18; }
.v3-btn { line-height: 1.3; text-align: center; }
@media (max-width: 768px) { .v3-btn { padding-inline: 22px; padding-block: 10px; } }

/* <main> landmark must not add the legacy 80px top padding */
main { padding-top: 0; }
.blog-article-main { padding-top: 80px; }

/* ===================== project details page ===================== */
.v3-wd-hero { position: relative; overflow: hidden; padding: 140px 0 70px; isolation: isolate; }
.v3-wd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.v3-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 0.95rem; color: var(--c-muted); }
.v3-crumbs a { color: var(--c-muted); text-decoration: none; padding: 6px 0; }
.v3-crumbs a:hover { color: var(--c-blue); }
.v3-crumbs [aria-current] { color: var(--c-ink); font-weight: 700; }
.v3-wd-copy h1 { margin: 0 0 18px; font-weight: 900; line-height: 1.2; font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--c-ink); }
.v3-wd-copy .v3-lead { margin-bottom: 26px; }
.v3-wd-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.v3-wd-stat { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-sm); color: var(--c-orange); }
.v3-wd-stat span { display: flex; flex-direction: column; line-height: 1.3; }
.v3-wd-stat b { font-size: 1.25rem; font-weight: 900; color: var(--c-ink); }
.v3-wd-stat small { color: var(--c-muted); font-size: 0.88rem; }
.v3-wd-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 40px 24px; border-radius: 36px; overflow: hidden;
  background: radial-gradient(420px 320px at 30% 20%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(145deg, var(--c-sky), var(--c-blue-600)); box-shadow: var(--sh-lg); }
.v3-shot--hero { width: min(100%, 560px); transform: rotate(-2deg); margin: 0; }

.v3-wd-body { padding-top: 40px; }
.v3-wd-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.v3-wd-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.v3-wd-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 36px 34px; box-shadow: var(--sh-sm); }
.v3-wd-card h2 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 900; color: var(--c-ink); }
.v3-wd-card p { margin: 0; color: var(--c-muted); line-height: 2; font-size: 1.08rem; white-space: pre-line; }
.v3-wd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.v3-wd-list li { display: flex; gap: 14px; align-items: flex-start; }
.v3-wd-check { flex: 0 0 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(31, 169, 113, 0.12); color: #1FA971; margin-top: 2px; }
.v3-wd-list b { display: block; color: var(--c-ink); font-size: 1.08rem; }
.v3-wd-list small { display: block; margin-top: 4px; color: var(--c-muted); line-height: 1.8; font-size: 0.98rem; }
.v3-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.v3-gallery-item { padding: 0; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; background: #F2F6FA; cursor: zoom-in; aspect-ratio: 4 / 3; transition: transform .25s, box-shadow .25s; }
.v3-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.v3-gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.v3-wd-side { position: sticky; top: 110px; }
.v3-wd-side-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh-md); display: flex; flex-direction: column; gap: 22px; }
.v3-wd-side-card h3 { margin: 0; font-size: 1.25rem; font-weight: 900; color: var(--c-ink); }
.v3-wd-side-label { display: block; margin-bottom: 10px; font-weight: 700; color: var(--c-muted); font-size: 0.92rem; }
.v3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-chip-link, .v3-chip-plain { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(14, 111, 168, 0.08); color: var(--c-blue); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.v3-chip-link:hover { background: var(--c-blue); color: #fff; }
.v3-chip-plain { background: #F2F6FA; color: var(--c-text); }

.v3-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.v3-related-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-ink); box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.v3-related-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.v3-related-card:hover .v3-link { gap: 14px; color: var(--c-orange-600); }
.v3-related-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, rgba(27, 143, 212, 0.16), rgba(242, 135, 27, 0.16)); isolation: isolate; }
.v3-related-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.v3-related-card:hover .v3-related-img img { transform: scale(1.05); }
.v3-related-fallback { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: center; color: var(--c-blue); opacity: .5; }
.v3-related-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.v3-related-body b { font-size: 1.2rem; font-weight: 800; }

.v3-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 52px; border-radius: 36px; color: #fff;
  background: radial-gradient(480px 340px at 100% 0%, rgba(242, 135, 27, 0.32), transparent 70%), linear-gradient(150deg, #0B2540, #0E4F7B); box-shadow: var(--sh-lg); }
.v3-band h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 900; }
.v3-band p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; line-height: 1.8; }
.v3-band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* native <dialog> for the quote form + image lightbox */
.v3-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 34px 30px 28px; border: 0; border-radius: 28px; box-shadow: 0 30px 80px rgba(11, 37, 64, 0.35); background: #fff; color: var(--c-text); overflow: auto; }
.v3-dialog::backdrop, .v3-lightbox::backdrop { background: rgba(11, 37, 64, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.v3-dialog h2 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 900; color: var(--c-ink); }
.v3-dialog-sub { margin: 0 0 20px; color: var(--c-muted); line-height: 1.8; }
.v3-dialog-close { position: absolute; top: 12px; inset-inline-end: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #F2F6FA; color: var(--c-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.v3-dialog-close:hover { background: var(--c-orange); color: #fff; }
.v3-lightbox { width: min(1100px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 20px; background: #0B2540; overflow: hidden; }
.v3-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 24px); margin: 0 auto; object-fit: contain; }

@media (max-width: 1024px) {
  .v3-wd-grid { grid-template-columns: 1fr; gap: 32px; }
  .v3-wd-visual { min-height: 340px; }
  .v3-wd-layout { grid-template-columns: 1fr; }
  .v3-wd-side { position: static; }
  .v3-related { grid-template-columns: repeat(2, 1fr); }
  .v3-band { flex-direction: column; align-items: flex-start; padding: 38px 30px; }
}
@media (max-width: 768px) {
  .v3-wd-hero { padding: 112px 0 40px; }
  .v3-wd-copy .v3-cta .v3-btn { width: 100%; }
  .v3-wd-visual { min-height: 0; padding: 26px 14px; border-radius: 26px; }
  .v3-shot--hero { width: 100%; }
  .v3-wd-stats { gap: 10px; }
  .v3-wd-stat { flex: 1 1 calc(50% - 10px); padding: 10px 14px; }
  .v3-wd-card { padding: 26px 20px; border-radius: 22px; }
  .v3-wd-card p { font-size: 1.02rem; }
  .v3-gallery { grid-template-columns: repeat(2, 1fr); }
  .v3-related { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -24px; padding: 6px 24px 16px; }
  .v3-related-card { flex: 0 0 82%; scroll-snap-align: center; }
  .v3-band { padding: 30px 22px; border-radius: 26px; }
  .v3-band-actions, .v3-band-actions .v3-btn { width: 100%; }
  .v3-dialog { padding: 28px 20px 22px; border-radius: 22px; }
}

/* ===================== service details ===================== */
.v3-svc-visual { min-height: 380px; }
.v3-svc-orb { width: 210px; height: 210px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.07), 0 0 0 58px rgba(255, 255, 255, 0.05); }
.v3-svc-orb img { width: 110px; height: 110px; object-fit: contain; }
.v3-svc-orb .ico { width: 90px; height: 90px; }
.v3-svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.v3-svc-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v3-svc-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 4px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-weight: 700; text-decoration: none; transition: color .2s, padding .2s; }
.v3-svc-links li:last-child a { border-bottom: 0; }
.v3-svc-links a:hover { color: var(--c-blue); padding-inline: 10px; }
html[dir="ltr"] .v3-svc-links .ico { transform: scaleX(-1); }
@media (max-width: 1024px) { .v3-svc-layout { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .v3-svc-visual { min-height: 0; padding: 40px 14px; }
  .v3-svc-orb { width: 150px; height: 150px; box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.07), 0 0 0 36px rgba(255, 255, 255, 0.05); }
  .v3-svc-orb .ico { width: 64px; height: 64px; }
  .v3-svc-orb img { width: 80px; height: 80px; }
  /* hero cards: keep the side cards fully on screen */
  .v3-shot--left { width: 170px; inset-inline-start: 1%; }
  .v3-shot--right { width: 170px; inset-inline-end: 1%; }
}


/* ===================== mobile menu ===================== */
.nav-hamburger { width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center; gap: 5px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); }
.nav-hamburger span { width: 20px; height: 2px; background: var(--c-ink); transition: transform .3s ease, opacity .2s ease; }
.v3-nav.is-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v3-nav.is-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.v3-nav.is-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.v3-mm.mobile-menu { position: fixed; inset: 0; z-index: 9998; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 0;
  padding: 104px 22px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; background: linear-gradient(180deg, #fff 0%, #EEF4FA 100%) !important; }
.v3-mm-list { display: flex; flex-direction: column; }
.v3-mm.mobile-menu .v3-mm-list a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 6px; border-bottom: 1px solid var(--c-line);
  color: var(--c-ink); font-size: 1.25rem; font-weight: 800; text-decoration: none; transition: color .2s, padding .2s; }
.v3-mm.mobile-menu .v3-mm-list a:active, .v3-mm.mobile-menu .v3-mm-list a:hover { color: var(--c-blue); padding-inline: 12px; }
.v3-mm-list .ico { color: var(--c-blue); flex-shrink: 0; }
html[dir="ltr"] .v3-mm-list .ico { transform: scaleX(-1); }
.v3-mm-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.v3-mm-foot .v3-btn { min-height: 56px; }
.v3-mm.mobile-menu .v3-mm-foot a { font-size: 1.05rem; }
.v3-mm.mobile-menu .v3-mm-foot a.v3-btn--primary { color: #fff; }
.v3-mm.mobile-menu .v3-mm-foot a.v3-btn--ghost { color: var(--c-ink); }
