/* our-services.css local aliases — values now inherit from tokens.css */
:root {
  /* Neutrals */
  --bg-soft:           var(--bg-warm);
  --muted:             var(--ink-soft);
  --muted-2:           var(--mute);
  --card-cream:        var(--bg-card);
  --card-cream-2:      #f7f4ee;            /* slightly warmer card bg, kept literal */
  --card-cream-border: var(--line);
  --card-white:        var(--white);
  /* Legacy colour aliases used in component bodies — do not remove */
  --yellow:        var(--orange);
  --yellow-2:      var(--orange-deep);
  --yellow-hover:  var(--orange-light);
  --yellow-border: var(--orange-deep);
  --black-card:    var(--navy);
  --black-card-2:  var(--navy-deep);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}

body {
  font-family: "Funnel Display", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============= TOP ORANGE BAR ============= */
.top-bar {
  height: 14px;
  background: linear-gradient(
    180deg,
    var(--orange-light) 0%,
    var(--orange) 100%
  );
  width: 100%;
}

/* ============= PAGE WRAPPER ============= */
.page {
  display: block;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 40px 40px;
}

/* ============= NAV ============= */
nav {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.logo {
  position: absolute;
  left: 0;
  top: 50%; /* Optional: centers it vertically */
  transform: translateY(-50%); 
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    var(--navy-light) 0%,
    var(--navy-deep) 100%
  );
  border-radius: 100px;
  padding: 6px;
  gap: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 2px rgba(6, 26, 50, 0.6) inset,
    0 2px 0 var(--navy-deep),
    0 6px 14px -2px rgba(11, 45, 83, 0.3),
    0 16px 30px -10px rgba(6, 26, 50, 0.25);
}

.logo {
  padding: 10px 18px 11px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-link {
  padding: 10px 16px 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: #cccccc;
  text-decoration: none;
  border-radius: 100px;
  letter-spacing: -0.005em;
  transition:
    color 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: inherit;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.book-cta {
  padding: 10px 20px 11px;
  background: linear-gradient(
    180deg,
    var(--orange-light) 0%,
    var(--orange) 55%,
    var(--orange-deep) 100%
  );
  color: #ffffff;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.005em;
  margin-left: 6px;
  border: 1px solid var(--orange-deep);
  cursor: pointer;
  font-family: inherit;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 -1px 2px rgba(180, 50, 10, 0.3) inset,
    0 2px 6px rgba(242, 101, 34, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.book-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 2px rgba(180, 50, 10, 0.3) inset,
    0 4px 12px rgba(242, 101, 34, 0.45);
}

/* ============= HERO ============= */
.hero {
  text-align: center;
  padding: 30px 0 50px;
}

.headline {
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 36px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.headline .word {
  display: inline-block;
}

.headline .arrow {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.12em;
  vertical-align: middle;
  transform: translateY(-0.08em);
  color: var(--orange);
}

.headline .arrow svg {
  width: 100%;
  height: 100%;
}

.subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: -0.005em;
  max-width: 580px;
  margin: 0 auto 38px;
}

/* Themed Orange CTA big */
.cta-yellow {
  appearance: none;
  border: 1px solid var(--orange-deep);
  background: linear-gradient(
    180deg,
    var(--orange-light) 0%,
    var(--orange) 55%,
    var(--orange-deep) 100%
  );
  color: #ffffff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 14px 18px 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -2px 4px rgba(160, 45, 10, 0.35) inset,
    0 2px 0 var(--orange-deep),
    0 4px 0 #9e3606,
    0 8px 18px -2px rgba(242, 101, 34, 0.45),
    0 16px 28px -10px rgba(242, 101, 34, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta-yellow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 -2px 4px rgba(160, 45, 10, 0.35) inset,
    0 3px 0 var(--orange-deep),
    0 6px 0 #9e3606,
    0 12px 24px -2px rgba(242, 101, 34, 0.55),
    0 22px 36px -10px rgba(242, 101, 34, 0.4);
}

.cta-yellow:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -1px 2px rgba(160, 45, 10, 0.35) inset,
    0 1px 0 var(--orange-deep),
    0 2px 0 #9e3606,
    0 4px 8px rgba(242, 101, 34, 0.35);
}

.cta-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.cta-circle svg {
  width: 14px;
  height: 14px;
}

/* ============= CARDS GRID ============= */
.cards-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: 20px;
  margin-top: 30px;
}

.card-base {
  border-radius: 28px;
  padding: 30px;
  position: relative;
  min-height: 360px;
}

/* Services card */
.services-card {
  background: linear-gradient(
    180deg,
    var(--card-cream) 0%,
    var(--card-cream-2) 100%
  );
  border: 1px solid var(--card-cream-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 2px rgba(0, 0, 0, 0.02) inset,
    0 4px 12px rgba(40, 40, 30, 0.04),
    0 16px 28px -8px rgba(40, 40, 30, 0.06);
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}

/* Tags container - relative for absolute tag positioning */
.tags-container {
  position: relative;
  flex: 1;
  min-height: 240px;
  margin-top: 10px;
}

.tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 9px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: filter 0.2s ease;
}

.tag.black {
  background: linear-gradient(
    180deg,
    var(--navy-light) 0%,
    var(--navy-deep) 100%
  );
  color: #ffffff;
  border: 1px solid var(--navy-deep);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -1px 2px rgba(6, 26, 50, 0.5) inset,
    0 2px 6px rgba(11, 45, 83, 0.25),
    0 8px 16px -4px rgba(6, 26, 50, 0.22);
}

.tag.white {
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 100%);
  color: var(--navy);
  border: 1px solid #e2ddd3;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 2px rgba(11, 45, 83, 0.03) inset,
    0 2px 4px rgba(11, 45, 83, 0.06),
    0 6px 12px -2px rgba(11, 45, 83, 0.08);
}

.tag:hover {
  filter: brightness(1.08);
}

.tag .tag-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-light), var(--navy-deep));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tag .tag-icon svg {
  width: 9px;
  height: 9px;
  color: var(--orange);
}

/* Stats card (split into 2) */
.stats-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: 360px;
}

.stat-half {
  flex: 1;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.stat-half:hover {
  transform: translateY(-2px);
}

.stat-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #ffffff;
  border: 1px solid var(--navy-deep);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -2px 4px rgba(6, 26, 50, 0.5) inset,
    0 3px 0 rgba(6, 26, 50, 0.4),
    0 12px 24px -4px rgba(11, 45, 83, 0.28);
}

.stat-light {
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 100%);
  color: var(--navy);
  border: 1px solid var(--card-cream-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 2px rgba(11, 45, 83, 0.02) inset,
    0 4px 12px rgba(11, 45, 83, 0.05),
    0 12px 24px -8px rgba(11, 45, 83, 0.07);
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.7;
  max-width: 260px;
}

/* Testimonial card */
.testimonial-card {
  background: linear-gradient(
    180deg,
    var(--card-cream) 0%,
    var(--card-cream-2) 100%
  );
  border: 1px solid var(--card-cream-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 2px rgba(0, 0, 0, 0.02) inset,
    0 4px 12px rgba(40, 40, 30, 0.04),
    0 16px 28px -8px rgba(40, 40, 30, 0.06);
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-size: 52px;
  font-weight: 700;
  line-height: 0.5;
  color: var(--orange);
  margin-bottom: 28px;
  letter-spacing: -0.05em;
}

.testimonial-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 22px;
  flex: 1;
}

.testimonial-text p {
  margin-bottom: 14px;
}

.testimonial-avatars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-avatars .avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--card-cream);
  margin-left: -10px;
  background: linear-gradient(135deg, #b03c2e, #6e2418);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.testimonial-avatars .avatar-mini:first-child {
  margin-left: 0;
}
.testimonial-avatars .avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
  font-size: 0;
  position: relative;
  z-index: 2;
}
.testimonial-avatars .avatar-mini svg.fb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.testimonial-avatars .author-label {
  margin-left: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--orange-light) 0%,
    var(--orange) 100%
  );
  border: 2px solid var(--card-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 2px 6px rgba(242, 101, 34, 0.35);
}

/* Responsive */
@media (max-width: 1100px) {
  .page {
    padding: 20px 24px 32px;
  }
  .nav-pill {
    padding: 4px;
  }
  .logo,
  .nav-link,
  .book-cta {
    padding: 8px 14px;
    font-size: 13.5px;
  }
  .headline {
    font-size: 60px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .stats-card {
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  .headline {
    font-size: 42px;
  }
  .nav-link {
    display: none;
  }
  .stats-card {
    flex-direction: column;
  }
  .card-base,
  .stat-half {
    padding: 24px;
  }
  .stat-number {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  nav {
    margin-bottom: 30px;
  }
  .page {
    padding: 16px 14px;
  }
  .headline {
    font-size: 32px;
  }
  .subtitle {
    font-size: 14px;
  }
  .cta-yellow {
    font-size: 14px;
    padding: 10px 14px 10px 20px;
  }
}
