/* —— Process Hero Image —— */
.proc-hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 62vw, 720px);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  margin-bottom: -2px;
}

.proc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Dark overlay for text readability */
.proc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .10) 0%,
      rgba(0, 0, 0, .04) 35%,
      rgba(0, 0, 0, .04) 58%,
      rgba(0, 0, 0, .52) 80%,
      rgba(0, 0, 0, .70) 100%);
}

/* Text on top of hero */
.proc-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 24px 26% 24px;
  z-index: 2;
}

.proc-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

.proc-hero-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.proc-hero-breadcrumb a:hover {
  color: var(--gold);
}

.proc-hero-breadcrumb span {
  color: rgba(255, 255, 255, .6);
}

.proc-hero-tag {
  display: inline-block;
  background: var(--gold);
  border: none;
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.proc-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 700px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.9);
  letter-spacing: -.01em;
}

.proc-hero-sub {
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  color: var(--text-dark);
  max-width: 520px;
  line-height: 1.7;
  text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 8px rgba(255, 255, 255, 1);
  font-weight: 700;
}

/* —— Proc Guide (Sidebar + Steps) —— */
.proc-guide {
  padding: 80px 0 100px;
  background: var(--section-bg);
}

.proc-guide-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.proc-nav-wrapper {
  position: sticky;
  top: 100px;
  /* Accounts for sticky header */
}

.proc-nav {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.proc-nav-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--section-bg);
}

.proc-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.proc-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all var(--transition);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.proc-nav-link:hover,
.proc-nav-link:focus {
  background: rgba(26, 75, 156, 0.06);
  color: var(--primary);
}

.proc-nav-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all var(--transition);
}

.proc-nav-link:hover .proc-nav-num {
  background: var(--primary);
  color: #fff;
}

/* Content Cards */
.proc-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.proc-step {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 100px;
}

.proc-step-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.proc-step-num {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(26, 75, 156, 0.25);
}

.proc-step-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.proc-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Checklist */
.proc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.proc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .98rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
}

.proc-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.proc-check-default {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.proc-check-star {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 16px 16px;
}

.proc-check-refresh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.59-9.98l1.75 2.41'/%3E%3C/svg%3E");
}

/* Documents Grid */
.proc-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.proc-docs-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.proc-docs-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}

/* Alert / Callout Box */
.proc-alert {
  background: #fdfaf3;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-left: 5px solid var(--gold);
  padding: 24px 28px;
  border-radius: 8px;
  margin-top: 24px;
}

.proc-alert h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.proc-alert-fail {
  background: rgba(231, 76, 60, 0.05);
  border-color: rgba(231, 76, 60, 0.2);
  border-left-color: var(--accent);
}

/* Table */
.proc-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--light-gray);
  margin-bottom: 16px;
}

.proc-table th,
.proc-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.proc-table th {
  background: var(--primary-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
}

.proc-table td {
  font-size: .98rem;
  color: var(--text-dark);
  font-weight: 600;
}

.proc-table tr:last-child td {
  border-bottom: none;
}

.proc-table tr:last-child {
  background: #f8fafc;
  font-weight: 800;
  color: var(--primary-dark);
}

.proc-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-mid);
  background: var(--section-bg);
  padding: 10px 16px;
  border-radius: 6px;
}

/* —— Bottom Split CTA —— */
.bottom-cta {
  display: flex;
  position: relative;
  background: #fff;
  overflow: hidden;
  min-height: 420px;
}

.bottom-cta * {
  z-index: 1;
}

/* The right side (image) */
.cta-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 35%;
  z-index: 0;
}

.cta-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

/* Left side (content) */
.cta-left {
  position: relative;
  width: 60%;
  padding: 70px 6% 70px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* The perfect skewed gold background */
.cta-left::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50vw;
  right: -6%;
  /* Adjusted to match wider container */
  background: #cca23b;
  transform-origin: top right;
  transform: skewX(-18deg);
  border-right: 12px solid #fff;
  z-index: -1;
}

/* Typography */
.cta-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 18px;
  width: 120%;
  /* Allows text to stretch wider than padding safely */
  max-width: 800px;
  letter-spacing: -0.01em;
}

.cta-left p {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  color: #2b2c30;
  font-weight: 700;
  margin-bottom: 30px;
  white-space: nowrap;
  /* Forces one line */
}

.cta-btn {
  align-self: flex-start;
  background: var(--primary);
  /* Primary color */
  color: #fff;
  padding: 15px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 75, 156, 0.25);
}

.cta-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.cta-btn span {
  display: inline-block;
  margin-left: 6px;
  font-size: 1.25em;
  line-height: 1;
  position: relative;
  top: 2px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE — PROCESS PAGE
   Breakpoints: 1200, 1024, 990, 768, 600, 480, 360
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* 1200px: Large desktop fine-tuning */
@media (max-width: 1200px) {
  .proc-step {
    padding: 40px;
  }

  .proc-guide-grid {
    grid-template-columns: 260px 1fr;
    gap: 36px;
  }
}

/* 1024px: CTA adjustments */
@media (max-width: 1024px) {
  .cta-left {
    width: 62%;
    padding-right: 4%;
  }

  .cta-left h2 {
    width: auto;
    font-size: 1.8rem;
  }

  .cta-left p {
    white-space: normal;
    /* Let it wrap on smaller screens */
  }

  .cta-right {
    left: 45%;
  }
}

/* 990px: Guide grid sidebar collapses */
@media (max-width: 990px) {
  .proc-guide-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .proc-nav-wrapper {
    position: relative;
    top: 0;
  }

  .proc-nav {
    padding: 24px;
  }

  .proc-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .proc-nav-link {
    border: 1px solid var(--light-gray);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .85rem;
  }

  .proc-docs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .proc-docs-image {
    grid-row: 1;
    /* Move image above text on mobile */
  }
}

/* 900px: Tablet portrait */
@media (max-width: 900px) {
  .proc-guide {
    padding: 60px 0 80px;
  }

  .proc-step {
    padding: 36px 32px;
  }

  .proc-step-title {
    font-size: 1.5rem;
  }

  .proc-hero {
    height: clamp(360px, 70vw, 560px);
  }

  .proc-hero-content {
    padding: 0 20px 28% 20px;
  }
}

/* 768px: Mobile portrait */
@media (max-width: 768px) {
  .proc-hero {
    height: clamp(340px, 75vw, 480px);
  }

  .proc-hero-content {
    padding: 0 18px 30% 18px;
  }

  .proc-hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .proc-hero-sub {
    font-size: .88rem;
  }

  .proc-guide {
    padding: 50px 0 70px;
  }

  .proc-step {
    padding: 28px 24px;
  }

  .proc-step-title {
    font-size: 1.35rem;
  }

  .proc-step-num {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  .proc-nav-list {
    flex-direction: column;
    gap: 6px;
  }

  .proc-nav-link {
    font-size: .88rem;
  }

  .proc-alert {
    padding: 18px 20px;
  }

  .proc-table th,
  .proc-table td {
    padding: 12px 16px;
    font-size: .88rem;
  }

  /* Bottom CTA */
  .bottom-cta {
    flex-direction: column;
    min-height: auto;
  }

  .cta-left {
    width: 100%;
    padding: 56px 7%;
    z-index: 2;
  }

  .cta-left::before {
    transform: none;
    border-right: none;
    right: 0;
  }

  .cta-left h2 {
    width: auto;
    font-size: 1.6rem;
  }

  .cta-left p {
    white-space: normal;
    font-size: .95rem;
  }

  .cta-right {
    position: relative;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 1;
  }
}

/* 600px: Mobile landscape */
@media (max-width: 600px) {
  .proc-hero {
    height: clamp(300px, 80vw, 420px);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  }

  .proc-hero-content {
    padding: 0 16px 20% 16px;
  }

  .proc-hero h1 {
    font-size: clamp(1.3rem, 7vw, 1.9rem);
  }

  .proc-hero-sub {
    font-size: .82rem;
    max-width: 100%;
  }

  .proc-guide {
    padding: 40px 0 60px;
  }

  .proc-step {
    padding: 24px 18px;
    gap: 14px;
  }

  .proc-step-header {
    gap: 14px;
    margin-bottom: 20px;
  }

  .proc-step-num {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .proc-step-title {
    font-size: 1.2rem;
  }

  .proc-text {
    font-size: .92rem;
  }

  .proc-list li {
    font-size: .9rem;
  }

  .proc-alert {
    padding: 16px;
  }

  .proc-alert h4 {
    font-size: 1rem;
  }

  .proc-table th,
  .proc-table td {
    padding: 10px 12px;
    font-size: .82rem;
  }

  .cta-left {
    padding: 44px 6%;
  }

  .cta-left h2 {
    font-size: 1.4rem;
  }

  .cta-right {
    height: 260px;
  }

  .cta-btn {
    padding: 13px 28px;
    font-size: .92rem;
  }
}

/* 480px: Mobile portrait */
@media (max-width: 480px) {
  .proc-hero {
    height: clamp(280px, 85vw, 380px);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
  }

  .proc-hero-content {
    padding: 0 14px 16% 14px;
  }

  .proc-hero h1 {
    font-size: clamp(1.2rem, 7.5vw, 1.6rem);
  }

  .proc-hero-sub {
    font-size: .78rem;
  }

  .proc-hero-tag {
    font-size: .62rem;
    padding: 5px 14px;
  }

  .proc-nav {
    padding: 18px 16px;
  }

  .proc-nav-title {
    font-size: 1rem;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .proc-step {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .proc-step-title {
    font-size: 1.1rem;
  }

  .proc-content {
    gap: 20px;
  }

  .cta-left {
    padding: 36px 5%;
  }

  .cta-left h2 {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  .cta-left p {
    font-size: .88rem;
    margin-bottom: 20px;
  }

  .cta-btn {
    padding: 12px 24px;
    font-size: .88rem;
  }

  .cta-right {
    height: 220px;
  }
}

/* 360px: Very small mobile */
@media (max-width: 360px) {
  .proc-hero {
    height: clamp(250px, 90vw, 340px);
  }

  .proc-hero h1 {
    font-size: 1.1rem;
  }

  .proc-step {
    padding: 16px 14px;
  }

  .proc-step-title {
    font-size: 1rem;
  }

  .proc-table th,
  .proc-table td {
    padding: 8px 10px;
    font-size: .78rem;
  }
}

