/* assets/css/projects.css?v=1.0 */
:root{
  --ink: rgba(2, 6, 23, .92);
  --muted: rgba(2, 6, 23, .66);
  --line: rgba(15, 23, 42, .12);
  --bg: #ffffff;

  --a: #2bc4e3;
  --y: #ffd24a;
  --y2:#ffbf1f;

  --r: 18px;
  --shadow: 0 22px 70px rgba(2, 6, 23, .14);
  --shadow2: 0 16px 52px rgba(2, 6, 23, .10);
  --ease: cubic-bezier(.2,.9,.2,1);

  --wrap: 1160px;
  --px: clamp(16px, 3vw, 28px);
}

html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.container{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--px);
}

.projects-main{ min-height: 70vh; }

/* HERO */
.prj-hero{
  position: relative;
  padding: clamp(28px, 4vw, 44px) 0 clamp(34px, 5.5vw, 72px);
  overflow:hidden;
  background:
    radial-gradient(900px 520px at 12% 12%, rgba(43,196,227,.12), transparent 60%),
    radial-gradient(880px 520px at 90% 18%, rgba(255,210,74,.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 60%, #ffffff 100%);
}

.prj-hero::before{
  content:"";
  position:absolute; inset:-1px;
  background:
    linear-gradient(90deg, rgba(255,210,74,.16), transparent 40%),
    linear-gradient(180deg, rgba(2,6,23,.05), transparent 30%);
  pointer-events:none;
}

.prj-hero__wrap{
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--px);
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap: clamp(16px, 2.2vw, 24px);
  align-items: stretch;
}

.prj-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(2,6,23,.70);
  margin: 0 0 12px;
}
.prj-hero__kicker::before{
  content:"";
  width: 26px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--y), var(--a));
  box-shadow: 0 10px 30px rgba(255,210,74,.30);
}

.prj-hero__title{
  font-size: clamp(30px, 3.1vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 950;
}
.prj-hero__sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 650;
  max-width: 64ch;
}

.prj-hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 14px;
}

.prj-btn{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  color: var(--ink);
  text-decoration:none;
  padding: 12px 14px;
  font-weight: 900;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  box-shadow: 0 14px 40px rgba(2,6,23,.08);
}
.prj-btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow2); border-color: rgba(43,196,227,.28); }

.prj-btn--primary{
  padding: 14px 16px;
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(120px 80px at 12% 18%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(135deg, var(--y), var(--y2));
  box-shadow: 0 22px 70px rgba(255,191,31,.26);
  min-width: min(360px, 100%);
}

.prj-btn__top{
  display:block;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(2,6,23,.75);
  line-height: 1.1;
}
.prj-btn__main{
  display:block;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.prj-btn__sub{
  display:block;
  font-size: 12px;
  color: rgba(2,6,23,.72);
  font-weight: 800;
  line-height: 1.2;
}

.prj-hero__trust{ display:flex; gap: 10px; flex-wrap: wrap; }

.prj-pill{
  display:inline-flex;
  align-items:center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.78);
  color: rgba(2,6,23,.80);
  font-weight: 900;
  font-size: 12px;
}

.prj-panel{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background:
    radial-gradient(280px 220px at 90% 15%, rgba(43,196,227,.12), transparent 60%),
    radial-gradient(240px 220px at 20% 10%, rgba(255,210,74,.18), transparent 60%),
    rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  overflow:hidden;
}

.prj-panel__head{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}
.prj-panel__title{ font-weight: 950; letter-spacing: -0.01em; }
.prj-panel__badge{
  font-weight: 950;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.72);
}

.prj-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 12px;
}
.prj-stat{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  padding: 10px;
}
.prj-stat .k{ font-weight: 900; font-size: 12px; color: rgba(2,6,23,.70); letter-spacing: .08em; text-transform: uppercase; }
.prj-stat .v{ font-weight: 1000; letter-spacing: -0.02em; font-size: 16px; }

.prj-panel__list{
  list-style:none;
  padding:0;
  margin: 0 0 12px;
  display:grid;
  gap: 10px;
}
.prj-panel__list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(2,6,23,.82);
  font-weight: 750;
}
.dot{
  width: 9px; height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--y), var(--a));
  box-shadow: 0 10px 26px rgba(255,210,74,.28);
  margin-top: 5px;
  flex: 0 0 auto;
}

.prj-panel__cta{
  display:inline-flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 1000;
  color: rgba(2,6,23,.92);
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(120px 80px at 12% 30%, rgba(255,255,255,.60), transparent 70%),
    linear-gradient(135deg, rgba(255,210,74,.92), rgba(255,191,31,.92));
  box-shadow: 0 20px 55px rgba(255,191,31,.20);
  transition: transform .22s var(--ease);
}
.prj-panel__cta:hover{ transform: translateY(-2px); }

/* LOCAL SEO CARD */
.prj-local{ padding: 26px 0 0; }
.prj-local__card{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.12);
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(255,210,74,.12), transparent 60%),
    radial-gradient(900px 520px at 85% 30%, rgba(43,196,227,.10), transparent 60%),
    rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  padding: clamp(16px, 2.6vw, 22px);
}
.prj-local__card h2{ margin:0 0 10px; font-size: clamp(18px, 2vw, 22px); font-weight: 950; letter-spacing:-0.01em; }
.prj-local__card p{ margin:0 0 10px; color: rgba(2,6,23,.72); font-weight: 650; line-height: 1.55; }

.prj-local__chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.78);
  color: rgba(2,6,23,.82);
  font-weight: 900;
  font-size: 12px;
}

/* FILTERS */
.prj-filters{ padding: 18px 0 8px; }
.filters-bar{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fbtn{
  appearance:none;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.86);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 950;
  color: rgba(2,6,23,.84);
  cursor:pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  box-shadow: 0 12px 36px rgba(2,6,23,.06);
}
.fbtn:hover{ transform: translateY(-1px); border-color: rgba(255,191,31,.45); }
.fbtn.is-active{
  border-color: rgba(2,6,23,.12);
  background:
    radial-gradient(120px 80px at 12% 25%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(135deg, rgba(255,210,74,.92), rgba(255,191,31,.92));
}

/* GRID */
.prj-grid-sec{ padding: clamp(40px, 5vw, 74px) 0; }
.sec-head{ max-width: 78ch; margin: 0 0 18px; }
.sec-title{ margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.02em; font-weight: 950; }
.sec-sub{ margin: 0; color: var(--muted); font-weight: 650; }

.prj-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.prj-card{
  grid-column: span 4;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 52px rgba(2,6,23,.08);
  overflow:hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.prj-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow2); }

.prj-card__media{
  position: relative;
  display:block;
  aspect-ratio: 4 / 3;
  background: #eee;
  text-decoration:none;
  color: inherit;
}
.prj-card__media .ph{
  position:absolute; inset:0;
  background:
    radial-gradient(300px 200px at 20% 20%, rgba(255,210,74,.22), transparent 60%),
    radial-gradient(280px 220px at 80% 10%, rgba(43,196,227,.14), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
}

.tag{
  position:absolute;
  left: 12px;
  top: 12px;
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.78);
  font-weight: 950;
  font-size: 12px;
}

.prj-card__body{ padding: 14px; }
.prj-card__body h3{ margin:0 0 8px; font-weight: 950; letter-spacing:-0.01em; }
.prj-card__body p{ margin:0 0 10px; color: rgba(2,6,23,.70); font-weight: 650; line-height: 1.45; }
.meta{ display:flex; gap: 8px; flex-wrap: wrap; }
.m{
  font-size: 12px;
  font-weight: 900;
  color: rgba(2,6,23,.74);
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.76);
  padding: 7px 9px;
  border-radius: 999px;
}

.prj-card[hidden]{ display:none !important; }

.prj-actions{ margin-top: 16px; }
.prj-call{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  text-decoration:none;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background:
    radial-gradient(120px 80px at 12% 25%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(135deg, rgba(255,210,74,.92), rgba(255,191,31,.92));
  padding: 14px 16px;
  box-shadow: 0 22px 70px rgba(255,191,31,.18);
  color: rgba(2,6,23,.92);
  font-weight: 950;
}

/* LIGHTBOX */
.lb[hidden]{ display:none; }
.lb{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display:grid;
  place-items: center;
}
.lb__backdrop{
  position:absolute; inset:0;
  background: rgba(2,6,23,.60);
  backdrop-filter: blur(4px);
}
.lb__panel{
  position: relative;
  width: min(980px, calc(100vw - 24px));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 120px rgba(0,0,0,.35);
  overflow:hidden;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
}
.lb__close{
  position:absolute;
  right: 10px;
  top: 10px;
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.90);
  cursor:pointer;
  font-size: 22px;
  font-weight: 900;
}
.lb__media{
  position: relative;
  background: #eee;
  min-height: 320px;
}
.lb__ph{
  position:absolute; inset:0;
  background:
    radial-gradient(420px 280px at 20% 20%, rgba(255,210,74,.22), transparent 60%),
    radial-gradient(420px 280px at 85% 18%, rgba(43,196,227,.14), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
}
.lb__body{
  padding: 16px;
  display:grid;
  align-content: start;
  gap: 10px;
  border-left: 1px solid rgba(15,23,42,.10);
}
.lb__title{ font-weight: 1000; font-size: 18px; letter-spacing: -0.01em; }
.lb__desc{ color: rgba(2,6,23,.70); font-weight: 650; line-height: 1.5; }
.lb__cta{
  margin-top: 6px;
  text-decoration:none;
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(120px 80px at 12% 18%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(135deg, rgba(255,210,74,.92), rgba(255,191,31,.92));
  padding: 12px 14px;
  font-weight: 1000;
  color: rgba(2,6,23,.92);
  width: fit-content;
}

/* CTA section (uses your existing cta-call styles if present; safe fallback) */
.section.cta-call{ padding: clamp(52px, 6vw, 88px) 0; }
.cta-shell{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.12);
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(255,210,74,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(43,196,227,.12), transparent 60%),
    rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.6vw, 24px);
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: center;
}
.cta-title{ margin:0 0 10px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 1000; letter-spacing: -0.02em; }
.cta-sub{ margin:0 0 12px; color: var(--muted); font-weight: 650; line-height: 1.45; }
.cta-points{ list-style:none; padding:0; margin:0; display:grid; gap: 10px; }
.cta-points li{ display:flex; gap: 10px; align-items:flex-start; font-weight: 800; color: rgba(2,6,23,.80); }
.cta-actions{ display:grid; gap: 12px; justify-items: start; }
.cta-btn{
  width: min(360px, 100%);
  text-decoration:none;
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(120px 80px at 12% 18%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(135deg, var(--y), var(--y2));
  box-shadow: 0 22px 70px rgba(255,191,31,.28);
  color: rgba(2,6,23,.92);
  font-weight: 1000;
  transition: transform .22s var(--ease);
}
.cta-btn:hover{ transform: translateY(-2px); }
.cta-btn-top{ display:block; font-size: 12px; letter-spacing: .10em; text-transform: uppercase; color: rgba(2,6,23,.75); }
.cta-btn-main{ display:block; font-size: 20px; line-height: 1.15; }
.cta-btn-sub{ display:block; font-size: 12px; color: rgba(2,6,23,.72); font-weight: 850; }
.cta-trust{ display:flex; flex-wrap: wrap; gap: 10px; }
.pill{
  display:inline-flex;
  align-items:center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.78);
  color: rgba(2,6,23,.80);
  font-weight: 900;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .prj-hero__wrap{ grid-template-columns: 1fr; }
  .prj-card{ grid-column: span 6; }
  .lb__panel{ grid-template-columns: 1fr; }
  .lb__body{ border-left: 0; border-top: 1px solid rgba(15,23,42,.10); }
  .cta-shell{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .prj-card{ grid-column: span 12; }
  .prj-stats{ grid-template-columns: 1fr; }
}