/* ==========================================================================
   VAVATEX — digital agency (bold, rounded, red accent)
   Reference language: safaroff / amiroff / 166tech / okmedia
   Poppins · white/high-contrast · pills · rounded cards · social proof
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:root {
  --bg:      #FFFFFF;
  --bg-2:    #F5F5F4;
  --ink:     #0E0E10;
  --ink-2:   #56565F;
  --line:    #ECECEF;
  --red:     #E5322B;
  --red-d:   #C41E15;
  --red-soft:#FCE9E7;
  --dark:    #0E0E10;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --shadow-sm: 0 2px 10px rgba(14,14,16,0.05);
  --shadow:    0 26px 60px -30px rgba(14,14,16,0.28);
  --shadow-red:0 20px 44px -18px rgba(229,50,43,0.5);

  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4.5vw, 56px);
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); width: 100%; }
.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--red:hover { background: var(--red-d); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(14,14,16,0.2); }
.nav__in { max-width: var(--maxw); margin: 0 auto; padding: 0.85rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--red); display: grid; place-items: center; box-shadow: var(--shadow-red); }
.brand__mark svg { width: 18px; height: 18px; color: #fff; }
.brand b { font-weight: 600; }
.brand span { color: var(--ink-2); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a { font-size: 0.94rem; font-weight: 500; color: var(--ink-2); position: relative; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--red); }

.nav__right { display: flex; align-items: center; gap: 1.1rem; }
.lang { display: inline-flex; gap: 0.4rem; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.lang a.on, .lang button.on { color: var(--red); font-weight: 700; }
.lang a:hover, .lang button:hover { color: var(--ink); }
.lang .sep { color: var(--line); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }

.sheet { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-top: clamp(120px, 17vh, 190px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  background: var(--red-soft); color: var(--red); border-radius: 999px; font-size: 0.82rem; font-weight: 600; }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229,50,43,0.5); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(229,50,43,0.5);} 70%,100%{box-shadow:0 0 0 8px rgba(229,50,43,0);} }

.hero__title { font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.7rem); line-height: 1.06; letter-spacing: -0.02em; margin: 1.4rem 0 1.3rem; }
.hero__sub { font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--ink-2); max-width: 46ch; }
.hero__cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__trust { margin-top: 2.2rem; display: flex; align-items: center; gap: 0.9rem; color: var(--ink-2); font-size: 0.9rem; }
.stars { color: var(--red); letter-spacing: 2px; font-size: 0.95rem; }
.avatars { display: inline-flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; background: linear-gradient(135deg, #ddd, #bbb); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.avatars .more { background: var(--ink); }

/* Hero card cluster */
.hero__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { border-radius: var(--r-lg); padding: 1.5rem 1.6rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card--stat { grid-column: 1 / -1; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.card--stat .n { font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.card--stat .n em { color: var(--red); font-style: normal; }
.card--stat .l { color: var(--ink-2); font-size: 0.92rem; margin-top: 0.3rem; }
.card--stat .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink); }
.card--red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.card--red .n { font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em; line-height: 1; }
.card--red .l { font-size: 0.86rem; opacity: 0.92; margin-top: 0.35rem; }
.card--mini { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.card--mini .rate { font-weight: 700; font-size: 1.9rem; display: flex; align-items: center; gap: 0.4rem; }
.card--mini .rate small { color: var(--red); font-size: 1.1rem; }
.card--mini .l { font-size: 0.82rem; opacity: 0.7; margin-top: 0.3rem; }

/* ==========================================================================
   CLIENT LOGOS STRIP
   ========================================================================== */
.logos { border-top: 1px solid var(--line); background: var(--bg); }
.logos__in { padding-block: clamp(30px, 5vh, 52px); }
.logos__label { text-align: center; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 1.8rem; }
.logos__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.logos__row span { font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: -0.01em; color: #B9B9C0; transition: color 0.25s ease; }
.logos__row span:hover { color: var(--ink); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.up.in { opacity: 1; transform: none; }
.up.in[data-d="1"] { transition-delay: 0.08s; }
.up.in[data-d="2"] { transition-delay: 0.16s; }
.up.in[data-d="3"] { transition-delay: 0.24s; }
.up.in[data-d="4"] { transition-delay: 0.32s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 940px) {
  .nav__links, .lang { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cards { max-width: 460px; }

  .sheet { display: flex; flex-direction: column; position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: #fff; z-index: 99; padding: 6rem var(--pad) 2rem; transform: translateX(100%);
    transition: transform 0.45s var(--ease); box-shadow: -30px 0 80px -40px rgba(14,14,16,0.35); }
  .sheet.open { transform: translateX(0); }
  .sheet a { font-size: 1.25rem; font-weight: 600; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .sheet .btn--red { margin-top: 1.4rem; justify-content: center; }
  .sheet .lang { display: flex; margin-top: 1.6rem; font-size: 1rem; }
}
@media (max-width: 540px) {
  .hero__title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .card--stat { flex-direction: row; }
  .logos__row { justify-content: center; gap: 1.4rem 2rem; }
}

/* ==========================================================================
   SHARED SECTIONS / COMPONENTS (home + sub-pages)
   ========================================================================== */
.section { padding-block: clamp(64px, 9vh, 120px); position: relative; }
.section--gray { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #fff; }

.sec-head { max-width: 660px; margin-bottom: clamp(36px, 5vh, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--red-soft); color: var(--red); font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.section--dark .sec-tag { background: rgba(255,255,255,0.08); color: #fff; }
.sec-title { font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; }
.sec-title .red { color: var(--red); }
.sec-desc { color: var(--ink-2); margin-top: 1rem; font-size: 1.05rem; }
.section--dark .sec-desc { color: rgba(255,255,255,0.66); }
.sec-head--center .sec-desc { margin-inline: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Service card */
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease; }
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.scard__ic { width: 56px; height: 56px; border-radius: 16px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 1.3rem; }
.scard__ic svg { width: 28px; height: 28px; }
.scard__title { font-weight: 600; font-size: 1.26rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.scard__desc { color: var(--ink-2); font-size: 0.96rem; }
.scard__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; color: var(--red); font-weight: 600; font-size: 0.92rem; }
.scard__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.scard:hover .scard__link svg { transform: translateX(4px); }
.scard--dark { background: var(--dark); border-color: transparent; color: #fff; }
.scard--dark .scard__desc { color: rgba(255,255,255,0.66); }
.scard--dark .scard__ic { background: rgba(255,255,255,0.08); color: #fff; }
.scard--dark:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }

/* Feature row */
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.feat__ic svg { width: 24px; height: 24px; }
.feat h3 { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.3rem; }
.feat p { color: var(--ink-2); font-size: 0.94rem; }

/* Portfolio / work */
.work { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__img { aspect-ratio: 16/10; position: relative; overflow: hidden; display: grid; place-items: end center; padding-top: 22px; }
.work__img.i1 { background: linear-gradient(135deg,#FDE7E5,#F6DCEF); }
.work__img.i2 { background: linear-gradient(135deg,#E6ECFF,#E9F6FF); }
.work__img.i3 { background: linear-gradient(135deg,#FFF0E0,#FDE7E5); }
.work__img.i4 { background: linear-gradient(135deg,#E8F6EC,#E6ECFF); }
.work__img.i5 { background: linear-gradient(135deg,#F3E8FF,#E6ECFF); }
.work__img.i6 { background: linear-gradient(135deg,#FDECEA,#FFE9D6); }
.mock { width: 82%; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 24px 44px -22px rgba(14,14,16,0.4); overflow: hidden; }
.mock__bar { height: 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 5px; padding: 0 12px; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #E2E2E6; }
.mock__body { padding: 16px; display: grid; gap: 9px; }
.mock__body b { height: 11px; border-radius: 4px; background: var(--red); width: 42%; }
.mock__body u { height: 8px; border-radius: 4px; background: #ECECEF; display: block; }
.mock__body u.s { width: 70%; }
.work__body { padding: 1.3rem 1.4rem 1.5rem; }
.work__cat { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); }
.work__title { font-weight: 600; font-size: 1.26rem; margin: 0.4rem 0 0; }
.work__body p { color: var(--ink-2); font-size: 0.92rem; margin-top: 0.5rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step__n { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; display: grid; place-items: center; margin-bottom: 1rem; }
.step:nth-child(odd) .step__n { background: var(--red); }
.step h3 { font-weight: 600; font-size: 1.12rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-2); font-size: 0.93rem; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-b { text-align: center; }
.stat-b .n { font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; }
.stat-b .n em { color: var(--red); font-style: normal; }
.section--dark .stat-b .n { color: #fff; }
.stat-b .l { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-2); }
.section--dark .stat-b .l { color: rgba(255,255,255,0.6); }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem; }
.quote__stars { color: var(--red); letter-spacing: 2px; margin-bottom: 1rem; }
.quote p { font-size: 1rem; color: var(--ink); }
.quote__by { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.4rem; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#ddd,#bbb); display: grid; place-items: center; font-weight: 600; color: #fff; }
.quote__by b { font-weight: 600; display: block; font-size: 0.95rem; }
.quote__by span { color: var(--ink-2); font-size: 0.85rem; }

/* CTA band */
.ctaband { background: var(--red); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 76px); text-align: center; box-shadow: var(--shadow-red); }
.ctaband h2 { font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.12; }
.ctaband p { margin: 1rem auto 2rem; max-width: 48ch; opacity: 0.94; }
.ctaband .btn--light { background: #fff; color: var(--red); }
.ctaband .btn--light:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(0,0,0,0.35); }

/* Page hero (sub-pages) */
.phero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(40px, 6vh, 72px); }
.crumbs { font-size: 0.86rem; color: var(--ink-2); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--red); }
.phero h1 { font-weight: 600; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.025em; line-height: 1.06; }
.phero h1 .red { color: var(--red); }
.phero p { color: var(--ink-2); font-size: 1.1rem; max-width: 56ch; margin-top: 1.1rem; }

/* Contact form */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; font: inherit; background: #fff; transition: border-color 0.2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 130px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.info-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 1rem; }
.info-card h3 { font-weight: 600; margin-bottom: 0.3rem; }
.info-card p, .info-card a { color: var(--ink-2); }
.info-card a:hover { color: var(--red); }

/* Blog */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16/9; }
.post__img.i1 { background: linear-gradient(135deg,#FDE7E5,#F6DCEF); }
.post__img.i2 { background: linear-gradient(135deg,#E6ECFF,#E9F6FF); }
.post__img.i3 { background: linear-gradient(135deg,#FFF0E0,#FDE7E5); }
.post__img.i4 { background: linear-gradient(135deg,#E8F6EC,#E6ECFF); }
.post__body { padding: 1.4rem 1.5rem 1.7rem; }
.post__meta { font-size: 0.8rem; color: var(--ink-2); display: flex; gap: 0.8rem; }
.post__cat { color: var(--red); font-weight: 600; }
.post__title { font-weight: 600; font-size: 1.2rem; margin: 0.6rem 0; }
.post p { color: var(--ink-2); font-size: 0.93rem; }

/* Team */
.member__ph { aspect-ratio: 1; border-radius: var(--r-md); background: linear-gradient(135deg,#EDEDED,#D8D8DC); margin-bottom: 1rem; display: grid; place-items: center; font-weight: 600; font-size: 2rem; color: #fff; }
.member h3 { font-weight: 600; }
.member span { color: var(--ink-2); font-size: 0.9rem; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.68); padding-top: clamp(56px, 8vh, 88px); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer__about { max-width: 32ch; font-size: 0.95rem; }
.footer h4 { color: #fff; font-weight: 600; font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.7rem; }
.footer a:hover { color: #fff; }
.footer .soc { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer .soc a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; }
.footer .soc a svg { width: 18px; height: 18px; }
.footer .soc a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: 0.85rem; }

@media (max-width: 940px) {
  .grid-3, .grid-4, .steps, .stats-band, .footer__top { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__top { gap: 2rem; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .steps, .stats-band, .footer__top, .form .row { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 30px; }
}

/* ==========================================================================
   FEATURE PROJECT + PHONE MOCK (portfolio)
   ========================================================================== */
.workfeat { display: grid; grid-template-columns: 1.02fr 1fr; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.workfeat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.workfeat__media { position: relative; min-height: 360px; display: grid; place-items: center; padding: 2.5rem; background: linear-gradient(140deg,#EAF0FF,#FDE7E5); }
.workfeat__body { padding: clamp(1.8rem,3.4vw,3.2rem); align-self: center; }
.workfeat__title { font-weight: 600; font-size: clamp(1.5rem,2.6vw,2.1rem); letter-spacing: -0.02em; margin: .5rem 0 .8rem; line-height: 1.15; }
.workfeat__desc { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips span { font-size: .82rem; font-weight: 500; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
@media (max-width: 820px) { .workfeat { grid-template-columns: 1fr; } .workfeat__media { min-height: 300px; } }

.phone { width: 228px; aspect-ratio: 9 / 18.5; border-radius: 34px; background: #0E0E10; padding: 9px; box-shadow: var(--shadow); }
.phone__scr { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: linear-gradient(175deg,#fff,#FDECEA); padding: 16px 12px; display: grid; gap: 9px; align-content: start; }
.phone__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.phone__hd b { font-size: .82rem; font-weight: 600; }
.phone__hd i { width: 24px; height: 24px; border-radius: 8px; background: var(--red); display: block; }
.appcard { background: #fff; border-radius: 13px; padding: 11px 12px; box-shadow: 0 10px 22px -14px rgba(14,14,16,.22); display: grid; gap: 6px; }
.appcard .r { height: 7px; border-radius: 4px; background: #ECECEF; display: block; }
.appcard .r.t { width: 52%; background: var(--red); height: 9px; }
.appcard .r.s { width: 72%; }

/* ==========================================================================
   DETAIL PAGE HELPERS (service + case study)
   ========================================================================== */
.svc-hero { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.svc-hero__ic { width: 74px; height: 74px; border-radius: 20px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.svc-hero__ic svg { width: 40px; height: 40px; }
.ticklist { display: grid; gap: .9rem; }
.ticklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.ticklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5322B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticklist li b { color: var(--ink); font-weight: 600; }
.metabar { display: flex; flex-wrap: wrap; gap: 2.2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metabar div span { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .25rem; }
.metabar div b { font-weight: 600; font-size: 1.02rem; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .up { opacity: 1 !important; transform: none !important; }
}
html { scroll-behavior: smooth; overflow-x: hidden; }
