:root {
  --ipc-ink: #24120c;
  --ipc-deep: #21100b;
  --ipc-brown: #603526;
  --ipc-brown-2: #532a1c;
  --ipc-paper: #f4ece5;
  --ipc-soft: #d9d2c9;
  --ipc-peach: #dda783;
  --ipc-gold: #b08a55;
  --ipc-sage: #7e8a72;
  --ipc-blue: #71818a;
  --ipc-line: rgba(244, 236, 229, 0.16);
  --ipc-dark-line: rgba(36, 18, 12, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ipc-body {
  margin: 0;
  color: var(--ipc-paper);
  background: var(--ipc-deep);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.ipc-page {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 16%, rgba(221, 167, 131, 0.11), transparent 24%),
    linear-gradient(90deg, rgba(244, 236, 229, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 236, 229, 0.035) 1px, transparent 1px),
    linear-gradient(138deg, #1d0e09 0%, #532a1c 52%, #2a120c 100%);
  background-size: cover, 84px 84px, 84px 84px, cover;
  background-position: center, calc(var(--ipc-scroll, 0px) * 0.35) 0, 0 calc(var(--ipc-scroll, 0px) * -1), center;
}

.ipc-page:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(244, 236, 229, 0.15) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.36;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 54%, transparent 100%);
  animation: ipcDotFlow 38s linear infinite;
}

.ipc-container {
  width: min(1450px, calc(100% - 56px));
  margin: 0 auto;
}

.ipc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(33, 16, 11, 0.72);
  border-bottom: 1px solid var(--ipc-line);
  backdrop-filter: blur(18px);
}

.ipc-nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.ipc-logo img {
  width: 176px;
  display: block;
}

.ipc-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ipc-menu a,
.ipc-pill,
.ipc-btn,
.ipc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ipc-line);
  color: var(--ipc-paper);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244, 236, 229, 0.045);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.ipc-menu a:hover,
.ipc-pill:hover {
  transform: translateY(-4px);
  color: var(--ipc-deep);
  background: var(--ipc-peach);
  border-color: transparent;
}

.ipc-pill {
  color: var(--ipc-peach);
}

.ipc-hero {
  min-height: calc(100vh - 94px);
  padding: 92px 0 78px;
  display: flex;
  align-items: center;
}

.ipc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1fr);
  gap: 68px;
  align-items: center;
}

.ipc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--ipc-peach);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ipc-kicker:before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.ipc-hero h1 {
  margin: 0;
  color: var(--ipc-paper);
  font-size: clamp(58px, 7.2vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

.ipc-hero h1 strong {
  display: block;
  color: var(--ipc-peach);
  font-weight: 950;
}

.ipc-hero p {
  width: min(760px, 100%);
  margin: 30px 0 0;
  color: rgba(244, 236, 229, 0.78);
  font-size: 21px;
  line-height: 1.72;
}

.ipc-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.ipc-btn {
  min-height: 56px;
  padding: 0 28px;
  background: var(--ipc-peach);
  color: var(--ipc-deep);
  border-color: transparent;
  box-shadow: 0 22px 60px rgba(221, 167, 131, 0.16);
}

.ipc-btn:hover,
.ipc-submit:hover {
  transform: translateY(-5px);
  color: var(--ipc-deep);
  box-shadow: 0 30px 80px rgba(221, 167, 131, 0.25);
}

.ipc-stage {
  position: relative;
  min-height: 680px;
}

.ipc-image-stack {
  position: absolute;
  inset: 0;
}

.ipc-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(244, 236, 229, 0.28);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  background: rgba(244, 236, 229, 0.08);
  transform: translateY(var(--ipc-scroll, 0px));
}

.ipc-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) sepia(0.12);
  transform: scale(1.04);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 1s ease;
}

.ipc-frame:hover img {
  transform: scale(1.12);
  filter: saturate(1.08) sepia(0);
}

.ipc-frame-main {
  left: 7%;
  top: 2%;
  width: 68%;
  height: 56%;
}

.ipc-frame-side {
  right: 0;
  bottom: 8%;
  width: 46%;
  height: 44%;
}

.ipc-frame-small {
  left: 0;
  bottom: 0;
  width: 35%;
  height: 28%;
}

.ipc-orbit {
  position: absolute;
  right: 12%;
  top: 11%;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 1px solid rgba(221, 167, 131, 0.42);
  display: grid;
  place-items: center;
  animation: ipcOrbit 9s linear infinite;
}

.ipc-orbit:before,
.ipc-orbit:after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(244, 236, 229, 0.13);
}

.ipc-orbit:before {
  inset: 18px;
}

.ipc-orbit:after {
  inset: 42px;
}

.ipc-orbit span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ipc-peach);
  transform: translateY(-84px);
  box-shadow: 0 0 34px rgba(221, 167, 131, 0.75);
}

.ipc-status-panel {
  position: absolute;
  left: 10%;
  bottom: 11%;
  width: min(470px, 72%);
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--ipc-line);
  background: rgba(33, 16, 11, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.ipc-status-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 236, 229, 0.12);
}

.ipc-status-row:last-child {
  border-bottom: 0;
}

.ipc-status-row i {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ipc-deep);
  background: var(--ipc-peach);
}

.ipc-status-row strong {
  display: block;
  color: var(--ipc-paper);
  font-size: 15px;
}

.ipc-status-row span {
  display: block;
  margin-top: 4px;
  color: rgba(244, 236, 229, 0.62);
  font-size: 13px;
}

.ipc-status-row em {
  color: var(--ipc-peach);
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.ipc-rail {
  overflow: hidden;
  border-block: 1px solid var(--ipc-line);
  background: rgba(33, 16, 11, 0.72);
}

.ipc-rail-track {
  display: flex;
  width: max-content;
  animation: ipcTicker 26s linear infinite;
}

.ipc-rail span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  color: rgba(244, 236, 229, 0.74);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ipc-rail span:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ipc-peach);
}

.ipc-section {
  padding: 116px 0;
}

.ipc-light {
  color: var(--ipc-ink);
  background: var(--ipc-paper);
}

.ipc-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 50px;
}

.ipc-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.94;
}

.ipc-heading p {
  margin: 0;
  color: rgba(36, 18, 12, 0.68);
  font-size: 18px;
  line-height: 1.74;
}

.ipc-contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ipc-contact-card,
.ipc-form-card,
.ipc-map-panel,
.ipc-channel-card {
  border-radius: 8px;
  border: 1px solid var(--ipc-dark-line);
  background: rgba(255, 248, 241, 0.74);
  box-shadow: 0 28px 90px rgba(53, 24, 15, 0.11);
}

.ipc-contact-card {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  padding: 42px;
  background: linear-gradient(to left, #532a1c 0%, #6e432e 100%) !important;
  background-color: #532a1c !important;
  color: var(--ipc-paper);
}

.ipc-contact-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 236, 229, 0.18) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.28;
  animation: ipcDotFlow 30s linear infinite reverse;
}

.ipc-contact-card > * {
  position: relative;
  z-index: 2;
}

.ipc-contact-card h3,
.ipc-form-card h3,
.ipc-map-panel h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.ipc-contact-card p {
  margin: 22px 0 38px;
  color: rgba(244, 236, 229, 0.7);
  line-height: 1.72;
}

.ipc-direct-list {
  display: grid;
  gap: 14px;
}

.ipc-direct {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(244, 236, 229, 0.13);
  background: rgba(244, 236, 229, 0.065);
  overflow: hidden;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), background 0.48s ease;
}

.ipc-direct:before,
.ipc-channel-card:before,
.ipc-form-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(221, 167, 131, 0.32), transparent 30%);
  transition: opacity 0.45s ease;
}

.ipc-direct:hover,
.ipc-channel-card:hover {
  transform: translateY(-7px);
  background: rgba(221, 167, 131, 0.14);
}

.ipc-direct:hover:before,
.ipc-channel-card:hover:before,
.ipc-form-card:hover:before {
  opacity: 1;
}

.ipc-direct i {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ipc-deep);
  background: var(--ipc-peach);
}

.ipc-direct span {
  display: block;
  color: rgba(244, 236, 229, 0.56);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ipc-direct strong {
  display: block;
  margin-top: 5px;
  color: var(--ipc-paper);
  font-size: 18px;
}

.ipc-form-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
}

.ipc-form-card h3 {
  color: var(--ipc-ink);
}

.ipc-form-card p {
  margin: 14px 0 30px;
  color: rgba(36, 18, 12, 0.62);
  line-height: 1.72;
}

.ipc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ipc-field {
  position: relative;
}

.ipc-field-full {
  grid-column: 1 / -1;
}

.ipc-field input,
.ipc-field textarea,
.ipc-field select {
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(36, 18, 12, 0.16);
  border-radius: 8px;
  padding: 24px 18px 9px;
  color: var(--ipc-ink);
  background: rgba(244, 236, 229, 0.74);
  outline: none;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.ipc-field textarea {
  min-height: 154px;
  resize: vertical;
}

.ipc-field label {
  position: absolute;
  left: 18px;
  top: 10px;
  color: rgba(36, 18, 12, 0.56);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  pointer-events: none;
}

.ipc-field input:focus,
.ipc-field textarea:focus,
.ipc-field select:focus {
  border-color: rgba(221, 167, 131, 0.85);
  background: #fff8f1;
  box-shadow: 0 0 0 5px rgba(221, 167, 131, 0.16);
}

.ipc-submit {
  grid-column: 1 / -1;
  min-height: 64px;
  border: 0;
  cursor: pointer;
  color: var(--ipc-paper);
  background: var(--ipc-brown);
}

.ipc-submit:hover {
  color: var(--ipc-paper);
  background: var(--ipc-ink);
}

.ipc-form-state {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--ipc-brown);
  font-weight: 800;
}

.ipc-dark {
  background: rgba(33, 16, 11, 0.68);
  border-block: 1px solid var(--ipc-line);
}

.ipc-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 24px;
}

.ipc-map-panel {
  min-height: 560px;
  padding: 34px;
  color: var(--ipc-paper);
  background:
    linear-gradient(145deg, rgba(33, 16, 11, 0.84), rgba(96, 53, 38, 0.78)),
    url("../img/index-2-pr/pr-strategy-room.jpg") center/cover;
  overflow: hidden;
}

.ipc-map-grid {
  position: relative;
  height: 360px;
  margin-top: 34px;
  border-radius: 8px;
  border: 1px solid rgba(244, 236, 229, 0.16);
  background:
    linear-gradient(90deg, rgba(244, 236, 229, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 236, 229, 0.08) 1px, transparent 1px),
    rgba(33, 16, 11, 0.42);
  background-size: 44px 44px;
}

.ipc-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

.ipc-pin:before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(221, 167, 131, 0.5);
  animation: ipcPing 2.8s ease-out infinite;
}

.ipc-pin span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ipc-deep);
  background: var(--ipc-peach);
  font-size: 14px;
  font-weight: 950;
}

.ipc-channel-stack {
  display: grid;
  gap: 18px;
}

.ipc-channel-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--ipc-paper);
  background: linear-gradient(145deg, rgba(244, 236, 229, 0.11), rgba(33, 16, 11, 0.42));
  border-color: var(--ipc-line);
  transition: transform 0.45s ease, background 0.45s ease;
}

.ipc-channel-card i {
  color: var(--ipc-peach);
  font-size: 30px;
}

.ipc-channel-card h3 {
  margin: 20px 0 12px;
  color: var(--ipc-paper);
  font-size: 28px;
}

.ipc-channel-card p {
  margin: 0;
  color: rgba(244, 236, 229, 0.66);
  line-height: 1.65;
}

.ipc-footer {
  padding: 42px 0;
  background: var(--ipc-paper);
  color: var(--ipc-ink);
}

.ipc-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ipc-footer img {
  width: 154px;
}

.ipc-footer p {
  margin: 0;
  color: rgba(36, 18, 12, 0.68);
}

.ipc-footer .ipc-pill {
  color: var(--ipc-brown);
  border-color: rgba(36, 18, 12, 0.14);
  background: rgba(96, 53, 38, 0.06);
}

.ipc-reveal {
  opacity: 0;
  transform: translateY(54px);
  clip-path: inset(10% 0 0 0);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.ipc-reveal[data-reveal="left"] {
  transform: translateX(-58px);
}

.ipc-reveal[data-reveal="right"] {
  transform: translateX(58px);
}

.ipc-reveal[data-reveal="zoom"] {
  transform: scale(0.94);
}

.ipc-reveal.is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.ipc-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  animation: ipcWord 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ipcDotFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 162px 126px;
  }
}

@keyframes ipcTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ipcOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ipcPing {
  from {
    opacity: 0.8;
    transform: scale(0.7);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes ipcWord {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .ipc-hero-grid,
  .ipc-contact-grid,
  .ipc-lab-grid,
  .ipc-heading {
    grid-template-columns: 1fr;
  }

  .ipc-hero {
    min-height: auto;
  }

  .ipc-stage {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .ipc-container {
    width: min(100% - 30px, 1450px);
  }

  .ipc-nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
  }

  .ipc-menu {
    display: none;
  }

  .ipc-logo img {
    width: 138px;
  }

  .ipc-hero {
    padding: 56px 0;
  }

  .ipc-hero h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .ipc-hero p {
    font-size: 17px;
  }

  .ipc-stage {
    min-height: 560px;
  }

  .ipc-frame-main {
    left: 0;
    width: 82%;
    height: 46%;
  }

  .ipc-frame-side {
    width: 62%;
    height: 34%;
  }

  .ipc-status-panel {
    left: 0;
    width: 100%;
    padding: 20px;
  }

  .ipc-section {
    padding: 74px 0;
  }

  .ipc-contact-card,
  .ipc-form-card,
  .ipc-map-panel {
    min-height: auto;
    padding: 24px;
  }

  .ipc-form {
    grid-template-columns: 1fr;
  }

  .ipc-map-grid {
    height: 300px;
  }
}
