/* assets/css/our_work.css */
:root {
  --orange: #e8720c;
  --green:  #5cb93c;
  --dark:   #0e0e0e;
  --grey:   #f4f4f4;
  --text:   #1a1a1a;
  --muted:  #666;
}

/* ── HERO ──────────────────────────────────────── */
.ow-hero {
  position: relative;
  background: var(--dark);
  padding: 120px 40px 60px;
  overflow: hidden;
}
.ow-hero__inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.ow-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.ow-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin: 0 0 20px;
}
.ow-hero__title em { font-style: normal; color: var(--orange); }
.ow-hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.6); margin-bottom: 40px; line-height: 1.7;
}
.ow-hero__accent {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom right, transparent 49%, #f4f4f4 50%);
  z-index: 1;
}

/* FILTERS */
.ow-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ow-filter {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 22px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.6);
  cursor: pointer; transition: all .25s;
}
.ow-filter:hover { border-color: var(--green); color: var(--green); }
.ow-filter.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ── STATS STRIP ──────────────────────────────── */
.ow-stats {
  display: flex; flex-wrap: wrap;
  background: var(--orange);
}
.ow-stats__item {
  flex: 1; min-width: 140px; text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.ow-stats__item:last-child { border-right: none; }
.ow-stats__num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; color: #fff;
}
.ow-stats__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 4px; display: block;
}

/* ── GRID ─────────────────────────────────────── */
.ow-grid-section { background: var(--grey); padding: 60px 40px 80px; }
.ow-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}

/* ── CARD ─────────────────────────────────────── */
.ow-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.ow-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.13); }

/* BROWSER MOCKUP INSIDE CARD */
.ow-card__mockup { position: relative; display: block; text-decoration: none; flex-shrink: 0; }
.ow-browser { background: #1a1a1a; border-radius: 8px 8px 0 0; overflow: hidden; }
.ow-browser__bar {
  display: flex; align-items: center; gap: 6px;
  background: #2a2a2a; padding: 10px 14px; height: 36px;
}
.ow-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ow-dot--red    { background: #ff5f57; }
.ow-dot--yellow { background: #ffbd2e; }
.ow-dot--green  { background: #27c93f; }
.ow-browser__url {
  flex: 1; background: #3a3a3a; border-radius: 4px;
  font-family: 'Montserrat', sans-serif; font-size: 10px; color: rgba(255,255,255,.4);
  padding: 3px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ow-browser__screen {
  position: relative; display: flex; height: 220px; overflow: hidden;
}
.ow-ss-panel { position: relative; overflow: hidden; height: 100%; }
.ow-ss-left  { width: 45%; }
.ow-ss-right { width: 55%; }
.ow-ss-panel img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.ow-diag {
  position: absolute; top: 0; left: calc(45% - 14px);
  width: 28px; height: 100%; z-index: 2;
  background: linear-gradient(to bottom, var(--orange), var(--green));
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
}

/* OVERLAY ON HOVER */
.ow-card__overlay {
  position: absolute; inset: 36px 0 0;
  background: rgba(14,14,14,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.ow-card__overlay span {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 14px; color: #fff; letter-spacing: .05em;
}
.ow-card:hover .ow-card__overlay { opacity: 1; }

/* CARD BODY */
.ow-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ow-card__meta { display: flex; align-items: center; gap: 10px; }
.ow-card__client {
  font-family: 'Montserrat', sans-serif; font-size: 11px;
  color: var(--muted); font-weight: 600;
}
.ow-card__title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text);
  margin: 0; line-height: 1.3;
}
.ow-card__title a { text-decoration: none; color: inherit; transition: color .2s; }
.ow-card__title a:hover { color: var(--orange); }
.ow-card__desc { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.ow-card__stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* BADGES */
.ow-badge {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.ow-badge--cat  { background: var(--dark); color: var(--green); }
.ow-badge--tech { background: var(--grey); color: var(--text); border: 1px solid #ddd; }

/* ── EMPTY STATE ──────────────────────────────── */
.ow-empty {
  grid-column: 1/-1; text-align: center;
  font-family: 'Montserrat', sans-serif; color: var(--muted); font-size: 1rem;
  padding: 60px 0;
}

/* ── CTA SECTION ──────────────────────────────── */
.ow-cta {
  background: var(--dark); padding: 80px 40px;
}
.ow-cta__inner { max-width: 600px; margin: 0 auto; text-align: center; }
.ow-cta__inner h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: 12px;
}
.ow-cta__inner p {
  font-family: 'Montserrat', sans-serif; color: rgba(255,255,255,.6);
  margin-bottom: 32px; font-size: 1.05rem;
}
.btn-primary {
  display: inline-block;
  background: var(--green); color: #fff;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 36px; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #4aa82f; transform: translateY(-2px); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .ow-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .ow-hero { padding: 100px 20px 50px; }
  .ow-grid-section { padding: 40px 16px; }
  .ow-grid { grid-template-columns: 1fr; }
  .ow-browser__screen { height: 180px; }
  .ow-stats { flex-direction: row; flex-wrap: wrap; }
  .ow-stats__item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
