/* Website service page: responsive browser preview with wireframe wipe, our-work browser tabs and page skin. Prefix wd-. */
:root { --wd-ink: #14161f; --wd-accent: #ff5a36; --wd-blue: #2563eb; --wd-muted: #5d6475; --wd-line: rgba(20, 22, 31, .12); --wd-paper: #faf8f4; }
.wd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Opening ---- */
.wd-hero-sec { position: relative; overflow: hidden; padding: 64px 0 72px; background: linear-gradient(180deg, var(--wd-paper) 0%, #fff 70%); }
.wd-hero-sec::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--wd-line) 1px, transparent 1px), linear-gradient(90deg, var(--wd-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000, transparent); pointer-events: none; }
.wd-hero-top { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.wd-kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--wd-line); font-size: 13px; font-weight: 600; color: var(--wd-accent); }
.wd-hero-top h1 { margin: 18px 0 0; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -.025em; color: var(--wd-ink); }
.wd-hero-top h1 span { position: relative; white-space: nowrap; color: var(--wd-accent); }
.wd-hero-top h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; border-radius: 3px; background: currentColor; opacity: .18; }
.wd-hero-text { max-width: 640px; margin: 18px auto 0; font-size: 17px; line-height: 1.7; color: var(--wd-muted); }
.wd-hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.wd-btn-line { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--wd-ink); color: var(--wd-ink); font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.wd-btn-line:hover { background: var(--wd-ink); color: #fff; }
.wd-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; font-size: 14px; color: var(--wd-muted); }
.wd-points li::before { content: "✓"; margin-right: 6px; font-weight: 800; color: #16a34a; }

.wd-browser { position: relative; max-width: 900px; margin: 36px auto 0; border-radius: 18px; background: #fff; border: 1px solid var(--wd-line); box-shadow: 0 50px 80px -50px rgba(20, 22, 31, .55); overflow: hidden; }
.wd-bar, .wd-wbar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #f1f0ec; border-bottom: 1px solid var(--wd-line); }
.wd-dots { display: flex; gap: 6px; flex: none; }
.wd-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .wd-dots i:nth-child(2) { background: #febc2e; } .wd-dots i:nth-child(3) { background: #28c840; }
.wd-url { flex: 1; min-width: 0; padding: 6px 12px; border-radius: 8px; background: #fff; font-size: 13px; color: var(--wd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-sizes { display: flex; flex: none; padding: 3px; border-radius: 10px; background: #e3e1da; }
.wd-sizes button { padding: 6px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--wd-muted); cursor: pointer; transition: background .2s, color .2s; }
.wd-sizes button[aria-pressed="true"] { background: #fff; color: var(--wd-ink); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .25); }
.wd-sizes button:focus-visible { outline: 2px solid var(--wd-blue); outline-offset: 1px; }
.wd-view { display: flex; justify-content: center; padding: 18px; background: repeating-linear-gradient(45deg, #f7f6f2 0 10px, #f2f0eb 10px 20px); }
.wd-frame { --cut: 50%; position: relative; width: 100%; aspect-ratio: 16 / 8.4; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); transition: width .6s cubic-bezier(.2, .8, .2, 1), aspect-ratio .6s; }
.wd-browser[data-size="tablet"] .wd-frame { width: 62%; aspect-ratio: 3 / 4; }
.wd-browser[data-size="phone"] .wd-frame { width: 34%; aspect-ratio: 9 / 18; border-radius: 22px; }
.wd-live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f4f3ef; }
.wd-wire { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3.2%; padding: 4% 5%; background-color: #fff; background-image: linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px); background-size: 16px 16px; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.wd-wire span { display: block; border: 1.5px dashed rgba(37, 99, 235, .55); border-radius: 6px; background: rgba(37, 99, 235, .05); }
.wd-wire .w-nav { display: flex; justify-content: flex-end; gap: 4%; height: 7%; padding: 1.4% 2%; border-style: solid; }
.wd-wire .w-nav i { width: 9%; border-radius: 3px; background: rgba(37, 99, 235, .25); }
.wd-wire .w-title { width: 55%; height: 8%; }
.wd-wire .w-line { width: 70%; height: 3.5%; } .wd-wire .w-line.s { width: 46%; }
.wd-wire .w-btn { width: 18%; height: 7%; border-radius: 999px; }
.wd-wire .w-img { flex: 1; }
.wd-wire .w-cards { display: flex; gap: 3%; height: 16%; border: 0; background: none; }
.wd-wire .w-cards i { flex: 1; border: 1.5px dashed rgba(37, 99, 235, .55); border-radius: 6px; }
.wd-handle { position: absolute; inset: 0; z-index: 3; cursor: ew-resize; }
.wd-handle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.wd-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: var(--wd-accent); pointer-events: none; }
.wd-knob { position: absolute; top: 50%; left: var(--cut); width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%; background: var(--wd-accent); color: #fff; font-size: 18px; box-shadow: 0 8px 20px -6px rgba(255, 90, 54, .7); pointer-events: none; }
.wd-handle:focus-within .wd-knob { outline: 3px solid var(--wd-blue); outline-offset: 3px; }
.wd-tag { position: absolute; z-index: 2; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 22, 31, .78); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.wd-tag.l { left: 12px; } .wd-tag.r { right: 12px; }

/* ---- Our work browser ---- */
.wd-works { max-width: 1040px; margin: 28px auto 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--wd-line); background: #fff; box-shadow: 0 40px 70px -50px rgba(20, 22, 31, .6); }
.wd-tabs { display: flex; gap: 4px; padding: 10px 10px 0; background: #e6e4de; overflow-x: auto; scrollbar-width: thin; }
.wd-tabs button { display: flex; flex: none; align-items: center; gap: 8px; max-width: 200px; padding: 9px 14px; border: 0; border-radius: 10px 10px 0 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--wd-muted); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.wd-tabs button:hover { background: rgba(255, 255, 255, .5); }
.wd-tabs button[aria-selected="true"] { background: #f1f0ec; color: var(--wd-ink); }
.wd-tabs button:focus-visible { outline: 2px solid var(--wd-blue); outline-offset: -2px; }
.wd-tabs i { width: 18px; height: 18px; display: grid; place-items: center; flex: none; border-radius: 5px; background: var(--wd-ink); color: #fff; font-size: 10.5px; font-style: normal; }
.wd-visit { flex: none; padding: 6px 12px; border-radius: 8px; background: var(--wd-ink); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.wd-visit:hover { background: var(--wd-accent); }
.wd-shots { position: relative; aspect-ratio: 1490 / 861; background: #f4f3ef; overflow: hidden; }
.wd-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateX(4%); transition: opacity .45s, transform .45s; }
.wd-shots img.on { opacity: 1; transform: none; }
.wd-shots .wd-long-view { position: absolute; inset: 0; overflow: hidden; opacity: 0; transform: translateX(4%); transition: opacity .45s, transform .45s; }
.wd-shots .wd-long-view.on { opacity: 1; transform: none; }
.wd-shots .wd-long-view img { position: static; display: block; width: 100%; height: auto; opacity: 1; transform: none; transition: none; will-change: transform; }

/* ---- Page skin ---- */
body:has(.wd-hero-sec) main .sv-intro { background: var(--wd-paper) !important; color: var(--wd-ink) !important; border-color: #ece7dc !important; }

@media (max-width: 760px) {
    .wd-bar { flex-wrap: wrap; }
    .wd-bar .wd-url { order: 3; flex-basis: 100%; }
    .wd-sizes { margin-left: auto; }
    .wd-view { padding: 10px; }
    .wd-browser[data-size="tablet"] .wd-frame { width: 80%; }
    .wd-browser[data-size="phone"] .wd-frame { width: 54%; }
}
@media (max-width: 560px) {
    .wd-hero-sec { padding: 40px 0 48px; }
    .wd-hero-text { font-size: 16px; }
    .wd-hero-top h1 span { white-space: normal; }
    .wd-sizes button { padding: 5px 9px; font-size: 12px; }
    .wd-frame { aspect-ratio: 4 / 3; }
    .wd-knob { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
    .wd-wbar .wd-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wd-frame, .wd-shots img { transition: none; }
}

/* ---- Services: light bento grid ---- */
.wd-bento { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; }
.wd-tile { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--wd-line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.wd-tile:hover { transform: translateY(-4px); border-color: rgba(255, 90, 54, .45); box-shadow: 0 26px 44px -30px rgba(20, 22, 31, .35); }
.wd-tile.big { grid-column: span 2; flex-direction: row; }
.wd-tile figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wd-paper); }
.wd-tile.big figure { flex: 0 0 48%; aspect-ratio: auto; min-height: 260px; }
.wd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.wd-tile:hover img { transform: scale(1.05); }
.wd-tile-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.wd-tile.big .wd-tile-body { justify-content: center; padding: 26px 28px; }
.wd-tile-num { font-size: 13px; font-weight: 800; color: var(--wd-accent); }
.wd-tile h3 { margin: 0; font-size: 17px; line-height: 1.3; color: var(--wd-ink); }
.wd-tile.big h3 { font-size: 22px; }
.wd-tile h3 a { color: inherit; text-decoration: none; }
.wd-tile p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--wd-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wd-tile.big p { -webkit-line-clamp: 6; font-size: 15.5px; }

/* ---- Process: light step timeline ---- */
.wd-log-sec { background: var(--wd-paper); }
.wd-steps { position: relative; max-width: 860px; margin: 34px auto 0; }
.wd-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.wd-steps-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: #ebe6dc; }
.wd-steps-line i { display: block; width: 100%; height: 0; border-radius: inherit; background: linear-gradient(180deg, var(--wd-accent), #f59e0b); transition: height .2s linear; }
.wd-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: start; }
.wd-step-num { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #e2dccf; font-size: 17px; font-weight: 800; color: var(--wd-muted); transition: background .3s, border-color .3s, color .3s, transform .3s; }
.wd-step.in .wd-step-num { background: var(--wd-accent); border-color: var(--wd-accent); color: #fff; transform: scale(1.06); }
.wd-step-card { padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--wd-line); transition: border-color .3s, box-shadow .3s; }
.wd-step.in .wd-step-card { border-color: rgba(255, 90, 54, .35); box-shadow: 0 20px 36px -30px rgba(255, 90, 54, .55); }
.wd-step-card h3 { margin: 0; font-size: 18px; color: var(--wd-ink); }
.wd-step-card p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--wd-muted); }

@media (max-width: 960px) {
    .wd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .wd-bento { grid-template-columns: minmax(0, 1fr); }
    .wd-tile.big { grid-column: auto; flex-direction: column; }
    .wd-tile.big figure { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
    .wd-tile.big .wd-tile-body { padding: 18px 20px 22px; }
    .wd-tile.big h3 { font-size: 19px; }
    .wd-steps-line { left: 19px; }
    .wd-step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
    .wd-step-num { width: 40px; height: 40px; font-size: 15px; }
    .wd-step-card { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .wd-tile, .wd-tile img, .wd-step-num, .wd-steps-line i { transition: none; }
}

/* ---- Skin for the reused sections ---- */
body:has(.wd-hero-sec) main .sv-icards.style-icon .sv-icard2 { border-radius: 18px; border: 1px solid var(--wd-line); background: #fff; box-shadow: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
body:has(.wd-hero-sec) main .sv-icards.style-icon .sv-icard2:hover { transform: translateY(-4px); border-color: var(--wd-accent); box-shadow: 0 24px 40px -30px rgba(255, 90, 54, .6); }
body:has(.wd-hero-sec) main .sv-icards.style-icon .sv-icard2 img { padding: 10px; border-radius: 14px; background: #fff1ec; }
body:has(.wd-hero-sec) main .sv-icards.style-icon .sv-icard2 h3, body:has(.wd-hero-sec) main .sv-icards.style-icon .sv-icard2 h3 a { color: var(--wd-ink); }
body:has(.wd-hero-sec) main .sv-why { display: block; }
body:has(.wd-hero-sec) main .sv-why > img { display: none; }
body:has(.wd-hero-sec) main .sv-why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: wdwhy; }
body:has(.wd-hero-sec) main .sv-why-card { counter-increment: wdwhy; position: relative; margin: 0; padding: 24px 22px 22px 74px; border: 1px solid var(--wd-line); border-radius: 18px; background: #fff; box-shadow: none; transition: transform .25s, border-color .25s; }
body:has(.wd-hero-sec) main .sv-why-card::before { content: counter(wdwhy, decimal-leading-zero); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 800; line-height: 1; color: var(--wd-accent); }
body:has(.wd-hero-sec) main .sv-why-card:hover { transform: translateY(-3px); border-color: var(--wd-accent); }
body:has(.wd-hero-sec) main .sv-why-card h3 { margin: 0; font-size: 17px; color: var(--wd-ink); }
body:has(.wd-hero-sec) main .sv-why-card p:empty { display: none; }
@media (max-width: 860px) { body:has(.wd-hero-sec) main .sv-why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body:has(.wd-hero-sec) main .sv-why-list { grid-template-columns: minmax(0, 1fr); } }
body:has(.wd-hero-sec) main .sv-ttabs-nav button[aria-selected="true"], body:has(.wd-hero-sec) main .sv-ttabs-nav .on { background: var(--wd-ink) !important; color: #fff !important; }
body:has(.wd-hero-sec) main .sv-contact-big { color: var(--wd-accent); }

