/* Orange County 2026 Media Kit Landing Page */

.oc-landing {
  --oc-accent: #c8553d;
  --oc-accent-dark: #a8432f;
  --oc-accent-light: #fdf0ec;
  --oc-navy: #1a2332;
}

.oc-landing .oc-badge {
  display: inline-block;
  background: var(--oc-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* Hero */
.oc-hero {
  padding: 3rem 0 4.5rem;
  /* Clear fixed header: brand bar (140px) + nav row (90px) + breathing room */
  padding-top: calc(140px + var(--nav-height, 90px) + 3rem);
  background: linear-gradient(135deg, var(--oc-navy) 0%, #2a3544 50%, var(--oc-accent-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.oc-hero .container {
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.oc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200, 85, 61, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.oc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.oc-hero h1 {
  color: white;
  font-size: clamp(2.25rem, 4.5vw, 3.1rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.oc-hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.92;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.oc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.oc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--oc-accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.oc-btn-primary:hover {
  background: var(--oc-accent-dark);
  transform: translateY(-1px);
  color: white;
}

.oc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.oc-btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.oc-hero-cover {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: perspective(800px) rotateY(-4deg);
  transition: transform 0.4s ease;
  max-width: 440px;
  margin-left: auto;
}

.oc-hero-cover:hover {
  transform: perspective(800px) rotateY(0deg);
}

.oc-hero-cover img {
  width: 100%;
  display: block;
}

/* Stats bar */
.oc-stats {
  background: var(--oc-accent);
  color: white;
  padding: 2.5rem 0;
}

.oc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.oc-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.oc-stat-label {
  font-size: 0.9rem;
  opacity: 0.92;
  line-height: 1.4;
}

/* Sections */
.oc-section {
  padding: var(--spacing-xl) 0;
}

.oc-section-alt {
  background: var(--off-white);
}

.oc-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--spacing-lg);
}

.oc-section-header h2 {
  color: var(--oc-navy);
  margin-bottom: 1rem;
}

.oc-section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Value cards */
.oc-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.oc-value-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--oc-accent);
}

.oc-value-card h3 {
  color: var(--oc-accent);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

/* Comparison table */
.oc-comparison {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.oc-comparison-header {
  background: var(--oc-navy);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

.oc-comparison-header h3 {
  color: white;
  margin: 0;
}

.oc-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.oc-comparison-col {
  padding: 2rem;
}

.oc-comparison-col:first-child {
  border-right: 1px solid var(--border-color);
  background: var(--oc-accent-light);
}

.oc-comparison-col h4 {
  color: var(--oc-accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.oc-comparison-col.digital h4 {
  color: var(--text-light);
}

.oc-comparison-col ul {
  list-style: none;
  padding: 0;
}

.oc-comparison-col li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.oc-comparison-col li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--oc-accent);
  font-weight: 700;
}

.oc-comparison-col.digital li::before {
  content: '✗';
  color: #999;
}

.oc-comparison-highlight {
  background: var(--oc-accent);
  color: white;
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
}

/* PDF viewer section */
.oc-pdf-section {
  background: var(--oc-navy);
  color: white;
  padding: var(--spacing-xl) 0;
}

.oc-pdf-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 0.75rem;
}

.oc-pdf-section .oc-section-desc {
  text-align: center;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.oc-pdf-viewer-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #2a3544;
  min-height: 520px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.oc-pdf-viewer-wrap.is-unlocked {
  background: #fff;
  min-height: auto;
  padding: 2.5rem 2rem;
}

.oc-pdf-unlocked {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.oc-pdf-unlocked h3 {
  color: var(--oc-navy);
  margin-bottom: 0.75rem;
}

.oc-pdf-unlocked p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.oc-pdf-unlocked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.oc-pdf-unlocked-actions .oc-btn-outline {
  color: var(--oc-accent);
  border-color: var(--oc-accent);
}

.oc-pdf-unlocked-actions .oc-btn-outline:hover {
  background: var(--oc-accent-light);
  color: var(--oc-accent-dark);
}

.oc-pdf-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2;
  padding: 2rem;
}

.oc-pdf-gate.hidden {
  display: none;
}

.oc-pdf-gate-inner {
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.oc-pdf-gate-inner h3 {
  color: white;
  margin-bottom: 0.75rem;
}

.oc-pdf-gate-inner p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.oc-pdf-gate-form .input-group-stacked {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.oc-pdf-gate-form input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
}

.oc-pdf-gate-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.oc-pdf-gate-form input:focus {
  outline: none;
  border-color: var(--oc-accent);
}

.oc-pdf-toolbar {
  display: none;
  padding: 0.75rem 1rem;
  background: #1a2332;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.oc-pdf-toolbar.visible {
  display: flex;
}

.oc-pdf-toolbar a {
  color: var(--oc-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.oc-pdf-toolbar a:hover {
  text-decoration: underline;
}

/* Pricing table */
.oc-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
}

.oc-pricing-table thead {
  background: var(--oc-navy);
  color: white;
}

.oc-pricing-table th,
.oc-pricing-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.oc-pricing-table th:first-child,
.oc-pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.oc-pricing-table tbody tr:hover {
  background: var(--oc-accent-light);
}

.oc-pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Editorial calendar */
.oc-calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.oc-calendar-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--oc-accent);
}

.oc-calendar-card .oc-issue-badge {
  display: inline-block;
  background: var(--oc-accent-light);
  color: var(--oc-accent);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oc-calendar-card h3 {
  color: var(--oc-navy);
  margin-bottom: 0.75rem;
}

.oc-deadline {
  color: var(--oc-accent);
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Final CTA */
.oc-final-cta {
  background: linear-gradient(135deg, var(--oc-accent) 0%, var(--oc-accent-dark) 100%);
  color: white;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.oc-final-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.oc-final-cta p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.oc-phone-large {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: block;
  margin-top: 1rem;
}

.oc-phone-large:hover {
  color: white;
  opacity: 0.9;
}

/* Schedule popup */
.oc-schedule-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.oc-schedule-overlay.active {
  display: flex;
}

.oc-schedule-modal {
  background: white;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: ocModalIn 0.35s ease;
}

@keyframes ocModalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.oc-schedule-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  padding: 0.25rem;
}

.oc-schedule-close:hover {
  color: var(--text-dark);
}

.oc-schedule-modal h2 {
  color: var(--oc-navy);
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

.oc-schedule-modal p {
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

.oc-schedule-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.oc-schedule-actions .oc-btn-primary {
  justify-content: center;
  width: 100%;
}

.oc-schedule-phone {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.oc-schedule-phone span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.oc-schedule-phone a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--oc-accent);
  text-decoration: none;
}

/* Sticky mobile bar */
.oc-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--oc-navy);
  padding: 0.75rem 1rem;
  z-index: 9998;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  gap: 0.75rem;
}

.oc-sticky-bar.visible {
  display: flex;
}

.oc-sticky-bar a,
.oc-sticky-bar button {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.oc-sticky-schedule {
  background: var(--oc-accent);
  color: white;
}

.oc-sticky-call {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

/* Responsive */
@media (max-width: 1023px) {
  .oc-hero {
    padding-top: calc(var(--nav-height, 90px) + 2.5rem);
  }
}

@media (max-width: 968px) {
  .oc-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .oc-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .oc-hero-actions {
    justify-content: center;
  }

  .oc-hero-cover {
    max-width: 400px;
    margin: 0 auto;
    transform: none;
  }

  .oc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .oc-value-grid {
    grid-template-columns: 1fr;
  }

  .oc-comparison-grid {
    grid-template-columns: 1fr;
  }

  .oc-comparison-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .oc-calendar-grid {
    grid-template-columns: 1fr;
  }

  .oc-pricing-table {
    font-size: 0.85rem;
  }

  .oc-pricing-table th,
  .oc-pricing-table td {
    padding: 0.75rem 0.5rem;
  }

  .oc-sticky-bar.visible {
    display: flex;
  }

  body.oc-has-sticky {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .oc-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .oc-hero-actions {
    flex-direction: column;
  }

  .oc-btn-primary,
  .oc-btn-outline {
    width: 100%;
    justify-content: center;
  }
}
