/* =============================================
   SYM8RY CASE STUDY PAGE
   ============================================= */

.sym-page {
  background: var(--white);
}

.sym-hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.sym-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sym-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 85% at 90% 40%, rgba(147, 197, 253, 0.42) 0%, transparent 72%),
    radial-gradient(ellipse 48% 68% at 82% 55%, rgba(196, 181, 253, 0.38) 0%, transparent 74%),
    radial-gradient(ellipse 40% 55% at 94% 65%, rgba(251, 207, 232, 0.32) 0%, transparent 76%);
  z-index: 1;
}

.sym-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 36%,
    rgba(255, 255, 255, 0.88) 52%,
    rgba(255, 255, 255, 0.45) 72%,
    rgba(255, 255, 255, 0.15) 100%
  );
  z-index: 2;
}

.sym-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.52;
}

.sym-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px var(--pad-x) 0;
}

.sym-page .hero-menu-btn {
  background: var(--white);
  border: 1.5px solid var(--red);
}

.sym-page .hero-menu-btn span {
  background: var(--red);
}

.sym-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 360px);
  gap: 48px;
  align-items: center;
  min-height: 400px;
  padding: 40px 0 56px;
}

.sym-date-badge {
  display: inline-flex;
  align-items: stretch;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  margin-bottom: 24px;
}

.sym-date-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.sym-date-value {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
}

.sym-hero-title {
  font-size: clamp(2.25rem, 3.8vw, 2.875rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 22px;
}

.sym-hero-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey-600);
  max-width: 640px;
  font-weight: 400;
}

.sym-meta-card {
  background: rgba(243, 243, 243, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(230, 230, 230, 0.9);
  border-radius: 16px;
  padding: 22px 26px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.sym-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #dddddd;
}

.sym-meta-row:last-of-type {
  border-bottom: none;
  padding-bottom: 6px;
}

.sym-meta-label {
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.sym-meta-value {
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  line-height: 1.4;
}

.sym-meta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.sym-meta-btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sym-meta-btn:hover {
  background: var(--red-hover);
}

.sym-section {
  padding: 80px 0;
}

.sym-section .container {
  max-width: var(--max-w);
}

.sym-problem {
  padding: 40px 0 80px;
}

.sym-problem-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  background: #0a0a0a;
}

.sym-problem-panel-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.sym-problem-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 1) 0%,
    rgba(8, 8, 8, 0.65) 35%,
    rgba(8, 8, 8, 0.2) 100%
  );
  pointer-events: none;
}

.sym-problem-panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% center;
  display: block;
}

.sym-problem-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 48px 48px 56px;
  min-height: 360px;
}

.sym-problem-card {
  background: rgba(38, 38, 38, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px 28px 24px 22px;
  max-width: 520px;
}

.sym-problem-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
}

.sym-problem-accent {
  background: linear-gradient(90deg, #c084fc 0%, #e879f9 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sym-problem-text {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  border-left: 2px solid rgba(255, 255, 255, 0.82);
  padding-left: 18px;
  margin: 0;
  font-weight: 400;
}

.sym-problem-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 8px;
}

.sym-problem-phone img {
  width: 62%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.sym-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 18px;
}

.sym-section-title--light {
  color: var(--white);
}

.sym-section-accent {
  background: linear-gradient(90deg, #3b5bdb 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sym-section-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey-600);
  max-width: 520px;
}

.sym-section-text--light {
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
}

.sym-dark-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #111;
  border-radius: 24px;
  overflow: hidden;
  padding: 56px 56px 56px 64px;
  min-height: 360px;
}

.sym-dark-panel--silk {
  background: #0a0a0a url('../assets/images/portfolio/Sym8ry/a27d11f342556fc3d87a0e2dcb5349c0ae328e1d.png') center / cover no-repeat;
}

.sym-dark-panel--silk::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.sym-dark-copy {
  position: relative;
  z-index: 1;
}

.sym-screens {
  position: relative;
  padding: 64px 0 88px;
  background: var(--white);
  overflow: hidden;
}

.sym-screens-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  opacity: 0.1;
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
}

.sym-screens-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 28px;
  justify-items: center;
  align-items: start;
}

.sym-screen-item {
  width: 100%;
  max-width: 158px;
  display: flex;
  justify-content: center;
}

/* Top row — ends higher, middle pair lower */
.sym-screen-item:nth-child(1),
.sym-screen-item:nth-child(4) {
  margin-top: 0;
}

.sym-screen-item:nth-child(2),
.sym-screen-item:nth-child(3) {
  margin-top: 32px;
}

/* Bottom row — wave: high, down, lowest, back up */
.sym-screen-item:nth-child(5),
.sym-screen-item:nth-child(8) {
  margin-top: 0;
}

.sym-screen-item:nth-child(6) {
  margin-top: 22px;
}

.sym-screen-item:nth-child(7) {
  margin-top: 38px;
}

.sym-screen {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  border: 4px solid #000;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  background: #000;
}

.sym-solution {
  padding: 80px 0;
  background: var(--white);
}

.sym-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sym-solution-phones {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sym-solution-phones::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--red);
  opacity: 0.14;
  filter: blur(90px);
  border-radius: 50%;
  pointer-events: none;
}

.sym-solution-phones img {
  position: relative;
  width: 42%;
  max-width: 210px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.sym-solution-phones img:first-child {
  transform: rotate(-8deg) translateX(12%);
  z-index: 1;
}

.sym-solution-phones img:last-child {
  transform: rotate(6deg) translateX(-12%);
  z-index: 2;
}

.sym-conclusion {
  padding: 0 0 80px;
}

.sym-conclusion-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  min-height: 300px;
}

.sym-conclusion-visual img {
  width: 34%;
  max-width: 180px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.sym-conclusion-visual img:first-child {
  transform: rotate(-14deg) translate(18px, 10px);
  z-index: 1;
}

.sym-conclusion-visual img:last-child {
  transform: rotate(10deg) translate(-18px, -8px);
  z-index: 2;
}

.sym-conclusion-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.sym-conclusion-btn:hover {
  background: var(--red-hover);
}

.sym-more {
  padding: 80px 0 88px;
  background: #f3f4f6;
}

.sym-more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.sym-more-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}

.sym-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.sym-more-btn:hover {
  background: var(--red-hover);
}

.sym-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sym-more-card {
  background: #1a1a1a;
  border-radius: 18px;
  overflow: hidden;
}

.sym-more-media {
  aspect-ratio: 727 / 520;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.sym-more-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 10px;
}

.sym-more-body {
  padding: 22px 24px 26px;
}

.sym-more-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.sym-more-card p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.sym-more-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sym-more-link:hover {
  opacity: 0.75;
}

.sym-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .sym-hero-grid,
  .sym-problem-layout,
  .sym-dark-panel,
  .sym-solution-grid {
    grid-template-columns: 1fr;
  }

  .sym-problem-layout {
    padding: 40px 32px;
    min-height: auto;
  }

  .sym-problem-card {
    max-width: none;
  }

  .sym-meta-card {
    max-width: 420px;
  }

  .sym-screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .sym-screen-item {
    max-width: 148px;
  }

  .sym-screen-item:nth-child(n) {
    margin-top: 0;
  }

  .sym-screen-item:nth-child(2),
  .sym-screen-item:nth-child(4),
  .sym-screen-item:nth-child(6),
  .sym-screen-item:nth-child(8) {
    margin-top: 24px;
  }

  .sym-more-grid {
    grid-template-columns: 1fr;
  }

  .sym-dark-panel {
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .sym-hero-inner {
    padding-bottom: 56px;
  }

  .sym-screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .sym-screen-item {
    max-width: 132px;
    margin-top: 0 !important;
  }

  .sym-screen-item:nth-child(even) {
    margin-top: 20px !important;
  }

  .sym-more-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sym-problem-phone img,
  .sym-solution-phones img,
  .sym-conclusion-visual img {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .sym-hero-inner {
    padding-bottom: 48px;
  }

  .sym-screens-grid,
  .gsh-screens-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sym-screen-item:nth-child(even) {
    margin-top: 0 !important;
  }

  .sym-problem-layout,
  .sym-dark-panel {
    padding: 28px 20px;
  }

  .sym-more-grid .sym-more-card {
    min-height: auto;
  }
}
