/* Platform-development pages (home + Kasuly case study). Builds on site.css tokens. */

/* ===== Buttons ===== */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  padding: 0.95rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-call:hover { background: var(--color-accent-hover); color: var(--color-white); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border: 1.5px solid var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--color-primary); color: var(--color-white); }
.section-dark .btn-ghost { color: var(--color-white); border-color: rgba(255,255,255,0.5); }
.section-dark .btn-ghost:hover { background: var(--color-white); color: var(--color-primary); }

/* ===== Home hero ===== */
.p-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(230,57,70,0.07), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--color-light) 100%);
  padding: 72px 0 40px;
}
.p-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin: 0.75rem 0 1.25rem;
}
.p-hero h1 .accent { color: var(--color-accent); }
.p-hero .lead-text {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.p-hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.p-hero .proof {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.p-hero .proof img { width: 26px; height: 26px; }
.p-hero .proof strong { color: var(--color-primary); font-weight: 600; }

/* Three app screens, fanned */
.phone-fan {
  position: relative;
  height: 560px;
  max-width: 560px;
  margin: 0 auto;
}
.phone-fan img {
  position: absolute;
  top: 40px;
  width: 46%;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(26,26,46,0.22), 0 4px 12px rgba(26,26,46,0.08);
  background: #fff;
}
.phone-fan img:nth-child(1) { left: 0; transform: rotate(-7deg) translateY(30px); z-index: 1; }
.phone-fan img:nth-child(2) { left: 27%; top: 0; z-index: 3; }
.phone-fan img:nth-child(3) { right: 0; transform: rotate(7deg) translateY(30px); z-index: 2; }

@media (max-width: 991px) {
  .p-hero { padding-top: 48px; }
  .phone-fan { height: 420px; max-width: 420px; margin-top: 2.5rem; }
}
@media (max-width: 480px) {
  .phone-fan { height: 340px; }
}

/* ===== What we build ===== */
.build-card {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 2rem;
  transition: var(--transition);
}
.build-card:hover { border-color: rgba(230,57,70,0.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.build-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(230,57,70,0.08);
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.build-card h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.build-card p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }
.build-card .in-kasuly {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f9d58;
  background: #ddf3e5;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

/* ===== Kasuly feature (dark) ===== */
.kasuly-feature { position: relative; overflow: hidden; }
.kasuly-feature .brand-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.kasuly-feature .brand-row img { width: 44px; height: 44px; }
.kasuly-feature .brand-row span { font-family: var(--font-heading); font-size: 1.6rem; color: #fff; font-weight: 600; }
.kasuly-feature h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.kasuly-feature p.lead-text { color: rgba(255,255,255,0.72); font-size: 1.08rem; margin: 1.25rem 0 1.75rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; color: rgba(255,255,255,0.88); }
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 0.1rem;
  color: var(--color-accent);
  font-size: 0.85rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 4rem;
}
.facts div { background: var(--color-primary); padding: 1.5rem 1.25rem; }
.facts strong { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 500; color: #fff; line-height: 1.1; }
.facts span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
@media (max-width: 767px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Browser window frame around a website screenshot */
.browser {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.browser .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #eef0f3;
}
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d7dd; display: block; }
.browser .bar span {
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: #6b7280;
}
.browser img { display: block; width: 100%; }

.stack-visual { position: relative; padding-bottom: 60px; }
.stack-visual .phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 26%;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
@media (max-width: 991px) { .stack-visual { margin-top: 3rem; } }

/* ===== How we work ===== */
.steps { counter-reset: step; }
.step {
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem;
  border-top: 2px solid var(--color-border);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.step:hover { border-top-color: var(--color-accent); }
.step h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.step p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }

/* ===== Call band ===== */
.call-band {
  background: var(--color-primary);
  border-radius: 20px;
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.call-band::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,57,70,0.35), transparent 65%);
}
.call-band h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
.call-band p { color: rgba(255,255,255,0.7); margin: 0; max-width: 36rem; }
.call-band .btn-call { position: relative; z-index: 1; }
@media (max-width: 575px) { .call-band { padding: 2.25rem 1.5rem; } }

/* ===== Case study ===== */
.case-hero {
  background: var(--color-primary);
  padding: 80px 0 0;
  overflow: hidden;
}
.case-hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0.75rem 0 1.25rem; }
.case-hero p { color: rgba(255,255,255,0.72); font-size: 1.15rem; max-width: 40rem; }
.case-hero .links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 3.5rem; }
.case-hero .links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 0.5rem 1.1rem;
  transition: var(--transition);
}
.case-hero .links a:hover { background: rgba(255,255,255,0.1); }
.case-hero .links .soon { opacity: 0.6; pointer-events: none; }

.screens {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0 0 3rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.screens img {
  flex: 0 0 auto;
  width: 230px;
  border-radius: 22px;
  scroll-snap-align: start;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.case-meta h6 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; margin-bottom: 0.4rem; }
.case-meta p { color: var(--color-primary); margin: 0; font-size: 0.98rem; }
@media (max-width: 767px) { .case-meta { grid-template-columns: repeat(2, 1fr); } }

.big-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.big-quote .accent { color: var(--color-accent); }

.tech-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-pills span {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.88rem;
  color: var(--color-primary);
  background: #fff;
}

/* ===== Contact: book a call ===== */
.book-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}
.book-card h3 { font-size: 1.35rem; color: var(--color-primary); margin-bottom: 0.4rem; }
.book-card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* Left-aligned section intros (site.css centres the subtitle) */
.row:not(.justify-content-center) .section-subtitle { margin-left: 0; margin-right: 0; }
.row.mb-5 .section-subtitle { margin-bottom: 0; }

/* ===== People (no photos) ===== */
.person {
  height: 100%;
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition);
}
.person:hover { box-shadow: var(--shadow-md); border-color: rgba(230,57,70,0.3); }
.person-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.person h3 { font-size: 1.6rem; color: var(--color-primary); letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.person .role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.person p { color: var(--color-muted); font-size: 0.95rem; }
.person a { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.person a:hover { color: var(--color-accent); }

/* ===== Phone frame for plain app screenshots ===== */
.device {
  flex: 0 0 auto;
  width: 230px;
  padding: 9px;
  background: #111;
  border-radius: 36px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.35), inset 0 0 0 2px #2b2b2b;
  scroll-snap-align: start;
}
.device img { display: block; width: 100%; border-radius: 28px; }
.screens .device img { box-shadow: none; width: 100%; border-radius: 28px; }

/* Brand accent for client case studies (set per page) */
.case-hero.ukku .section-label { color: #FF8A1F; }
.ukku-mark { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.ukku-mark img { width: 52px; height: 52px; border-radius: 14px; background: #fff; padding: 6px; }

/* ===== Work cards ===== */
.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.work-card .visual {
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  padding-top: 28px;
}
.work-card .visual img {
  width: 34%;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  transform: translateY(24px);
}
.work-card .visual.kasuly { background: linear-gradient(160deg, #dff3e6, #b9e6c9); }
.work-card .visual.ukku { background: linear-gradient(160deg, #ffe7d1, #ffc58f); }
.work-card .visual.ukku img { border: 6px solid #111; border-bottom: 0; border-radius: 22px 22px 0 0; }
.work-card .body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.work-card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }
.work-card h3 { font-size: 1.6rem; color: var(--color-primary); margin: 0.35rem 0 0.5rem; }
.work-card p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.work-card .more { margin-top: auto; font-weight: 600; color: var(--color-primary); font-size: 0.92rem; }
.work-card:hover .more { color: var(--color-accent); }

.work-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}
.work-row:last-child { border-bottom: 1px solid var(--color-border); }
.work-row .name { flex: 0 0 220px; }
.work-row .name h3 { font-size: 1.5rem; color: var(--color-primary); margin: 0.25rem 0 0; }
.work-row .desc { flex: 1; color: var(--color-muted); }
.work-row .desc p { margin-bottom: 0.75rem; }
.work-row .link { flex: 0 0 auto; font-weight: 600; color: var(--color-primary); text-decoration: none; white-space: nowrap; }
.work-row .link:hover { color: var(--color-accent); }
@media (max-width: 767px) {
  .work-row { flex-direction: column; gap: 0.75rem; }
  .work-row .name { flex: none; }
}

/* ===== Footer ===== */
.site-footer .foot-links a { margin: 0 0.6rem; }
.site-footer .foot-social a { margin-left: 0.75rem; font-size: 1.05rem; }
.work-card .visual.magcite { background: linear-gradient(160deg, #0b0b0f, #1d2b1f); align-items: flex-end; padding: 28px 28px 0; }
.work-card .visual.magcite img.wide { width: 100%; border-radius: 10px 10px 0 0; transform: none; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }

/* ===== Navbar: Book a call (premium pill) ===== */
.site-navbar .btn-nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.62rem 0.7rem 0.62rem 1.3rem !important;
  font-weight: 600;
  font-size: 0.9rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(26,26,46,0.18);
  transition: all 0.25s ease;
}
.site-navbar .btn-nav-cta i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}
.site-navbar .btn-nav-cta:hover {
  background: #11111f !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(26,26,46,0.25);
}
.site-navbar .btn-nav-cta:hover i { transform: translateX(3px); }
.site-navbar .btn-nav-cta::after { display: none !important; }

/* ===== Footer ===== */
.site-footer { padding: 4.5rem 0 0; font-size: 0.92rem; }
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.foot-brand img { height: 120px; width: auto; filter: invert(1); mix-blend-mode: screen; margin: -30px 0 0 -22px; }
.foot-brand p { color: rgba(255,255,255,0.6); max-width: 22rem; margin-bottom: 1rem; }
.site-footer .foot-mail { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; }
.foot-col h6 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.foot-col a { display: block; margin-bottom: 0.6rem; }
.site-footer .foot-call { color: #fff; font-weight: 600; }
.site-footer .foot-call i { color: var(--color-accent); margin-left: 0.35rem; transition: transform 0.2s ease; }
.site-footer .foot-call:hover i { transform: translateX(3px); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.foot-social a { margin-left: 1rem; font-size: 1.1rem; }
@media (max-width: 991px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 575px) { .foot-top { grid-template-columns: 1fr; } .foot-social a { margin: 0 1rem 0 0; } }

/* ===== Taddy: map illustration ===== */
.map-demo {
  display: grid;
  grid-template-columns: 1fr 300px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}
.map-canvas { position: relative; min-height: 380px; }
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-canvas .pin {
  position: absolute;
  transform: translate(-50%, -100%);
  background: #fff;
  color: var(--color-primary);
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.map-canvas .pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom: 0;
  border-top-color: #fff;
}
.map-canvas .pin b { font-weight: 700; margin-right: 2px; }
.map-canvas .pin.hot { background: var(--color-accent); color: #fff; }
.map-canvas .pin.hot::after { border-top-color: var(--color-accent); }
.map-canvas .pin em { font-style: normal; font-weight: 700; margin-left: 6px; background: rgba(255,255,255,0.2); border-radius: 4px; padding: 0 4px; }
.map-canvas .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); border: 2px solid #fff; transform: translate(-50%, -50%); }
.campaign-panel { background: #fff; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.campaign-panel .panel-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-primary); margin-bottom: 0.25rem; }
.campaign-panel .row-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.7rem; border: 1px solid var(--color-border); border-radius: 10px; }
.campaign-panel .row-item i { color: var(--color-accent); margin-top: 3px; width: 18px; text-align: center; }
.campaign-panel .row-item strong { display: block; font-size: 0.85rem; color: var(--color-primary); font-weight: 600; }
.campaign-panel .row-item span { font-size: 0.78rem; color: var(--color-muted); }
.campaign-panel .panel-total { display: flex; justify-content: space-between; margin-top: auto; padding-top: 0.5rem; color: var(--color-primary); }
.campaign-panel .panel-btn { background: var(--color-accent); color: #fff; text-align: center; border-radius: 8px; padding: 0.6rem; font-weight: 600; font-size: 0.9rem; }
.map-note { font-size: 0.78rem; color: rgba(255,255,255,0.4) !important; margin: 0.75rem 0 3rem; }
@media (max-width: 767px) { .map-demo { grid-template-columns: 1fr; } .map-canvas { min-height: 300px; } }

/* Client logo badge (case studies) */
.client-badge { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; background: #fff; border-radius: 12px; padding: 0.5rem 1rem 0.5rem 0.5rem; }
.client-badge img { width: 40px; height: 40px; border-radius: 6px; }
.client-badge strong { display: block; color: #101010; letter-spacing: 0.32em; font-size: 0.95rem; font-weight: 600; line-height: 1.1; }
.client-badge small { display: block; color: #6b6b6b; letter-spacing: 0.22em; font-size: 0.6rem; text-transform: uppercase; }

/* ===== Chakir: finance dashboard illustration ===== */
.fin-demo { background: #f4f6f9; border-radius: 18px; padding: 1.25rem; box-shadow: 0 30px 70px rgba(0,0,0,0.4); }
.fin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.fin-cards div { background: #fff; border-radius: 12px; padding: 1rem 1.1rem; }
.fin-cards span { display: block; font-size: 0.75rem; color: var(--color-muted); }
.fin-cards strong { display: block; font-size: 1.3rem; color: var(--color-primary); font-weight: 700; margin: 0.15rem 0; }
.fin-cards em { font-style: normal; font-size: 0.72rem; color: var(--color-muted); }
.fin-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.9rem; margin-top: 0.9rem; }
.fin-chart, .fin-table { background: #fff; border-radius: 12px; padding: 1.1rem; }
.fin-title { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.9rem; }
.bars { display: flex; align-items: flex-end; gap: 1rem; height: 170px; padding-bottom: 20px; position: relative; }
.bars div { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; position: relative; }
.bars i, .bars b { display: block; width: 40%; border-radius: 4px 4px 0 0; }
.bars i { background: var(--color-primary); }
.bars b { background: var(--color-accent); }
.bars span { position: absolute; bottom: -20px; font-size: 0.7rem; color: var(--color-muted); }
.legend { display: flex; gap: 1rem; font-size: 0.72rem; color: var(--color-muted); margin-top: 1.2rem; }
.legend i, .legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.legend i { background: var(--color-primary); } .legend b { background: var(--color-accent); }
.fin-table .tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 0.55rem 0; border-top: 1px solid var(--color-border); font-size: 0.82rem; color: var(--color-primary); }
.fin-table .tr span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.fin-table .th { border-top: 0; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); }
@media (max-width: 991px) { .fin-cards { grid-template-columns: repeat(2, 1fr); } .fin-body { grid-template-columns: 1fr; } }

/* ===== Footer origami: a sheet folds into the avidaTECH bird ===== */
.origami-wrap { margin-top: 1.75rem; }
.origami { width: 150px; height: auto; display: block; overflow: visible; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35)); }
.origami polygon { stroke: rgba(26,26,46,0.25); stroke-width: 0.4; stroke-linejoin: round; }
.origami .crease { stroke: var(--color-accent); stroke-width: 0.9; stroke-dasharray: 3 2.5; opacity: 0; }
.origami-wrap span { display: block; margin-top: 0.9rem; font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ===== What we do ===== */
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}
.service-row:last-child { border-bottom: 1px solid var(--color-border); }
.service-row .num { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--color-accent); padding-top: 0.6rem; }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--color-primary); letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.service-row p { color: var(--color-muted); font-size: 1.02rem; margin: 0; max-width: 40rem; }
.service-row .proof { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 0.6rem; }
.service-row .proof span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.service-row .proof a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.service-row .proof a i { font-size: 0.75rem; color: var(--color-accent); margin-left: 0.25rem; transition: transform 0.2s ease; }
.service-row .proof a:hover { color: var(--color-accent); }
.service-row .proof a:hover i { transform: translateX(3px); }
@media (max-width: 767px) {
  .service-row { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem 0; }
  .service-row .num, .service-row .proof { padding-top: 0; }
}

.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.promises div { padding: 1.75rem; border-radius: 14px; background: var(--color-primary); color: rgba(255,255,255,0.7); }
.promises i { color: var(--color-accent); font-size: 1.2rem; margin-bottom: 1rem; display: block; }
.promises strong { display: block; color: #fff; font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; margin-bottom: 0.35rem; }
.promises span { font-size: 0.9rem; }
@media (max-width: 991px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .promises { grid-template-columns: 1fr; } }

.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.tech-groups h6 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.8rem; }
@media (max-width: 991px) { .tech-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .tech-groups { grid-template-columns: 1fr; } }

/* Home: strip of extra services */
.more-services { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: -2rem; }
.more-services span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); margin-right: 0.4rem; }
.more-services a { border: 1px solid var(--color-border); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.9rem; font-weight: 500; color: var(--color-primary); text-decoration: none; transition: var(--transition); }
.more-services a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ===== What we do: bento grid ===== */
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.hero-chips a { color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 500; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 0.4rem 0.95rem; transition: var(--transition); }
.hero-chips a:hover { background: var(--color-accent); border-color: var(--color-accent); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; } .span-12 { grid-column: span 12; }
@media (max-width: 991px) { .span-4, .span-5, .span-7 { grid-column: span 6; } }
@media (max-width: 767px) { .bento > .tile { grid-column: span 12; } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 2rem;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  overflow: hidden;
  min-height: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(26,26,46,0.12); }
.tile-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }
.tile h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; color: var(--color-primary); margin: 0.6rem 0 0.5rem; line-height: 1.12; }
.tile p { color: var(--color-muted); font-size: 0.97rem; max-width: 32rem; margin-bottom: 1.25rem; }
.tile-proof { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.25rem; position: relative; z-index: 2; }
.tile-proof a { font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--color-primary); background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 0.35rem 0.9rem; transition: var(--transition); }
.tile-proof a::after { content: " \2192"; color: var(--color-accent); }
.tile-proof a:hover { border-color: var(--color-accent); }

.tile-dark { background: var(--color-primary); border-color: transparent; }
.tile-dark h2 { color: #fff; } .tile-dark p { color: rgba(255,255,255,0.65); }
.tile-dark .tile-proof a { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
.tile-accent { background: linear-gradient(150deg, #e63946, #b3172a); border-color: transparent; }
.tile-accent .tile-label { color: rgba(255,255,255,0.8); }
.tile-accent h2 { color: #fff; } .tile-accent p { color: rgba(255,255,255,0.82); }
.tile-accent .tile-proof a { background: #fff; color: #b3172a; border-color: transparent; }
.tile-accent .tile-proof a::after { color: #b3172a; }

/* MVP timeline */
.vis-timeline { display: flex; align-items: center; margin: 0.75rem 0 0.5rem; max-width: 520px; }
.vis-timeline .tl-step { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; color: rgba(255,255,255,0.75); font-size: 0.82rem; font-weight: 600; }
.vis-timeline .tl-step i { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: #fff; font-size: 1.15rem; }
.vis-timeline .tl-step.now i { background: var(--color-accent); box-shadow: 0 0 0 6px rgba(230,57,70,0.2); }
.vis-timeline .line { flex: 1; height: 2px; margin: 0 0.5rem 1.6rem; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 6px, transparent 6px 12px); }

/* Mobile phones */
.tile-mobile { background: linear-gradient(160deg, #eef7f1, #f6f1ea); }
.vis-phones { position: absolute; right: -10px; bottom: -70px; display: flex; gap: 12px; transform: rotate(-6deg); }
.vis-phones img { width: 130px; border-radius: 18px; box-shadow: 0 20px 40px rgba(26,26,46,0.25); }
.vis-phones img.framed { border: 5px solid #111; border-radius: 22px; margin-top: 30px; }
.tile-mobile p, .tile-mobile h2 { max-width: 55%; }
@media (max-width: 575px) { .vis-phones { display: none; } .tile-mobile p, .tile-mobile h2 { max-width: none; } }

/* AI code review */
.vis-code { background: rgba(0,0,0,0.25); border-radius: 12px; padding: 1rem 1.1rem; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 0.78rem; color: #fff; line-height: 1.7; }
.vis-code b { color: #ffd2d6; font-weight: 600; } .vis-code em { color: #ffe7a8; font-style: normal; }
.vis-code .flag { color: #fff; background: rgba(0,0,0,0.3); border-left: 3px solid #fff; padding: 0 0.5rem; margin: 0.15rem 0 0.5rem; font-family: var(--font-family); font-size: 0.78rem; }
.vis-code .verdict { display: flex; gap: 0.4rem; margin-top: 0.75rem; font-family: var(--font-family); }
.vis-code .verdict span { border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); }
.vis-code .verdict .on { background: #fff; color: #b3172a; }

/* API nodes */
.vis-nodes { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; gap: 0.9rem 2.5rem; align-items: center; max-width: 560px; margin: 0.5rem 0; position: relative; }
.vis-nodes .node { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.88rem; font-weight: 600; color: var(--color-primary); position: relative; }
.vis-nodes .node i { color: var(--color-accent); width: 18px; text-align: center; }
.vis-nodes .hub { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; width: 96px; height: 96px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 700; font-size: 0.85rem; box-shadow: 0 0 0 10px rgba(26,26,46,0.06), 0 0 0 20px rgba(26,26,46,0.03); }
.vis-nodes .hub i { color: var(--color-accent); font-size: 1.2rem; }
.vis-nodes .node:nth-child(1) { grid-column: 1; grid-row: 1; } .vis-nodes .node:nth-child(2) { grid-column: 1; grid-row: 2; }
.vis-nodes .node:nth-child(4) { grid-column: 3; grid-row: 1; } .vis-nodes .node:nth-child(5) { grid-column: 3; grid-row: 2; }
.vis-nodes .node:nth-child(1)::after, .vis-nodes .node:nth-child(2)::after { content: ""; position: absolute; right: -2.5rem; top: 50%; width: 2.5rem; border-top: 2px dashed rgba(230,57,70,0.5); }
.vis-nodes .node:nth-child(4)::before, .vis-nodes .node:nth-child(5)::before { content: ""; position: absolute; left: -2.5rem; top: 50%; width: 2.5rem; border-top: 2px dashed rgba(230,57,70,0.5); }

/* Avatars */
.vis-avatars { display: flex; flex-wrap: wrap; align-items: center; }
.vis-avatars span { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: #fff; background: var(--color-primary); border: 3px solid var(--color-light); margin-left: -12px; }
.vis-avatars span:first-child { margin-left: 0; background: #e63946; }
.vis-avatars span:nth-child(2) { background: #2b3a67; } .vis-avatars span:nth-child(3) { background: #4a4e69; } .vis-avatars span:nth-child(4) { background: #0f9d58; }
.vis-avatars span:nth-child(5) { background: #fff; color: var(--color-primary); border-color: var(--color-border); }
.vis-avatars em { flex-basis: 100%; font-style: normal; font-size: 0.78rem; color: var(--color-muted); margin-top: 0.75rem; }

/* Baltic map */
.vis-map { position: relative; height: 130px; border-radius: 14px; background:
  radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 40%),
  repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 18px),
  repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 18px); }
.vis-map .pin { position: absolute; display: flex; align-items: center; gap: 0.4rem; color: #fff; font-size: 0.8rem; font-weight: 600; }
.vis-map .pin b { width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 5px rgba(230,57,70,0.25); }
.vis-map .p-ee { left: 46%; top: 12%; } .vis-map .p-lv { left: 38%; top: 44%; } .vis-map .p-lt { left: 30%; top: 74%; }
.vis-map .plane { position: absolute; right: 8%; top: 18%; font-size: 0.75rem; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); border-radius: 999px; padding: 0.25rem 0.7rem; }
.vis-map .plane i { color: var(--color-accent); }

/* QA checklist */
.vis-checks { display: flex; flex-direction: column; gap: 0.45rem; }
.vis-checks div { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; padding: 0.5rem 0.75rem; font-size: 0.85rem; color: var(--color-primary); }
.vis-checks i { width: 20px; text-align: center; margin-right: 0.35rem; }
.vis-checks .ok i { color: #0f9d58; }
.vis-checks .bug { border-color: rgba(230,57,70,0.45); background: #fff5f6; }
.vis-checks .bug i { color: var(--color-accent); }

/* Rewrites */
.tile-wide { flex-direction: row; align-items: center; gap: 2.5rem; min-height: 0; background: linear-gradient(120deg, var(--color-light), #fff); }
.tile-wide .wide-text { flex: 1; display: flex; flex-direction: column; }
.vis-migrate { flex: 1.1; display: flex; align-items: center; gap: 1rem; }
.vis-migrate > div:not(.arrow) { flex: 1; border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; }
.vis-migrate i { font-size: 1.4rem; }
.vis-migrate strong { font-size: 1.05rem; }
.vis-migrate span { font-size: 0.8rem; }
.vis-migrate .old { background: #e9eaee; color: #6b7280; border: 1px dashed #b8bcc6; }
.vis-migrate .old strong { color: #4b5563; text-decoration: line-through; text-decoration-color: rgba(230,57,70,0.6); }
.vis-migrate .new { background: var(--color-primary); color: rgba(255,255,255,0.7); box-shadow: 0 18px 40px rgba(26,26,46,0.25); }
.vis-migrate .new strong { color: #fff; } .vis-migrate .new i { color: var(--color-accent); }
.vis-migrate .arrow { font-size: 1.8rem; color: var(--color-accent); }
@media (max-width: 991px) { .tile-wide { flex-direction: column; align-items: stretch; } }
@media (max-width: 575px) { .vis-migrate { flex-direction: column; } .vis-migrate .arrow { transform: rotate(90deg); } }

/* ===== Typography: Satoshi + Instrument Serif accents ===== */
:root {
  --font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
}
body { font-family: var(--font-family); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .section-title, .project-logo-text {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.p-hero h1, .case-hero h1, .page-hero h1 { font-weight: 500; letter-spacing: -0.045em; }
.section-title { letter-spacing: -0.035em; }
/* Editorial accent: one serif italic word or phrase */
.p-hero h1 .accent,
.big-quote .accent,
.serif-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.p-hero h1 .accent { font-size: 1.08em; }
.big-quote { font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.025em; }
.big-quote .accent { font-size: 1.12em; line-height: 1; }
.facts strong, .person h3, .work-card h3, .tile h2, .service-row h2 { font-weight: 500; }
.promises strong { font-weight: 500; }

/* ===== Editorial pass: less template, more studio ===== */

/* Work cards: show the TOP of each screen (header, banner), not a cut-off middle */
.work-card .visual { align-items: flex-start; padding-top: 30px; height: 280px; }
.work-card .visual img { transform: none; border-radius: 18px; }
.work-card .visual.ukku img { border: 6px solid #111; border-radius: 26px; width: 36%; }
.work-card .visual.ukku img:last-child { margin-top: 34px; }
.work-card .visual.kasuly img:last-child { margin-top: 34px; }

/* Section eyebrows: serif italic instead of the tracked uppercase label */
.section .section-label,
.section-dark .section-label {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.25rem;
  color: var(--color-accent);
}
.serif-accent { color: var(--color-accent); }
.section-title .serif-accent { font-size: 1.1em; }

/* Feature cards become a numbered editorial list: no icon squares, no boxes */
.row.g-4 { counter-reset: bc; }
.build-card {
  background: none;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding: 1.5rem 0 0;
  box-shadow: none !important;
  transform: none !important;
}
.section-light .build-card { border-top-color: #dfe3ea; }
.build-card .icon { display: none; }
.build-card::before {
  counter-increment: bc;
  content: counter(bc, decimal-leading-zero);
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.build-card:hover { border-top-color: var(--color-accent); }
.build-card h3 { font-size: 1.35rem; }

/* Closing calls: an open editorial line, not a glowing dark box */
.call-band {
  background: none;
  border-radius: 0;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 0;
}
.call-band::after { display: none; }
.call-band h2 { color: var(--color-primary); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; }
.call-band p { color: var(--color-muted); }

/* Home: showcase */
.build-showcase .showcase-sticky { position: sticky; top: 140px; }
.showcase-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.showcase-note { color: var(--color-muted); margin: 1rem 0 2rem; max-width: 26rem; }
.showcase-phone img { width: 62%; max-width: 280px; border-radius: 28px; box-shadow: 0 30px 60px rgba(26,26,46,0.18); transform: rotate(-4deg); }
.cap-list { list-style: none; counter-reset: cap; padding: 0; margin: 0; }
.cap-list li { counter-increment: cap; display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--color-border); }
.cap-list li:last-child { border-bottom: 1px solid var(--color-border); }
.cap-list li::before { content: counter(cap, decimal-leading-zero); grid-row: span 2; font-family: var(--font-accent); font-style: italic; font-size: 1.9rem; color: var(--color-accent); line-height: 1; }
.cap-list h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--color-primary); margin: 0 0 0.35rem; }
.cap-list p { color: var(--color-muted); margin: 0; max-width: 34rem; }
@media (max-width: 991px) { .build-showcase .showcase-sticky { position: static; } .showcase-phone { display: none; } }

/* Home: closing line */
.closing { padding-top: 40px; }
.closing-kicker { font-family: var(--font-accent); font-style: italic; color: var(--color-accent); font-size: 1.4rem; margin-bottom: 0.25rem; }
.closing-line { font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -0.05em; color: var(--color-primary); margin-bottom: 2rem; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.closing-actions span { color: var(--color-muted); max-width: 26rem; }
.more-services { margin-top: 0; }
.row.g-4.steps { counter-reset: step; }
.step::before { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.5rem; }
.step { padding: 1.5rem 0 0; }
/* Work cards grow to the row height: the picture fills the space, no empty gap */
.work-card .visual { flex: 1 0 280px; height: auto; min-height: 280px; }
.work-card .body { flex: 0 0 auto; }

/* Illustrated team portraits */
.person-avatar { width: 120px; height: 120px; display: block; margin-bottom: 1.5rem; border-radius: 50%; transition: transform 0.3s ease; }
.person:hover .person-avatar { transform: rotate(-4deg) scale(1.04); }

/* Team: duotone photo by default (all three match), full colour on hover */
.person-pic { position: relative; display: block; width: 120px; height: 120px; margin-bottom: 1.5rem; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 24px rgba(26,26,46,0.12); }
.person-pic img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: opacity 0.5s ease, transform 0.6s ease; }
.person-pic .pic-color { opacity: 0; }
.person:hover .person-pic img, .person:focus-within .person-pic img { transform: scale(1.06); }
.person:hover .pic-color, .person:focus-within .pic-color { opacity: 1; }
.person-avatar { display: none; }

/* Careers: the crew (illustrated portraits) */
.crew-section { padding-bottom: 0; }
.crew { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.crew-faces { display: flex; align-items: center; }
.crew-faces img, .crew-you { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(26,26,46,0.12); margin-left: -18px; transition: transform 0.3s ease; }
.crew-faces img:first-child { margin-left: 0; }
.crew-faces img:hover { transform: translateY(-6px) rotate(-4deg); }
.crew-you { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px dashed var(--color-accent); color: var(--color-accent); font-family: var(--font-accent); font-style: italic; font-size: 1.35rem; box-shadow: none; }
.crew-text { flex: 1; min-width: 260px; }
.crew-text .section-title { margin-bottom: 0.5rem; }
.crew-text p { color: var(--color-muted); margin: 0; max-width: 34rem; }

/* ===== Mobile menu: visible hamburger that turns into an X ===== */
.site-toggler {
  width: 46px; height: 46px; padding: 0; border: 0 !important; border-radius: 50%;
  background: var(--color-primary); display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; box-shadow: none !important;
}
.site-toggler:focus { box-shadow: 0 0 0 3px rgba(230,57,70,0.3) !important; }
.site-toggler span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.2s ease; }
.site-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .site-navbar .navbar-brand img { height: 72px; }
  .site-navbar .navbar-collapse { padding: 0.5rem 0 1.25rem; }
  .site-navbar .navbar-nav { align-items: stretch !important; gap: 0 !important; }
  .site-navbar .nav-item { border-bottom: 1px solid var(--color-border); }
  .site-navbar .nav-item:last-child { border-bottom: 0; margin: 1rem 0 0 !important; }
  .site-navbar .nav-link { font-size: 1.15rem !important; padding: 0.95rem 0.25rem !important; }
  .site-navbar .nav-link::after { display: none; }
  .site-navbar .btn-nav-cta { justify-content: space-between; width: 100%; padding: 0.85rem 0.85rem 0.85rem 1.4rem !important; }
}

/* Phones: no sideways scrolling */
html, body { overflow-x: clip; }
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ===== Logo: vector bird + wordmark in the site font ===== */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-bird { width: 44px; height: auto; fill: var(--color-primary); transition: transform 0.3s ease; }
.brand:hover .brand-bird { transform: translateY(-2px) rotate(-6deg); }
.brand-word { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.035em; color: var(--color-primary); line-height: 1; }
.brand-word b { font-weight: 700; }
.site-navbar .navbar-brand { padding: 0.9rem 0; }
.site-navbar .navbar-brand img { display: none; }
.brand-light .brand-bird { fill: #fff; width: 48px; }
.brand-light .brand-word { color: #fff; font-size: 1.6rem; }
.foot-brand .brand { margin-bottom: 1.1rem; }
@media (max-width: 991.98px) { .brand-bird { width: 38px; } .brand-word { font-size: 1.3rem; } }
/* Wordmark as in the original logo: two words, capitals */
.brand-word { font-size: 1.15rem; letter-spacing: 0.08em; font-weight: 500; }
.brand-light .brand-word { font-size: 1.25rem; }
@media (max-width: 991.98px) { .brand-word { font-size: 1.05rem; } }

/* Home: client names row */
.clients-row { padding: 2.25rem 0 0.5rem; border-bottom: 1px solid var(--color-border); background: #fff; }
.clients-label { display: block; font-family: var(--font-accent); font-style: italic; color: var(--color-muted); font-size: 1.05rem; margin-bottom: 0.9rem; }
.clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2.6rem; padding-bottom: 1.75rem; }
.clients a { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.03em; color: #9aa1ad; text-decoration: none; transition: color 0.25s ease; }
.clients a:hover { color: var(--color-primary); }

/* Footer phone under email */
.site-footer .foot-phone { display: inline-block; margin-top: 0.6rem; margin-left: 1rem; }

/* Service tiles: leave room under the sticky header when jumped to */
.tile[id] { scroll-margin-top: 140px; }

/* HERE: route + load test illustration */
.route-demo { display: grid; grid-template-columns: 1fr 280px; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); }
.route-map { position: relative; min-height: 340px; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.api-chip { position: absolute; background: rgba(255,255,255,0.95); color: var(--color-primary); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 0.72rem; padding: 0.35rem 0.6rem; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.api-chip b { color: var(--color-accent); margin-right: 0.3rem; }
.api-chip.c1 { left: 6%; top: 12%; } .api-chip.c2 { left: 38%; top: 46%; } .api-chip.c3 { right: 6%; bottom: 12%; }
.perf-panel { background: #fff; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.perf-panel .panel-title { font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; color: var(--color-primary); }
.perf-line { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--color-muted); }
.perf-line strong { color: var(--color-primary); } .perf-line .ok { color: #0f9d58; }
.perf-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); }
.perf-bars i { flex: 1; background: linear-gradient(180deg, var(--color-accent), #f19aa1); border-radius: 4px 4px 0 0; }
@media (max-width: 767px) { .route-demo { grid-template-columns: 1fr; } .route-map { min-height: 260px; } }

/* ===== FAQ ===== */
.faq details { border-top: 1px solid var(--color-border); }
.faq details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; color: var(--color-primary); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-accent); font-size: 1.8rem; line-height: 1; color: var(--color-accent); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-accent); }
.faq details p { color: var(--color-muted); margin: -0.4rem 0 1.4rem; max-width: 42rem; }

/* Hire page */
.case-hero h1 .serif-accent { font-size: 1.05em; }
.hire-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; margin-bottom: 4rem; }
.hire-stats div { background: var(--color-primary); padding: 1.4rem 1.25rem; }
.hire-stats strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 2rem; color: #fff; line-height: 1.1; }
.hire-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
@media (max-width: 767px) { .hire-stats { grid-template-columns: repeat(2, 1fr); } }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--color-primary); color: #fff; text-decoration: none;
  border-radius: 999px; padding: 0.7rem 1.1rem 0.7rem 0.8rem;
  box-shadow: 0 12px 30px rgba(26,26,46,0.28); font-weight: 600; font-size: 0.9rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.wa-float i { width: 30px; height: 30px; border-radius: 50%; background: #25d366; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.wa-float:hover { color: #fff; transform: translateY(-2px); background: #11111f; }
@media (max-width: 575px) { .wa-float span { display: none; } .wa-float { padding: 0.6rem; right: 14px; bottom: 14px; } .wa-float i { width: 36px; height: 36px; font-size: 1.3rem; } }

/* Evitec / Profit Software: team growth timeline */
.growth { display: flex; align-items: flex-start; gap: 0; }
.g-step { flex: 1; min-width: 0; }
.g-step strong { display: block; color: #fff; font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem; margin: 1rem 0 0.35rem; }
.g-step p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 15rem; margin: 0; }
.g-faces { display: flex; height: 56px; align-items: center; }
.g-faces span { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #2b3a67; color: #fff; font-weight: 700; border: 3px solid var(--color-primary); margin-left: -12px; }
.g-faces span:first-child { margin-left: 0; }
.g-faces span.new { background: var(--color-accent); }
.g-faces span.plane, .g-faces span.star { background: rgba(255,255,255,0.08); color: var(--color-accent); font-size: 1.15rem; }
.g-line { flex: 0 0 40px; height: 2px; margin-top: 27px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 6px, transparent 6px 12px); }
@media (max-width: 767px) { .growth { flex-direction: column; gap: 1.5rem; } .g-line { display: none; } }
.team-initials { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.team-initials .ti-label { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* EYOF: results flow illustration */
.flow-demo { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 2rem; }
.flow-col { flex: 1; display: flex; flex-direction: column; gap: 0.9rem; }
.flow-node { display: flex; gap: 0.8rem; align-items: center; background: #fff; border-radius: 12px; padding: 0.9rem 1rem; }
.flow-node i { color: var(--color-accent); font-size: 1.1rem; width: 22px; text-align: center; }
.flow-node strong { display: block; color: var(--color-primary); font-weight: 600; font-size: 0.95rem; }
.flow-node span { font-size: 0.78rem; color: var(--color-muted); }
.flow-node.hub { background: var(--color-accent); }
.flow-node.hub i, .flow-node.hub strong, .flow-node.hub span { color: #fff; }
.flow-arrow { color: rgba(255,255,255,0.45); font-size: 1.5rem; }
@media (max-width: 767px) { .flow-demo { flex-direction: column; } .flow-arrow { transform: rotate(90deg); } }
#event-systems { scroll-margin-top: 120px; }

/* EYOF: schedule recreated in site style */
.sched { background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(26,26,46,0.12); overflow: hidden; border: 1px solid var(--color-border); }
.sched-head, .sched-row { display: grid; grid-template-columns: minmax(200px, 2.4fr) repeat(7, 1fr); }
.sched-head { background: var(--color-primary); color: #fff; }
.sched-head .sched-sport { padding: 1rem 1.1rem; font-weight: 600; display: flex; align-items: center; }
.sched-day { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.75rem 0.25rem; border-left: 1px solid var(--color-border); }
.sched-head .sched-day { border-left-color: rgba(255,255,255,0.1); }
.sched-head .sched-day strong { font-size: 1.15rem; line-height: 1.1; }
.sched-head .sched-day span { font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.sched-row { border-top: 1px solid var(--color-border); }
.sched-row .sched-sport { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.1rem; }
.sched-row .sched-sport strong { display: block; color: var(--color-primary); font-weight: 600; font-size: 0.95rem; }
.sched-row .sched-sport span:not(.sched-info):not(.sched-ico) { display: block; color: var(--color-muted); font-size: 0.74rem; }
.sched-ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.sched-info { margin-left: auto; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--color-accent); color: var(--color-accent); font-family: var(--font-accent); font-style: italic; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(230,57,70,0.12); }
.sched .medal { color: #e0a82e; font-size: 1.1rem; }
.sched .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #0f9d58; }
.sched-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; padding: 0.9rem 1.1rem; border-top: 1px solid var(--color-border); background: var(--color-light); font-size: 0.8rem; color: var(--color-muted); }
.sched-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.sched-legend .more { margin-left: auto; font-family: var(--font-accent); font-style: italic; color: var(--color-accent); font-size: 0.95rem; }
@media (max-width: 767px) { .sched { overflow-x: auto; } .sched-head, .sched-row { min-width: 620px; } }

/* EYOF: the two-person team with photos */
.duo-team { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.dt-person { display: flex; align-items: center; gap: 0.9rem; }
.dt-pic { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.15); }
.dt-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s ease, transform 0.5s ease; }
.dt-pic .pic-color { opacity: 0; }
.dt-person:hover .pic-color { opacity: 1; }
.dt-person:hover .dt-pic img { transform: scale(1.06); }
.dt-person strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; }
.dt-person span:not(.dt-pic) { display: block; color: rgba(255,255,255,0.6); font-size: 0.82rem; }
