/* ============================================================
   TOTAL ONLINE MEDIA  (/total-online-media/)
   Light, corporate page: white and warm-cream grounds, charcoal
   text, gold accent, photography. Site fonts and gold from style.css.
   ============================================================ */

.tom-page { background: #ffffff; color: #1b1b1b; }
.tom-page .site-header { background: rgba(0,0,0,0.55); }
.tom-page .site-header.scrolled { background: rgba(0,0,0,0.95); }

.tom-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- HERO (photo) ---------- */
.tom-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: flex-end;
  background: #0d0d0d;
  overflow: hidden;
}
.tom-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tom-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.66) 42%, rgba(0,0,0,0.18) 78%, rgba(0,0,0,0.10) 100%),
              linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 40%);
}
.tom-hero-inner { position: relative; z-index: 1; width: 100%; padding: clamp(150px, 16vw, 200px) 0 clamp(56px, 7vw, 92px); }
.tom-brand {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 18px;
}
.tom-h1 {
  font-family: var(--font-body);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #ffffff;
  max-width: 820px;
}
.tom-lead {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
  color: #ffffff;
  max-width: 660px;
  margin-top: clamp(20px, 2.4vw, 30px);
}
.tom-btn {
  display: inline-block;
  margin-top: clamp(28px, 3.2vw, 40px);
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  padding: 19px 40px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.tom-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.tom-btn:focus-visible { outline: 3px solid #1b1b1b; outline-offset: 3px; }
.tom-hero .tom-btn:focus-visible { outline-color: #fff; }

/* ---------- FACT BAND ---------- */
.tom-facts { background: #1b1b1b; }
.tom-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tom-fact { display: flex; align-items: center; gap: 18px; padding: clamp(24px, 2.8vw, 36px) clamp(12px, 2vw, 28px); border-left: 1px solid rgba(255,255,255,0.14); }
.tom-fact:first-child { border-left: 0; padding-left: 0; }
.tom-fact svg { width: 44px; height: 44px; flex: 0 0 44px; }
.tom-fact p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.35; color: #ffffff; font-weight: 500; }
.tom-fact strong { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; color: var(--accent); }

/* ---------- SECTIONS ---------- */
.tom-section { padding: clamp(68px, 8vw, 116px) 0; }
.tom-section--white { background: #ffffff; }
.tom-section--cream { background: #f6f3ec; }
.tom-h2 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #141414;
  max-width: 860px;
}
.tom-h2 + .tom-body, .tom-h2 + .tom-grid2, .tom-h2 + .tom-results { margin-top: clamp(22px, 2.6vw, 34px); }
.tom-body { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: #2a2a2a; max-width: 760px; }
.tom-body + .tom-body { margin-top: 18px; }
.tom-body strong { color: #141414; }

.tom-grid2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tom-grid2--flip { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.tom-photo { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 22px 60px rgba(20,20,20,0.20); }
.tom-photo-frame { position: relative; }
.tom-photo-frame::before { content: ''; position: absolute; left: -14px; top: -14px; width: 42%; height: 46%; border-left: 3px solid var(--accent); border-top: 3px solid var(--accent); border-radius: 6px 0 0 0; }

/* ---------- RESULTS ---------- */
.tom-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.tom-result { background: #ffffff; border: 1px solid #e3ddd0; border-left: 4px solid var(--accent); border-radius: 6px; padding: clamp(26px, 2.8vw, 38px); box-shadow: 0 10px 30px rgba(20,20,20,0.06); }
.tom-result svg { width: 44px; height: 44px; margin-bottom: 18px; display: block; }
.tom-result h3 { font-family: var(--font-body); font-size: clamp(21px, 1.8vw, 25px); font-weight: 700; color: #141414; margin-bottom: 10px; line-height: 1.25; }
.tom-result p { font-size: 17px; line-height: 1.65; color: #2a2a2a; }

/* ---------- TDA ---------- */
.tom-points { list-style: none; margin: 24px 0; padding: 0; max-width: 760px; }
.tom-points li { position: relative; padding: 14px 0 14px 38px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; color: #141414; border-bottom: 1px solid #ddd6c6; }
.tom-points li:first-child { border-top: 1px solid #ddd6c6; }
.tom-points li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.tom-points li::after { content: ''; position: absolute; left: 8px; top: 24px; width: 7px; height: 4px; border-left: 2px solid #141414; border-bottom: 2px solid #141414; transform: rotate(-45deg); }
.tom-flow { margin-top: clamp(36px, 4.4vw, 60px); }
.tom-flow svg { display: block; width: 100%; height: auto; }
.tom-flow svg.tom-flow-mobile { display: none; }

/* ---------- PHOTO BAND (AI + analysts) ---------- */
.tom-band { position: relative; background: #141414; overflow: hidden; }
.tom-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tom-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.78) 50%, rgba(10,10,10,0.30) 100%); }
.tom-band-inner { position: relative; z-index: 1; padding: clamp(72px, 9vw, 124px) 0; }
.tom-band .tom-h2 { color: #ffffff; }
.tom-band .tom-body { color: #ffffff; max-width: 680px; }

/* ---------- CHECK LIST (reputation outcomes) ---------- */
.tom-checks { list-style: none; margin: 24px 0 0; padding: 0; }
.tom-checks li { position: relative; padding: 0 0 14px 38px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #1b1b1b; font-weight: 500; }
.tom-checks li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.tom-checks li::after { content: ''; position: absolute; left: 8px; top: 9px; width: 7px; height: 4px; border-left: 2px solid #141414; border-bottom: 2px solid #141414; transform: rotate(-45deg); }

/* ---------- INQUIRY FORM ---------- */
.tom-inquiry { scroll-margin-top: 80px; }
.tom-inquiry-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tom-form-card { background: #ffffff; border-radius: 8px; border-top: 4px solid var(--accent); padding: clamp(28px, 3.4vw, 46px) clamp(22px, 3vw, 42px); box-shadow: 0 22px 60px rgba(20,20,20,0.14); }
.tom-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tom-field { display: flex; flex-direction: column; gap: 8px; }
.tom-field--full { grid-column: 1 / -1; }
.tom-label { font-size: 15px; font-weight: 700; color: #1b1b1b; }
.tom-label .req { color: #8a6212; margin-left: 2px; }
.tom-input, .tom-select, .tom-textarea { width: 100%; background: #fff; border: 1px solid #c9c3b6; border-radius: 4px; color: #111; font-family: var(--font-body); font-size: 16px; padding: 14px 16px; outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.tom-textarea { resize: vertical; min-height: 124px; line-height: 1.6; }
.tom-input:focus, .tom-select:focus, .tom-textarea:focus { border-color: #b98a2f; box-shadow: 0 0 0 3px rgba(212,168,83,0.26); }
.tom-submit { grid-column: 1 / -1; width: 100%; margin-top: 4px; font-size: 19px; padding: 21px 32px; }
.tom-submit[disabled] { opacity: 0.6; cursor: default; transform: none; }
.tom-form-note { grid-column: 1 / -1; font-size: 14px; color: #4a4a4a; }
.tom-error { grid-column: 1 / -1; display: none; background: #fbeaea; border: 1px solid #d9a1a1; color: #7a1c1c; font-size: 15px; padding: 12px 16px; border-radius: 4px; }
.tom-error.visible { display: block; }
.tom-success { display: none; text-align: center; padding: clamp(20px, 3vw, 40px) 0; }
.tom-success.visible { display: block; }
.tom-success h3 { font-family: var(--font-body); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; color: #141414; margin-bottom: 12px; }
.tom-success p { font-size: 18px; line-height: 1.6; color: #2a2a2a; }
.tom-hp { position: absolute; left: -9999px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .tom-grid2, .tom-grid2--flip, .tom-inquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .tom-grid2--flip .tom-photo-frame { order: 2; }
  .tom-facts-grid { grid-template-columns: minmax(0, 1fr); }
  .tom-fact { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-left: 0; }
  .tom-fact:first-child { border-top: 0; }
  .tom-hero::after { background: linear-gradient(0deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.62) 60%, rgba(0,0,0,0.40) 100%); }
  .tom-band::after { background: rgba(10,10,10,0.84); }
  .tom-flow svg.tom-flow-desktop { display: none; }
  .tom-flow svg.tom-flow-mobile { display: block; max-width: 380px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .tom-results, .tom-form { grid-template-columns: minmax(0, 1fr); }
  .tom-btn { display: block; text-align: center; }
  .tom-photo-frame::before { left: -8px; top: -8px; }
}
@media (prefers-reduced-motion: reduce) { .tom-btn { transition: none; } }
