/* ================================================================
   Azru Solutions — Services Page Styles  (services.css)
   Aesthetic: dark hero → clean light body → dark CTA
   Fonts (loaded via pageFonts in controller):
     Cormorant Garamond · Syne · Space Mono
   All classes prefixed sv- (services)
   ================================================================ */


/* ================================================================
   1. TOKENS — scoped to .page-services
   ================================================================ */
.page-services {
  --sv-bg:        #FAFAF8;           /* warm near-white page body */
  --sv-bg-alt:    #F4F3F0;           /* alternate section bg */
  --sv-dark:      #080808;
  --sv-dark-2:    #0D0D0D;

  --sv-ink:       #141414;           /* headline colour */
  --sv-body:      #3D3D3D;           /* body copy */
  --sv-muted:     #6B6B6B;           /* captions, secondary text */
  --sv-faint:     #E8E6E2;           /* borders, dividers */

  --sv-fire:      #E8452A;           /* CTA accent */
  --sv-fire-glow: rgba(232, 69, 42, 0.22);

  --sv-line:      rgba(20, 20, 20, 0.07);

  --sv-serif:  'Cormorant Garamond', Georgia, serif;
  --sv-sans:   'Syne', system-ui, sans-serif;
  --sv-mono:   'Space Mono', 'Courier New', monospace;

  font-family: var(--sv-sans);
  background-color: var(--sv-bg);
  color: var(--sv-body);
}


/* ================================================================
   2. NAVBAR OVERRIDE — dark transparent glass over dark hero
   ================================================================ */
.page-services .navbar {
  background: rgba(8, 8, 8, 0.84);
  border-bottom-color: rgba(237, 232, 223, 0.07);
}
.page-services .navbar.is-scrolled {
  box-shadow: 0 1px 0 rgba(237,232,223,0.07), 0 8px 40px rgba(0,0,0,0.55);
}
.page-services .logo-text           { color: #EDE8DF; }
.page-services .navbar__link        { color: rgba(237,232,223,0.45); }
.page-services .navbar__link:hover,
.page-services .navbar__link.is-active {
  color: #EDE8DF;
  background: rgba(237,232,223,0.07);
}
.page-services .navbar__link.is-active { color: #E8452A; }
.page-services .navbar__toggle span    { background: #EDE8DF; }
.page-services .navbar__mobile         { background: #0A0A0A; border-top-color: rgba(237,232,223,0.07); }
.page-services .navbar__mobile-links a { color: rgba(237,232,223,0.45); }
.page-services .navbar__mobile-links a:hover,
.page-services .navbar__mobile-links a.is-active {
  color: #EDE8DF;
  background: rgba(237,232,223,0.07);
}


/* ================================================================
   3. SHARED UTILITIES
   ================================================================ */
.sv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--sv-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,232,223,0.5);
  margin-bottom: 1.5rem;
}
.sv-eyebrow--dark  { color: var(--sv-muted); }
.sv-eyebrow--fire  { color: rgba(232,69,42,0.9); }
.sv-eyebrow__dot {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: sv-pulse-dot 2.4s ease-in-out infinite;
}
.sv-eyebrow--fire .sv-eyebrow__dot { background: #E8452A; box-shadow: 0 0 6px #E8452A; }


/* ================================================================
   4. HERO
   ================================================================ */
.sv-hero {
  background: var(--sv-dark);
  padding: calc(var(--navbar-height, 72px) + 4.5rem) 0 0;
  position: relative;
  overflow: hidden;
}

/* Faint ambient glow */
.sv-hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 600px;
  top: -100px; right: -150px;
  background: radial-gradient(ellipse, rgba(232,69,42,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.sv-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}
.sv-hero__copy { max-width: 700px; }

.sv-hero__title {
  font-family: var(--sv-serif);
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 700;
  color: #EDE8DF;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  animation: sv-fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.sv-hero__title em {
  font-style: italic;
  color: #C8923A;
}
.sv-hero__sub {
  font-size: 1.075rem;
  color: rgba(237,232,223,0.50);
  max-width: 520px;
  line-height: 1.78;
  animation: sv-fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}

/* Four-colour bottom strip */
.sv-hero__strip {
  display: flex;
  height: 4px;
  margin-top: 5rem;
}
.sv-hero__strip-seg {
  flex: 1;
  opacity: 0.85;
}


/* ================================================================
   5. SERVICE NAV — sticky tab bar
   ================================================================ */
.sv-nav {
  position: sticky;
  top: var(--navbar-height, 72px);
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--sv-faint);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.sv-nav__inner {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.sv-nav__inner::-webkit-scrollbar { display: none; }

.sv-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.0625rem 1.5rem;
  font-family: var(--sv-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sv-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.sv-nav__link:hover {
  color: var(--sv-ink);
  background: var(--sv-bg-alt);
}
.sv-nav__link.is-active {
  color: var(--nc, var(--sv-fire));
  border-bottom-color: var(--nc, var(--sv-fire));
  background: transparent;
}
.sv-nav__num {
  font-family: var(--sv-mono);
  font-size: 0.7rem;
  opacity: 0.45;
  letter-spacing: 0.06em;
}
.sv-nav__link.is-active .sv-nav__num { opacity: 0.8; }


/* ================================================================
   6. SERVICE SECTIONS
   ================================================================ */
.sv-section {
  padding: 6rem 0;
  background: var(--sv-bg);
  position: relative;
  /* Left accent bar */
  border-left: 4px solid var(--sc, #4F8EF7);
}
.sv-section--alt {
  background: var(--sv-bg-alt);
}

/* ── Section header ── */
.sv-section__header {
  margin-bottom: 3.5rem;
}
.sv-section__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.sv-section__num {
  font-family: var(--sv-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sc, #4F8EF7);
}
.sv-section__rule {
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--sc, #4F8EF7);
  opacity: 0.4;
}
.sv-section__tag {
  font-family: var(--sv-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sv-muted);
  text-transform: uppercase;
}
.sv-section__title {
  font-family: var(--sv-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--sv-ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ── Two-column body ── */
.sv-section__body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

/* ── Left column ── */
.sv-section__left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sv-section__summary {
  font-family: var(--sv-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sv-ink);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.sv-section__desc {
  font-size: 1rem;
  color: var(--sv-body);
  line-height: 1.82;
}

/* Benefits */
.sv-benefits__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sv-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sv-muted);
  margin-bottom: 1.125rem;
}
.sv-benefits__icon {
  color: var(--sc, #4F8EF7);
  font-size: 0.9rem;
}
.sv-benefits__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.sv-benefit {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--sv-body);
  line-height: 1.6;
}
.sv-benefit__mark {
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sc, #4F8EF7) 12%, white);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}
.sv-benefit__mark::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%) rotate(45deg);
  width: 5px; height: 8px;
  border-right: 1.5px solid var(--sc, #4F8EF7);
  border-bottom: 1.5px solid var(--sc, #4F8EF7);
}

/* Section CTA button */
.sv-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-family: var(--sv-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: var(--sc, #4F8EF7);
  border: 1.5px solid var(--sc, #4F8EF7);
  padding: 0.875rem 1.875rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--sc, #4F8EF7) 35%, transparent);
  margin-top: 0.5rem;
}
.sv-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--sc, #4F8EF7) 45%, transparent);
  filter: brightness(1.08);
}

/* ── Right column ── */
.sv-section__right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--navbar-height, 72px) + 64px + 2rem);
}

/* Shared card styles */
.sv-card {
  background: #fff;
  border: 1px solid var(--sv-faint);
  border-radius: 14px;
  padding: 1.875rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sv-section--alt .sv-card { background: #faf9f7; }

/* Colored top bar on the included card */
.sv-card--included { padding-top: 0; overflow: hidden; }
.sv-card__top-bar {
  height: 3px;
  background: var(--sc, #4F8EF7);
  margin-bottom: 1.875rem;
}

.sv-card__heading {
  font-family: var(--sv-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sv-muted);
  margin-bottom: 1.125rem;
}
.sv-card__heading--sm { margin-bottom: 0.875rem; }

.sv-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.sv-card__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-family: var(--sv-sans);
  font-size: 0.9rem;
  color: var(--sv-body);
  line-height: 1.5;
}
.sv-card__check {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sc, #4F8EF7) 10%, white);
  border: 1px solid color-mix(in srgb, var(--sc, #4F8EF7) 25%, white);
  color: var(--sc, #4F8EF7);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Ideal for tags */
.sv-ideal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sv-ideal-tag {
  display: inline-block;
  font-family: var(--sv-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sv-body);
  background: color-mix(in srgb, var(--sc, #4F8EF7) 8%, white);
  border: 1px solid color-mix(in srgb, var(--sc, #4F8EF7) 18%, #E8E6E2);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  transition: all 0.2s ease;
}
.sv-ideal-tag:hover {
  background: color-mix(in srgb, var(--sc, #4F8EF7) 14%, white);
  color: var(--sv-ink);
}


/* ================================================================
   7. PROCESS SECTION
   ================================================================ */
.sv-process {
  padding: 7rem 0;
  background: var(--sv-dark);
  position: relative;
  overflow: hidden;
}

/* Faint grid texture */
.sv-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(237,232,223,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.sv-process__header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}
.sv-process__title {
  font-family: var(--sv-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #EDE8DF;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.sv-process__title em { font-style: italic; color: #C8923A; }
.sv-process__sub {
  font-size: 1rem;
  color: rgba(237,232,223,0.45);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.78;
}

/* Four steps in a horizontal row with connecting lines */
.sv-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.sv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}

/* Numbered circle */
.sv-step__circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(232,69,42,0.1);
  border: 1.5px solid rgba(232,69,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.sv-step:hover .sv-step__circle {
  background: rgba(232,69,42,0.18);
  border-color: #E8452A;
  box-shadow: 0 0 20px rgba(232,69,42,0.2);
}
.sv-step__circle--last { /* no connector after */ }

.sv-step__num {
  font-family: var(--sv-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E8452A;
  letter-spacing: 0.04em;
}

/* Horizontal connector line between circles */
.sv-step__connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 1px;
  background: rgba(237,232,223,0.1);
  z-index: 0;
}

.sv-step__title {
  font-family: var(--sv-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #EDE8DF;
  margin-bottom: 0.75rem;
}
.sv-step__text {
  font-size: 0.9rem;
  color: rgba(237,232,223,0.45);
  line-height: 1.75;
}


/* ================================================================
   8. FINAL CTA
   ================================================================ */
.sv-cta {
  padding: 7.5rem 0;
  background: var(--sv-dark-2);
  border-top: 1px solid rgba(237,232,223,0.07);
  position: relative;
  overflow: hidden;
}

/* Large ghost "?" behind content */
.sv-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,69,42,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.sv-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.sv-cta__content { flex: 1; min-width: 280px; }

.sv-cta__title {
  font-family: var(--sv-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #EDE8DF;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0.875rem 0 1.25rem;
}
.sv-cta__title em { font-style: italic; color: #C8923A; }
.sv-cta__sub {
  font-size: 1rem;
  color: rgba(237,232,223,0.45);
  max-width: 460px;
  line-height: 1.78;
}

.sv-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
  min-width: 220px;
}
.sv-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sv-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.22s ease;
  text-align: center;
  white-space: nowrap;
}
.sv-cta__btn--primary {
  background: #E8452A;
  color: #fff;
  border-color: #E8452A;
  box-shadow: 0 4px 20px rgba(232,69,42,0.28);
}
.sv-cta__btn--primary:hover {
  background: #D63B22;
  border-color: #D63B22;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,69,42,0.38);
}
.sv-cta__btn--ghost {
  background: transparent;
  color: rgba(237,232,223,0.7);
  border-color: rgba(237,232,223,0.18);
}
.sv-cta__btn--ghost:hover {
  border-color: rgba(237,232,223,0.4);
  color: #EDE8DF;
  background: rgba(237,232,223,0.05);
}


/* ================================================================
   9. KEYFRAMES
   ================================================================ */
@keyframes sv-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sv-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}


/* ================================================================
   10. RESPONSIVE
   ================================================================ */

/* ≤ 1100px — collapse service body to 1 col */
@media (max-width: 1100px) {
  .sv-section__body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sv-section__right {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .sv-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .sv-step__connector { display: none; }
}

/* ≤ 900px */
@media (max-width: 900px) {
  .sv-nav__label { display: none; }
  .sv-nav__link  { padding: 1rem; gap: 0; }
  .sv-nav__num   { font-size: 0.875rem; opacity: 1; letter-spacing: 0; }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .sv-hero  { padding-top: calc(var(--navbar-height, 72px) + 3rem); }
  .sv-section { padding: 4rem 0; }
  .sv-section__right { grid-template-columns: 1fr; }
  .sv-steps  { grid-template-columns: 1fr 1fr; }
  .sv-process { padding: 5rem 0; }

  .sv-cta__inner   { flex-direction: column; gap: 2.5rem; }
  .sv-cta__actions { width: 100%; }
  .sv-cta__btn     { width: 100%; }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .sv-hero__title  { font-size: 2.625rem; }
  .sv-section__title { font-size: 2.125rem; }
  .sv-section__summary { font-size: 1.0625rem; }
  .sv-steps { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Expand nav to show labels again, but scroll */
  .sv-nav__label { display: inline; }
  .sv-nav__link  { padding: 0.875rem 1.125rem; }
}
