/* =========================================================
   Web Design Sri Lanka — Home
   ========================================================= */
:root {
  --navy: #0f1b3d;
  --navy-2: #1b2a5c;
  --orange: #ff6a00;
  --orange-2: #ff8a1e;
  --orange-soft: #fff1e6;
  --ink: #0f1b3d;
  --body: #4b5568;
  --muted: #7d8799;
  --line: #e8eaf0;
  --bg: #f7f8fb;
  --grad: linear-gradient(100deg, #ff8a1e, #ff6a00 60%, #f25400);
  --shadow: 0 2px 4px rgba(13, 23, 51, .03), 0 12px 32px rgba(13, 23, 51, .08);
  --shadow-lg: 0 30px 60px -15px rgba(13, 23, 51, .25);
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-poster: "Anton", Impact, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--body); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, h4, h5 { font-family: var(--f-head); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.015em; }
.container { width: min(1640px, 92%); margin-inline: auto; }
.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: var(--h); padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-head); font-weight: 500; font-size: .9rem; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn .ic { width: 16px; height: 16px; }
.btn .ic-lg { width: 19px; height: 19px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { --h: 42px; font-size: .85rem; }
.btn-lg { --h: 50px; padding: 0 1.6rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -8px rgba(255,106,0,.65), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(255,106,0,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-light { background: #fff; color: var(--ink); border-color: #d9dde5; box-shadow: 0 6px 18px rgba(13,23,51,.08); }
.btn-light:hover { border-color: var(--orange); color: var(--orange); }
.btn-light .ic { color: var(--ink); }
.nav-actions .btn-light .ic { color: var(--ink); }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); padding: 10px 0; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(13,23,51,.06); }
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: var(--f-head); font-weight: 600; font-size: 1.55rem; color: var(--navy); letter-spacing: -.03em; }
.logo-word b { color: var(--orange); font-weight: 600; }
.logo-tag { font-family: var(--f-head); font-size: .56rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); margin-top: 5px; white-space: nowrap; }
.logo.light .logo-word, .logo.light .logo-tag { color: #fff; }
.logo.light .logo-word b { color: var(--orange); }
.eyebrow, .ribbon { font-weight: 600 !important; }

.nav { display: flex; gap: .4rem; margin-left: auto; }
.nav > a, .dropdown > a { display: flex; align-items: center; gap: .35rem; padding: .5rem .8rem; border-radius: 10px; font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--ink); position: relative; transition: color .2s, background .2s; }
.nav > a:hover, .dropdown > a:hover { color: var(--orange); }
.nav > a.active { color: var(--orange); }
.nav > a.active::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: -6px; height: 3px; border-radius: 3px; background: var(--orange); }
.chev { width: 14px; height: 14px; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 250px; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.dropdown-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 9px; font-size: .86rem; font-weight: 500; color: var(--ink); }
.dropdown-menu a svg { width: 18px; height: 18px; color: var(--orange); }
.dropdown-menu a:hover { background: var(--orange-soft); }
.nav-actions { display: flex; gap: 1.1rem; margin-left: auto; }
.nav-actions .btn { --h: 44px; padding: 0 1.3rem; font-size: .88rem; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 34px; background: linear-gradient(180deg, #fff 0%, #fafbfd 100%); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-glow { position: absolute; z-index: -1; left: 47%; top: 14%; width: 40vw; height: 40vw; max-width: 640px; max-height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(255,170,110,.42) 0%, rgba(255,190,140,.18) 45%, rgba(255,200,160,0) 70%); pointer-events: none; }

.hero-grid { display: grid; grid-template-columns: .74fr 1fr; gap: 1.5rem; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1.15rem; border-radius: 999px; background: #fff0e4; color: var(--ink); font-family: var(--f-head); font-weight: 500; font-size: .82rem; }
.badge svg { width: 19px; height: 19px; color: var(--orange); }
.hero h1 { font-size: clamp(1.85rem, 2.6vw, 2.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 1.2rem 0 1.4rem; }
.hero h1 .accent { position: relative; display: inline-block; }
.scribble { position: absolute; left: 8%; bottom: -.3em; width: 88%; height: .32em; color: var(--orange); }
.hero-sub { font-size: clamp(.9rem, .95vw, .98rem); line-height: 1.75; max-width: 560px; color: #3a4459; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.9rem 0 2.1rem; }

.hero-points { display: flex; flex-wrap: nowrap; }
.hero-points li { display: flex; align-items: center; gap: .6rem; padding: .1rem 1.25rem; white-space: nowrap; }
.hero-points li:first-child { padding-left: 0; }
.hero-points li + li { border-left: 1px solid #dfe3ea; }
.hero-points svg { width: 26px; height: 26px; color: var(--orange); }
.hero-points b { display: block; font-family: var(--f-head); font-weight: 500; color: var(--ink); font-size: .85rem; line-height: 1.35; }
.hero-points span { font-family: var(--f-head); font-size: .76rem; color: #525c70; }

/* ---------- Stage ---------- */
.stage { position: relative; aspect-ratio: 100 / 60; margin-right: -3%; container-type: inline-size; }
.paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.paths path { fill: none; stroke: #ff9d55; stroke-width: .22; stroke-dasharray: .8 .8; opacity: .85; }
.floor { position: absolute; left: 4%; right: 4%; bottom: 2%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(12,23,54,.38), rgba(12,23,54,0) 70%); filter: blur(6px); }


/* Desktop monitor */
.mon { position: absolute; left: 23%; top: 3%; width: 56%; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.mon-screen { width: 100%; aspect-ratio: 16 / 9.6; background: #0f1116; border-radius: 1.1cqw 1.1cqw 0 0; padding: .7cqw; box-shadow: 0 2.5cqw 4cqw -1.5cqw rgba(8,15,35,.55); }
.mon-chin { width: 100%; height: 2.4cqw; background: linear-gradient(180deg, #e9ecf0, #c7ccd4); border-radius: 0 0 1.1cqw 1.1cqw; display: grid; place-items: center; }
.mon-chin i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #aab0ba; }
.mon-neck { width: 9cqw; height: 6cqw; background: linear-gradient(90deg, #b9bec7, #e7eaee 50%, #b9bec7); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.mon-base { width: 20cqw; height: 1.1cqw; border-radius: .5cqw .5cqw 1cqw 1cqw; background: linear-gradient(180deg, #e7eaee, #a9aeb8); box-shadow: 0 1cqw 1.6cqw rgba(8,15,35,.3); }


/* Tablet */
.tab { position: absolute; left: 3%; top: 30%; width: 21%; aspect-ratio: 3 / 4.1; z-index: 3; background: #0f1116; border-radius: 2cqw; padding: 1cqw; box-shadow: inset 0 0 0 .18cqw #3a3f4a, 0 2.5cqw 4cqw -1cqw rgba(8,15,35,.5); }
.tab-screen { height: 100%; border-radius: 1cqw; overflow: hidden; }

/* Phone */
.mob { position: absolute; left: 76.5%; top: 27%; width: 14.5%; aspect-ratio: 9 / 19; z-index: 4; background: #0f1116; border-radius: 2.6cqw; padding: .55cqw; box-shadow: inset 0 0 0 .18cqw #3a3f4a, 0 2.5cqw 4cqw -1cqw rgba(8,15,35,.55); }
.mob-island { position: absolute; top: 1.1cqw; left: 50%; translate: -50% 0; width: 32%; height: 1.1cqw; border-radius: 1cqw; background: #0f1116; z-index: 2; }
.mob-screen { height: 100%; border-radius: 2.1cqw; overflow: hidden; }

/* Chips */
.chip {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 1.1cqw;
  padding: .6cqw 1.6cqw .6cqw .6cqw; border-radius: 1.4cqw; background: rgba(255,255,255,.96);
  box-shadow: 0 1.2cqw 2.6cqw -.8cqw rgba(13,23,51,.28); font-family: var(--f-head); font-weight: 500; font-size: 1.3cqw; line-height: 1.25; color: var(--ink);
  animation: bob 6s ease-in-out infinite;
}
.chip-ic { width: 4.8cqw; height: 4.8cqw; border-radius: 1.3cqw; display: grid; place-items: center; background: linear-gradient(160deg, #ff8b2b, #ff5e00); color: #fff; box-shadow: 0 .8cqw 1.6cqw -.4cqw rgba(255,106,0,.7); }
.chip-ic svg { width: 56%; height: 56%; }
.c1 { left: 9%; top: 0; }
.c2 { left: 77%; top: 6%; animation-delay: -1.5s; }
.c3 { left: 0; top: 12%; padding: .6cqw; animation-delay: -2.5s; }
.c3 .chip-ic { width: 5.6cqw; height: 5.6cqw; }
.c4 { left: 0; top: 82%; animation-delay: -3.5s; }
.c5 { left: 84%; top: 80%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-.8cqw); } }

/* Industry bar */
.industry-bar {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem;
  background: #fff; border-radius: 24px; padding: 1rem 1.4rem 1rem 2rem; box-shadow: 0 20px 50px -15px rgba(13,23,51,.22);
}
.ib-title { display: flex; align-items: center; gap: 1.2rem; font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; line-height: 1.25; color: var(--ink); padding-right: 1.5rem; border-right: 1px solid var(--line); white-space: nowrap; }
.ib-title svg { width: 22px; height: 22px; color: var(--orange); }
.ib-list { flex: 1; display: flex; justify-content: space-around; }
.ib-list li { flex: 1; }
.ib-list li + li { border-left: 1px solid var(--line); }
.ib-list a { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .3rem .5rem; font-family: var(--f-head); font-weight: 400; font-size: .86rem; color: var(--ink); transition: color .2s, transform .25s var(--ease); }
.ib-list a svg { width: 27px; height: 27px; transition: color .2s; }
.ib-list a:hover { color: var(--orange); transform: translateY(-3px); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 880px; margin: 0 auto 3rem; }
.section-head h2, .how h2 { font-size: clamp(1.6rem, 2.2vw, 2.05rem); font-weight: 600; margin: .9rem 0 .8rem; }
.section-head p { font-size: .98rem; }
.section-head h2 .accent, .how h2 .accent { white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: var(--orange-soft); color: #e35d00; font-family: var(--f-head); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* Services */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { padding: 2rem; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.f-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 1.4rem; transition: background .3s, color .3s; }
.f-ic svg { width: 24px; height: 24px; }
.feature:hover .f-ic { background: var(--grad); color: #fff; }
.feature h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .45rem; }
.feature p { font-size: .88rem; }

/* Portfolio */
.portfolio { background: var(--bg); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.project { border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.browser { background: #eef1f6; padding: 16px 16px 0; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px 10px 0 0; padding: 9px 12px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 10px; flex: 1; font-size: .72rem; color: var(--muted); background: var(--bg); border-radius: 6px; padding: 2px 10px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .browser img { transform: scale(1.04); }
.project-body { padding: 1.5rem 1.6rem 1.8rem; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e35d00; }
.project-body h3 { font-size: 1.06rem; font-weight: 600; margin: .35rem 0 .4rem; }
.project-body p { font-size: .88rem; }
.center-btn { text-align: center; margin-top: 3rem; }

/* Process */
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.how .lead { font-size: .98rem; margin-bottom: 1.8rem; }
.steps { display: grid; gap: 1.4rem; margin-bottom: 2.4rem; }
.steps li { display: flex; gap: 1.1rem; }
.steps li > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .95rem; }
.steps li:first-child > span { background: var(--grad); }
.steps h4 { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.steps p { font-size: .88rem; }
.how-visual { position: relative; isolation: isolate; }
.how-visual::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 26px; background: var(--grad); z-index: -1; }
.team-img img { width: 100%; aspect-ratio: 11 / 8; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.how-card { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.how-card b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: .88rem; line-height: 1.2; }
.how-card small { color: var(--muted); font-size: .8rem; }
.hc-1 { top: -22px; right: -18px; }
.hc-2 { bottom: -26px; left: -24px; animation-delay: -3s; }
.hc-2 svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #e2f7ea; color: #12a150; }
.dot-live { width: 12px; height: 12px; border-radius: 50%; background: #18c060; box-shadow: 0 0 0 5px rgba(24,192,96,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(24,192,96,.05); } }

/* Stats */
.stats-band { background: var(--navy); background-image: radial-gradient(circle at 85% 50%, rgba(255,106,0,.25), transparent 40%); padding: 64px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.stats b { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: #fff; letter-spacing: -.02em; }
.stats > div > span { color: #a7b1c9; font-size: .88rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 2.4rem 2rem 2rem; border-radius: 24px; border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price h4 { font-size: 1.05rem; font-weight: 600; }
.p-desc { color: var(--muted); font-size: .85rem; margin: .3rem 0 1.4rem; }
.amount { font-family: var(--f-head); font-weight: 600; font-size: 1.8rem; color: var(--ink); letter-spacing: -.02em; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.amount small { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { display: grid; gap: .85rem; margin-bottom: 2rem; }
.price li { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-size: .88rem; }
.price li svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); }
.price .btn { margin-top: auto; }
.price.popular { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price.popular:hover { transform: scale(1.03) translateY(-4px); }
.price.popular h4, .price.popular .amount, .price.popular li { color: #fff; }
.price.popular .p-desc, .price.popular .amount small { color: #a7b1c9; }
.price.popular .amount { border-color: rgba(255,255,255,.12); }
.price.popular li svg { background: rgba(255,106,0,.2); }
.ribbon { position: absolute; top: 1.4rem; right: 1.4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Testimonials */
.testimonials { background: var(--bg); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.t-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem; transition: box-shadow .35s, transform .35s var(--ease); }
.t-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.t-card .q { position: absolute; top: 1.6rem; right: 1.6rem; width: 40px; height: 40px; color: var(--orange-soft); }
.stars { display: flex; gap: 2px; color: #ffb21e; }
.stars svg { width: 17px; height: 17px; }
.t-card blockquote { color: #2a3346; font-size: .93rem; line-height: 1.7; margin: 1rem 0 1.75rem; }
.t-card figcaption { margin-top: auto; display: flex; align-items: center; gap: .85rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.t-card figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-card figcaption b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: .88rem; }
.t-card figcaption span { font-size: .8rem; color: var(--muted); }

/* CTA */
.cta-wrap { padding: 110px 0; }
.cta {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding: 3rem 3.2rem; border-radius: 26px; color: #fff;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,.2), transparent 40%), linear-gradient(115deg, #ff8a1e, #ff6a00 50%, #e04f00);
  box-shadow: 0 30px 60px -20px rgba(255,106,0,.55);
}
.cta::after { content: ""; position: absolute; right: -90px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 64px solid rgba(255,255,255,.08); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 600; margin-bottom: .5rem; }
.cta p { color: rgba(255,255,255,.92); font-size: .96rem; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--navy); color: #a7b1c9; padding: 72px 0 0; font-size: .87rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-grid p { margin-top: 1.2rem; max-width: 340px; }
.footer h5 { color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 1.2rem; }
.footer-grid > div > a:not(.logo) { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; transition: color .2s; }
.footer-grid > div > a:not(.logo):hover { color: #fff; }
.fc svg { width: 16px; height: 16px; color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .chip, .how-card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav > a, .dropdown > a { padding: .5rem .55rem; font-size: .86rem; }
  .nav-actions .btn-light { display: none; }
  .ib-title { font-size: 1rem; }
  .industry-bar > .btn { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-bg { display: none; }
  .stage { max-width: 820px; width: 100%; margin-inline: auto; margin-right: auto; border-radius: 24px; background: radial-gradient(ellipse at 40% 30%, rgba(255,160,90,.35), transparent 55%), linear-gradient(200deg, #0c1736, #1e2d63 55%, #6476b4); }
  .hero-glow { display: none; }
  .industry-bar { flex-direction: column; align-items: stretch; padding: 1.4rem; }
  .ib-title { border-right: 0; padding-right: 0; justify-content: center; }
  .ib-title br { display: none; }
  .ib-list { flex-wrap: wrap; row-gap: 1rem; }
  .ib-list li { flex: 0 0 25%; }
  .ib-list li + li { border-left: 0; }
  .feature-grid, .t-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 4rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price.popular, .price.popular:hover { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stats > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; position: relative; z-index: 101; }
  .nav-actions { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86%); flex-direction: column; gap: .15rem; padding: 6rem 1.25rem 2rem; background: #fff; box-shadow: -20px 0 40px rgba(13,23,51,.15); transform: translateX(100%); transition: transform .4s var(--ease); }
  .nav.open { transform: none; }
  .nav > a, .dropdown > a { padding: .85rem 1rem; }
  .nav > a.active { background: var(--orange-soft); }
  .nav > a.active::after { display: none; }
  .dropdown-menu { display: none; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section, .cta-wrap { padding: 80px 0; }
  .hero { padding-top: 115px; }
  .logo-word { font-size: 1.45rem; }
  .hero-points { flex-direction: column; flex-wrap: wrap; gap: 1rem; }
  .hero-points li { padding: 0; }
  .hero-points li + li { border-left: 0; }
  .btn-lg { width: 100%; }
  .chip { font-size: 0; gap: 0; padding: .7cqw; }
  .chip-ic { width: 8cqw; height: 8cqw; }
  .ib-list li { flex: 0 0 33.33%; }
  .feature-grid, .project-grid, .t-grid, .footer-grid { grid-template-columns: 1fr; }
  .hc-1 { right: 0; } .hc-2 { left: 0; }
  .how-visual::before { inset: 12px -10px -12px 12px; }
  .cta { padding: 2.2rem 1.4rem; }
}

/* ---------- Portfolio (device mockups) ---------- */
.pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -1rem 0 2.5rem; }
.pf-filters button { font-family: var(--f-head); font-weight: 500; font-size: .85rem; color: var(--body); background: #fff; border: 1px solid var(--line); padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; transition: .2s; }
.pf-filters button:hover { color: var(--orange); border-color: #ffc9a3; }
.pf-filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pf-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pf-card.more:not(.show), .pf-card.hide { display: none; }

.pf-media {
  position: relative; aspect-ratio: 16 / 11.2; overflow: hidden; container-type: inline-size;
  background: radial-gradient(circle at 78% 85%, rgba(255,138,30,.28), transparent 45%), linear-gradient(160deg, #eef1f7 0%, #e3e7f1 100%);
}
.pf-media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15,27,61,.08) 1px, transparent 1px); background-size: 14px 14px; mask-image: linear-gradient(180deg, #000, transparent 80%); }

.pf-desk { position: absolute; left: 6%; top: 8%; width: 74%; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 3cqw 3cqw rgba(15,27,61,.25)); transition: transform .5s var(--ease); }
.pf-desk-screen { width: 100%; aspect-ratio: 16 / 10; background: #101218; border-radius: 1.6cqw 1.6cqw 0 0; padding: 1cqw; }
.pf-desk-screen img, .pf-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: .4cqw; background: #fff; }
.pf-desk-chin { width: 100%; height: 3.2cqw; background: linear-gradient(180deg, #eceef2, #c8cdd5); border-radius: 0 0 1.6cqw 1.6cqw; }
.pf-desk-neck { width: 13cqw; height: 7cqw; background: linear-gradient(90deg, #b9bec7, #e9ecf0 50%, #b9bec7); clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.pf-desk-base { width: 28cqw; height: 1.6cqw; border-radius: .8cqw .8cqw 1.4cqw 1.4cqw; background: linear-gradient(180deg, #e9ecf0, #a9aeb8); }

.pf-phone { position: absolute; right: 6%; bottom: 7%; width: 21%; aspect-ratio: 9 / 19.5; background: #101218; border-radius: 4cqw; padding: 1.1cqw; box-shadow: inset 0 0 0 .3cqw #3a3f4a, 0 3cqw 5cqw -1.5cqw rgba(15,27,61,.5); transition: transform .5s var(--ease); }
.pf-phone img { border-radius: 3cqw; }
.pf-phone::before { content: ""; position: absolute; top: 2.4cqw; left: 50%; translate: -50% 0; width: 30%; height: 2cqw; border-radius: 2cqw; background: #101218; z-index: 1; }

.pf-card:hover .pf-desk { transform: translateY(-1.2cqw); }
.pf-card:hover .pf-phone { transform: translateY(-2.2cqw) rotate(-2deg); }

.pf-body { display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; flex: 1; }
.pf-body h3 { font-size: 1.05rem; font-weight: 600; margin: .35rem 0 .4rem; }
.pf-body p { font-size: .87rem; margin-bottom: 1.1rem; }
.pf-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-head); font-weight: 500; font-size: .85rem; color: var(--ink); padding: .45rem .95rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); transition: .2s; }
.pf-link svg { width: 14px; height: 14px; color: var(--orange); rotate: -45deg; }
.pf-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.pf-link:hover svg { color: #fff; }
#pfMore.hidden { display: none; }

@media (max-width: 1100px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pf-grid { grid-template-columns: 1fr; } .pf-filters { margin-top: -.5rem; } }

/* Hero: real website screenshots */
.mon-screen img, .tab-screen img, .mob-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #fff; }
.mon-screen img { border-radius: .3cqw; }
.mob-screen { position: relative; }

/* Hero screens v2: status bar on phone, no notch over content, sharper scaling */
.mon-screen { aspect-ratio: 16 / 10; }
.mon-screen img, .tab-screen img, .mob-screen img { image-rendering: -webkit-optimize-contrast; image-rendering: high-quality; transform: translateZ(0); backface-visibility: hidden; }
.mob-screen { display: flex; flex-direction: column; background: #fff; padding-top: 2.6cqw; }
.mob-screen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.6cqw; background: #fff; }
.mob-screen img { flex: 1; min-height: 0; height: auto; border-radius: 0 0 2.1cqw 2.1cqw; }
.mob-island { top: 1cqw; height: 1cqw; width: 28%; }
.tab-screen { background: #fff; }

/* =========================================================
   Multi-page components
   ========================================================= */
[id] { scroll-margin-top: 96px; }
.bg-soft { background: var(--bg); }
.narrow { max-width: 860px; }
.dropdown > a.active { color: var(--orange); }
.dropdown > a.active::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: -6px; height: 3px; border-radius: 3px; background: var(--orange); }
a.feature { display: block; color: inherit; }
.f-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-family: var(--f-head); font-weight: 500; font-size: .84rem; color: var(--orange); }
.f-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
a.feature:hover .f-more svg { transform: translateX(4px); }

/* Page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 90px; background: linear-gradient(180deg, #fff 0%, #fafbfd 100%); }
.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.ph-glow { position: absolute; z-index: -1; left: 50%; top: 10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,170,110,.35), rgba(255,200,160,0) 65%); pointer-events: none; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.ph-inner { max-width: 640px; }
.crumbs { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.1rem; font-family: var(--f-head); font-size: .8rem; color: var(--muted); }
.crumbs a:hover { color: var(--orange); }
.crumbs svg { width: 13px; height: 13px; }
.crumbs span { color: var(--ink); font-weight: 500; }
.page-hero h1 { font-size: clamp(1.8rem, 2.7vw, 2.7rem); font-weight: 600; letter-spacing: -.02em; margin: 1rem 0 1rem; }
.page-hero p { font-size: .98rem; line-height: 1.75; color: #3a4459; max-width: 580px; }
.ph-chips { position: relative; height: 220px; }
.ph-chip { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.2rem .85rem .85rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.ph-chip > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -6px rgba(255,106,0,.7); }
.ph-chip > span svg { width: 22px; height: 22px; }
.ph-chip b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.2; }
.ph-chip small { font-size: .78rem; color: var(--muted); }
.ph-chip-1 { right: 30%; top: 0; }
.ph-chip-2 { right: 4%; bottom: 0; animation-delay: -3s; }

/* Check list */
.check-list { display: grid; gap: .8rem; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-size: .92rem; }
.check-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); }

/* Services detail rows */
.svc-overview { padding-bottom: 0; }
.svc-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 5rem; align-items: center; padding: 64px 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { border-radius: 26px; box-shadow: var(--shadow); }
.svc-text { position: relative; isolation: isolate; }
.svc-num { position: absolute; right: 0; top: -.5rem; font-family: var(--f-head); font-weight: 700; font-size: 4.5rem; line-height: 1; color: #f1f3f7; z-index: -1; }
.svc-text h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 600; margin-bottom: .8rem; }
.svc-text p { font-size: .96rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hosting service artwork */
.hosting-media { position: relative; min-width: 0; aspect-ratio: 15 / 11; overflow: hidden; background: #0b1533; border: 1px solid #202e4c; box-shadow: 0 24px 55px -28px rgba(15,27,61,.45); }
.hosting-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); }
.hosting-heading { position: absolute; top: 6%; left: 6%; right: 6%; }
.hosting-kicker { display: flex; align-items: center; gap: .55rem; color: #ffad70; font-size: .875rem; font-weight: 500; }
.hosting-kicker svg { width: 18px; height: 18px; }
.hosting-heading strong { display: block; margin-top: .4rem; color: #fff; font-family: var(--f-head); font-size: clamp(1.2rem, 1.75vw, 1.6rem); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.hosting-features { position: absolute; bottom: 5%; left: 5%; right: 5%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 1.1rem; border-top: 1px solid #33415d; }
.hosting-features li { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding-inline: .25rem; color: #edf2ff; text-align: center; font-size: .875rem; font-weight: 500; line-height: 1.35; }
.hosting-features li + li { border-left: 1px solid #33415d; }
.hosting-features svg { width: 22px; height: 22px; color: #ffad70; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .hosting-media { aspect-ratio: 1; }
}
@media (max-width: 1024px) {
  .hosting-media { width: 100%; max-width: 700px; justify-self: center; }
  .hosting-heading strong { font-size: clamp(1.2rem, 3vw, 1.6rem); }
}
@media (max-width: 640px) {
  .hosting-media { aspect-ratio: 1 / 1.08; }
}
@media (max-width: 480px) {
  .hosting-media { border-radius: 20px; }
  .hosting-features { bottom: 5%; padding-top: .7rem; }
  .hosting-features li { font-size: .875rem; gap: .3rem; }
  .hosting-features svg { width: 20px; height: 20px; }
}

.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.proc { position: relative; padding: 1.8rem 1.5rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.proc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proc-n { position: absolute; right: 1.3rem; top: 1.2rem; font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; color: #eceef3; }
.proc h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.proc p { font-size: .86rem; }
.tech-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 980px; margin: 0 auto; }
.tech-list li { padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-weight: 500; font-size: .88rem; color: var(--ink); box-shadow: 0 4px 14px rgba(13,23,51,.05); transition: .2s; }
.tech-list li:hover { border-color: var(--orange); color: var(--orange); }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ind-grid li { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-weight: 500; color: var(--ink); transition: .3s var(--ease); }
.ind-grid li .f-ic { margin: 0; width: 46px; height: 46px; }
.ind-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Compare + FAQ */
.cmp-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.cmp-table th, .cmp-table td { padding: 1rem 1.4rem; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table th[scope="row"], .cmp-table thead th:first-child { text-align: left; font-weight: 500; color: var(--ink); font-family: var(--f-body); }
.cmp-table thead th { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 1rem; background: #fafbfd; }
.cmp-table thead small { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.cmp-table thead th.hl { background: var(--navy); color: #fff; }
.cmp-table thead th.hl small { color: #a7b1c9; }
.cmp-table td { color: var(--ink); }
.cmp-table tbody td:nth-child(3) { background: #fff8f2; }
.yes, .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: var(--orange-soft); color: var(--orange); }
.no { background: #f1f3f7; color: #a0a8b8; }
.yes svg, .no svg { width: 14px; height: 14px; }
.note { text-align: center; margin-top: 1.6rem; font-size: .92rem; }
.note a, .prose a { color: var(--orange); font-weight: 500; }
.faq { display: grid; gap: .9rem; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 500; color: var(--ink); font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq summary span svg { width: 16px; height: 16px; }
.faq details[open] summary span { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq details p { padding: 0 1.5rem 1.4rem; font-size: .92rem; }

/* About */
.about-text h2 { font-size: clamp(1.6rem, 2.2vw, 2.05rem); font-weight: 600; margin: .9rem 0 .8rem; }
.about-text .lead { font-size: 1rem; color: #3a4459; margin-bottom: 1rem; }
.about-text p { font-size: .94rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value { text-align: center; }
.value .f-ic { margin-inline: auto; width: 60px; height: 60px; border-radius: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 2.2vw, 2.05rem); font-weight: 600; margin-bottom: .6rem; }
.contact-info .lead { margin-bottom: 1.8rem; font-size: .96rem; }
.info-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; margin-bottom: .9rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: .3s var(--ease); }
a.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.info-card .f-ic { margin: 0; width: 48px; height: 48px; }
.info-card small { display: block; font-size: .78rem; color: var(--muted); }
.info-card b { font-family: var(--f-head); font-weight: 500; color: var(--ink); font-size: .95rem; }
.form-card { padding: 2.4rem; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.35rem; font-weight: 600; }
.form-card > p { font-size: .9rem; margin: .3rem 0 1.6rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card label { display: grid; gap: .45rem; margin-bottom: 1rem; font-family: var(--f-head); font-weight: 500; font-size: .84rem; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fafbfd; font: 400 .92rem var(--f-body); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-card textarea { resize: vertical; min-height: 130px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255,106,0,.12); }
.form-card .invalid { border-color: #e5484d; }
.f-error { min-height: 1.2em; color: #e5484d; font-size: .86rem; margin: -.3rem 0 .8rem; }
.f-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.map-wrap { padding-bottom: 20px; }
.map { display: block; width: 100%; height: 420px; border: 0; border-radius: 26px; box-shadow: var(--shadow); }

/* Legal prose */
.prose h2 { font-size: 1.25rem; font-weight: 600; margin: 2.2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: .96rem; margin-bottom: .8rem; }

/* Footer socials + WhatsApp float */
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .25s; }
.socials a:hover { background: var(--orange); }
.socials svg { width: 18px; height: 18px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 1240px) {
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .ph-bg { display: none; }
  .page-hero { padding: 130px 0 60px; }
  .ph-grid { grid-template-columns: 1fr; }
  .ph-chips { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 2.5rem; padding: 48px 0; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { padding: 115px 0 48px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 1.6rem; }
  .ind-grid, .proc-grid { grid-template-columns: 1fr; }
  .svc-num { font-size: 3.2rem; }
  .map { height: 300px; }
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
@media (max-width: 900px) {
  .dropdown > a.active { background: var(--orange-soft); }
  .dropdown > a.active::after { display: none; }
}

/* Hero: auto-rotating screenshots */
.mon-screen, .tab-screen, .mob-screen { position: relative; }
.swap-in { opacity: 0; z-index: 1; transition: opacity .8s ease; }
.swap-in.on { opacity: 1; }

/* =========================================================
   Dark hero style (home hero + inner page heroes)
   ========================================================= */
.hero, .page-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,106,0,.10), transparent 32%),
    radial-gradient(ellipse at 70% 40%, rgba(43,63,134,.55), transparent 60%),
    linear-gradient(160deg, #070e25 0%, #0b1533 45%, #0f1b3d 100%);
  color: #c3cbe0;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-glow { background: radial-gradient(circle, rgba(255,120,30,.38) 0%, rgba(255,120,30,.12) 45%, rgba(255,120,30,0) 70%); }
.ph-glow { background: radial-gradient(circle, rgba(255,120,30,.25), rgba(255,120,30,0) 65%); }

.hero h1, .page-hero h1 { color: #fff; }
.hero-sub, .page-hero p { color: #b9c2d8; }
.badge { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.hero-points b { color: #fff; }
.hero-points span { color: #97a2bd; }
.hero-points li + li { border-left-color: rgba(255,255,255,.14); }
.page-hero .eyebrow { background: rgba(255,106,0,.16); color: #ff9d55; }
.crumbs { color: #8f9ab5; }
.crumbs span { color: #fff; }
.floor { background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); }
.chip, .ph-chip { box-shadow: 0 1.2cqw 2.8cqw -.6cqw rgba(0,0,0,.55); }
.ph-chip { box-shadow: 0 20px 40px -12px rgba(0,0,0,.55); }

/* Ghost button for dark backgrounds */
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--orange); background: rgba(255,106,0,.12); }

/* Header over the dark hero (until scrolled) */
@media (min-width: 901px) {
  .header.on-dark:not(.scrolled) .logo-word, .header.on-dark:not(.scrolled) .logo-tag { color: #fff; }
  .header.on-dark:not(.scrolled) .logo-word b { color: var(--orange); }
  .header.on-dark:not(.scrolled) .nav > a, .header.on-dark:not(.scrolled) .dropdown > a { color: #e6eaf4; }
  .header.on-dark:not(.scrolled) .nav > a:hover, .header.on-dark:not(.scrolled) .dropdown > a:hover,
  .header.on-dark:not(.scrolled) .nav > a.active, .header.on-dark:not(.scrolled) .dropdown > a.active { color: var(--orange); }
  .header.on-dark:not(.scrolled) .nav-actions .btn-light { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); box-shadow: none; }
  .header.on-dark:not(.scrolled) .nav-actions .btn-light .ic { color: var(--orange); }
  .header.on-dark:not(.scrolled) .nav-actions .btn-light:hover { border-color: var(--orange); }
}
@media (max-width: 900px) {
  .header.on-dark:not(.scrolled) .logo-word, .header.on-dark:not(.scrolled) .logo-tag { color: #fff; }
  .header.on-dark:not(.scrolled) .logo-word b { color: var(--orange); }
  .header.on-dark:not(.scrolled) .menu-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
  .header.on-dark:not(.scrolled) .menu-toggle span { background: #fff; }
  .header.on-dark .menu-toggle.open { background: #fff; }
  .header.on-dark .menu-toggle.open span { background: var(--ink); }
}

/* Tablet / mobile: device stage sits on the dark hero */
@media (max-width: 1024px) {
  .stage { background: radial-gradient(ellipse at 50% 35%, rgba(255,140,60,.22), transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
  .ph-bg { display: block; opacity: .35; }
}

/* =========================================================
   Industry bar v2: dark glass panel
   ========================================================= */
.industry-bar {
  gap: 1.6rem; padding: 1.1rem 1.2rem 1.1rem 1.8rem; border-radius: 22px;
  background: linear-gradient(120deg, rgba(20,32,74,.92), rgba(11,21,51,.94));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.industry-bar::before {
  content: ""; position: absolute; left: 1.8rem; right: 1.8rem; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.8), transparent);
}
.ib-title { flex-direction: column; align-items: flex-start; gap: .15rem; color: #fff; font-size: 1.15rem; border-right-color: rgba(255,255,255,.12); padding-right: 1.6rem; }
.ib-title small { font-family: var(--f-body); font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #ff9d55; }
.ib-title span { color: var(--orange); }
.ib-list { gap: .3rem; }
.ib-list li + li { border-left: 0; }
.ib-list a { gap: .55rem; padding: .55rem .3rem; border-radius: 14px; color: #c9d1e6; font-size: .8rem; font-weight: 500; }
.ib-list a i {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: rgba(255,106,0,.12); border: 1px solid rgba(255,106,0,.25); color: #ff8a3d;
  transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
}
.ib-list a svg { width: 22px; height: 22px; }
.ib-list a:hover { color: #fff; transform: none; background: rgba(255,255,255,.04); }
.ib-list a:hover i { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 22px -8px rgba(255,106,0,.8); }
.industry-bar > .btn { white-space: nowrap; }

@media (max-width: 1024px) {
  .industry-bar { padding: 1.4rem 1rem; }
  .industry-bar::before { left: 1rem; right: 1rem; }
  .ib-title { align-items: center; flex-direction: row; gap: .4rem; padding: 0 0 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .ib-title small { font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: #fff; font-family: var(--f-head); }
  .ib-list { row-gap: .4rem; }
}
@media (max-width: 1024px) {
  .ib-list { display: grid; grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 760px) {
  .ib-list { grid-template-columns: repeat(4, 1fr); gap: .5rem 0; }
  .ib-list a { font-size: .72rem; padding: .45rem .1rem; }
  .ib-list a i { width: 40px; height: 40px; border-radius: 12px; }
}

/* =========================================================
   SEO content block + H1 kicker
   ========================================================= */
.h1-kicker { display: block; margin-bottom: .55rem; font-family: var(--f-head); font-size: clamp(.8rem, 1vw, .95rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #ff9d55; }
.seo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.seo-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem 2.1rem; }
.seo-card.seo-wide { grid-column: 1 / -1; }
.seo-card h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .8rem; color: var(--ink); }
.seo-card p { font-size: .95rem; line-height: 1.75; margin: 0 0 .9rem; }
.seo-card p:last-child { margin-bottom: 0; }
.seo-card strong { color: var(--ink); font-weight: 600; }
.seo-card .check-list { margin: .4rem 0 0; }
.seo-price { width: 100%; border-collapse: collapse; margin: .4rem 0 1rem; font-size: .92rem; }
.seo-price th, .seo-price td { padding: .7rem .2rem; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.seo-price td { text-align: right; font-family: var(--f-head); font-weight: 600; color: var(--orange); white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-head); font-weight: 600; color: var(--orange); }
.text-link svg { width: 16px; height: 16px; }
.seo-why { display: grid; gap: .8rem; }
.seo-why li { position: relative; padding-left: 1.2rem; font-size: .94rem; line-height: 1.65; }
.seo-why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.seo-why b { color: var(--ink); font-weight: 600; }
.seo-places { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.seo-places li { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; background: var(--orange-soft); color: var(--ink); font-family: var(--f-head); font-size: .82rem; font-weight: 500; }
.seo-places svg { width: 14px; height: 14px; color: var(--orange); }
@media (max-width: 900px) {
  .seo-grid { grid-template-columns: 1fr; }
  .seo-card { padding: 1.5rem 1.3rem; }
}

/* =========================================================
   "Web Design & Web Development in Sri Lanka" showcase
   ========================================================= */
.wd { background: linear-gradient(180deg, #fff 0%, #f6f8fc 100%); overflow: hidden; }
.wd > .container > * + * { margin-top: 1.6rem; }
.wd > .container > .section-head + * { margin-top: 0; }
.wd h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 600; line-height: 1.3; color: var(--ink); margin: .7rem 0 .9rem; }
.wd p { font-size: .95rem; line-height: 1.75; }
.wd strong { color: var(--ink); font-weight: 600; }
.wd-kicker { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-head); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.wd-kicker svg { width: 16px; height: 16px; }
.wd-kicker.light { color: #ff9d55; }

/* Intro + dark highlight panel */
.wd-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.4rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 2.6rem; box-shadow: 0 30px 60px -40px rgba(15,27,61,.35); }
.wd-intro-text p + p { margin-top: .9rem; }
.wd-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.wd-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; padding: 1.4rem; border-radius: 22px; background: linear-gradient(150deg, #0b1533, #16245a 60%, #22357a); }
.wd-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.wd-panel-glow { position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.45), transparent 70%); }
.wd-stat { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1.2rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s; }
.wd-stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.wd-stat svg { width: 38px; height: 38px; padding: 8px; margin-bottom: .45rem; border-radius: 11px; background: var(--orange); color: #fff; box-shadow: 0 10px 22px -8px rgba(255,106,0,.8); }
.wd-stat b { font-family: var(--f-head); font-size: 1.02rem; font-weight: 600; color: #fff; }
.wd-stat small { font-size: .8rem; color: #aab4cd; }
.wd-panel-foot { position: relative; grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: 14px; background: rgba(255,106,0,.14); border: 1px dashed rgba(255,106,0,.45); color: #ffd2b0; font-size: .84rem; }
.wd-panel-foot svg { width: 20px; height: 20px; flex: none; color: var(--orange); }

/* Dark web development band */
.wd-dev { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.4fr; gap: 2.4rem; align-items: center; padding: 2.8rem; border-radius: 28px; background: radial-gradient(circle at 0% 0%, rgba(255,106,0,.22), transparent 40%), linear-gradient(140deg, #070e25, #0f1b3d 55%, #1a2a66); color: #b9c2d8; }
.wd-dev::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,106,0,.08); }
.wd-dev h3 { color: #fff; }
.wd-dev p { color: #b9c2d8; margin-bottom: 1.4rem; }
.wd-dev strong { color: #fff; }
.wd-dev-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.wd-dev-item { display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem 1.1rem; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.wd-dev-item:hover { transform: translateY(-5px); border-color: rgba(255,106,0,.6); background: rgba(255,106,0,.08); }
.wd-dev-item svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: .4rem; }
.wd-dev-item b { font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: #fff; }
.wd-dev-item small { font-size: .8rem; line-height: 1.5; color: #9ea9c4; }

/* Included tiles */
.wd-incl { padding: 2.6rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.wd-sub-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.wd-incl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.wd-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: 18px; background: #f7f9fd; border: 1px solid transparent; transition: .3s var(--ease); }
.wd-tile:hover { background: #fff; border-color: rgba(255,106,0,.35); box-shadow: 0 18px 40px -22px rgba(15,27,61,.35); transform: translateY(-4px); }
.wd-tile > span { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #ff8a3d, #ff6a00); color: #fff; box-shadow: 0 10px 20px -10px rgba(255,106,0,.9); }
.wd-tile > span svg { width: 24px; height: 24px; }
.wd-tile b { display: block; font-family: var(--f-head); font-size: .96rem; font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.wd-tile small { font-size: .84rem; line-height: 1.5; color: var(--muted, #6b7280); }

/* Price + why */
.wd-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; }
.wd-price { padding: 2.4rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.wd-price-list { display: grid; gap: .7rem; margin: 1.3rem 0 1.4rem; }
.wd-pr { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: .3s var(--ease); }
.wd-pr:hover { border-color: rgba(255,106,0,.45); transform: translateX(4px); }
.wd-pr > span { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); }
.wd-pr > span svg { width: 22px; height: 22px; }
.wd-pr div { flex: 1; min-width: 0; }
.wd-pr b { display: flex; align-items: center; gap: .5rem; font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: var(--ink); }
.wd-pr b i { font-style: normal; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; background: var(--orange); color: #fff; }
.wd-pr small { font-size: .8rem; color: var(--muted, #6b7280); }
.wd-pr em { font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.wd-pr.hot { background: linear-gradient(135deg, #fff6ef, #fff); border-color: rgba(255,106,0,.5); box-shadow: 0 16px 34px -22px rgba(255,106,0,.7); }
.wd-pr.hot > span { background: var(--orange); color: #fff; }
.wd-pr.hot em { color: var(--orange); }
.wd-why { position: relative; overflow: hidden; padding: 2.4rem; border-radius: 28px; background: linear-gradient(160deg, #0b1533, #16245a); }
.wd-why::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 20px 20px; }
.wd-why > * { position: relative; }
.wd-why h3 { color: #fff; }
.wd-why ol { list-style: none; counter-reset: why; display: grid; gap: 1rem; margin-top: 1.2rem; }
.wd-why li { counter-increment: why; display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.wd-why li:last-child { border-bottom: 0; padding-bottom: 0; }
.wd-why li::before { content: counter(why, decimal-leading-zero); grid-row: span 2; font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; line-height: 1; background: linear-gradient(180deg, #ffb27a, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wd-why li b { font-family: var(--f-head); font-size: .98rem; font-weight: 600; color: #fff; }
.wd-why li span { font-size: .86rem; line-height: 1.6; color: #aab4cd; }

/* Areas */
.wd-areas { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.4fr; gap: 2.2rem; align-items: center; padding: 2.4rem 2.6rem; border-radius: 28px; background: linear-gradient(120deg, #fff3e8, #fff 60%); border: 1px solid rgba(255,106,0,.2); }
.wd-areas::after { content: ""; position: absolute; left: -60px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.16), transparent 70%); }
.wd-places { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .5rem; }
.wd-places li { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: 999px; background: #fff; border: 1px solid rgba(15,27,61,.08); box-shadow: 0 6px 14px -10px rgba(15,27,61,.4); font-family: var(--f-head); font-size: .82rem; font-weight: 500; color: var(--ink); transition: .25s var(--ease); }
.wd-places li:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.wd-places li svg { width: 14px; height: 14px; color: var(--orange); }
.wd-places li:hover svg { color: #fff; }

/* Generic content cards (other pages): more polish */
.seo-card { position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.seo-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, #ff6a00, #ffb27a); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.seo-card:hover { transform: translateY(-4px); border-color: rgba(255,106,0,.3); box-shadow: 0 26px 50px -30px rgba(15,27,61,.4); }
.seo-card:hover::before { transform: scaleX(1); }
.seo-card h3 { display: flex; align-items: flex-start; gap: .7rem; }
.seo-card h3::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 3px; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }

@media (max-width: 1024px) {
  .wd-intro, .wd-dev, .wd-split, .wd-areas { grid-template-columns: 1fr; }
  .wd-incl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wd-intro, .wd-dev, .wd-incl, .wd-price, .wd-why, .wd-areas { padding: 1.5rem 1.2rem; border-radius: 22px; }
  .wd-panel, .wd-dev-grid, .wd-incl-grid { grid-template-columns: 1fr 1fr; }
  .wd-incl-grid { grid-template-columns: 1fr; }
  .wd-dev-item { padding: 1rem .9rem; }
  .wd-pr { flex-wrap: wrap; }
  .wd-pr em { width: 100%; padding-left: calc(42px + 1rem); }
  .wd-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .wd-panel { padding: .9rem; gap: .6rem; border-radius: 18px; }
  .wd-stat { padding: .9rem .75rem; }
  .wd-stat svg { width: 32px; height: 32px; padding: 7px; }
  .wd-stat b { font-size: .88rem; white-space: nowrap; }
  .wd-stat small { font-size: .74rem; }
  .wd-dev-item b { font-size: .88rem; }
}

/* =========================================================
   "Types of Websites We Build" showcase
   ========================================================= */
.wt { background: #f6f8fc; overflow: hidden; }
.wt > .container > * + * { margin-top: 1.6rem; }
.wt > .container > .section-head + * { margin-top: 0; }
.wt h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600; line-height: 1.3; color: var(--ink); margin: .7rem 0 .8rem; }
.wt p { font-size: .94rem; line-height: 1.75; }

/* Industry cards */
.wt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.wt-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.9rem 1.8rem 1.6rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.wt-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: radial-gradient(ellipse at 15% 0%, rgba(255,106,0,.12), transparent 70%); opacity: 0; transition: opacity .4s; }
.wt-card:hover { transform: translateY(-6px); border-color: rgba(255,106,0,.35); box-shadow: 0 30px 60px -34px rgba(15,27,61,.45); }
.wt-card:hover::before { opacity: 1; }
.wt-card > * { position: relative; }
.wt-top { display: flex; align-items: center; justify-content: space-between; }
.wt-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft); color: var(--orange); transition: background .35s, color .35s, transform .35s var(--ease); }
.wt-ic svg { width: 28px; height: 28px; }
.wt-card:hover .wt-ic { background: linear-gradient(135deg, #ff8a3d, #ff6a00); color: #fff; transform: rotate(-6deg) scale(1.05); box-shadow: 0 14px 26px -12px rgba(255,106,0,.9); }
.wt-num { font-family: var(--f-head); font-size: 2.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(15,27,61,.12); transition: -webkit-text-stroke-color .35s; }
.wt-card:hover .wt-num { -webkit-text-stroke-color: rgba(255,106,0,.5); }
.wt-card h3 { font-size: 1.1rem; margin-top: 1.2rem; }
.wt-card p { font-size: .88rem; line-height: 1.7; flex: 1; }
.wt-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.wt-tags li { padding: .3rem .7rem; border-radius: 999px; background: #f3f5fa; font-family: var(--f-head); font-size: .72rem; font-weight: 500; color: #4a5578; }

/* Buyer's guide (dark) */
.wt-choose { position: relative; overflow: hidden; padding: 2.8rem; border-radius: 28px; background: radial-gradient(circle at 100% 0%, rgba(255,106,0,.25), transparent 40%), linear-gradient(140deg, #070e25, #0f1b3d 55%, #1a2a66); }
.wt-choose::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.wt-choose > * { position: relative; }
.wt-choose-head { max-width: 680px; margin-bottom: 2rem; }
.wt-choose h3 { color: #fff; }
.wt-choose p { color: #b9c2d8; }
.wt-steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.wt-steps li { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem 1.2rem; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.wt-steps li::after { content: counter(st, decimal-leading-zero); position: absolute; top: 1.1rem; right: 1.1rem; font-family: var(--f-head); font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.3); }
.wt-steps li:hover { transform: translateY(-5px); border-color: rgba(255,106,0,.6); background: rgba(255,106,0,.08); }
.wt-step-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .5rem; border-radius: 13px; background: var(--orange); color: #fff; box-shadow: 0 10px 22px -8px rgba(255,106,0,.8); }
.wt-step-ic svg { width: 22px; height: 22px; }
.wt-steps b { font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: #fff; }
.wt-steps small { font-size: .8rem; line-height: 1.55; color: #9ea9c4; }

/* Local SEO + mobile-first duo */
.wt-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.wt-feature { position: relative; overflow: hidden; padding: 2.4rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.wt-feature p + p, .wt-feature .wt-serp + p { margin-top: .8rem; }
.wt-feature .text-link { margin-top: 1.1rem; }
.wt-serp { margin: 1.3rem 0; padding: 1rem; border-radius: 18px; background: #f6f8fc; border: 1px solid var(--line); }
.wt-serp-bar { display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -10px rgba(15,27,61,.4); font-size: .85rem; color: var(--ink); }
.wt-serp-bar svg { width: 16px; height: 16px; color: var(--orange); }
.wt-serp-res { display: flex; flex-direction: column; gap: .3rem; margin-top: .9rem; padding: .9rem 1rem; border-radius: 14px; background: #fff; border-left: 3px solid var(--orange); }
.wt-serp-res small { font-size: .72rem; color: #188038; }
.wt-serp-res b { font-size: .95rem; font-weight: 500; color: #1a0dab; }
.wt-serp-res i { display: block; height: 7px; border-radius: 4px; background: #e4e8f1; }
.wt-serp-res i.s { width: 65%; }
.wt-feature.dark { background: radial-gradient(circle at 100% 100%, rgba(255,106,0,.25), transparent 45%), linear-gradient(160deg, #0b1533, #16245a); border-color: transparent; }
.wt-feature.dark h3 { color: #fff; }
.wt-feature.dark p { color: #b9c2d8; }
.wt-mob { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.5rem; }
.wt-mob li { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: transform .3s var(--ease), background .3s; }
.wt-mob li:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.wt-mob svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--orange); color: #fff; }
.wt-mob b { display: block; font-family: var(--f-head); font-size: .9rem; font-weight: 600; color: #fff; }
.wt-mob small { font-size: .76rem; color: #aab4cd; }

@media (max-width: 1100px) {
  .wt-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .wt-grid { grid-template-columns: repeat(2, 1fr); }
  .wt-duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wt-grid, .wt-steps { grid-template-columns: 1fr; }
  .wt-card, .wt-choose, .wt-feature { padding: 1.5rem 1.2rem; border-radius: 22px; }
  .wt-mob { grid-template-columns: 1fr; }
}
.wt-feature.dark { display: flex; flex-direction: column; }
.wt-test { margin-top: auto; padding: 1.3rem 1.4rem; border-radius: 18px; background: rgba(255,106,0,.12); border: 1px dashed rgba(255,106,0,.45); }
.wt-mob + .wt-test { margin-top: max(1.5rem, auto); }
.wt-test > b { display: block; font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .8rem; }
.wt-test ul { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.wt-test li { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: #d6dcea; }
.wt-test svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--orange); color: #fff; }
.wt-mob { margin-bottom: 1.5rem; }
@media (max-width: 640px) { .wt-test ul { grid-template-columns: 1fr; } }

/* =========================================================
   Blog index + articles
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(255,106,0,.35); box-shadow: 0 30px 60px -34px rgba(15,27,61,.45); }
.blog-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0f1b3d; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,14,37,.55)); }
.blog-thumb span { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--f-head); font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.blog-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.blog-body small { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: #8a93a8; }
.blog-body small svg { width: 15px; height: 15px; color: var(--orange); }
.blog-body h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.4; margin: 0; }
.blog-body h3 a { color: var(--ink); transition: color .2s; }
.blog-body h3 a:hover { color: var(--orange); }
.blog-body p { font-size: .88rem; line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.article { min-width: 0; }
.art-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 1.4rem; font-size: .84rem; color: #8a93a8; }
.art-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.art-meta svg { width: 16px; height: 16px; color: var(--orange); }
.art-cover { margin: 0 0 2rem; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -36px rgba(15,27,61,.55); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.article h2 { scroll-margin-top: 110px; position: relative; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; color: var(--ink); margin: 2.4rem 0 1rem; padding-left: 1.1rem; }
.article h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #ff6a00, #ffb27a); }
.article p { font-size: 1rem; line-height: 1.85; margin: 0 0 1rem; color: #4a5368; }
.article strong { color: var(--ink); font-weight: 600; }
.article a:not(.btn) { color: var(--orange); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,106,0,.35); text-underline-offset: 3px; }
.article ul, .article ol { margin: 0 0 1.2rem; padding: 0; list-style: none; display: grid; gap: .7rem; }
.article ul li, .article ol li { position: relative; padding: .9rem 1.1rem .9rem 3rem; border-radius: 14px; background: #f7f9fd; border: 1px solid var(--line); font-size: .96rem; line-height: 1.7; color: #4a5368; }
.article ul li::before { content: ""; position: absolute; left: 1.15rem; top: 1.35rem; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.article ol { counter-reset: ol; }
.article ol li { counter-increment: ol; }
.article ol li::before { content: counter(ol); position: absolute; left: .9rem; top: .9rem; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--orange); color: #fff; font-family: var(--f-head); font-size: .8rem; font-weight: 700; }
.art-tip { display: flex; gap: 1rem; align-items: flex-start; margin: 1.4rem 0; padding: 1.2rem 1.4rem; border-radius: 18px; background: linear-gradient(120deg, #fff3e8, #fff); border: 1px solid rgba(255,106,0,.25); }
.art-tip svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--orange); color: #fff; }
.art-tip p { margin: 0; font-size: .95rem; color: var(--ink); }
.art-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; margin: 2rem 0; padding: 1.6rem 1.8rem; border-radius: 22px; background: radial-gradient(circle at 100% 0%, rgba(255,106,0,.3), transparent 45%), linear-gradient(140deg, #0b1533, #1a2a66); }
.art-cta b { display: block; font-family: var(--f-head); font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.art-cta p { margin: 0; font-size: .9rem; color: #b9c2d8; }
.art-cta p a { color: #ffb27a !important; }
.art-cta .btn { flex: none; }
.article .faq { margin-top: .4rem; }
.art-side { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.art-toc { padding: 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.art-toc > b { display: block; font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: .8rem; }
.art-toc ol { list-style: none; counter-reset: toc; display: grid; gap: .15rem; }
.art-toc li { counter-increment: toc; }
.art-toc a { display: flex; gap: .6rem; padding: .45rem .6rem; border-radius: 10px; font-size: .86rem; line-height: 1.45; color: #4a5368; transition: background .2s, color .2s; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: var(--f-head); font-size: .74rem; font-weight: 700; color: var(--orange); padding-top: .1rem; }
.art-toc a:hover { background: var(--orange-soft); color: var(--ink); }
.art-promo { position: relative; overflow: hidden; padding: 1.6rem; border-radius: 20px; background: radial-gradient(circle at 100% 0%, rgba(255,106,0,.35), transparent 50%), linear-gradient(150deg, #0b1533, #16245a); }
.art-promo b { display: block; margin: .7rem 0 .5rem; font-family: var(--f-head); font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: #fff; }
.art-promo p { font-size: .86rem; color: #b9c2d8; margin-bottom: 1.1rem; }
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: 1fr; }
  .art-side { position: static; grid-row: 1; }
  .art-promo { display: none; }
}
@media (max-width: 640px) {
  .art-cta { flex-direction: column; align-items: flex-start; }
  .article ul li, .article ol li { padding-left: 2.7rem; }
}

/* Blog: key takeaways + tables */
.art-key { margin: 0 0 2rem; padding: 1.4rem 1.6rem; border-radius: 20px; background: linear-gradient(140deg, #0b1533, #1a2a66); box-shadow: 0 24px 50px -34px rgba(15,27,61,.6); }
.art-key > b { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; font-family: var(--f-head); font-size: .95rem; font-weight: 600; color: #fff; }
.art-key > b svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--orange); color: #fff; }
.article .art-key ul { margin: 0; gap: .55rem; }
.article .art-key li { padding: 0 0 0 1.6rem; background: none; border: 0; border-radius: 0; color: #c9d1e6; font-size: .93rem; line-height: 1.6; }
.article .art-key li::before { left: .2rem; top: .55em; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,106,0,.25); }
.art-table { margin: 0 0 1.4rem; overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.art-table table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.art-table th { padding: .9rem 1.1rem; background: #0f1b3d; color: #fff; font-family: var(--f-head); font-size: .82rem; font-weight: 600; text-align: left; letter-spacing: .02em; }
.art-table td { padding: .85rem 1.1rem; border-top: 1px solid var(--line); color: #4a5368; line-height: 1.55; vertical-align: top; }
.art-table td:first-child { color: var(--ink); font-weight: 600; }
.art-table tbody tr:nth-child(even) td { background: #f7f9fd; }
.art-table tbody tr:hover td { background: #fff3e8; }
.blog-body p { flex: none; max-height: calc(1.65em * 3); }
.blog-body .text-link { margin-top: auto; }

/* =========================================================
   Mobile app experience
   ========================================================= */
@view-transition { navigation: auto; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.tabbar, .sheet { display: none; }

@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); overscroll-behavior-x: none; }
  body.sheet-open { overflow: hidden; }
  input, select, textarea { font-size: 16px !important; } /* stop iOS zoom on focus */

  /* Compact header that hides on scroll down */
  .header { padding: calc(10px + env(safe-area-inset-top)) 0 10px; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
  .header.scrolled { padding: calc(8px + env(safe-area-inset-top)) 0 8px; }
  .header.hide { transform: translateY(-110%); }
  .menu-toggle, .wa-float { display: none !important; }
  .logo-word { font-size: 1.35rem; }

  /* Bottom tab bar */
  .tabbar { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(15,27,61,.18); }
  .tbi { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; border: 0; background: none; color: #7a8399; font: 500 .66rem/1 var(--f-head); cursor: pointer; transition: color .2s, transform .15s; }
  .tbi svg { width: 23px; height: 23px; }
  .tbi em { font-style: normal; letter-spacing: .01em; }
  .tbi.on { color: var(--orange); }
  .tbi.on::before { content: ""; position: absolute; top: -6px; width: 22px; height: 3px; border-radius: 0 0 4px 4px; background: var(--orange); }
  .tbi:active { transform: scale(.9); }
   .tbi-wa span { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: linear-gradient(145deg, #2fe07a, #1ebe5b); color: #fff; box-shadow: 0 10px 22px -6px rgba(30,190,91,.6), 0 0 0 5px #fff; }
   .tbi-wa span svg { width: 27px; height: 27px; }
   .tbi-wa em { color: #1a9e4e; font-weight: 600; }

  /* Bottom-sheet menu */
  .sheet { display: block; position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s .4s; }
  .sheet.open { visibility: visible; pointer-events: auto; transition: none; }
  .sheet-bg { position: absolute; inset: 0; background: rgba(7,14,37,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
  .sheet.open .sheet-bg { opacity: 1; }
  .sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 50px rgba(7,14,37,.25); transform: translateY(105%); transition: transform .38s cubic-bezier(.22,1,.36,1); }
  .sheet.open .sheet-panel { transform: none; }
  .sheet-grab { display: grid; place-items: center; padding: 10px 0 4px; cursor: grab; }
  .sheet-grab i { width: 42px; height: 5px; border-radius: 5px; background: #d5d9e3; }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 12px; }
  .sheet-x { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f3f8; color: var(--ink); cursor: pointer; }
  .sheet-x svg { width: 20px; height: 20px; }
  .sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 12px; }
  .sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
  .sh-tile { display: flex; flex-direction: column; align-items: center; gap: 7px; font: 500 .74rem/1.2 var(--f-head); color: var(--ink); text-align: center; transition: transform .15s; }
  .sh-tile span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--orange-soft); color: var(--orange); }
  .sh-tile span svg { width: 25px; height: 25px; }
  .sh-tile.on span { background: var(--orange); color: #fff; box-shadow: 0 10px 20px -8px rgba(255,106,0,.6); }
  .sh-tile:active { transform: scale(.92); }
  .sh-label { display: block; margin: 22px 0 8px; font: 600 .7rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: #8a93a8; }
  .sh-list { border-radius: 18px; background: #f7f9fd; border: 1px solid var(--line); overflow: hidden; }
  .sh-list a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; font: 500 .9rem/1.3 var(--f-head); color: var(--ink); }
  .sh-list a + a { border-top: 1px solid var(--line); }
  .sh-list a:active { background: var(--orange-soft); }
  .sh-list svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
  .sh-list svg.go { margin-left: auto; width: 16px; height: 16px; color: #b3bacb; }
  .sheet-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .sheet-foot .btn { justify-content: center; padding: .9rem 1rem; }
  .btn-wa { background: #1ebe5b; color: #fff; }
  .btn-wa svg { width: 20px; height: 20px; }

  /* Swipeable card rows */
  .swipe { display: flex !important; gap: 12px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 6px 16px 14px !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: none !important; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; max-width: 360px; scroll-snap-align: center; margin: 0 !important; }
  .swipe.wt-steps > *, .swipe.proc-grid > * { flex-basis: 74%; }
  .swipe > .reveal { opacity: 1; transform: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 0; }
  .swipe-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 7px; background: #cfd5e2; cursor: pointer; transition: width .3s var(--ease), background .3s; }
  .swipe-dots button.on { width: 22px; background: var(--orange); }
  .wd-dev .swipe-dots button, .wt-choose .swipe-dots button { background: rgba(255,255,255,.25); }
  .wd-dev .swipe-dots button.on, .wt-choose .swipe-dots button.on { background: var(--orange); }

  /* Tighter, app-like spacing */
  .section, .cta-wrap { padding: 56px 0; }
  .section-head { margin-bottom: 1.6rem; }
  .section-head h2 { font-size: 1.5rem; line-height: 1.25; }
  .section-head p { font-size: .92rem; }
  .section-head h2 .accent { white-space: normal; }
  .hero { padding-top: calc(92px + env(safe-area-inset-top)); }
  .hero-points { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px !important; }
  .hero-points li { flex-direction: column; align-items: flex-start; gap: .35rem; padding: .7rem !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 14px; background: rgba(255,255,255,.05); white-space: normal; }
  .hero-points b { font-size: .78rem; }
  .hero-points span { font-size: .68rem; }
  .feature, .t-card { padding: 1.5rem; }
  .price { padding: 2rem 1.5rem 1.6rem; }

  /* Compact tiles instead of long stacks */
  .wd-incl-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .wd-tile { flex-direction: column; padding: 1rem !important; gap: .6rem !important; }
  .wd-places { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
  .wd-places::-webkit-scrollbar { display: none; }
  .wd-places li { flex: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem 1.2rem !important; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 1rem; }

  /* Blog index as an app feed */
  .pg-blog .blog-grid { gap: 12px; }
  .pg-blog .blog-card { display: grid; grid-template-columns: 116px 1fr; border-radius: 18px; }
  .pg-blog .blog-thumb { aspect-ratio: auto; height: 100%; }
  .pg-blog .blog-thumb span { left: .4rem; bottom: .4rem; padding: .2rem .5rem; font-size: .58rem; }
  .pg-blog .blog-body { padding: .9rem 1rem; gap: .35rem; }
  .pg-blog .blog-body h3 { font-size: .9rem; }
  .pg-blog .blog-body p, .pg-blog .blog-body .text-link { display: none; }

  /* Article: collapsible contents card */
  details.art-toc { padding: 0; }
  details.art-toc summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
  details.art-toc summary::-webkit-details-marker { display: none; }
  details.art-toc summary b { margin: 0 !important; }
  details.art-toc summary svg { width: 18px; height: 18px; color: var(--orange); transition: transform .3s; }
  details.art-toc[open] summary svg { transform: rotate(180deg); }
  details.art-toc ol { padding: 0 .8rem 1rem; }
  .art-cover { border-radius: 16px; margin-bottom: 1.4rem; }
  .article h2 { font-size: 1.25rem; margin-top: 2rem; }
  .article p { font-size: .97rem; line-height: 1.75; }
  .art-cta { padding: 1.4rem; }
  .art-cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 769px) {
  .swipe-dots { display: none; }
  details.art-toc summary { list-style: none; cursor: default; }
  details.art-toc summary::-webkit-details-marker { display: none; }
  details.art-toc summary svg { display: none; }
}

/* Touch feedback instead of hover lift on touch screens */
@media (hover: none) {
  .feature:hover, .pf-card:hover, .price:hover, .t-card:hover, .blog-card:hover, .wt-card:hover, .seo-card:hover, .project:hover { transform: none; }
  .btn:active, .feature:active, .blog-card:active, .pf-card:active, .wt-card:active { transform: scale(.97); transition: transform .12s; }
}

/* Logo tagline: founder name */
.logo-tag { letter-spacing: .09em; font-size: .54rem; }
@media (max-width: 768px) { .logo-tag { letter-spacing: .05em; font-size: .5rem; } }

/* About: quick facts (easy for people and AI search engines to quote) */
.facts-sec { padding-bottom: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts > div { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.facts dt { font: 600 .7rem/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: #e35d00; margin-bottom: .35rem; }
.facts dd { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.facts a { color: var(--orange); font-weight: 500; }
@media (max-width: 768px) { .facts { grid-template-columns: 1fr; } }

/* Home: four guides in one row */
@media (min-width: 769px) {
  .blog-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
  .blog-grid-4 .blog-body h3 { font-size: 1rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .blog-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Mobile: centred layout
   ========================================================= */
@media (max-width: 768px) {
  /* Header: logo in the middle */
  .header .nav-wrap { justify-content: center; }
  .header .logo { align-items: center; text-align: center; margin: 0 auto; }

  /* Home hero */
  .hero-content { text-align: center; }
  .hero-content .badge { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-points li { align-items: center !important; text-align: center; }

  /* Inner page heroes */
  .ph-inner { text-align: center; margin-inline: auto; }
  .ph-inner .crumbs { justify-content: center; }
  .ph-inner > p { margin-inline: auto; }

  /* Call-to-action box */
  .cta { text-align: center; }
  .cta-actions { justify-content: center; }

  /* Footer */
  .footer-grid { text-align: center; }
  .footer-grid .logo { align-items: center; }
  .footer-grid p { margin-inline: auto; }
  .socials { justify-content: center; }
  .footer-grid > div > a:not(.logo) { justify-content: center; }
}

/* Client reviews */
.testimonials .t-grid { grid-auto-rows: 1fr; }
.t-card blockquote { font-size: .9rem; }
.t-av { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, #ff8a2a, #ff6a00); color: #fff; font: 600 .9rem/1 var(--f-head); letter-spacing: .02em; box-shadow: 0 8px 16px -8px rgba(255,106,0,.7); }
.t-card figcaption a { color: var(--orange); }
.t-card figcaption a:hover { text-decoration: underline; }
.testimonials .center-btn { margin-top: 2.2rem; }
.pf-review { margin: 0 0 1.1rem; padding: .9rem 1rem; border-radius: 14px; background: #f7f9fd; border: 1px solid var(--line); }
.pf-review .stars svg { width: 14px; height: 14px; }
.pf-review p { margin: .45rem 0 .5rem !important; font-size: .84rem !important; line-height: 1.6; color: #2a3346; font-style: italic; }
.pf-review cite { font: 600 .74rem/1.3 var(--f-head); font-style: normal; color: var(--muted); }
@media (max-width: 768px) {
  .t-card figcaption { text-align: left; }
}
.t-card figcaption .t-av { color: #fff; font-size: .9rem; }

/* Industry strip: always two full rows of four on tablets and phones */
@media (max-width: 1024px) {
  .ib-list { display: grid !important; grid-template-columns: repeat(4, 1fr); justify-items: center; }
  .ib-list li { width: 100%; }
  .ib-list a { flex-direction: column; justify-content: center; text-align: center; }
}

/* Footer address */
.footer-grid .fc-addr { align-items: flex-start; line-height: 1.5; }
.footer-grid .fc-addr svg { margin-top: .2rem; flex: none; }
@media (max-width: 768px) { .footer-grid .fc-addr { align-items: center; } .footer-grid .fc-addr span { text-align: center; } }
@media (max-width: 768px) { .footer-grid .fc-addr { flex-direction: column; gap: .35rem; } .footer-grid .fc-addr svg { margin: 0; } }

/* In-article images */
.art-fig { margin: 1.6rem 0; }
.art-fig img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.art-fig figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); text-align: center; }
