/* =====================================================
   CONDITIONS OF CARRIAGE PAGE
===================================================== */

/* ── Hero ── */
.coc-hero{position:relative;min-height:320px;display:flex;align-items:center;margin-top:72px;overflow:hidden}
.coc-hero-bg{position:absolute;inset:0;background-size:cover;background-position:50% 40%}
.coc-hero-overlay{position:absolute;inset:0;background:rgba(25,25,26,.82);mix-blend-mode:multiply}
.coc-hero-body{position:relative;z-index:2;padding:60px 32px;text-align:center}
.coc-hero-body h1{font-family:'Nexa Demo',sans-serif;font-size:clamp(2rem,5vw,3.2rem);font-weight:700;color:#fff;line-height:1.1;letter-spacing:-.02em;text-transform:uppercase;margin-bottom:12px}
.coc-hero-sub{font-family:'Figtree',sans-serif;font-size:13px;color:rgba(255,255,255,.7);font-style:italic}

/* ── Content Layout ── */
.coc-content{padding:80px 0;background:#fff}
.coc-layout{display:grid;grid-template-columns:280px 1fr;gap:60px;align-items:start}

/* ── Sidebar Navigation ── */
.coc-sidebar{position:sticky;top:100px}
.coc-nav{display:flex;flex-direction:column;gap:4px;background:#f5f6fa;border-radius:12px;padding:16px 12px;border:1.5px solid #e8eaf0;max-height:calc(100vh - 140px);overflow-y:auto}
.coc-nav-link{font-family:'Figtree',sans-serif;font-size:13px;color:#555;padding:10px 14px;border-radius:6px;transition:background .25s,color .25s;text-decoration:none;display:block}
.coc-nav-link:hover{background:#e8eaf0;color:#0D0E48}
.coc-nav-link.active{background:#CD202C;color:#fff;font-weight:600}

/* ── Main Content ── */
.coc-main{max-width:800px}

/* ── Sections ── */
.coc-section{margin-bottom:48px;scroll-margin-top:120px}
.coc-section h2{font-family:'Nexa Demo',sans-serif;font-size:24px;font-weight:700;color:#0D0E48;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #e8eaf0}
.coc-section h3{font-family:'Nexa Demo',sans-serif;font-size:18px;font-weight:700;color:#0D0E48;margin:20px 0 12px;padding-left:12px;border-left:3px solid #CD202C}
.coc-section p{font-family:'Figtree',sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-0.03em;color:#0D0E48;margin-bottom:16px}
.coc-section ul{font-family:'Figtree',sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-0.03em;color:#0D0E48;margin:16px 0;padding-left:24px}
.coc-section li{margin-bottom:10px}
.coc-section strong{color:#0D0E48;font-weight:600}

/* ── Footer Note ── */
.coc-footer-note{margin-top:48px;padding:24px;background:#f0fdf4;border-radius:10px;border:1.5px solid #86efac}
.coc-footer-note p{font-family:'Figtree',sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:-0.03em;color:#0D0E48;margin-bottom:8px}
.coc-footer-note p:last-child{margin-bottom:0}
.coc-footer-note strong{color:#166534}

/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width:1100px){
  .coc-layout{grid-template-columns:240px 1fr;gap:40px}
}

@media(max-width:900px){
  .coc-layout{grid-template-columns:1fr;gap:32px}
  .coc-sidebar{position:static;top:auto}
  .coc-nav{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-height:none;overflow-y:visible}
}

@media(max-width:768px){
  .coc-hero{min-height:280px}
  .coc-hero-body{padding:50px 24px}
  .coc-content{padding:60px 0}
  .coc-nav{grid-template-columns:1fr}
  .coc-section h2{font-size:20px}
  .coc-section h3{font-size:16px}
}

@media(max-width:520px){
  .coc-hero-body h1{font-size:1.6rem}
  .coc-section{margin-bottom:36px}
}
