/* Astrado Marketing Group  -  case-studies styles */

  /* HERO */
  .page-hero { background: linear-gradient(135deg, #1a2332 0%, #1e2d42 60%, #243448 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
  .page-hero::before { content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%); pointer-events: none; }
  .hero-label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
  .page-hero h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance; color: #fff; }
  .page-hero h1 em { font-style: normal; color: var(--gold); }
  .page-hero p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

  /* FILTER */
  .filter-bar { padding: 32px 0; border-bottom: 1px solid var(--gold-border); background: var(--navy-mid); }
  .filter-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .filter-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); text-transform: uppercase; margin-right: 6px; }
  .filter-btn { background: none; border: 1px solid var(--gold-border); color: rgba(255,255,255,0.7); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 500; padding: 6px 16px; border-radius: 20px; cursor: pointer; transition: all 0.2s; }
  .filter-btn:hover, .filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }

  /* CARDS */
  .cases-section { padding: 56px 0 80px; background: var(--navy); }
  .cases-grid { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
  .cs-card { background: var(--navy-mid); border: 1px solid var(--gold-border); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
  .cs-card:hover { border-color: rgba(201,168,76,0.5); }
  .cs-header { padding: 36px 36px 0; }
@media(max-width:600px) { .cs-header { padding: 24px 20px 0; } }
  .cs-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
  .cs-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
  .tag-seo { background: rgba(201,168,76,0.18); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
  .tag-ads { background: rgba(66,133,244,0.15); color: #7ab3f8; border: 1px solid rgba(66,133,244,0.25); }
  .tag-local { background: rgba(52,168,83,0.15); color: #6fcf87; border: 1px solid rgba(52,168,83,0.25); }
  .cs-industry { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
  .cs-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2.5vw, 1.7rem); letter-spacing: -0.02em; margin-bottom: 8px; color: #fff; }
  .cs-subhead { font-size: 1rem; color: var(--gold); font-weight: 500; }
  .cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); margin-top: 28px; }
  .cs-metric { padding: 20px 36px; border-right: 1px solid var(--gold-border); }
  .cs-metric:last-child { border-right: none; }
@media(max-width:600px) { .cs-metric { padding: 16px 20px; } }
  .cs-metric-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--gold); line-height: 1; margin-bottom: 4px; }
  .cs-metric-label { font-size: 0.75rem; color: rgba(255,255,255,0.75); font-weight: 500; line-height: 1.4; }
  .cs-body { padding: 24px 36px; color: rgba(255,255,255,0.88); line-height: 1.75; font-size: 0.95rem; }
@media(max-width:600px) { .cs-body { padding: 20px; } }
  .cs-images { padding: 0 36px 36px; display: flex; flex-direction: column; gap: 20px; }
@media(max-width:600px) { .cs-images { padding: 0 20px 24px; } }
  .cs-figure { margin: 0; }
  .cs-img { max-width: 100%; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); display: block; image-rendering: auto; }
  figcaption { font-size: 0.75rem; color: var(--text-dim); margin-top: 7px; padding-left: 2px; font-style: italic; }

  /* CTA SECTION */
  .cta-section { background: linear-gradient(135deg, #1e2d42 0%, #1a2332 100%); text-align: center; border-top: 1px solid var(--gold-border); padding: 80px 0; }
  .cta-section h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance; color: #fff; }
  .cta-section p { color: rgba(255,255,255,0.88); max-width: 500px; margin: 0 auto 36px; }
  .btn-gold { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.95rem; padding: 14px 36px; border-radius: 9999px; text-decoration: none; cursor: pointer; border: none; font-family: 'Plus Jakarta Sans', sans-serif; transition: background 0.2s, transform 0.15s; }
  .btn-gold:hover { background: #d4b05a; transform: translateY(-1px); }

  /* FOOTER */

  /* FORM OVERLAY */
  .form-overlay { position: fixed; inset: 0; background: rgba(10,16,26,0.88); backdrop-filter: blur(6px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
  .form-modal { background: var(--navy-mid); border: 1px solid var(--gold-border); border-radius: 16px; padding: 44px 40px; max-width: 580px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
@media(max-width:600px) { .form-modal { padding: 32px 20px; } }
  .form-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,0.75); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 4px; }
  .form-close:hover { color: var(--white); }
  .form-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 8px; }
  .form-sub { color: rgba(255,255,255,0.88); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.6; }
  .form-group { margin-bottom: 20px; }
  .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 7px; letter-spacing: 0.02em; }
  .req { color: var(--gold); }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--navy); border: 1px solid var(--gold-border); border-radius: 10px;
    color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9rem; padding: 11px 14px;
    transition: border-color 0.2s; outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
  .form-group select option { background: #1e2d42; }
  .form-group textarea { resize: vertical; min-height: 72px; }
  .checkbox-group { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
  .checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.75); cursor: pointer; }
  .checkbox-label input { width: auto; accent-color: var(--gold); }
  .form-submit { width: 100%; background: var(--gold); color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; padding: 14px; border: none; border-radius: 9999px; cursor: pointer; margin-top: 8px; transition: background 0.2s; }
  .form-submit:hover { background: #d4b05a; }
  .form-success { text-align: center; padding: 20px 0; }
  .success-icon { width: 56px; height: 56px; background: rgba(52,168,83,0.15); border: 1px solid rgba(52,168,83,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #6fcf87; margin: 0 auto 20px; }
  .form-success h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; margin-bottom: 10px; color: #fff; }
  .form-success p { color: rgba(255,255,255,0.88); font-size: 0.9rem; line-height: 1.65; }

  .cs-card[hidden] { display: none; }
