/* =====================================================
   VINCITORE DESIGN -- SERVICES PAGE STYLES
   Safari-safe: flex gap replaced with margins
   ===================================================== */

/* ── SERVICE BLOCK LAYOUT ──────────────────────────── */
.svc-block {
  padding: 5rem 0 0;
  background: var(--white);
}
.svc-block:nth-child(even) {
  background: var(--off-white);
}

.svc-block-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; /* grid gap is fine */
  align-items: start;
  padding-bottom: 4rem;
}

/* ── LEFT COLUMN ───────────────────────────────────── */
.svc-left {
  display: flex;
  flex-direction: column;
}
/* replaces gap: 1.25rem */
.svc-left > * + * { margin-top: 1.25rem; }

/* Icon + title side by side */
.svc-title-row {
  display: flex;
  align-items: center;
}
/* replaces gap: 1rem */
.svc-title-row > * + * { margin-left: 1rem; }

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gold-subtle);
  border-radius: 50%;
  color: var(--gold);
}

.svc-block-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.svc-block-lead {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
}

.svc-process-block {
  border-left: 2px solid var(--gold);
  padding-left: 1.1rem;
  margin-top: .25rem;
}

.svc-process-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.svc-process-block p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── RIGHT COLUMN: COLLAGE ─────────────────────────── */
.svc-right {
  display: flex;
  flex-direction: column;
}
/* replaces gap: 1.5rem */
.svc-right > * + * { margin-top: 1.5rem; }

.svc-collage {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-grey);
  aspect-ratio: 16 / 11;
  border: 1px solid var(--light-grey);
}

.svc-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.svc-collage:hover img { transform: scale(1.02); }

.collage-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-grey);
  color: var(--text-muted);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.7;
}

/* ── SECTION TICKER ────────────────────────────────── */
.svc-ticker {
  background: var(--text-dark);
  height: 42px;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 0;
}

.svc-ticker .ticker-track {
  animation-duration: 22s;
}

/* ── DIVIDER ───────────────────────────────────────── */
.svc-divider {
  border: none;
  border-top: 1px solid var(--light-grey);
  margin: 0;
}

/* ── APPROACH BAND ─────────────────────────────────── */
.approach-band {
  background: var(--off-white);
  border-top: 1px solid var(--light-grey);
  padding: 6rem 0;
  text-align: center;
}
.approach-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.approach-body {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ── VIDEO EMBED (16:9) ────────────────────────────── */
.svc-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #111;
}
.svc-video-embed iframe,
.svc-video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── HERO TITLE ROW ────────────────────────────────── */
.svc-hero-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
/* replaces gap: 1.5rem */
.svc-hero-title-row > * + * { margin-left: 1.5rem; }
.svc-hero-title-row .page-hero-title { margin-bottom: 0; }

.svc-hero-icons {
  display: flex;
  align-items: center;
}
/* replaces gap: .75rem */
.svc-hero-icons > * + * { margin-left: .75rem; }

.svc-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold);
  transition: background .2s, color .2s, transform .2s;
  flex-shrink: 0;
}
.svc-hero-icon:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── HOW WE WORK TOGETHER ──────────────────────────── */
.svc-process-steps {
  padding: 5rem 0;
  background: #1e1c19;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.svc-steps-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 3rem;
  letter-spacing: -.01em;
}
.svc-process-steps .section-eyebrow {
  color: rgba(201,168,76,.75);
}
.svc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem; /* grid gap is fine */
}
.svc-step {
  display: flex;
  flex-direction: column;
}
/* replaces gap: .75rem */
.svc-step > * + * { margin-top: .75rem; }

.step-num {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: .45;
  line-height: 1;
  letter-spacing: -.02em;
}
.step-name {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.step-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
}

/* ── TOOLS & SOFTWARE ──────────────────────────────── */
.svc-tools {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--light-grey);
}
.svc-tools-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  letter-spacing: -.01em;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; /* grid gap is fine */
  background: var(--light-grey);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tool-item {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}
/* replaces gap: .3rem */
.tool-item > * + * { margin-top: .3rem; }
.tool-item:hover { background: var(--off-white); }
.tool-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .02em;
}
.tool-use {
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ── APPROACH CTA ROW ──────────────────────────────── */
.approach-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
/* replaces gap: 1.5rem */
.approach-cta-row > * { margin: .75rem; }

/* ── AVAILABILITY BADGE ────────────────────────────── */
.availability-badge {
  display: flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* replaces gap: .5rem */
.availability-badge > * + * { margin-left: .5rem; }

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cb85c;
  box-shadow: 0 0 0 3px rgba(92,184,92,.2);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(92,184,92,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(92,184,92,.1); }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .svc-block-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .svc-right { order: 1; }
  .svc-left  { order: 2; }
  .svc-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-hero-icons { display: none; }
}

@media (max-width: 540px) {
  .svc-block { padding-top: 3rem; }
  .svc-block-layout { padding-bottom: 2.5rem; }
  .tools-grid { grid-template-columns: 1fr; }
}