.service-ip .ip-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: clamp(50px, 6.5vw, 104px);
  align-items: center;
  min-height: clamp(690px, calc(100svh - 76px), 900px);
  padding-top: clamp(110px, 10vw, 155px);
  padding-bottom: clamp(110px, 10vw, 155px);
}

.ip-hero__copy { max-width: 680px; }

.ip-hero h1 {
  max-width: 9.5ch;
  font-size: clamp(3.8rem, 6.5vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.ip-hero__body {
  max-width: 48ch;
  margin-top: clamp(28px, 3vw, 42px);
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.25vw, 1.25rem);
  line-height: 1.6;
}

.ip-hero__support {
  max-width: 46ch;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ip-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f7f6f2;
  box-shadow: 0 26px 70px rgba(8, 11, 18, 0.08);
}

.ip-visual__button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.ip-visual__button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: opacity 220ms ease;
}

.ip-visual__button:hover img { opacity: 0.985; }

.ip-visual__button > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(8,11,18,.62);
  padding: 8px 12px;
  color: #fff;
  font-size: .72rem;
  font-weight: 620;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(10px);
}

.ip-visual__button:hover > span,
.ip-visual__button:focus-visible > span { opacity: 1; transform: translateY(0); }

.ip-visual__button:focus-visible,
.ip-lightbox__close:focus-visible { outline: 3px solid var(--blue); outline-offset: -5px; }

.ip-protected,
.ip-what {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: clamp(64px, 9vw, 150px);
  padding-top: clamp(130px, 12vw, 180px);
  padding-bottom: clamp(130px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.ip-protected h2,
.ip-what h2,
.ip-process h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.ip-protected__body > p,
.ip-what__content > p {
  max-width: 49ch;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.25vw, 1.23rem);
  line-height: 1.65;
}

.ip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 54px);
  margin-top: clamp(44px, 5vw, 68px);
  list-style: none;
}

.ip-list li {
  min-width: 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: .98rem;
  line-height: 1.35;
}

.ip-what__content > p {
  margin-top: clamp(38px, 4vw, 54px);
  border-left: 2px solid var(--blue);
  padding-left: 24px;
  color: var(--text);
  font-weight: 560;
}

.ip-process {
  padding-top: clamp(125px, 12vw, 175px);
  padding-bottom: clamp(130px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.ip-process__intro { max-width: 900px; margin-bottom: clamp(62px, 7vw, 92px); }

.ip-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 54px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip-process__steps li { min-width: 0; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.ip-process__steps span { display: block; margin-bottom: 32px; color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.ip-process__steps h3 { margin: 0 0 13px; font-size: clamp(1.4rem, 1.8vw, 1.8rem); letter-spacing: -.035em; line-height: 1.1; }
.ip-process__steps p { max-width: 29ch; color: var(--text-secondary); font-size: .96rem; line-height: 1.55; }

.ip-cta {
  padding-top: clamp(115px, 10vw, 155px);
  padding-bottom: clamp(120px, 10vw, 160px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.ip-cta__inner { max-width: 860px; margin-inline: auto; }
.ip-cta h2 { font-size: clamp(3rem, 5.4vw, 5.8rem); line-height: .97; letter-spacing: -.055em; }
.ip-cta__inner > p:not(.eyebrow) { max-width: 51ch; margin: 30px auto 0; color: var(--text-secondary); font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.6; }
.ip-cta .button { margin-top: 36px; }

body.ip-lightbox-open { overflow: hidden; }
.ip-lightbox[hidden] { display: none; }
.ip-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(60px, 7vh, 92px) clamp(18px, 5vw, 72px) clamp(24px, 4vh, 48px); }
.ip-lightbox__backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.94); }
.ip-lightbox__panel { position: relative; z-index: 1; width: min(90vw, 1440px, 104vh); color: #fff; }
.ip-lightbox figure { margin: 0; }
.ip-lightbox__image-wrap { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: #f7f6f2; }
.ip-lightbox__image-wrap img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.ip-lightbox figcaption { padding-top: 16px; }
.ip-lightbox figcaption p { margin: 0 0 5px; color: rgba(255,255,255,.62); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ip-lightbox figcaption h2 { margin: 0; font-size: clamp(1.35rem, 1.8vw, 1.9rem); letter-spacing: -.035em; }
.ip-lightbox__close { position: fixed; z-index: 2; top: max(20px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); min-width: 62px; min-height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); padding: 0 16px; color: #fff; cursor: pointer; font-size: .85rem; font-weight: 600; }

@media (max-width: 1080px) {
  .service-ip .ip-hero { grid-template-columns: minmax(0,.9fr) minmax(430px,1.1fr); gap: 48px; min-height: auto; }
  .ip-protected, .ip-what { gap: 60px; }
}

@media (max-width: 900px) {
  .service-ip .ip-hero, .ip-protected, .ip-what { grid-template-columns: 1fr; }
  .service-ip .ip-hero { gap: 64px; padding-top: 112px; }
  .ip-hero__copy { max-width: 760px; }
  .ip-visual { width: min(100%,760px); justify-self: center; }
  .ip-protected, .ip-what { gap: 56px; }
  .ip-process__steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px 42px; }
}

@media (max-width: 640px) {
  .service-ip .ip-hero { gap: 48px; padding-top: 86px; padding-bottom: 100px; }
  .ip-hero h1 { max-width: 100%; font-size: clamp(3rem,14vw,4.25rem); }
  .ip-visual, .ip-lightbox__image-wrap { border-radius: 14px; }
  .ip-visual__button > span { right: 12px; bottom: 12px; opacity: 1; transform: none; }
  .ip-list, .ip-list--two, .ip-process__steps { grid-template-columns: 1fr; }
  .ip-process__steps { gap: 50px; }
  .ip-lightbox { padding: max(70px,calc(env(safe-area-inset-top) + 54px)) 10px max(16px,env(safe-area-inset-bottom)); }
  .ip-lightbox__panel { width: min(94vw,104vh); }
}

@media (prefers-reduced-motion: reduce) {
  .ip-visual__button img, .ip-visual__button > span { transition: none; }
}
