:root {
  --navy: #020617;
  --navy-2: #0f172a;
  --navy-3: #172033;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(100, 116, 139, .26);
  --card: rgba(15, 23, 42, .88);
  --card-radius: 1rem;
  --card-padding: 1.75rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--navy);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .font-display { font-family: "Poppins", sans-serif; }
button, .gradient-button, .outline-button { font-family: "Poppins", sans-serif; }
::selection { background: var(--blue); color: white; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--navy);
  transition: opacity .55s ease, visibility .55s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.loader { position: relative; width: 60px; height: 60px; }
.loader span {
  position: absolute;
  inset: 0;
  border: 4px solid transparent;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader span:nth-child(2) { inset: 10px; border-top-color: var(--cyan); animation-duration: .8s; animation-direction: reverse; }
.loader span:nth-child(3) { inset: 20px; border-top-color: #60a5fa; animation-duration: .6s; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-nav { transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-nav.scrolled { background: rgba(2, 6, 23, .94); box-shadow: 0 12px 40px rgba(0, 0, 0, .24); backdrop-filter: blur(18px); }
.brand-mark { box-shadow: 0 12px 36px rgba(37, 99, 235, .25); }
.nav-link { position: relative; transition: color .25s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: #3b82f6; }
.dropdown-panel { opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-panel { transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.mobile-panel.open { transform: translateX(0); }
.mobile-overlay { opacity: 0; visibility: hidden; transition: .35s ease; }
.mobile-overlay.open { opacity: 1; visibility: visible; }

.gradient-text { background: linear-gradient(90deg, #2563eb 0%, #3b82f6 42%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
main h2 {
  font-size: clamp(1.875rem, 2.7vw, 2.625rem) !important;
  line-height: 1.15;
  letter-spacing: -.035em;
}
main h3, main h4 { line-height: 1.3; letter-spacing: -.02em; }
.gradient-button { position: relative; overflow: hidden; line-height: 1.25; background: linear-gradient(120deg, #3b82f6, #1d4ed8); box-shadow: 0 14px 38px rgba(37, 99, 235, .27); transition: transform .25s ease, box-shadow .25s ease; }
.gradient-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.24), transparent 75%); transform: translateX(-140%); transition: transform .65s ease; }
.gradient-button:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(37, 99, 235, .4); }
.gradient-button:hover::after { transform: translateX(140%); }
.outline-button { border-color: rgba(59,130,246,.92) !important; color: #3b82f6; line-height: 1.25; transition: border-color .25s ease, color .25s ease, transform .25s ease, background .25s ease; }
.outline-button:hover { border-color: #3b82f6; color: white; background: rgba(37, 99, 235, .09); transform: translateY(-3px); }

.hero-grid {
  background-color: #07101f;
  background-image: radial-gradient(circle at 50% 46%, #132d5c 0%, #0a1a35 28%, #07111f 60%, #040a14 100%);
}
.hero-grid::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 45%, transparent 0 22%, rgba(3,9,20,.13) 58%, rgba(2,6,15,.42) 100%); }
.hero-particles { position: absolute; inset: 0; z-index: 0; }
.hero-particles canvas { display: block; width: 100%; height: 100%; }
.hero-content { text-shadow: 0 2px 30px rgba(2,6,23,.45); }
.pulse-dot { box-shadow: 0 0 0 0 rgba(59,130,246,.5); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 13px rgba(59,130,246,0); } }
.service-word-stage { display: block; position: relative; height: 1.12em; overflow: hidden; }
.service-word {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 0;
  max-width: 100%;
  transform: translateX(-50%);
  overflow: hidden;
  white-space: nowrap;
  font-size: .9em;
  text-align: center;
  opacity: 0;
  border-right: .075em solid #22d3ee;
  animation: serviceWordTyping 20s steps(var(--chars), end) var(--word-delay) infinite,
             serviceCursorBlink .72s step-end infinite;
}
@keyframes serviceWordTyping {
  0% { width: 0; opacity: 1; }
  8%, 14% { width: var(--word-width); opacity: 1; }
  20% { width: 0; opacity: 1; }
  20.01%, 100% { width: 0; opacity: 0; }
}
@keyframes serviceCursorBlink {
  0%, 48% { border-right-color: #22d3ee; }
  49%, 100% { border-right-color: transparent; }
}
@media (max-width: 639px) {
  .service-word { font-size: .72em; top: .18em; }
}
@media (prefers-reduced-motion: reduce) {
  .service-word { display: none; animation: none; }
  .service-word:first-child { display: inline; width: auto; opacity: 1; border-right: 0; }
}
.mouse { width: 24px; height: 40px; border: 2px solid rgba(148,163,184,.6); border-radius: 999px; }
.mouse::after { content: ""; display: block; width: 4px; height: 8px; margin: 7px auto 0; border-radius: 99px; background: #3b82f6; animation: scrollMouse 1.8s ease infinite; }
@keyframes scrollMouse { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }

.page-hero { position: relative; overflow: hidden; min-height: 430px; padding: 138px 0 96px; background: linear-gradient(120deg, #050b1b, #111b30 56%, #1c2639); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #2563eb 0 1.5px, transparent 2px); background-size: 300px 220px; opacity: .24; }
.page-hero::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -72px; height: 125px; border-radius: 50% 50% 0 0 / 42% 42% 0 0; background: var(--navy); transform: rotate(-1.2deg); }
.breadcrumb-pill { background: rgba(15,23,42,.68); border: 1px solid rgba(37,99,235,.18); box-shadow: inset 0 0 28px rgba(37,99,235,.05); backdrop-filter: blur(10px); }
body[data-page="contact"] .contact-hero { min-height: auto; padding: 132px 0 112px; }
.contact-hero-form {
  border: 1px solid rgba(96,165,250,.22);
  background: linear-gradient(145deg,rgba(15,23,42,.96),rgba(10,20,40,.9));
  box-shadow: 0 32px 90px rgba(2,6,23,.48), 0 18px 55px rgba(37,99,235,.12), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}
.contact-hero-form .form-control { background: rgba(2,6,23,.72); }
.contact-hero-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
}

.section-label { border: 1px solid rgba(37,99,235,.18); background: rgba(37,99,235,.08); color: #3b82f6; }
.section-divider { width: 62px; height: 4px; margin-inline: auto; border-radius: 99px; background: linear-gradient(90deg, #2563eb, #22d3ee); }
.card-surface { background: linear-gradient(145deg, rgba(15,23,42,.96), rgba(19,29,48,.9)); border: 1px solid var(--line); border-radius: var(--card-radius); }
.interactive-card { transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease; }
.interactive-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,.42); box-shadow: 0 26px 60px rgba(37,99,235,.1); }
.card-surface p { line-height: 1.7; }
.card-surface a, .card-surface button { line-height: 1.25; }
.icon-box { transition: color .35s ease, background .35s ease, transform .35s ease; }
.interactive-card:hover .icon-box { color: white; background: linear-gradient(135deg, #2563eb, #06b6d4); transform: rotate(-4deg) scale(1.07); }
.number-watermark { position: absolute; top: 24px; right: 26px; font: 800 44px "Poppins", sans-serif; color: rgba(148,163,184,.055); }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(37,99,235,.12); color: #3b82f6; font-size: 11px; font-weight: 800; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { filter: grayscale(1); opacity: .46; transition: opacity .25s, filter .25s, transform .25s; }
.logo-chip:hover { filter: grayscale(0); opacity: .95; transform: translateY(-3px); }

.image-collage img { box-shadow: 0 14px 42px rgba(0,0,0,.28); }
.image-collage img:nth-child(2) { transform: translateY(34px); }
.experience-badge { box-shadow: 0 20px 55px rgba(37,99,235,.35); }
.counter-card { position: relative; overflow: hidden; }
.counter-card::before { content: ""; position: absolute; inset: -100% -70%; background: linear-gradient(100deg, transparent 35%, rgba(59,130,246,.08), transparent 65%); animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { transform: translateX(55%) rotate(8deg); } }

/* Home page component system */
.section-shell { position: relative; overflow: clip; }
.section-tag { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border: 1px solid rgba(59,130,246,.28); border-radius: 999px; background: rgba(37,99,235,.07); color: #3b82f6; font: 600 .875rem "Poppins", sans-serif; }
.heading-line { width: 64px; height: 4px; margin-top: 24px; border-radius: 999px; background: linear-gradient(90deg,#2563eb,#22d3ee); }
.primary-btn, .secondary-btn, .cta-white-btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 .9rem "Poppins", sans-serif; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.primary-btn { color: #fff; background: linear-gradient(120deg,#3b82f6,#1d4ed8); box-shadow: 0 14px 38px rgba(37,99,235,.27); }
.secondary-btn { color: #fff; border: 1px solid rgba(148,163,184,.34); background: rgba(15,23,42,.52); }
.primary-btn:hover, .secondary-btn:hover, .cta-white-btn:hover { transform: translateY(-3px); }
.icon-box { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(37,99,235,.14); color: #3b82f6; }
.icon-box.cyan { background: rgba(6,182,212,.12); color: #22d3ee; }
.icon-box svg { width: 28px; height: 28px; }
.logo-chip { display: flex; align-items: center; gap: 12px; min-width: 180px; padding: 16px 24px; }
.logo-chip img { width: 36px; height: 36px; object-fit: contain; }
.logo-chip span { font-weight: 700; color: #cbd5e1; }
.counter-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg,rgba(15,23,42,.96),rgba(19,29,48,.9)); text-align: center; }
.counter-card strong, .metric-card strong { display: block; font: 700 clamp(2rem,4vw,3rem) "Poppins",sans-serif; }
.counter-card span, .metric-card > span { color: var(--muted); }
/* About page: keep the reference's subtle alternating navy section rhythm. */
body[data-page="about"] main > section:nth-of-type(3),
body[data-page="about"] main > section:nth-of-type(5),
body[data-page="about"] main > section:nth-of-type(7) {
  background: #050b1b;
}
body[data-page="about"] main > section:nth-of-type(6) {
  background: var(--navy);
}
body[data-page="about"] .counter-card {
  display: flex;
  min-height: 220px;
  padding: 32px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: rgba(148,163,184,.14);
  border-radius: 16px;
  background: #0f172a;
  box-shadow: none;
}
body[data-page="about"] .counter-card::before { display: none; }
body[data-page="about"] .counter-card > span:first-child { color: #2f6fea; background: rgba(37,99,235,.13); }
body[data-page="about"] .counter-card:nth-child(even) > span:first-child { color: #16bdd5; background: rgba(6,182,212,.13); }
body[data-page="about"] .counter-card strong { margin-top: 24px; color: #fff; font-size: clamp(2.25rem,3.2vw,3rem); font-weight: 800; line-height: 1; }
body[data-page="about"] .counter-card strong span { color: #fff; }
body[data-page="about"] .counter-card > span:last-child { margin-top: 16px; color: #9ca3af; font-size: 15px; line-height: 1.4; }
/* Portfolio counters mirror the About page's blue/cyan icon rhythm and white values. */
body[data-page="portfolio"] .counter-card > span:first-child { color: #2f6fea; background: rgba(37,99,235,.13); }
body[data-page="portfolio"] .counter-card:nth-child(even) > span:first-child { color: #16bdd5; background: rgba(6,182,212,.13); }
body[data-page="portfolio"] .counter-card strong,
body[data-page="portfolio"] .counter-card strong span { color: #fff; }
.check-item { display: flex; gap: 12px; color: #cbd5e1; }
.check-item::before { content: "✓"; display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(37,99,235,.14); color: #60a5fa; font-size: .75rem; font-weight: 800; }
.service-card, .feature-card, .metric-card, .project-card, .testimonial-card { border: 1px solid var(--line); background: linear-gradient(145deg,rgba(15,23,42,.96),rgba(19,29,48,.9)); border-radius: 20px; }
.service-card { display: flex; flex-direction: column; min-height: 310px; padding: 28px; transition: box-shadow .3s ease; }
.service-card:hover, .service-card:focus-within { box-shadow: 0 25px 50px rgba(37,99,235,.15); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,.5); box-shadow: 0 24px 55px rgba(37,99,235,.09); }
.service-card .icon-box { transition: color .3s ease,background .3s ease; }
.service-card h3, .feature-card h3 { margin-top: 24px; font-size: 1.25rem; font-weight: 700; }
.service-card h3 { transition: color .35s ease; }
.service-card:hover .icon-box, .service-card:focus-within .icon-box { color: #fff; background: linear-gradient(135deg,#2563eb,#06b6d4); }
.service-card:hover h3, .service-card:focus-within h3 { color: #2563eb; }
.service-card p, .feature-card p { margin-top: 12px; color: var(--muted); line-height: 1.75; }
.service-card a { margin-top: auto; padding-top: 24px; color: #60a5fa; font-weight: 700; outline: none; }
.service-card a span { display: inline-block; transition: transform .3s ease; }
.service-card:hover a span, .service-card:focus-within a span { transform: translateX(5px); }
.metric-grid { width: 100%; max-width: 1216px; margin-inline: auto; }
.metric-card { min-height: 190px; padding: 24px; border-color: rgba(255,255,255,.05); border-radius: 16px; background: #0f172a; text-align: center; }
.metric-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 12px; background: rgba(37,99,235,.1); color: #2563eb; }
.metric-icon.cyan { background: rgba(6,182,212,.1); color: #06b6d4; }
.metric-icon svg { width: 28px; height: 28px; }
.metric-card strong { margin-bottom: 8px; color: #fff; font: 700 30px/36px "Poppins",sans-serif; }
.metric-card > span { display: block; color: #9ca3af; font-size: 14px; line-height: 20px; }
@media (min-width: 768px) {
  .metric-card { min-height: 206px; padding: 32px; }
  .metric-card strong { font-size: 36px; line-height: 40px; }
}
.feature-card { padding: 28px; transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease; }
.process-grid { position: relative; }
.process-item { position: relative; text-align: center; }
.process-item:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 41px; left: calc(50% + 42px); width: calc(100% - 52px); height: 2px; background: linear-gradient(90deg,rgba(37,99,235,.62),rgba(37,99,235,.2) 55%,rgba(37,99,235,0)); }
.process-item:nth-child(even):not(:last-child)::after { background: linear-gradient(90deg,rgba(6,182,212,.62),rgba(6,182,212,.2) 55%,rgba(6,182,212,0)); }
.process-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; margin: auto; border-radius: 24px; background: linear-gradient(145deg,#2563eb,#1d4ed8); color: #fff; box-shadow: 0 18px 42px rgba(37,99,235,.2); }
.process-icon.cyan { background: linear-gradient(145deg,#06b6d4,#0891b2); }
.process-icon svg { width: 34px; height: 34px; }
.process-icon > span { position: absolute; right: -10px; top: -10px; display: grid; place-items: center; width: 34px; height: 34px; border: 4px solid #050b17; border-radius: 50%; background: #2563eb; color: #fff; font-size: .72rem; font-weight: 800; }
.process-item h3 { margin-top: 26px; font-size: 1.15rem; font-weight: 700; }
.process-intro { line-height: 1.55; }
.process-item p { margin: 12px auto 0; max-width: 280px; color: var(--muted); line-height: 1.6; }
.portfolio-preview-grid { width: 100%; max-width: 1216px; margin-inline: auto; }
.project-card { position: relative; isolation: isolate; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-radius: 16px; background: #0f172a; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-overlay { position: absolute; z-index: 1; inset: 0; display: flex; align-items: flex-end; padding: 24px; background: linear-gradient(to top,#020617,rgba(2,6,23,.8),transparent); opacity: 0; transition: opacity .4s ease; }
.project-card:hover .project-overlay, .project-card:focus-within .project-overlay { opacity: 1; }
.project-card:hover img, .project-card:focus-within img { transform: scale(1.1); }
.project-type { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: rgba(37,99,235,.2); color: #60a5fa; font-size: .75rem; font-weight: 600; line-height: 1.25rem; }
.project-type.cyan { background: rgba(6,182,212,.2); color: #22d3ee; }
.project-card h3 { margin-top: 12px; color: #fff; font-size: 1.125rem; font-weight: 700; }
.project-card a { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: #3b82f6; font-size: .875rem; font-weight: 500; transition: gap .3s ease,color .3s ease; }
.project-card a:hover, .project-card a:focus-visible { gap: 8px; color: #60a5fa; }
.projects-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 32px; border: 1px solid #2563eb; border-radius: 9999px; color: #2563eb; font-weight: 600; line-height: 1.5; transition: color .3s ease,background .3s ease; }
.projects-button svg { width: 20px; height: 20px; margin-left: 8px; }
.projects-button:hover, .projects-button:focus-visible { color: #fff; background: #2563eb; }
.testimonial-track { transition: transform .55s ease; }
.testimonial-card { display: flex; flex-direction: column; align-items: stretch; min-height: 330px; padding: 32px; }
.stars { color: #fbbf24; font-size: 1.1rem; line-height: 1; letter-spacing: .12em; }
.testimonial-card blockquote { flex: 1; margin-top: 24px; color: #cbd5e1; font-size: 1rem; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.testimonial-card h3 { color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.testimonial-card p { margin-top: 3px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.testimonial-card img { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-grid .testimonial-card { height: 100%; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 99px; background: #334155; }
.cta-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: auto; border-radius: 20px; background: rgba(255,255,255,.14); }
.cta-icon svg { width: 30px; height: 30px; }
.cta-white-btn { color: #2563eb; background: #fff; }
.social-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #1e293b; color: #94a3b8; transition: transform .25s ease,color .25s ease,background .25s ease; }
.social-link:hover { color: #fff; background: #2563eb; transform: translateY(-2px); }
.social-link svg { width: 20px; height: 20px; }
footer div:has(> a[aria-label="Facebook"]) { display: none; }
.brand-lockup { display: inline-flex; flex-direction: column; align-items: center; width: fit-content; }
.brand-name-caption { margin-top: 2px; color: #94a3b8; font-size: 8px; font-weight: 600; line-height: 1; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.footer-brand-lockup { align-items: flex-start; }
.footer-brand-lockup .brand-name-caption { margin-left: 2px; color: #64748b; }
a[aria-label="CWC home"] { display: inline-flex; flex-direction: column; align-items: center; width: fit-content; }
a[aria-label="CWC home"]::after,
.mobile-panel > .mb-10:has(> img[alt="CWC"])::after {
  content: "Clear Web Craft";
  color: #94a3b8;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
}
a[aria-label="CWC home"]::after { margin-top: 2px; }
.site-nav a[aria-label="CWC home"]::after,
.mobile-panel > .mb-10:has(> img[alt="CWC"])::after {
  font-size: 6px;
  letter-spacing: .2em;
}
footer a[aria-label="CWC home"] { align-items: flex-start; }
footer a[aria-label="CWC home"]::after { margin-left: 2px; color: #64748b; }
.mobile-panel > .mb-10:has(> img[alt="CWC"]) { position: relative; }
.mobile-panel > .mb-10:has(> img[alt="CWC"])::after { position: absolute; top: 47px; left: 1px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: #94a3b8; transition: color .2s ease; }
.footer-links a:hover { color: #60a5fa; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; color: #94a3b8; }
.contact-list a { color: #94a3b8; }
.contact-list svg { flex: 0 0 20px; width: 20px; color: #3b82f6; }
@media (max-width: 767px) {
  .process-item::after { display: none; }
  .service-card { min-height: 0; }
  .service-card:active { box-shadow: 0 25px 50px rgba(37,99,235,.15); }
  .service-card:active .icon-box { color: #fff; background: linear-gradient(135deg,#2563eb,#06b6d4); }
  .service-card:active h3 { color: #2563eb; }
}

@media (hover: none) {
  .project-overlay { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card .icon-box, .service-card h3, .service-card a span { transition-duration: .01ms; }
}

.value-card { min-height: 250px; }
.featured-value { border-color: rgba(37,99,235,.55); box-shadow: inset 0 0 35px rgba(37,99,235,.04); }

.timeline-showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(#2563eb, #06b6d4);
}
.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr);
  align-items: center;
  min-height: 205px;
}
.timeline-card { width: 100%; max-width: 480px; }
.timeline-row:nth-child(odd) .timeline-card { justify-self: end; }
.timeline-row:nth-child(even) .timeline-card { justify-self: start; }
.timeline-year {
  position: absolute;
  top: 3px;
  z-index: 3;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.timeline-row:nth-child(odd) .timeline-year {
  right: calc(50% + 54px);
  text-align: right;
}
.timeline-row:nth-child(even) .timeline-year { left: calc(50% + 54px); }
.timeline-node-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 2;
  place-items: center;
}
.timeline-node {
  display: block;
  width: 22px;
  height: 22px;
  border: 5px solid #020617;
  border-radius: 50%;
  background: linear-gradient(135deg,#3b82f6,#06b6d4);
  box-shadow: 0 0 0 3px rgba(37,99,235,.48);
}

.service-process-grid::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 40px;
  height: 2px;
  background: linear-gradient(90deg,rgba(37,99,235,.25),rgba(6,182,212,.6),rgba(37,99,235,.25));
}
.service-process-step { z-index: 1; }
.process-icon-wrap { position: relative; box-shadow: 0 18px 42px rgba(37,99,235,.22); }
.process-badge { box-shadow: 0 0 0 5px #050b17; }

.tech-card img { transition: transform .35s ease, filter .35s ease; }
.tech-card:hover img { transform: translateY(-5px) scale(1.08); filter: drop-shadow(0 12px 18px rgba(37,99,235,.28)); }

.approach-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  color: #94a3b8;
  font: 600 15px "Poppins",sans-serif;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, background .25s ease;
}
.approach-tab svg { width: 20px; height: 20px; }
.approach-tab:hover { color: white; border-color: rgba(59,130,246,.45); transform: translateY(-2px); }
.approach-tab.active {
  border-color: transparent;
  color: white;
  background: linear-gradient(120deg,#3b82f6,#06b6d4);
  box-shadow: 0 14px 35px rgba(37,99,235,.22);
}
.approach-panel { display: none; }
.approach-panel.active { display: block; animation: fadeUp .45s ease both; }

.portfolio-cta {
  background: linear-gradient(115deg, #2f6df2 0%, #2453d8 100%);
}
.portfolio-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='58' viewBox='0 0 58 58'%3E%3Cpath d='M29 22v14M22 29h14' fill='none' stroke='%23fff' stroke-opacity='.13' stroke-width='2.5'/%3E%3C/svg%3E");
  background-size: 58px 58px;
  pointer-events: none;
}
.portfolio-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 45%, rgb(255 255 255 / 0.08), transparent 48%);
  pointer-events: none;
}

.culture-card { min-height: 210px; }
.culture-card .icon-box { margin-inline: auto; }
.culture-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.culture-collage img {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgb(51 65 85 / 0.48);
}
.culture-collage img:nth-child(1), .culture-collage img:nth-child(4) { height: 310px; }
.culture-collage img:nth-child(2) { margin-top: 38px; }
.culture-collage img:nth-child(3) { margin-top: -22px; }

.career-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: var(--card-padding) !important;
}
.career-card .icon-box { width: 3rem !important; height: 3rem !important; }
.career-card > div:first-child > span:last-child { padding: .375rem .75rem !important; font-size: .8125rem !important; line-height: 1.2; }
.career-card h3 { margin-top: 1.375rem !important; font-size: 1.25rem !important; line-height: 1.3; }
.career-card h3 + div { margin-top: .75rem !important; }
.career-card p { margin-top: 1.125rem !important; line-height: 1.65; }
.career-card .career-apply { margin-top: auto; padding-top: 1.375rem !important; }

.portfolio-cta .outline-button,
.cta-panel .outline-button,
.hero-grid .outline-button {
  border-color: rgba(255,255,255,.82) !important;
  color: white;
}

.portfolio-card img, .blog-card img, .team-card img, .zoom-image { transition: transform .55s ease; }
.portfolio-card:hover img, .blog-card:hover img, .team-card:hover img, .zoom-wrap:hover .zoom-image { transform: scale(1.075); }
.portfolio-overlay { opacity: 0; transition: opacity .35s ease; background: linear-gradient(to top, rgba(2,6,23,.98), rgba(2,6,23,.14)); }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card.hidden-card { display: none; }
.filter-btn { transition: .25s ease; }
.filter-btn.active { border-color: transparent; color: white; background: linear-gradient(100deg, #3b82f6, #22d3ee); box-shadow: 0 10px 35px rgba(37,99,235,.2); }

.team-social { opacity: 0; transform: translateY(12px); transition: .35s ease; }
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.process-line { background: linear-gradient(90deg, rgba(37,99,235,.12), rgba(34,211,238,.52), rgba(37,99,235,.12)); }
.testimonial-track { display: flex; transition: transform .55s cubic-bezier(.2,.7,.2,1); }

.cta-panel { position: relative; overflow: hidden; background: linear-gradient(115deg, #1d4ed8, #2563eb 48%, #0891b2); box-shadow: 0 30px 90px rgba(37,99,235,.22); }
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.cta-panel::before { left: -180px; top: -180px; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.025); }
.cta-panel::after { right: -210px; bottom: -230px; box-shadow: 0 0 0 48px rgba(255,255,255,.04), 0 0 0 96px rgba(255,255,255,.025); }

.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(#2563eb, #06b6d4); transform: translateX(-50%); }
.timeline-dot { box-shadow: 0 0 0 8px #020617, 0 0 0 10px rgba(37,99,235,.35); }

.pricing-toggle input:checked + span { transform: translateX(24px); }
.price-card.featured { border-color: rgba(59,130,246,.55); box-shadow: 0 28px 80px rgba(37,99,235,.13); }
.comparison-table th, .comparison-table td { border-bottom: 1px solid rgba(148,163,184,.11); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 260px; }
.faq-item .faq-icon { transition: transform .3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.form-control { width: 100%; border: 1px solid rgba(148,163,184,.18); background: rgba(2,6,23,.55); color: white; outline: none; transition: border-color .25s, box-shadow .25s; }
.form-control::placeholder { color: #64748b; }
.form-control:focus { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .4s ease both; }
.step-dot.active, .step-dot.done { background: #2563eb; color: white; border-color: #2563eb; }
.step-line.done { background: #2563eb; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.from-left { transform: translateX(-34px); }
.reveal.from-right { transform: translateX(34px); }
.reveal.visible { opacity: 1; transform: translate(0,0); }
body[data-page="home"] .reveal { opacity: 1; transform: none; }
.reveal[data-aos-delay="100"] { transition-delay: .1s; }
.reveal[data-aos-delay="200"] { transition-delay: .2s; }
.reveal[data-aos-delay="300"] { transition-delay: .3s; }
.reveal[data-aos-delay="400"] { transition-delay: .4s; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.call-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(125,211,252,.3);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg,#2563eb,#0891b2);
  box-shadow: 0 18px 42px rgba(37,99,235,.35);
  animation: callPulse 2.2s infinite;
  transition: transform .25s ease, box-shadow .25s ease;
}
.call-float:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(37,99,235,.45); }
.call-float svg { width: 25px; height: 25px; }
@keyframes callPulse { 50% { box-shadow: 0 18px 42px rgba(37,99,235,.35), 0 0 0 13px rgba(37,99,235,0); } 0%,100% { box-shadow: 0 18px 42px rgba(37,99,235,.35), 0 0 0 0 rgba(37,99,235,.28); } }
.back-to-top {
  position: fixed;
  right: 28px !important;
  bottom: 24px !important;
  z-index: 40;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 50%;
  color: #fff;
  background: #1d4ed8;
  box-shadow: 0 14px 32px rgba(2,6,23,.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top.visible:hover { transform: translateY(-2px); background: #2563eb; }
.whatsapp { animation: whatsappPulse 2.2s infinite; }
@keyframes whatsappPulse { 50% { box-shadow: 0 0 0 13px rgba(34,197,94,0); } 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.35); } }

@media (max-width: 1023px) {
  .page-hero { min-height: 390px; padding-top: 120px; }
  body[data-page="contact"] .contact-hero { padding: 112px 0 105px; }
  .contact-hero-copy { max-width: 680px; }
  .timeline::before { left: 18px; }
}
@media (max-width: 767px) {
  .page-hero { min-height: 360px; padding: 110px 0 75px; }
  .page-hero::after { bottom: -90px; }
  .call-float { right: 16px; bottom: 16px; display: grid; }
  .back-to-top { right: 20px !important; bottom: 88px !important; }
  body[data-page="contact"] .contact-hero { padding: 96px 0 100px; }
  .contact-hero-copy { padding-top: 4px; }
  .image-collage img:nth-child(2) { transform: none; }
  .timeline-showcase::before { left: 20px; }
  .timeline-row { grid-template-columns: 42px minmax(0,1fr); min-height: 0; padding: 30px 0 32px; }
  .timeline-year,
  .timeline-row:nth-child(odd) .timeline-year,
  .timeline-row:nth-child(even) .timeline-year {
    top: 0;
    right: auto;
    left: 42px;
    text-align: left;
  }
  .timeline-row > div:not(.timeline-card):not(.timeline-node-wrap) { display: none; }
  .timeline-node-wrap { grid-column: 1; grid-row: 1; align-self: start; margin-top: 30px; }
  .timeline-card, .timeline-row:nth-child(odd) .timeline-card, .timeline-row:nth-child(even) .timeline-card {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    max-width: none;
    text-align: left;
  }
  .service-process-grid::before { display: none; }
  .culture-collage img,
  .culture-collage img:nth-child(1),
  .culture-collage img:nth-child(4) { height: 210px; }
  .culture-collage img:nth-child(2),
  .culture-collage img:nth-child(3) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
