/* ============================================================
   GrandShow v2 — Extra styles (pages + contact modal)
   ============================================================ */

/* ── CONTACT MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,15,26,.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--r24);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 32px 80px rgba(11,15,26,.22);
  transform: translateY(24px) scale(.97);
  transition: transform .28s cubic-bezier(.34,1.4,.64,1);
  overflow: hidden;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-head {
  padding: 28px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 14px;
  color: var(--muted);
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light);
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
  color: var(--muted);
  line-height: 1;
}
.modal-close:hover { background: var(--border); color: var(--ink); }

.modal-contacts {
  display: flex;
  gap: 10px;
  padding: 18px 32px 0;
}
.modal-contact-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light);
  border-radius: var(--r12);
  padding: 12px 14px;
  text-decoration: none;
  transition: background .15s;
}
.modal-contact-item:hover { background: var(--orange-pale); }
.mci-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mci-icon.email { background: var(--blue-pale); }
.mci-icon.phone { background: var(--green-pale); }
.mci-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.mci-value { font-size: 13px; font-weight: 600; color: var(--ink); }

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.modal-body { padding: 0 32px 28px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mf-group { display: flex; flex-direction: column; gap: 5px; }
.mf-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mf-group input,
.mf-group select,
.mf-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r8);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.mf-group input:focus,
.mf-group select:focus,
.mf-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,95,31,.1);
}
.mf-group textarea { resize: vertical; min-height: 90px; }
.mf-group.full { grid-column: 1 / -1; }
.btn-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(255,95,31,.3);
  margin-top: 4px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,95,31,.4); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.modal-success {
  display: none;
  text-align: center;
  padding: 40px 32px;
}
.modal-success.show { display: block; }
.modal-success .success-icon { font-size: 52px; margin-bottom: 14px; }
.modal-success h3 { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.modal-success p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
  padding: 80px 0 70px;
  background: linear-gradient(170deg, #f8faff 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,95,31,.07), transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }

/* ── CTA STRIP (inner pages) ─────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--ink), var(--ink2));
  border-radius: var(--r24);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,95,31,.15), transparent 70%);
  top: -150px; left: -100px;
  pointer-events: none;
}
.cta-strip-text h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  position: relative;
}
.cta-strip-text h2 em { font-style: normal; color: var(--orange2); }
.cta-strip-text p { font-size: 15px; color: rgba(255,255,255,.5); position: relative; }
.cta-strip-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; position: relative; }

/* ── GRID CARDS (advertisers/publishers) ─────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r16);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  transform: scaleX(0);
  transition: transform .3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-card:hover::after { transform: scaleX(1); }
.bc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.bc-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.bc-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── STEPS (numbered) ────────────────────────────────── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  max-width: 780px;
}
.step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--orange-pale);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  padding-top: 4px;
  -webkit-text-stroke: 1.5px var(--orange);
}
.step-content {}
.step-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.step-desc  { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── FORMATS TABLE ───────────────────────────────────── */
.formats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--r16);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.formats-table th {
  background: var(--light);
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.formats-table td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.formats-table tr:last-child td { border-bottom: none; }
.formats-table tr:hover td { background: var(--light); }
.ft-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.ft-badge.o { background: var(--orange-pale); color: var(--orange); }
.ft-badge.b { background: var(--blue-pale);   color: var(--blue);   }
.ft-badge.g { background: var(--green-pale);  color: var(--green);  }

/* ── FAQ ACCORDION ───────────────────────────────────── */
.faq-accordion { margin-top: 48px; max-width: 860px; }
.faq-acc-item {
  border: 1px solid var(--border);
  border-radius: var(--r12);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-acc-item.open { box-shadow: var(--shadow); border-color: var(--orange); }
.faq-acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  gap: 16px;
  transition: background .15s;
}
.faq-acc-q:hover { background: var(--light); }
.faq-acc-item.open .faq-acc-q { background: var(--orange-pale); color: var(--orange); }
.faq-acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s, background .15s;
  color: var(--muted);
}
.faq-acc-item.open .faq-acc-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}
.faq-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-acc-item.open .faq-acc-body { max-height: 400px; }
.faq-acc-text {
  padding: 4px 22px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  background: var(--white);
}
.faq-acc-text a { color: var(--orange); }

/* ── STATS ROW (inner pages) ─────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 52px 0;
}
.sr-card {
  background: var(--light);
  border-radius: var(--r12);
  padding: 24px 20px;
  text-align: center;
}
.sr-num { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; }
.sr-num.orange { color: var(--orange); }
.sr-lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── NAV ACTIVE STATE ────────────────────────────────── */
.nav-links a.active { color: var(--orange); background: var(--orange-pale); }

/* ── RESPONSIVE EXTRAS ───────────────────────────────── */
@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .stats-row    { grid-template-columns: 1fr 1fr; }
  .cta-strip    { padding: 36px 28px; flex-direction: column; }
  .mf-row       { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .modal-contacts { flex-direction: column; }
  .formats-table  { font-size: 13px; }
  .formats-table th, .formats-table td { padding: 12px; }
}
