/* ═══════════════════════════════════════════════════════════
   RAIM — Agency Audit Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Mobile-only line break ── */
.mobile-break { display: none; }
@media (max-width: 768px) { .mobile-break { display: block; } }

/* ── Nav Active State ── */
.nav-link-active { color: var(--brown) !important; font-weight: 600 !important; }

/* ── Agency Hero Background ── */
.agency-hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background: url('agency-hero.jpg') center center / cover no-repeat;
}

/* ── Agency Hero Title Override ── */
.hero-content h1 {
  font-size: clamp(42px, 7vw, 96px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ── Agency Sections ── */
.agency-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--white);
}
.agency-section--dark {
  background: var(--ink);
}
.agency-section--dark.has-bg {
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url('audit-bg.png') center center / cover no-repeat fixed;
}
.agency-section--cream {
  background: var(--off-white);
}

/* ── Problem Grid ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.problem-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.problem-icon {
  color: var(--brown);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Audit Steps ── */
.audit-intro {
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.audit-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
}
.audit-step {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.audit-step:last-child { border-bottom: none; }
.audit-step-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--brown);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
}
.audit-step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.audit-step-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ── Areas Grid ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.area-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 32px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.area-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.area-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Outcomes Grid ── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.outcome-card {
  text-align: center;
  padding: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px);
}
.outcome-metric {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 12px;
}
.outcome-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.outcome-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Fit Grid ── */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.fit-card {
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
}
.fit-card--yes {
  background: var(--off-white);
  border: 1px solid var(--border);
}
.fit-card--no {
  background: var(--white);
  border: 1px solid var(--border);
}
.fit-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
}
.fit-card ul {
  list-style: none;
  padding: 0;
}
.fit-card li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}
.fit-card--yes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brown);
}
.fit-card--no li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 2px;
  margin-top: 4px;
  background: var(--text-muted);
}

/* ── Founders Grid ── */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: clamp(40px, 5vw, 64px);
}
.founder-card {
  display: flex;
  gap: clamp(24px, 3vw, 32px);
  align-items: flex-start;
}
.founder-photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.founder-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.founder-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.founder-linkedin {
  display: inline-block;
  color: var(--text-muted);
  margin-top: 12px;
  transition: color 0.3s;
}
.founder-linkedin:hover {
  color: #0A66C2;
}
.founder-info p:last-of-type {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .founders-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-card { flex-direction: column; align-items: center; text-align: center; }
  .founder-photo { width: 120px; height: 120px; }
}

/* ── Audit Form ── */
.audit-form {
  max-width: 640px;
  margin-top: clamp(32px, 4vw, 48px);
}
.audit-form .btn {
  margin-top: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group--full {
  margin-bottom: 24px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brown);
  background: rgba(255,255,255,0.1);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option {
  background: var(--ink);
  color: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── Agency CTA Section ── */
.agency-cta h2 {
  line-height: 1.15;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Agency Page
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .agency-section { padding: clamp(64px, 12vw, 100px) 0; }

  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-card { padding: 24px; }

  .agency-section--dark.has-bg { background-attachment: scroll; }
  .audit-intro { font-size: 15px; }
  .audit-step { flex-direction: column; gap: 8px; padding: 24px 0; }
  .audit-step-number { font-size: 28px; width: auto; }

  .areas-grid { grid-template-columns: 1fr; gap: 12px; }
  .area-card { padding: 20px; }

  .outcomes-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .outcome-card { padding: 20px 12px; }
  .outcome-metric { font-size: 36px; }

  .fit-grid { grid-template-columns: 1fr; gap: 16px; }
  .fit-card { padding: 28px; }

  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .audit-form { margin-top: 24px; }
}

@media (max-width: 400px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-metric { font-size: 32px; }
}
