@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #FF7629;
  --red: #E8360C;
  --dark: #111111;
  --white: #FFFFFF;
}

body {
  font-family: 'Gilroy', sans-serif;
  background: #fff;
  color: var(--dark);
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  background: #fff;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
}

/* ─── NAV ───────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

/* ─── HERO BODY (split layout) ─────────────────────────── */
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: row;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #111111;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #111111;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.lang-short { display: none; }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 15px;
  cursor: pointer;
  position: relative;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-width: 110px;
  z-index: 200;
}

.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: block;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.lang-option:hover {
  color: #111111;
  background: #F5F5F5;
}

.lang-option.active {
  color: #FF7629;
  font-weight: 600;
}

/* ─── MEGAMENU ──────────────────────────────────────────── */
.nav-item-mega {
  position: static;
}

.nav-link-mega {
  display: flex;
  align-items: center;
}

.megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  z-index: 100;
  /* bridge the 1px border gap so mouse doesn't lose hover */
  margin-top: -1px;
}

.megamenu.open {
  display: block;
}

.megamenu-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 60px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.mega-item {
  padding: 20px 24px;
  text-decoration: none !important;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mega-item:last-child {
  border-right: none;
}

.mega-item:nth-child(4) {
  border-right: none;
}

.mega-item:hover {
  background: transparent;
}

.mega-item-num {
  font-size: 12px;
  font-weight: 500;
  color: #FF7629;
  opacity: 0.8;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 6px;
}

.mega-item-name {
  font-size: 26px;
  font-weight: 600;
  color: #111111;
  line-height: 1.15;
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.mega-item:hover .mega-item-name {
  color: #FF7629;
}

.mega-item-desc {
  font-size: 13px;
  color: rgba(0,0,0,0.4);
  line-height: 1.5;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
}

.mega-item::after {
  display: none !important;
}

/* ─── BURGER ─────────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.3s ease;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
}

/* Burger animates to X on open */
.burger.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ─── MOBILE MENU OVERLAY ────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #111111;
  z-index: 1000;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.35s ease, visibility 0s ease 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.35s ease, visibility 0s ease 0s;
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-logo {
  filter: brightness(0) invert(1);
  height: 22px;
}

.mobile-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  transition: opacity 0.3s ease 0.15s, transform 0.35s ease 0.15s;
}

.mobile-menu.open .mobile-close {
  opacity: 0.8;
  transform: rotate(0deg) scale(1);
}

.mobile-close:hover {
  opacity: 1;
}

.mobile-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
  gap: 40px;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-links li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-menu.open .mobile-links li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.1s; }
.mobile-menu.open .mobile-links li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.mobile-menu.open .mobile-links li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.mobile-menu.open .mobile-links li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.25s; }

.mobile-links a {
  display: block;
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  transition: opacity 0.2s;
}

.mobile-links a:hover {
  color: #FF7629;
  opacity: 1;
}

.mobile-sub-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-sub-links a {
  display: block;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s;
}

.mobile-sub-links a:hover {
  color: #FF7629;
}

.mobile-menu-footer {
  padding: 28px 28px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-footer p {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

/* ─── HERO LEFT COLUMN ─────────────────────────────────── */
.hero-left-col {
  flex: 1;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 60px 60px;
}

.hero-title {
  font-size: clamp(32px, 3.2vw, 64px);
  font-weight: 500;
  line-height: 1.0;
  color: #111111;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.5;
  max-width: 480px;
  margin-bottom: 32px;
}

.btn-row {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  background: transparent;
  color: #FF7629;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 32px;
  border: 1.5px solid #FF7629;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #FF7629;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #111111;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 32px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* ─── HERO META ─────────────────────────────────────────── */
.hero-meta {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 28px;
}

.hero-tags {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.tag {
  color: rgba(0, 0, 0, 0.45);
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag::before {
  content: "";
}

/* ─── HERO RIGHT COLUMN (PROJECT PANELS) ───────────────── */
.hero-right-col {
  width: 42%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.proj-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px 34px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  background: #111111;
  text-decoration: none;
}

.proj-panel--dark {
  background: #111111;
}

.proj-panel:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proj-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.proj-panel:hover .proj-panel-bg,
.proj-panel--active .proj-panel-bg {
  opacity: 1;
  transform: scale(1.04);
}

.proj-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.proj-panel:hover .proj-panel-overlay,
.proj-panel--active .proj-panel-overlay {
  opacity: 1;
}

.proj-panel-content {
  position: relative;
  z-index: 2;
}

.proj-panel-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.65);
}

.proj-panel-name {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 4px;
  color: #fff;
}

.proj-panel-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.proj-panel-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  transition: background 0.25s ease;
}

.proj-panel:hover .proj-panel-arrow {
  background: transparent;
  border-color: #FF7629;
}

.proj-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.proj-view-all:hover {
  color: #fff;
  background: #1a1a1a;
}

/* ─── MOBILE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-body {
    flex-direction: column;
  }

  .nav {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
  }

  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-dropdown { right: 0; }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-left-col {
    max-width: 100%;
    width: 100%;
    padding: 32px 24px 40px;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .btn-row {
    margin-bottom: 32px;
  }

  .btn-primary,
  .btn-ghost {
    font-size: 14px;
    padding: 12px 24px;
  }

  .hero-tags {
    flex-direction: column;
    gap: 10px;
  }

  .tag {
    font-size: 14px;
  }

  .hero-right-col {
    display: none;
  }

  /* Clients */
  .clients-strip {
    padding: 0 24px;
  }
  .clients-strip-inner {
    padding: 28px 0 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .clients-strip-inner::-webkit-scrollbar { display: none; }
  .clients-strip .clients-row {
    flex-wrap: nowrap;
    gap: 36px;
  }

  .clients-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .clients-inner::-webkit-scrollbar {
    display: none;
  }

  .clients-row {
    flex-wrap: nowrap;
    gap: 36px;
    padding: 0 24px;
    width: max-content;
  }

  .client-logo {
    height: 22px;
  }

  /* Services — moved to later @media block to avoid being overridden by desktop rules */

  .service-desc {
    font-size: 14px;
  }

  .service-dot {
    display: none;
  }

  .service-icons {
    opacity: 1;
  }
}

/* ─── CLIENTS STRIP ─────────────────────────────────────── */
.clients-strip {
  background: #F5F5F5;
  padding: 0 60px;
}

.clients-strip-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 36px 0 44px;
}

.clients-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.clients-inner {
  width: 100%;
}

.clients-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 56px;
  flex-wrap: wrap;
}

.client-logo {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.28;
  transition: opacity 0.2s;
}

.client-logo:hover {
  opacity: 0.55;
}

/* ─── CONTENT BLOCK ─────────────────────────────────────── */
.content-block {
  background: #F7F7F5;
  padding: 100px 60px;
}

.content-block-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 80px;
  align-items: center;
}

.content-block-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(0,0,0,0.1);
}

.content-block-stats {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.content-block-stat {
  padding: 36px 0 36px 28px;
  border-left: 2px solid #FF7629;
  position: relative;
  flex: 1;
}

.content-block-stat + .content-block-stat {
  margin-top: 0;
}

.content-block-stat-num {
  font-size: clamp(56px, 5.5vw, 96px);
  font-weight: 500;
  color: #111111;
  letter-spacing: -3px;
  line-height: 1;
}

.content-block-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-top: 10px;
}

.content-block-text {
  grid-column: 3;
}

.content-block-heading {
  font-size: clamp(28px, 2.8vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  color: #111111;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.content-block-rule {
  width: 48px;
  height: 2px;
  background: #FF7629;
  margin: 24px 0;
}

.content-block-sub {
  font-size: 15px;
  color: rgba(0,0,0,0.45);
  line-height: 1.6;
}

/* ─── PORTFOLIO ─────────────────────────────────────────── */
.portfolio {
  background: #fff;
  padding: 0 0 80px;
}

.portfolio-header {
  padding: 64px 60px 40px;
}

/* ─── portfolio-img-wrap — teenuste lehtedel ─── */
.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.portfolio-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.portfolio-img-wrap:hover .portfolio-img-bg { transform: scale(1.04); }
.portfolio-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.portfolio-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}
.portfolio-img-large {}

/* ─── teenuste lehtede projektide grid ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3px;
}

.portfolio-label-cell {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  background: #fff;
  grid-row: 1 / 2;
}

.portfolio-all-btn {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.portfolio-all-btn:hover {
  color: #111111;
  border-color: #111111;
}

.portfolio-top-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 340px;
  grid-column: 2;
  grid-row: 1;
}

.portfolio-top-images .portfolio-img-wrap {
  height: 100%;
}

/* ─── uus portfolio grid ─── */
.pv2-grid {
  display: grid;
  grid-template-columns: 10fr 9fr;
  grid-template-rows: 380px 300px;
  gap: 3px;
  padding: 0 60px;
}

.pv2-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  grid-row: 1 / 3;
}

.pv2-right-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

/* ─── kaardid ─── */
.pv2-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #111;
  overflow: hidden;
  grid-row: 1 / 3;
  position: relative;
}

.pv2-card--sm,
.pv2-card--wide {
  grid-row: unset;
}

.pv2-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

/* wrap img for scale without layout shift */
.pv2-card-img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.pv2-card:hover .pv2-card-img-inner {
  transform: scale(1.04);
}

.pv2-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  pointer-events: none;
}

.pv2-card--featured .pv2-card-body {
  padding: 36px 40px;
}

.pv2-card--sm .pv2-card-body,
.pv2-card--wide .pv2-card-body {
  padding: 20px 24px;
}

.pv2-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF7629;
  margin-bottom: 10px;
}

.pv2-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #FF7629;
  display: inline-block;
  flex-shrink: 0;
}

.pv2-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pv2-card--sm .pv2-title,
.pv2-card--wide .pv2-title {
  font-size: 17px;
  font-weight: 600;
}

.pv2-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  line-height: 1.4;
}

.pv2-card--featured .pv2-sub {
  font-size: 15px;
}

.pv2-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 400px;
}

.pv2-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  font-size: 16px;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  pointer-events: auto;
  margin-top: 16px;
}

.pv2-card--featured .pv2-arrow {
  margin-top: 20px;
}

.pv2-card:hover .pv2-arrow {
  background: #FF7629;
  border-color: #FF7629;
  color: #fff;
}

/* cta link */
.portfolio-cta {
  display: flex;
  justify-content: center;
  padding-top: 48px;
}

.portfolio-all-link {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  border-bottom: 1.5px solid #111111;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.portfolio-all-link:hover {
  color: #FF7629;
  border-color: #FF7629;
}

/* keep old btn for safety */
.portfolio-all-btn {
  display: flex; align-items: center; justify-content: center;
  width: 110px; height: 110px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.2); color: rgba(0,0,0,0.6);
  font-size: 13px; font-weight: 500; text-decoration: none;
  text-align: center; line-height: 1.4;
  transition: border-color 0.2s, color 0.2s;
}
.portfolio-all-btn:hover { border-color: #111111; color: #111111; }

/* ─── responsive ─── */
@media (max-width: 1024px) {
  .pv2-grid { grid-template-rows: 320px 260px; padding: 0 40px; }
  .pv2-title { font-size: 18px; }
}

@media (max-width: 768px) {
  .portfolio-header { padding: 48px 24px 28px; }
  .pv2-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0;
    gap: 3px;
  }
  .pv2-card { grid-row: unset; height: 240px; }
  .pv2-card--featured { height: 360px; }
  .pv2-right { gap: 3px; grid-row: unset; }
  .pv2-right-top { grid-template-columns: 1fr 1fr; }
  .pv2-card--featured .pv2-title { font-size: 20px; }
}

/* ─── CLIENTS + FEEDBACK ────────────────────────────────── */
.clients-section {
  background: #111111;
  padding: 0 60px;
}

.clients-section-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 80px 0 0;
}

.clients-section-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}

/* Logo circles */
.clients-logos-block {
  margin-bottom: 80px;
}

.clients-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.client-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.client-circle:first-child { margin-left: 0; }

.client-circle:hover {
  transform: translateY(-4px);
  z-index: 2;
}

.client-circle img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.8;
}

/* Feedback accordion */
.feedback-block {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 48px;
  padding-bottom: 80px;
}

.feedback-list {
  display: flex;
  flex-direction: column;
}

.feedback-item {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  column-gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
}

.feedback-item:has(.feedback-toggle[aria-expanded="true"]) {
  border-bottom-color: #fff;
  border-top: 1px solid #fff;
}

.feedback-toggle {
  width: 100%;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 36px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 96px;
}

.feedback-client {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  font-family: 'Gilroy', sans-serif;
}

.feedback-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  font-family: 'Gilroy', sans-serif;
}

.feedback-toggle[aria-expanded="true"] .feedback-desc {
  visibility: hidden;
  position: relative;
}

.feedback-toggle[aria-expanded="true"] .feedback-desc::after {
  content: 'Sulge tagasiside';
  visibility: visible;
  position: absolute;
  left: 0;
}

.feedback-icon {
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  font-family: 'Gilroy', sans-serif;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.feedback-toggle[aria-expanded="true"] .feedback-icon {
  background: #fff;
  border-color: #fff;
  color: #111111;
}

.feedback-icon .icon-close { display: none; }
.feedback-toggle[aria-expanded="true"] .feedback-icon .icon-plus { display: none; }
.feedback-toggle[aria-expanded="true"] .feedback-icon .icon-close { display: block; }

.feedback-body {
  display: none;
  grid-column: 2;
  padding: 0 0 28px;
}

.feedback-toggle[aria-expanded="true"] ~ .feedback-body {
  display: block;
}

.feedback-body p {
  font-size: 17px;
  color: #fff;
  line-height: 1.7;
  font-family: 'Gilroy', sans-serif;
}

/* ─── SERVICES ──────────────────────────────────────────── */
.services {
  background: #111111;
  padding: 0 60px;
}

.services-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 80px 0;
}

.section-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.services-list {
  list-style: none;
}

.service-item {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.2s;
}
.service-item-link {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  cursor: pointer;
}

.service-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.2s;
}

.service-item:hover {
  border-top-color: #fff;
}

.service-item:hover + .service-item {
  border-top-color: #fff;
}

.service-item:last-child:hover {
  border-bottom-color: #fff;
}

.service-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-name {
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.3px;
}


.service-icons {
  display: flex;
  opacity: 0;
  transition: opacity 0.2s;
}

.service-item:hover .service-icons, .service-item-link:hover .service-icons {
  opacity: 1;
}

.tech-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  border: 2px solid #111111;
  flex-shrink: 0;
}

.tech-icon:first-child {
  margin-left: 0;
}

.service-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.service-item:hover .service-desc, .service-item-link:hover .service-desc {
  color: #fff;
}

.service-dot {
  font-size: 24px;
  color: #FF7629;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1;
}

.service-item:hover .service-dot, .service-item-link:hover .service-dot {
  opacity: 1;
}

/* ─── SUB-PAGE STYLES ──────────────────────────────────── */
.page-hero {
  padding: 80px 60px 100px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.page-hero--dark {
  background: #111111;
  border-bottom: none;
  padding: 120px 60px 100px;
}
.page-hero--dark .section-label { color: rgba(255,255,255,0.35); }
.page-hero--dark .page-title { color: #fff; }
.page-hero--dark .page-desc { color: rgba(255,255,255,0.55); }
.page-hero--dark .btn-primary {
  background: #fff;
  color: #111111;
  border-color: transparent;
}
.page-hero--dark .btn-primary:hover { background: rgba(255,255,255,0.88); }
.page-hero--dark .btn-ghost {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.page-hero--dark .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}
.page-hero-inner {
  max-width: 1100px;
}
.page-title {
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 12px 0 24px;
}
.page-desc {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.55);
  max-width: 600px;
  margin-bottom: 40px;
}
.page-content {
  padding: 80px 60px;
}
.page-content-inner {
  max-width: 860px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info p {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
  line-height: 1.6;
}
.contact-info a {
  color: var(--dark);
  text-decoration: none;
}
.contact-info a:hover {
  color: var(--orange);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}

@media (max-width: 900px) {
  .page-hero {
    padding: 48px 24px 64px;
  }
  .page-content {
    padding: 48px 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 0 24px;
  }

  .services-inner {
    padding: 48px 0;
  }

  .service-item {
    padding: 18px 0;
  }
  .service-item-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .service-desc {
    font-size: 14px;
    margin-top: 4px;
    color: #aaa !important;
    font-weight: 400 !important;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #111111;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0 60px;
}

.footer-inner {
  max-width: 1800px;
  margin: 0 auto;
}

.footer-cta-area {
  position: relative;
  min-height: 360px;
  padding: 220px 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-cta-sub {
  position: absolute;
  top: 60px;
  right: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  text-align: right;
}

.footer-cta-center {
  width: 100%;
}

.footer-cta-title {
  display: block;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
  text-decoration-color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  text-align: center;
  width: 100%;
  transition: color 0.2s;
}

.footer-cta-title:hover {
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
  gap: 40px;
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-col-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 15px;
  color: #fff;
}

.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  align-self: end;
}

.footer-legal a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.5); }

.footer-social {
  display: flex;
  gap: 6px;
  align-self: end;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.footer-social-btn:hover {
  opacity: 0.85;
}

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .portfolio-label-cell {
    padding: 40px 24px 24px;
  }

  .portfolio-top-images {
    grid-template-columns: 1fr;
  }

  .portfolio-top-images .portfolio-img-wrap {
    height: 260px;
  }

  .portfolio-img-large {
    height: 260px;
  }

  .portfolio-img-wrap:last-child {
    height: 260px;
  }

  /* Content block (about section) */
  .content-block {
    padding: 64px 24px;
  }

  .content-block-inner {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }

  .content-block-divider {
    display: none;
  }

  .content-block-text {
    grid-column: 1;
  }

  /* Clients section */
  .clients-section {
    padding: 0 24px;
    overflow: hidden;
  }

  .clients-section-inner {
    padding: 48px 0 0;
  }

  .clients-logos-block {
    margin-bottom: 48px;
  }

  .clients-section-label {
    margin-bottom: 28px;
  }

  .client-circle {
    width: 56px;
    height: 56px;
    margin-left: -8px;
  }

  .client-circle img {
    width: 30px;
    height: 30px;
  }

  .feedback-block {
    padding: 32px 0 48px;
  }

  .feedback-client {
    font-size: 17px;
  }

  .feedback-toggle {
    grid-template-columns: 1fr auto;
    padding: 24px 0;
    min-height: auto;
  }

  .feedback-desc {
    display: none;
  }

  .feedback-item {
    grid-template-columns: 1fr auto;
  }

  .feedback-body {
    grid-column: 1;
  }

  /* Footer */
  .footer {
    padding: 0 24px;
  }

  .footer-cta-area {
    padding: 80px 0 60px;
  }

  .footer-cta-sub {
    display: none;
  }

  .footer-cta-title {
    font-size: clamp(32px, 9vw, 52px);
    letter-spacing: -1px;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px 24px;
    padding: 40px 0 32px;
  }

  .footer-legal {
    grid-column: 1 / -1;
    order: 3;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* ─── ACTIVE NAV STATES ─────────────────────────────────── */
.nav-link--active,
.nav-links a.nav-link--active {
  color: #FF7629;
}
.nav-link-mega svg {
  margin-left: 4px;
}
.nav-link-mega--active {
  color: #FF7629;
}
.nav-link-mega--active svg path {
  stroke: #FF7629;
}
.mega-item--active .mega-item-name {
  color: #FF7629;
}

/* ─── KONTAKT PAGE ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.contact-person-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin-bottom: 20px;
}

.contact-person-name {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 4px;
}

.contact-person-role {
  font-size: 14px;
  color: rgba(0,0,0,0.4);
}

.contact-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.contact-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
}

a.contact-detail-row:hover .contact-detail-value {
  color: #FF7629;
}

.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.35);
}

.contact-detail-value {
  font-size: 15px;
  color: #111111;
  transition: color 0.2s ease;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.35);
}

.cf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-chip {
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(0,0,0,0.6);
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 50px;
  padding: 9px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cf-chip:hover {
  border-color: rgba(0,0,0,0.3);
  color: #111111;
}

.cf-chip--active,
.cf-chip--active:hover {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-section-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 24px;
  display: block;
}
.contact-section-label--mt {
  margin-top: 32px;
  margin-bottom: 16px;
}
.btn-fit {
  width: fit-content;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-person-photo {
    aspect-ratio: 4 / 3;
    object-position: center 20%;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }
}

/* ─── MEIST PAGE ────────────────────────────────────────── */
.ab-mission {
  padding: 80px 60px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ab-mission-inner {
  max-width: 1800px;
  margin: 0 auto;
}
.ab-stats-row {
  display: flex;
  gap: 72px;
}
.ab-stat-num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -2px;
  color: #111111;
  line-height: 1;
  margin-bottom: 8px;
}
.ab-stat-label {
  font-size: 15px;
  color: rgba(0,0,0,0.4);
}
.ab-mission-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin: 56px 0;
}
.ab-mission-label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 32px;
  display: block;
}
.ab-mission-text {
  font-size: clamp(24px, 2.8vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #111111;
  max-width: 1000px;
}
.ab-statement {
  padding: 96px 60px;
}
.ab-statement-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ab-statement-heading {
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #111111;
}
.ab-statement-body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin-bottom: 20px;
}
.ab-statement-body p:last-child { margin-bottom: 0; }
.ab-values {
  background: #F7F7F5;
  padding: 96px 60px;
}
.ab-values-inner {
  max-width: 1800px;
  margin: 0 auto;
}
.ab-values-label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 56px;
  display: block;
}
.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.ab-value-card {
  background: #fff;
  padding: 48px 40px;
}
.ab-value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF7629;
  margin-bottom: 28px;
}
.ab-value-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #111111;
  margin-bottom: 14px;
  line-height: 1.25;
}
.ab-value-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(0,0,0,0.55);
}

/* ─── SERVICE PAGE (sp-*) ───────────────────────────────── */
.sp-section {
  padding: 80px 60px;
}
.sp-section-inner {
  max-width: 1800px;
  margin: 0 auto;
}
.sp-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sp-intro-lead {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #111111;
}
.sp-intro-body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin-bottom: 20px;
}
.sp-intro-body p:last-child { margin-bottom: 0; }
.sp-features {
  background: #F7F7F5;
  padding: 80px 60px;
}
.sp-features-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sp-features-heading {
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #111111;
}
.sp-features-heading--mt {
  margin-top: 12px;
}
.sp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sp-list li {
  font-size: 17px;
  color: rgba(0,0,0,0.75);
  line-height: 1.5;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sp-list li:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.sp-list li::before {
  content: "→";
  color: #FF7629;
  font-size: 15px;
  flex-shrink: 0;
}
.sp-dark {
  background: #111111;
  padding: 80px 60px;
}
.sp-dark-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sp-dark .sp-features-heading { color: #fff; }
.sp-dark .section-label {
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.sp-dark .sp-list li {
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.1);
}
.sp-dark .sp-list li:first-child { border-top-color: rgba(255,255,255,0.1); }
.sp-dark-body {
  margin-top: 20px;
}
.sp-dark-body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.sp-dark-body p:last-child { margin-bottom: 24px; }
.sp-dark-note {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 40px;
}
.sp-why {
  padding: 80px 60px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.sp-why-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sp-why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sp-why-list li {
  font-size: 17px;
  color: rgba(0,0,0,0.75);
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sp-why-list li:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.sp-why-list li::before {
  content: "✓";
  color: #FF7629;
  font-weight: 700;
  flex-shrink: 0;
}
.sp-cta {
  background: #FF7629;
  padding: 80px 60px;
}
.sp-cta-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.sp-cta-heading {
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.sp-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}
.sp-cta-btn {
  display: inline-block;
  background: #fff;
  color: #FF7629;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.sp-cta-btn:hover { opacity: 0.9; }

/* ── Service page: Mõned näited ── */
.sp-projects { background: #fff; }
.sp-projects-label {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
}
.sp-projects-full {
  grid-column: 2;
  height: 460px;
  position: relative;
  overflow: hidden;
}
.sp-projects-full .portfolio-img-wrap {
  width: 100%;
  height: 100%;
}
.sp-projects-more {
  display: inline-flex;
  align-items: center;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #111111;
  text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: 50px;
  padding: 14px 32px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.sp-projects-more:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .sp-projects-full { height: 260px; grid-column: 1; }
  .portfolio-top-images { grid-column: 1; height: auto; }
  .portfolio-top-images .portfolio-img-wrap { height: 260px; }
  .sp-features-inner { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-all-btn {
    width: auto; height: auto; border-radius: 0;
    border: none; border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 0 0 2px; font-size: 13px;
  }
}
.page-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sp-stack {
  padding: 0 60px 80px;
}
.sp-stack-inner {
  max-width: 1800px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 48px;
}
.sp-stack-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  margin-bottom: 20px;
}
.sp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-badge {
  padding: 8px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  line-height: 1;
  background: #fff;
}
.sp-process {
  padding: 80px 60px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.sp-process-inner {
  max-width: 1800px;
  margin: 0 auto;
}
.sp-process-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
}
.sp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.sp-step {
  border-top: 2px solid #FF7629;
  padding-top: 28px;
}
.sp-step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FF7629;
  margin-bottom: 18px;
}
.sp-step-title {
  font-size: 19px;
  font-weight: 600;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 10px;
}
.sp-step-desc {
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  line-height: 1.65;
}
.sp-features-inner--full,
.sp-dark-inner--full {
  grid-template-columns: 1fr;
  gap: 40px;
}
.sp-accordion { list-style: none; }
.sp-acc-item { border-top: 1px solid rgba(0,0,0,0.07); }
.sp-acc-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.07); }
.sp-dark .sp-acc-item { border-top-color: rgba(255,255,255,0.1); }
.sp-dark .sp-acc-item:last-child { border-bottom-color: rgba(255,255,255,0.1); }
.sp-acc-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 24px;
  font-family: 'Gilroy', sans-serif;
}
.sp-acc-title {
  font-size: 19px;
  font-weight: 500;
  color: #111111;
  line-height: 1.3;
}
.sp-dark .sp-acc-title { color: rgba(255,255,255,0.85); }
.sp-acc-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.4);
  transition: transform 0.25s, border-color 0.25s, color 0.25s;
}
.sp-dark .sp-acc-icon { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.35); }
.sp-acc-btn[aria-expanded="true"] .sp-acc-icon {
  transform: rotate(45deg);
  border-color: #FF7629;
  color: #FF7629;
}
.sp-acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.sp-acc-body p {
  padding-bottom: 24px;
  font-size: 16px;
  color: rgba(0,0,0,0.55);
  line-height: 1.65;
  max-width: 760px;
}
.sp-dark .sp-acc-body p { color: rgba(255,255,255,0.45); }
.sp-cards-section {
  background: #F7F7F5;
  padding: 80px 60px;
}
.sp-cards-inner {
  max-width: 1800px;
  margin: 0 auto;
}
.sp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.sp-card {
  background: #fff;
  padding: 36px;
}
.sp-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF7629;
  margin-bottom: 20px;
}
.sp-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  line-height: 1.3;
  margin-bottom: 10px;
}
.sp-card-desc {
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  line-height: 1.65;
}

/* ─── RESPONSIVE: ACTIVE NAV + MEIST + SP ───────────────── */
@media (max-width: 768px) {
  .page-hero--dark { padding: 80px 24px 72px; }
  .ab-mission { padding: 56px 24px; }
  .ab-stats-row { flex-direction: column; gap: 32px; }
  .ab-statement { padding: 64px 24px; }
  .ab-statement-inner { grid-template-columns: 1fr; gap: 32px; }
  .ab-values { padding: 64px 24px; }
  .ab-values-grid { grid-template-columns: 1fr; }
  .sp-section, .sp-features, .sp-dark, .sp-cta, .sp-process, .sp-stack, .sp-cards-section { padding: 56px 24px; }
  .sp-stack { padding-bottom: 56px; }
  .sp-intro { grid-template-columns: 1fr; gap: 40px; }
  .sp-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .sp-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sp-cards-grid { grid-template-columns: 1fr 1fr; }
  .sp-card { padding: 24px; }
  .sp-acc-title { font-size: 17px; }
}
@media (max-width: 480px) {
  .sp-cards-grid { grid-template-columns: 1fr; }
}

/* ─── PROJEKT SINGLE PAGE ────────────────────────────────── */
.proj-featured-wrap {
  display: none;
}

.proj-featured {
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.proj-desc-section {
  display: none;
  padding: 80px 60px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.proj-desc-inner {
  max-width: 800px;
  margin: 0 auto;
}

.proj-desc-inner p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(0,0,0,0.65);
  margin-bottom: 28px;
}

.proj-desc-inner p:last-child { margin-bottom: 0; }

.proj-gallery-section {
  display: none;
  padding: 0 60px 80px;
}

.proj-gallery-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proj-gallery-item {
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.proj-gallery-item:hover {
  transform: scale(1.01);
}

.proj-gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.proj-gallery-item:hover .proj-gallery-zoom {
  opacity: 1;
}

/* ── Lightbox ── */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lb.lb-open {
  display: flex;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: zoom-out;
}

.lb-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lb-close:hover { background: rgba(255,255,255,0.2); }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.lb-arrow:hover { background: rgba(255,255,255,0.2); }
.lb-arrow--prev { left: 20px; }
.lb-arrow--next { right: 20px; }

.lb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-family: 'Gilroy', sans-serif;
}

@media (max-width: 768px) {
  .lb-arrow--prev { left: 8px; }
  .lb-arrow--next { right: 8px; }
  .lb-arrow { width: 40px; height: 40px; font-size: 24px; }
}

@media (max-width: 768px) {
  .proj-featured { height: 280px; }
  .proj-desc-section { padding: 56px 24px; }
  .proj-desc-inner p { font-size: 16px; }
  .proj-gallery-section { padding: 0 24px 56px; }
  .proj-gallery-item { height: 260px; }
}

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-section {
  background: #F7F7F5;
  padding: 80px 60px;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-head {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #111111;
  margin: 8px 0 12px;
}

.pricing-subtitle {
  font-size: 17px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 32px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(0,0,0,0.06);
  border-radius: 50px;
  padding: 4px;
  gap: 2px;
}

.pricing-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(0,0,0,0.45);
  padding: 10px 22px;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle-btn--active {
  background: #fff;
  color: #111111;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pricing-save-badge {
  font-size: 12px;
  font-weight: 600;
  background: #FF7629;
  color: #fff;
  padding: 2px 8px;
  border-radius: 50px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1.5px solid rgba(0,0,0,0.08);
  position: relative;
}

.pricing-card--featured {
  border-color: #111111;
}

.pricing-featured-label {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #111111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card-top {
  margin-bottom: 28px;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  line-height: 1.5;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-amount {
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -1px;
  color: #111111;
  line-height: 1;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 500;
  color: #111111;
  align-self: flex-start;
  margin-top: 6px;
}

.pricing-period {
  font-size: 16px;
  color: rgba(0,0,0,0.4);
}

.pricing-yearly-note {
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  margin-bottom: 4px;
}

.pricing-features {
  list-style: none;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 24px;
}

.pricing-features li {
  font-size: 15px;
  color: rgba(0,0,0,0.75);
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #FF7629;
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-feature--off {
  color: rgba(0,0,0,0.28) !important;
}

.pricing-feature--off::before {
  background: rgba(0,0,0,0.15) !important;
}

.pricing-cta-btn {
  display: block;
  text-align: center;
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  background: #111111;
  color: #fff;
  border: 1.5px solid #111111;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pricing-cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.pricing-cta-btn--outline {
  background: transparent;
  color: #111111;
}

.pricing-cta-btn--outline:hover {
  background: rgba(0,0,0,0.05);
  opacity: 1;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: rgba(0,0,0,0.4);
  margin-top: 32px;
}

.pricing-note a {
  color: rgba(0,0,0,0.6);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .pricing-section { padding: 56px 24px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 24px; }
}

/* ─── TÄNAME PAGE ────────────────────────────────────────── */
.taname-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.taname-inner {
  text-align: center;
  max-width: 520px;
}

.taname-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #111111;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.taname-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -1.5px;
  color: #111111;
  margin-bottom: 16px;
  line-height: 1;
}

.taname-desc {
  font-size: 18px;
  color: rgba(0,0,0,0.5);
  line-height: 1.6;
  margin-bottom: 40px;
}

.taname-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── VALMINUD PROJEKTID ─────────────────────────────────── */
.proj-filter-section {
  background: #fff;
}

.proj-filter-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 56px 60px 40px;
}

.proj-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.proj-filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Gilroy', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  padding: 0 28px 0 0;
  margin-right: 28px;
  position: relative;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.proj-filter-btn::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,0.15);
}

.proj-filter-btn:last-child {
  padding-right: 0;
  margin-right: 0;
}

.proj-filter-btn:last-child::after {
  display: none;
}

.proj-filter-btn:hover {
  color: #FF7629;
}

.proj-filter-btn--active {
  color: #FF7629;
}

.proj-filter-btn--active:hover {
  color: #FF7629;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 40px;
  padding: 8px 60px 100px;
  max-width: 1800px;
  margin: 0 auto;
}

.proj-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.proj-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f3f3f3;
}

.proj-card-img-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.proj-card:hover .proj-card-img-bg {
  transform: scale(1.05);
}

.proj-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  transition: background 0.4s ease;
  pointer-events: none;
}

.proj-card:hover .proj-card-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.proj-card-overlay-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.proj-card:hover .proj-card-overlay-label {
  opacity: 1;
  transform: translateY(0);
}

.proj-card-overlay-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.25s ease 0.1s;
  transform: translateX(-4px);
}

.proj-card:hover .proj-card-overlay-arrow {
  background: #FF7629;
  border-color: #FF7629;
  transform: translateX(0);
}

.proj-card-body {
  padding: 18px 0 0;
}

.proj-card-cats {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.proj-card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF7629;
}

.proj-card-title {
  font-size: 18px;
  font-weight: 500;
  color: #111111;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.proj-card:hover .proj-card-title {
  color: #FF7629;
}

.proj-grid-loading,
.proj-grid-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  color: rgba(0,0,0,0.35);
  font-size: 16px;
}

@media (max-width: 1024px) {
  .proj-filter-btn { font-size: 18px; }
  .proj-grid { gap: 48px 32px; padding: 8px 40px 80px; }
}

@media (max-width: 768px) {
  .proj-filter-inner { padding: 40px 24px 28px; }
  .proj-filter-btn { font-size: 16px; padding-right: 20px; margin-right: 20px; }
  .proj-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 8px 24px 60px; }
  .proj-grid-loading,
  .proj-grid-empty { padding: 48px 0; }
  .proj-card-title { font-size: 16px; }
}

@media (max-width: 480px) {
  .proj-filter-bar { gap: 12px 0; }
  .proj-filter-btn { font-size: 15px; padding-right: 16px; margin-right: 16px; }
  .proj-grid { grid-template-columns: 1fr; gap: 40px 0; padding: 8px 20px 60px; }
  .proj-card-title { font-size: 18px; }
}

/* ===== VANILLA COOKIE CONSENT ===== */
:root {
  --cc-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --cc-modal-border-radius: 0px;
  --cc-btn-border-radius: 0px;
  --cc-modal-transition-duration: 0.2s;

  --cc-bg: #ffffff;
  --cc-primary-color: #111111;
  --cc-secondary-color: #555555;

  --cc-btn-primary-bg: #111111;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-hover-bg: #FF7629;
  --cc-btn-primary-hover-color: #ffffff;

  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: #111111;
  --cc-btn-secondary-border-color: #111111;
  --cc-btn-secondary-hover-bg: #111111;
  --cc-btn-secondary-hover-color: #ffffff;

  --cc-separator-border-color: #e5e5e5;
  --cc-toggle-on-bg: #FF7629;
  --cc-toggle-off-bg: #cccccc;
  --cc-toggle-readonly-bg: #e0e0e0;

  --cc-overlay-bg: rgba(0, 0, 0, 0.5);
  --cc-footer-bg: #f9f9f9;
  --cc-footer-color: #555;
}

#cc-main .cm {
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  border: 1px solid #e5e5e5;
}

#cc-main .cm__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

#cc-main .cm__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

#cc-main .cm__btn-group {
  gap: 8px;
}

#cc-main .cm__btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  transition: background 0.15s, color 0.15s;
}

#cc-main .pm__section-title {
  font-weight: 700;
  font-size: 14px;
}

#cc-main .pm__badge {
  font-size: 11px;
  font-weight: 600;
  background: #e8e8e8;
  color: #555;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

.proj-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
