/* ============================================================
   CINTHIA SAMANIEGO — Portfolio
   Based on Figma design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --blue:       #1439D2;
  --blue-mid:   #16225D;
  --navy:       #0E0E19;
  --white:      #FEFFFF;
  --bg:         #FEFFFF;
  --bg-cool:    #F1F9FF;
  --bg-gray:    #F2F4F8;
  --text:       #0E0E19;
  --text-muted: #5A6180;
  --text-light: #8E96B0;
  --border:     #E3EAF4;

  --font: 'DM Sans', system-ui, sans-serif;

  --nav-h: 60px;
  --max-w: 1200px;
  --r: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  align-content: center;
  z-index: 100;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.nav.scrolled {
  background: rgba(254,255,255,.94);
  backdrop-filter: blur(12px);
  box-shadow: 9px 9px 9px var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: "Cinthia." — the dot is blue */
.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav__logo .dot { color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .18s;
}
.nav__links a:hover { color: var(--navy); }

.nav__cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background .18s, transform .18s !important;
}
.nav__cta:hover { background: #0f2ba8 !important; transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav__mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(254,255,255,.97);
  backdrop-filter: blur(12px);
  padding: 24px clamp(20px,5vw,56px);
  flex-direction: column; gap: 20px;
  border-bottom: 1px solid var(--border);
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.nav__mobile a:hover { color: var(--blue); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding: 80px 0 80px;
}

.hero__label {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.hero__label strong {
  font-weight: 600;
  color: var(--blue);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3em;
}
.hero__desc strong { font-weight: 700; color: var(--navy); }

/* Specialty chips row */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__chip svg { color: var(--text-light); flex-shrink: 0; }

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── IMAGE SIDE ───────────────────────────────────────────── */
.hero__img-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__img-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-cool);
  position: relative;
}
.hero__img-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero__avail {
  position: absolute;
  top: 16px; right: -8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}
.hero__avail-icon {
  width: 20px; height: 20px;
  background: var(--blue);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__avail-icon svg { color: #fff; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: all .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn--blue {
  background: var(--blue); color: #fff;
}
.btn--blue:hover {
  background: #0f2ba8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,57,210,.3);
}
.btn--ghost {
  background: none; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600;
  padding: 12px 0;
}
.btn--ghost:hover { color: var(--blue); }
.btn--ghost svg { transition: transform .2s; }
.btn--ghost:hover svg { transform: translateY(2px); }

.btn--outline {
  background: none;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}
.btn--outline:hover { background: var(--blue); color: #fff; }

/* ── SECTION LABEL (small blue tag) ──────────────────────── */
.section-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

/* ── SMART DESIGN SECTION ─────────────────────────────────── */
.smart { padding: 80px 0; background: var(--bg); }

.smart__header { margin-bottom: 48px; }
.smart__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.smart__title span { color: var(--blue); }
.smart__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.smart__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.smart__card {
  background: var(--bg);
  border-radius: var(--r);
  padding: 28px 24px;
  transform: translateY(-3px); box-shadow: 0 2px 8px rgba(20,57,210,.1);
  /* border: 1px solid var(--border);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);*/
}
.smart__card:hover { transform: translateY(-3px); box-shadow: 0 2px 8px rgba(20,57,210,.1); }

.smart__card-phase {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.smart__card-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(20,57,210,.12);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.smart__card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.smart__card-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── SKILLS SECTION ───────────────────────────────────────── */
.skills-section {
  background: var(--bg-cool);
  padding: 64px 0;
}
.skills-section__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.skills-section__title span { color: var(--blue); }
.skills-section__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.skill-item__icon {
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.skill-item:hover .skill-item__icon { box-shadow: 0 4px 12px rgba(20,57,210,.12); }
.skill-item__icon img { width: 28px; height: 28px; object-fit: contain; }
.skill-item__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about { padding: 80px 0; background: var(--bg); }

.about__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.about__photo {
  width: 320px; height: 260px;
  border-radius: 3%;
  overflow: hidden;
  background: var(--bg-cool);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__meta-row {
  display: flex;
  gap: 32px;
  margin-top: 20px;
}
.about__meta-item {}
.about__meta-key { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: 3px; }
.about__meta-val { font-size: 0.875rem; font-weight: 600; color: var(--navy); }

.about__content {}
.about__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.about__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 24px;
  margin-top: 24px
}
.tab-btn {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-light);
  padding: 10px 18px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
  background: none;
  border-radius: 0;
}
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-btn:hover { color: var(--navy); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: none; }
.tl-date { font-size: 0.72rem; font-weight: 700; color: var(--blue); padding-top: 3px; line-height: 1.5; }
.tl-role { font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.tl-company { font-size: 0.875rem; color: var(--text-muted); margin-top: 2px; }

/* Skills bars */
.skill-bars { display: flex; flex-direction: column; gap: 14px; }
.sb-row {
  display: grid;
  grid-template-columns: 130px 1fr 36px;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.sb-track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.sb-fill { height: 100%; background: var(--blue); border-radius: 2px; width: 0; transition: width 1s .3s var(--ease); }
.sb-pct { font-size: 0.72rem; font-weight: 700; color: var(--text-light); text-align: right; }

/* Edu */
.edu-list { display: flex; flex-direction: column; }
.edu-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.edu-item:last-child { border-bottom: none; }
.edu-year { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); margin-bottom: 3px; }
.edu-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.edu-school { font-size: 0.875rem; color: var(--text-muted); }

/* ── PORTFOLIO ────────────────────────────────────────────── */
.portfolio { padding: 80px 0; background: var(--bg); }

.portfolio__header { margin-bottom: 48px; }
.portfolio__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}
.portfolio__title2 {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}
.portfolio__title span { color: var(--blue); display: block; }

/* Filter pills */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: flex-end;
}
.filter {
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .18s;
}
.filter.active, .filter:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Project grid */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proj-card {
  background: var(--bg);

  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  transform: translateY(-3px); box-shadow: 0 2px 8px rgba(20,57,210,.1);
  /*transition: transform .22s var(--ease), box-shadow .22s var(--ease);*/
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(20,57,210,.12); }

.proj-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-cool);
}
.proj-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.proj-card:hover .proj-card__img img { transform: scale(1.04); }
.proj-card__img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
}

.proj-card__body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.proj-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
}
.proj-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.proj-card__link {
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: none;
  text-align: right;
  letter-spacing: 0;
  transition: gap .18s;
}
.proj-card:hover .proj-card__link { gap: 10px; }

/* ── COMPANIES ────────────────────────────────────────────── */
.companies { padding: 56px 0; }
.companies__label {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.companies__row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
  align-items: center;
  justify-content: center;
}
.companies__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .99;
  transition: filter .2s, opacity .2s;
}
.companies__logo:hover { filter: none; opacity: .9; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { padding: 80px 0; background: var(--bg); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.test-card {
  background: var(--bg);
  border-radius: var(--r);
  padding: 28px 24px;
  border: 0px solid var(--border);
}
.test-card__q {
  font-size: 3rem;
  line-height: .8;
  color: var(--blue);
  opacity: .3;
  margin-bottom: 12px;
  font-weight: 800;
}
.test-card__text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}
.test-card__name { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.test-card__role { font-size: 0.8125rem; color: var(--text-light); margin-top: 2px; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact { padding: 80px 0; background: var(--blue-mid); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.contact__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 36px;
  max-width: 380px;
}

.contact__links { display: flex; flex-direction: column; gap: 16px; }
.contact__link {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; color: rgba(255,255,255,.55);
  transition: color .18s;
}
.contact__link:hover { color: #fff; }
.contact__link svg { color: rgba(255,255,255,.35); flex-shrink: 0; transition: color .18s; }
.contact__link:hover svg { color: rgba(255,255,255,.7); }

/* Form */
.cform { display: flex; flex-direction: column; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform__group { display: flex; flex-direction: column; gap: 6px; }
.cform__label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.cform__input, .cform__select, .cform__textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: #fff;
  outline: none;
  transition: border-color .18s, background .18s;
  width: 100%;
}
.cform__input::placeholder, .cform__textarea::placeholder { color: rgba(255,255,255,.2); }
.cform__input:focus, .cform__select:focus, .cform__textarea:focus {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
}
.cform__select { cursor: pointer; }
.cform__select option { background: var(--blue-mid); color: #fff; }
.cform__textarea { resize: vertical; min-height: 110px; }
.cform__actions { display: flex; gap: 12px; margin-top: 4px; }
.cform__success { display: none; text-align: center; padding: 40px 20px; }
.cform__success h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cform__success p { color: rgba(255,255,255,.5); font-size: 0.9375rem; }

.btn--wa {
  background: var(--blue); color: #fff;
  font-size: 0.875rem; font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s, transform .18s;
}
.btn--wa:hover { background: #0f2ba8; transform: translateY(-1px); }

.btn--email {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 0.875rem; font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s;
}
.btn--email:hover { background: rgba(255,255,255,.18); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer__logo { font-size: 1.125rem; font-weight: 700; color: #fff; }
.footer__logo .dot { color: var(--blue); }
.footer__copy { font-size: 0.8125rem; color: rgba(255,255,255,.35); }
.footer__socials { display: flex; gap: 20px; }
.footer__soc { font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,.4); transition: color .18s; }
.footer__soc:hover { color: #fff; }

/* ── REVEAL ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── PROJECT DETAIL PAGE ──────────────────────────────────── */
.proj-hero {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 48px;
  background: var(--bg);
}
.proj-hero__nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px;
}
.proj-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: none;
  transition: color .18s;
}
.proj-back svg { transition: transform .18s; }
.proj-back:hover { color: var(--blue); }
.proj-back:hover svg { transform: translateX(-4px); }

/* Meta row at top of project */
.proj-meta-row {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}
.proj-meta-item {}
.proj-meta-key { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); margin-bottom: 4px; }
.proj-meta-val { font-size: 0.875rem; font-weight: 600; color: var(--navy); }

/* Two-column hero layout */
.proj-hero__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.proj-hero__left {}
.proj-hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.ptag {
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-cool);
  color: var(--blue);
  border: 1px solid var(--border);
}

.proj-hero__h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 12px;
}
.proj-hero__h1 span { color: var(--blue); display: block; }

.proj-hero__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.proj-hero__desc strong { color: var(--navy); font-weight: 700; }

.proj-hero__right {}
.proj-hero__cover-img {
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-cool);
}
.proj-hero__cover-img img { width: 100%; height: auto; display: block; }

/* Divider */
.proj-divider {
  height: 1px; background: var(--border);
  margin: 48px 0;
}

/* Project body */
.proj-body { padding-bottom: 80px; }
.proj-section { margin-bottom: 56px; }
.proj-section:last-child { margin-bottom: 0; }

.proj-section__title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
}
.proj-section__title span { color: var(--blue); }

.proj-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.proj-section p:last-child { margin-bottom: 0; }

.proj-section img {
  width: 100%; border-radius: var(--r-sm);
  margin: 20px 0;
}

.proj-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.proj-210col { display: grid; grid-template-columns: 1fr 3fr; gap: 20px; margin: 20px 0; }
.proj-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.proj-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }

.proj-caption { font-size: 0.8125rem; color: var(--text-light); text-align: center; margin-top: -12px; margin-bottom: 20px; }

/* Info box */
.ibox {
  background: var(--bg-cool);
  border-radius: var(--r-sm);
  padding: 24px;
  border: 1px solid var(--border);
}
.ibox__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
  margin-bottom: 10px;
}
.ibox ul { padding-left: 18px; list-style: disc; }
.ibox ul li { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); margin-bottom: 4px; }
.ibox p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); margin: 0; }

/* Results strip */
.results-strip {
  background: var(--blue-mid);
  border-radius: var(--r);
  padding: 40px;
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.results-strip--3 { grid-template-columns: repeat(3, 1fr); }
.results-strip--2 { grid-template-columns: repeat(2, 1fr); }
.res-item { text-align: center; }
.res-num {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.res-label { font-size: 0.875rem; color: rgba(255,255,255,.5); line-height: 1.4; }

/* Process steps row */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.process-step { }
.process-step__icon { font-size: 1.75rem; margin-bottom: 10px; }
.process-step__title { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.process-step__list { padding-left: 16px; list-style: disc; }
.process-step__list li { font-size: 0.8125rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 3px; }

/* Problem statements numbered */
.statements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.statement { }
.statement__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.statement__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.statement__text { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); }

/* Impact for users */
.impact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.impact-item { }
.impact-item__num { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.impact-item__title { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.impact-item__desc { font-size: 0.8125rem; line-height: 1.6; color: var(--text-muted); }

/* More projects */
.more-proj { background: var(--bg-cool); padding: 64px 0; }
.more-proj__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .smart__cards { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; }
  .proj-hero__cols { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .proj-4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; padding: 40px 0 60px; }
  .hero__img-side { order: -1; }
  .hero__img { width: auto;; height: auto; }
  .smart__cards { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .proj-2col { grid-template-columns: 1fr; }
  .proj-3col { grid-template-columns: 1fr; }
  .proj-4col { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .statements { grid-template-columns: 1fr; }
  .results-strip--3 { grid-template-columns: 1fr; }
  .impact-row { grid-template-columns: 1fr; }
  .more-proj__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .cform__actions { flex-direction: column; }
  .proj-meta-row { flex-wrap: wrap; gap: 20px; }
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* ── SECTION LABEL (small blue tag) ──────────────────────── */
.section-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

/* ── REVEAL ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── SKILL ITEM (tool badges) ─────────────────────────────── */
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.skill-item__icon {
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.skill-item:hover .skill-item__icon { box-shadow: 0 4px 12px rgba(20,57,210,.12); }
.skill-item__icon img { width: 28px; height: 28px; object-fit: contain; }
.skill-item__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ── TOOLKIT SECTION ─────────────────────────────────────── */
.toolkit {
  padding: 80px 0;
  background: var(--bg-gray);
}

.toolkit__header {
  margin-bottom: 48px;
}

.toolkit__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.toolkit__title span { color: var(--blue); }

.toolkit__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── DESKTOP: horizontal cards row ──────────────────────── */
.toolkit__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Arrow connector between cards (desktop only) */
.toolkit__arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 36px;
  color: var(--text-light);
}

/* ── TOOLKIT CARD ─────────────────────────────────────────── */
.tk-card {
  background: var(--bg);
  border-radius: var(--r);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  position: relative;
}
.tk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20,57,210,.10);
}

/* Colored top bar per phase */
.tk-card::before {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
}
.tk-card--discovery::before  { background: #7C6AF5; }
.tk-card--strategy::before   { background: #2EBA7A; }
.tk-card--design::before     { background: #1439D2; }
.tk-card--delivery::before   { background: #F59B00; }

.tk-card__body {
  padding: 24px;
}

/* Icon circle */
.tk-card__icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tk-card--discovery  .tk-card__icon-wrap { background: rgba(124,106,245,.12); }
.tk-card--strategy   .tk-card__icon-wrap { background: rgba(46,186,122,.12); }
.tk-card--design     .tk-card__icon-wrap { background: rgba(20,57,210,.10); }
.tk-card--delivery   .tk-card__icon-wrap { background: rgba(245,155,0,.12); }

.tk-card__icon {
  width: 26px; height: 26px;
}
.tk-card--discovery  .tk-card__icon { color: #7C6AF5; }
.tk-card--strategy   .tk-card__icon { color: #2EBA7A; }
.tk-card--design     .tk-card__icon { color: #1439D2; }
.tk-card--delivery   .tk-card__icon { color: #F59B00; }

.tk-card__step {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.tk-card--discovery  .tk-card__step { color: #7C6AF5; }
.tk-card--strategy   .tk-card__step { color: #2EBA7A; }
.tk-card--design     .tk-card__step { color: #1439D2; }
.tk-card--delivery   .tk-card__step { color: #F59B00; }

.tk-card__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.tk-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Divider */
.tk-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

/* Tool badges grid */
.tk-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tk-tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .18s, box-shadow .18s;
  cursor: default;
}
.tk-tool:hover {
  border-color: #c4d0f0;
  box-shadow: 0 2px 8px rgba(20,57,210,.08);
}
.tk-tool img {
  width: 18px; height: 18px;
  object-fit: contain;
  border-radius: 3px;
}

/* ── MOBILE ACCORDION ─────────────────────────────────────── */
.toolkit__accordion {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.acc-item {
  background: var(--bg);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.acc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  background: none;
  width: 100%;
  text-align: left;
  border: none;
  font-family: var(--font);
}

.acc-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.acc-item--discovery  .acc-icon-wrap { background: rgba(124,106,245,.12); }
.acc-item--strategy   .acc-icon-wrap { background: rgba(46,186,122,.12); }
.acc-item--design     .acc-icon-wrap { background: rgba(20,57,210,.10); }
.acc-item--delivery   .acc-icon-wrap { background: rgba(245,155,0,.12); }

.acc-icon { width: 20px; height: 20px; }
.acc-item--discovery  .acc-icon { color: #7C6AF5; }
.acc-item--strategy   .acc-icon { color: #2EBA7A; }
.acc-item--design     .acc-icon { color: #1439D2; }
.acc-item--delivery   .acc-icon { color: #F59B00; }

.acc-header-text {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.acc-chevron {
  width: 20px; height: 20px;
  color: var(--text-light);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}
.acc-item.open .acc-chevron { transform: rotate(180deg); }

.acc-body {
  display: none;
  padding: 0 18px 20px;
}
.acc-item.open .acc-body { display: block; }

.acc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.acc-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.acc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .toolkit__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .toolkit__grid { display: none; }
  .toolkit__accordion { display: flex; }
}
