/* ============================================================
   Oslo Advertising — Services Page Styles
   File: assets/css/oslo-services.css
   All selectors scoped to .page-template-oslo-services-page to avoid
   conflicts with the parent Advia theme.
============================================================ */
/* ── SITE CONTAINER MATCH ── */
.page-template-oslo-services-page .oslo-hero,
.page-template-oslo-services-page .offer-strip,
.page-template-oslo-services-page .services-strip,
.page-template-oslo-services-page .promo-section,
.page-template-oslo-services-page .bottom-cta {
  padding-left: var(--e-global-spacing-container, 40px);
  padding-right: var(--e-global-spacing-container, 40px);
}

.page-template-oslo-services-page .oslo-hero > *,
.page-template-oslo-services-page .services-strip > *,
.page-template-oslo-services-page .promo-inner,
.page-template-oslo-services-page .bottom-cta > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
/* ── RESET (scoped) ── */
.page-template-oslo-services-page *,
.page-template-oslo-services-page *::before,
.page-template-oslo-services-page *::after {
  box-sizing: border-box;
}

/* ── CSS VARIABLES ── */
.page-template-oslo-services-page {
  --oslo-accent: #f2881f;
  --oslo-accent-light: #f5a04d;
  --oslo-accent-dim: rgba(242, 136, 31, 0.08);
  --oslo-accent-border: rgba(242, 136, 31, 0.25);
  --oslo-blue: #085495;
  --oslo-blue-light: #0a6ab8;
  --oslo-blue-dim: rgba(8, 84, 149, 0.08);
  --oslo-blue-border: rgba(8, 84, 149, 0.25);
  --oslo-border: rgba(0, 0, 0, 0.08);
  --oslo-section-border: rgba(242, 136, 31, 0.15);

  background: #ffffff;
  color: #111111;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.page-template-oslo-services-page .oslo-nav {
  padding-left: 40px;
  padding-right: 40px;
}

.page-template-oslo-services-page .oslo-nav > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.page-template-oslo-services-page .oslo-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.page-template-oslo-services-page .nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.page-template-oslo-services-page .nav-logo span {
  color: var(--oslo-accent);
}
.page-template-oslo-services-page .oslo-nav .nav-logo img {
  height: 70px;
  width: auto;
  display: block;
}
.page-template-oslo-services-page .nav-cta {
  background: var(--oslo-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.page-template-oslo-services-page .nav-cta:hover {
  background: var(--oslo-blue);
}

/* ── HERO ── */
.page-template-oslo-services-page #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-template-oslo-services-page .oslo-hero {
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--e-global-color-light);
  border-bottom: 1px solid var(--oslo-section-border);
}
.page-template-oslo-services-page .oslo-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(242, 136, 31, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-template-oslo-services-page .hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oslo-accent);
  border: 1px solid var(--oslo-accent-border);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.page-template-oslo-services-page .oslo-hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #111111;
  max-width: 820px;
  margin: 0 auto 24px;
}
.page-template-oslo-services-page .oslo-hero h1 em {
  font-style: normal;
  color: var(--oslo-accent);
}
.page-template-oslo-services-page .oslo-hero p {
  font-size: 18px;
  font-weight: 300;
  color: #666666;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.page-template-oslo-services-page .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.page-template-oslo-services-page .badge {
  background: var(--oslo-blue-dim);
  border: 1px solid var(--oslo-blue-border);
  color: var(--oslo-blue);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  letter-spacing: 0.3px;
}

/* ── CTA ROW (hero) ── */
.page-template-oslo-services-page .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-template-oslo-services-page .btn-primary {
  background: var(--oslo-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.page-template-oslo-services-page .btn-primary:hover {
  background: var(--oslo-blue);
}
.page-template-oslo-services-page .btn-secondary {
  background: transparent;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  display: inline-block;
}
.page-template-oslo-services-page .btn-secondary:hover {
  border-color: var(--oslo-blue);
  background: var(--oslo-blue-dim);
  color: var(--oslo-blue);
}

/* ── OFFER STRIP ── */
.page-template-oslo-services-page .offer-strip {
  background: var(--oslo-blue);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.page-template-oslo-services-page .offer-strip .offer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.page-template-oslo-services-page .offer-strip .offer-item::before {
  content: "✓";
  background: var(--oslo-accent);
  color: #fff;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ── SERVICES STRIP ── */
.page-template-oslo-services-page .services-strip {
  padding: 48px 40px;
  background: #f4f4f4;
  border-bottom: 1px solid var(--oslo-section-border);
}
.page-template-oslo-services-page .services-strip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666666;
  text-align: center;
  margin-bottom: 28px;
}
.page-template-oslo-services-page .services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-template-oslo-services-page .service-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #666666;
  font-size: 13px;
  font-weight: 400;
  padding: 8px 18px;
  transition: all 0.2s;
  background: #ffffff;
}
.page-template-oslo-services-page .service-pill:hover {
  border-color: var(--oslo-accent-border);
  color: var(--oslo-accent);
  background: var(--oslo-accent-dim);
  cursor: default;
}
.page-template-oslo-services-page .service-pill.active {
  border-color: var(--oslo-accent);
  color: var(--oslo-accent);
  background: var(--oslo-accent-dim);
}

/* ── INDUSTRIES SECTION ── */
.page-template-oslo-services-page .industries-section {
  padding: 80px 40px;
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
}
.page-template-oslo-services-page .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.page-template-oslo-services-page .section-header-left .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oslo-accent);
  margin-bottom: 14px;
}
.page-template-oslo-services-page .section-header-left h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #111111;
}
.page-template-oslo-services-page .section-header-left h2 em {
  font-style: normal;
  color: var(--oslo-accent);
}
.page-template-oslo-services-page .section-header-right p {
  font-size: 15px;
  font-weight: 300;
  color: #666666;
  max-width: 320px;
  line-height: 1.7;
}

/* ── INDUSTRY CARDS GRID ── */
.page-template-oslo-services-page .industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.page-template-oslo-services-page .industry-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.page-template-oslo-services-page .industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--oslo-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.page-template-oslo-services-page .industry-card:hover {
  background: var(--e-global-color-light);
}
.page-template-oslo-services-page .industry-card:hover::before {
  transform: scaleX(1);
}
.page-template-oslo-services-page .card-icon {
  width: 48px;
  height: 48px;
  background: var(--oslo-blue-dim);
  border: 1px solid var(--oslo-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  flex-shrink: 0;
}
.page-template-oslo-services-page .card-number {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 48px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  pointer-events: none;
}
.page-template-oslo-services-page .card-title {
  font-size: 20px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.page-template-oslo-services-page .card-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: var(--oslo-accent);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-template-oslo-services-page .card-desc {
  font-size: 14px;
  font-weight: 300;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}
.page-template-oslo-services-page .card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.page-template-oslo-services-page .card-service-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #666666;
  letter-spacing: 0.3px;
}
.page-template-oslo-services-page .card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--oslo-accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--oslo-accent-border);
  padding-bottom: 2px;
  transition:
    gap 0.2s,
    border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  margin-top: auto;
  width: fit-content;
}
.page-template-oslo-services-page .card-read-more:hover {
  gap: 14px;
  border-bottom-color: var(--oslo-accent);
  background: none;
  color: var(--oslo-accent);
}
.page-template-oslo-services-page .arrow {
  font-size: 16px;
  transition: transform 0.2s;
}
.page-template-oslo-services-page .card-read-more:hover .arrow {
  transform: translateX(4px);
}

/* ── EXPANDED PANEL ── */
.page-template-oslo-services-page .expanded-panel {
  display: none;
  background: #f4f4f4;
  border: 1px solid var(--oslo-accent-border);
  border-top: 3px solid var(--oslo-accent);
  padding: 40px;
  margin: 2px 0;
  animation: slideDown 0.3s ease;
}
.page-template-oslo-services-page .expanded-panel.open {
  display: block;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-template-oslo-services-page .expanded-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.page-template-oslo-services-page .expanded-left h3 {
  font-size: 26px;
  font-weight: 600;
  color: #111111;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.page-template-oslo-services-page .expanded-left .sub {
  font-size: 13px;
  color: var(--oslo-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.page-template-oslo-services-page .expanded-left p {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 24px;
}
.page-template-oslo-services-page .expanded-left .detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-template-oslo-services-page .expanded-left .detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: #666666;
  line-height: 1.5;
}
.page-template-oslo-services-page .expanded-left .detail-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--oslo-accent);
  flex-shrink: 0;
  margin-top: 6px;
  display: inline-block;
}
.page-template-oslo-services-page .expanded-right h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-template-oslo-services-page .service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}
.page-template-oslo-services-page .service-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 400;
  color: #111111;
  transition: background 0.2s;
}
.page-template-oslo-services-page .service-list-item:hover {
  background: #f9f9f9;
}
.page-template-oslo-services-page .service-list-item .sli-dot {
  width: 8px;
  height: 8px;
  background: var(--oslo-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.page-template-oslo-services-page .expanded-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oslo-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    gap 0.2s;
}
.page-template-oslo-services-page .expanded-cta:hover {
  background: var(--oslo-blue);
  gap: 14px;
}
.page-template-oslo-services-page .close-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #666666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition:
    background 0.2s,
    color 0.2s;
}
.page-template-oslo-services-page .close-panel:hover {
  background: var(--oslo-accent-dim);
  color: var(--oslo-accent);
}

/* ── PROMO SECTION ── */
.page-template-oslo-services-page .promo-section {
  padding: 80px 40px;
  border-top: 1px solid var(--oslo-section-border);
  border-bottom: 1px solid var(--oslo-section-border);
  background: var(--e-global-color-light);
}
.page-template-oslo-services-page .promo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}
.page-template-oslo-services-page .promo-card {
  padding: 40px 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  position: relative;
  transition: background 0.2s;
}
.page-template-oslo-services-page .promo-card:hover {
  background: #f9f9f9;
}
.page-template-oslo-services-page .promo-card.featured {
  background: var(--oslo-blue);
  border-color: var(--oslo-blue);
}
.page-template-oslo-services-page .promo-card.featured:hover {
  background: var(--oslo-blue-light);
}
.page-template-oslo-services-page .promo-number {
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  color: var(--oslo-accent);
  margin-bottom: 8px;
}
.page-template-oslo-services-page .promo-card.featured .promo-number {
  color: #fff;
}
.page-template-oslo-services-page .promo-title {
  font-size: 20px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.page-template-oslo-services-page .promo-card.featured .promo-title {
  color: #fff;
}
.page-template-oslo-services-page .promo-desc {
  font-size: 14px;
  font-weight: 300;
  color: #666666;
  line-height: 1.7;
}
.page-template-oslo-services-page .promo-card.featured .promo-desc {
  color: rgba(255, 255, 255, 0.75);
}
.page-template-oslo-services-page .promo-tag {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--oslo-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
}

/* ── BOTTOM CTA ── */
.page-template-oslo-services-page .bottom-cta {
  padding: 100px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.page-template-oslo-services-page .bottom-cta .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oslo-accent);
  margin-bottom: 20px;
}
.page-template-oslo-services-page .bottom-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: #111111;
  margin-bottom: 20px;
}
.page-template-oslo-services-page .bottom-cta h2 em {
  font-style: normal;
  color: var(--oslo-accent);
}
.page-template-oslo-services-page .bottom-cta p {
  font-size: 16px;
  font-weight: 300;
  color: #666666;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── FOOTER ── */
.page-template-oslo-services-page .oslo-footer {
  padding-left: 40px;
  padding-right: 40px;
}

.page-template-oslo-services-page .oslo-footer > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.page-template-oslo-services-page .oslo-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #085495;
}
.page-template-oslo-services-page .oslo-footer .foot-logo {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}
.page-template-oslo-services-page .oslo-footer .foot-logo span {
  color: var(--oslo-accent);
}
.page-template-oslo-services-page .oslo-footer .foot-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.page-template-oslo-services-page .oslo-footer p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .page-template-oslo-services-page .oslo-nav {
    padding: 0 20px;
    height: 70px;
  }
  .page-template-oslo-services-page .oslo-nav .nav-logo img {
    height: 50px;
  }
  .page-template-oslo-services-page .oslo-hero {
    padding: 64px 20px 56px;
  }
  .page-template-oslo-services-page .oslo-hero h1 {
    letter-spacing: -1px;
  }
  .page-template-oslo-services-page .offer-strip {
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
  }
  .page-template-oslo-services-page .services-strip {
    padding: 36px 20px;
  }
  .page-template-oslo-services-page .industries-section {
    padding: 56px 20px;
  }
  .page-template-oslo-services-page .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }
  .page-template-oslo-services-page .industry-grid {
    grid-template-columns: 1fr;
  }
  .page-template-oslo-services-page .expanded-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-template-oslo-services-page .promo-inner {
    grid-template-columns: 1fr;
  }
  .page-template-oslo-services-page .bottom-cta {
    padding: 64px 20px;
  }
  .page-template-oslo-services-page .oslo-footer {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }
}
