:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #eef4f8;
  --text: #173042;
  --muted: #6f8595;
  --primary: #7ec7cf;
  --primary-dark: #4ea9b5;
  --accent: #dff4f6;
  --border: #d9e5ec;
  --shadow: 0 18px 45px rgba(23, 48, 66, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(126, 199, 207, 0.14), transparent 26%),
    linear-gradient(180deg, #f9fcfe 0%, #f4f8fb 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(217, 229, 236, 0.9);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(78, 169, 181, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s ease;
}

.main-nav a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(78, 169, 181, 0.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(78, 169, 181, 0.28);
}

.hero {
  padding: 74px 0 36px;
}

.hero-box {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 252, 0.96));
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 34px;
  padding: 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-box::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(126, 199, 207, 0.24), transparent 65%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.03;
  max-width: 760px;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 14px 22px;
  font-weight: 700;
  transition: .2s ease;
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.section {
  padding: 28px 0 70px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-pill {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(23, 48, 66, 0.12);
}

.case-card-media {
  aspect-ratio: 3 / 2;
  background: #f0f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.case-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.case-card-body {
  padding: 22px;
}

.case-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.case-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.case-details {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.case-detail {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

.case-detail span:first-child {
  color: var(--muted);
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary-dark);
}

.case-link:hover {
  opacity: .85;
}

.cta-band {
  margin-top: 36px;
  background: linear-gradient(135deg, #173042, #25495f);
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.cta-band h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 780px;
}

.site-footer {
  padding: 34px 0 56px;
  color: var(--muted);
  font-size: 14px;
}

.empty-state {
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed var(--border);
  border-radius: 24px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-box {
    padding: 40px 30px;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-box {
    border-radius: 24px;
    padding: 28px 22px;
  }

  .hero p {
    font-size: 16px;
  }
}

.case-detail-hero {
  padding: 46px 0 30px;
}

.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-weight: 700;
}

.case-back-link:hover {
  opacity: .82;
}

.case-detail-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 252, 0.97));
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.case-detail-copy h1 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.case-detail-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.case-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.case-stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 253, 0.98) 100%);
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 26px;
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(23, 48, 66, 0.05);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.case-stat-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1;
}

.case-stat-card strong {
  display: block;
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
  max-width: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.case-detail-media {
  background: #edf5f8;
  border-radius: 28px;
  padding: 14px;
}

.case-detail-media img {
  width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: contain;
}

.case-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 34px;
}

.case-content-card,
.case-info-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.case-content-card h2,
.case-info-card h2 {
  margin: 16px 0 14px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.case-content-card p {
  color: var(--muted);
  line-height: 1.8;
}

.case-info-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.case-info-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.case-info-row span {
  color: var(--muted);
}

.case-info-row strong {
  text-align: right;
}

@media (max-width: 1024px) {
  .case-detail-shell {
    grid-template-columns: 1fr;
  }

  .case-detail-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-stat-card {
    min-height: auto;
  }

  .case-stat-card strong {
    max-width: none;
  }

  .case-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .case-detail-shell {
    padding: 22px;
    border-radius: 24px;
  }

  .case-content-card,
  .case-info-card {
    padding: 22px;
    border-radius: 22px;
  }

  .case-detail-lead {
    font-size: 16px;
  }

  .case-info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-info-row strong {
    text-align: left;
  }
}

.before-after-section {
  margin: 38px 0 34px;
}

.before-after-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 253, 0.98) 100%);
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 18px 42px rgba(23, 48, 66, 0.08);
  position: relative;
  overflow: hidden;
}

.before-after-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(126, 199, 207, 0.18), transparent 68%);
  pointer-events: none;
}

.before-after-header {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.before-after-header h2 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.before-after-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
  font-size: 17px;
}

.before-after-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 380px));
  gap: 32px;
  justify-content: center;
  align-items: start;
}

.before-after-item {
  display: grid;
  gap: 14px;
}

.before-after-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaf7f8, #dff4f6);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid rgba(126, 199, 207, 0.18);
}

.before-after-media {
  background: linear-gradient(180deg, #f8fbfd 0%, #eef5f8 100%);
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(23, 48, 66, 0.06);
}

.before-after-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 680px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 22px;
  background: #fff;
}

@media (max-width: 1100px) {
  .before-after-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 22px;
  }

  .before-after-media img {
    max-height: 560px;
  }
}

@media (max-width: 760px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .before-after-card {
    padding: 22px;
    border-radius: 24px;
  }

  .before-after-media {
    border-radius: 24px;
    padding: 12px;
  }

  .before-after-media img {
    max-height: none;
    border-radius: 18px;
  }
}

.full-case-section {
  margin: 38px 0 34px;
}

.full-case-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(217, 229, 236, 0.95);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.full-case-header {
  margin-bottom: 22px;
}

.full-case-header h2 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.full-case-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.full-case-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.full-case-board {
  min-width: 900px;
}

.full-case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.full-case-cell {
  background: #f4f8fb;
  border: 1px solid rgba(217, 229, 236, 0.95);
}

.full-case-cell img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.full-case-group+.full-case-group {
  margin-top: 18px;
}

.full-case-row-label {
  display: block;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaf7f8, #dff4f6);
  color: var(--primary-dark);
  border: 1px solid rgba(126, 199, 207, 0.18);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}



@media (max-width: 760px) {
  .full-case-card {
    padding: 22px;
    border-radius: 22px;
  }

  .full-case-board {
    min-width: 760px;
  }

  .full-case-divider {
    font-size: 12px;
    letter-spacing: .12em;
  }
}