/* ============================================================
   서비스 제안서 (Proposal) page — minimal: Hero + Unified CTA
   ============================================================ */

.prop-badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Buttons ─── */
.prop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.prop-btn:hover { transform: translateY(-1px); }
.prop-btn-primary {
  background: #2563EB; color: #FFFFFF;
}
.prop-btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.32);
}

/* ─── Hero ─── */
.prop-hero {
  background: #FFFFFF;
  padding: 96px 0 112px;
  position: relative;
  overflow: hidden;
}
.prop-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #F0F7FF 0%, transparent 60%);
  pointer-events: none;
}
.prop-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .prop-hero-shell {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
.prop-hero-text { min-width: 0; }
.prop-hero-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin: 20px 0 32px;
  line-height: 1.15;
}
.prop-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 32px;
  max-width: 520px;
}
.prop-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.prop-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94A3B8;
  font-feature-settings: 'tnum';
}
@media (max-width: 720px) {
  .prop-hero { padding: 64px 0 80px; }
  .prop-hero-title { font-size: 34px; }
  .prop-hero-sub { font-size: 16px; }
  .prop-hero-cta .prop-btn { width: 100%; justify-content: center; }
}

/* ─── PDF cover — multi-page document stack ─── */
.prop-cover-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  isolation: isolate;
  transform: rotate(-1deg);
  transform-origin: center center;
  transition: transform .35s ease;
}
.prop-cover-wrap:hover {
  transform: rotate(-1deg) translateY(-6px);
}
.prop-cover-wrap:hover .prop-cover {
  box-shadow:
    0 44px 80px -16px rgba(15, 23, 42, 0.40),
    0 18px 32px rgba(15, 23, 42, 0.14);
}

/* Stacked back pages — thin offset rectangles peeking out */
.prop-cover-page {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  pointer-events: none;
}
.prop-cover-page-3 {
  transform: translate(14px, 14px);
  background: #EEF2F7;
  border-color: #D9E0EA;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.prop-cover-page-2 {
  transform: translate(8px, 8px);
  background: #F5F8FC;
  border-color: #E2E8F0;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* The actual cover (top of the stack) */
.prop-cover {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  border-radius: 14px;
  overflow: hidden;
  z-index: 3;
  background: #0B1F3B;
  box-shadow:
    0 32px 64px -16px rgba(15, 23, 42, 0.28),
    0 12px 24px rgba(15, 23, 42, 0.10);
  transition: box-shadow .35s ease;
}
.prop-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle inner highlight ring */
.prop-cover::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  pointer-events: none;
  z-index: 2;
}

/* Folded top-right corner — the document tell */
.prop-cover-corner {
  position: absolute;
  top: 0; right: 0;
  width: 36px; height: 36px;
  background:
    linear-gradient(225deg, #F1F5F9 0%, #F1F5F9 50%, transparent 50%);
  filter: drop-shadow(-2px 2px 3px rgba(0,0,0,0.18));
  z-index: 4;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.prop-cover-corner::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 36px; height: 36px;
  background: linear-gradient(225deg, rgba(0,0,0,0.05) 0%, transparent 60%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* "PDF" pill on top-left corner */
.prop-cover-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #DC2626;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}
.prop-cover-badge svg {
  width: 12px; height: 12px;
  color: #DC2626;
}

@media (max-width: 960px) {
  .prop-cover-wrap { max-width: 560px; margin: 0 auto; }
}


/* PDF viewer section */
.prop-viewer {
  background: #F0F7FF;
  padding: 80px 0 96px;
}
.prop-viewer-head {
  text-align: center;
  margin-bottom: 36px;
}
.prop-viewer-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0F172A;
  margin: 14px 0 10px;
}
.prop-viewer-sub {
  font-size: 16px;
  color: #475569;
  margin: 0;
}
.prop-viewer-frame {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 11;
  background: #0F172A;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 32px 64px -16px rgba(15, 23, 42, 0.28),
    0 12px 24px -6px rgba(15, 23, 42, 0.10);
  border: 1px solid #E2E8F0;
}
.prop-viewer-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  background: #FFFFFF;
}
.prop-viewer-foot {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
@media (max-width: 720px) {
  .prop-viewer { padding: 56px 0 72px; }
  .prop-viewer-frame { aspect-ratio: 3 / 4; border-radius: 12px; }
}


.prop-viewer-frame object {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  background: #FFFFFF;
}
.prop-viewer-fallback {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  background: #FFFFFF;
  text-align: center;
}
.prop-viewer-fallback p {
  font-size: 15px;
  color: #475569;
  margin: 0;
  max-width: 520px;
  line-height: 1.6;
}


/* PDF.js canvas viewer */
.prop-viewer-frame-canvas {
  aspect-ratio: auto !important;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #FFFFFF;
}
.prop-viewer-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
  border-radius: 4px;
}
.prop-viewer-loading {
  color: #64748B;
  font-size: 15px;
  font-weight: 500;
}
.prop-viewer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.prop-viewer-nav button {
  padding: 10px 20px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.prop-viewer-nav button:hover:not(:disabled) {
  background: #F1F5F9;
  border-color: #94A3B8;
}
.prop-viewer-nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.prop-viewer-page {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  min-width: 80px;
  text-align: center;
  font-feature-settings: 'tnum';
}
