/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
}

.text-accent {
  color: #2563eb;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  padding: 14px 32px;
}

.btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}

.btn--outline-light:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo__text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  transition: color 0.3s;
}

.logo__accent {
  color: #2563eb;
}

.nav__list {
  display: flex;
  gap: 8px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s;
}

.nav__link:hover,
.nav__link.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Light header variant (for dark hero backgrounds on service pages) */
.header--light .logo__text {
  color: #fff;
}

.header--light .nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.header--light .nav__link:hover,
.header--light .nav__link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header--light .hamburger span {
  background: #fff;
}

.header--light .header__actions .btn--primary {
  background: #fff;
  color: #2563eb;
  border-color: #fff;
}

.header--light .header__actions .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1d4ed8;
}

.header--light.scrolled .logo__text { color: #0f172a; }
.header--light.scrolled .nav__link { color: #334155; }
.header--light.scrolled .nav__link:hover,
.header--light.scrolled .nav__link.active { color: #2563eb; background: rgba(37, 99, 235, 0.08); }
.header--light.scrolled .hamburger span { background: #0f172a; }
.header--light.scrolled .header__actions .btn--primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.header--light.scrolled .header__actions .btn--primary:hover { background: #1d4ed8; color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #0f172a;
  border-radius: 4px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f8fafc 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 48px;
}

.stat__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero__img:hover {
  transform: scale(1.01);
  box-shadow: 0 40px 100px rgba(37, 99, 235, 0.12);
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about__content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.about__content > p {
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about__feature i {
  font-size: 1.3rem;
  color: #2563eb;
  margin-top: 4px;
  flex-shrink: 0;
}

.about__feature strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.about__feature span {
  font-size: 0.85rem;
  color: #64748b;
}

/* ===== SERVICES ===== */
.services {
  background: #f8fafc;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  border: 1px solid #f1f5f9;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  border-radius: 14px;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: #2563eb;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link i {
  transition: transform 0.3s;
  font-size: 0.8rem;
}

.service-card__link:hover i {
  transform: translateX(4px);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.how-it-works .section__tag {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
}

.how-it-works .section__title {
  color: #fff;
}

.how-it-works .section__desc {
  color: rgba(255, 255, 255, 0.6);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.1));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #60a5fa;
  margin-bottom: 12px;
}

.step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 50%;
  font-size: 1.4rem;
  color: #60a5fa;
}

.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ===== TEAM ===== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.team-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__img img {
  transform: scale(1.05);
}

.team-card__info {
  padding: 20px 24px 24px;
}

.team-card__info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.team-card__info > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
}

.team-card__info p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-card__social {
  display: flex;
  gap: 10px;
}

.team-card__social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.team-card__social a:hover {
  background: #2563eb;
  color: #fff;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #f8fafc;
}

.testimonials__slider {
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  text-align: center;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.testimonial-card__stars {
  color: #f59e0b;
  margin-bottom: 24px;
  font-size: 1rem;
  letter-spacing: 4px;
}

.testimonial-card__text {
  font-size: 1.2rem;
  color: #334155;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-card__author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__author strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: #64748b;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.3s;
}

.slider-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.04);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #2563eb;
  width: 28px;
  border-radius: 6px;
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group--full {
  grid-column: span 2;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.3s;
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: #2563eb;
}

.form__group textarea {
  resize: vertical;
}

.form__submit {
  grid-column: span 2;
  justify-content: center;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__info-item {
  display: flex;
  gap: 18px;
}

.contact__info-item i {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  color: #2563eb;
  font-size: 1.2rem;
}

.contact__info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact__info-item p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: #fff;
  padding: 80px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: all 0.3s;
}

.footer__social a:hover {
  background: #2563eb;
  color: #fff;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer__col ul li {
  margin-bottom: 12px;
}

.footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer__col ul li a:hover {
  color: #60a5fa;
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.8rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section__title {
    font-size: 1.8rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Nav mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    color: #0f172a;
    font-size: 1rem;
    padding: 12px 16px;
  }

  .nav__link:hover,
  .nav__link.active {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
  }

  .hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 100px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__desc {
    margin: 0 auto 32px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
    gap: 32px;
  }

  .hero__visual {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .form__group--full,
  .form__submit {
    grid-column: span 1;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .team__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }
}

/* ===== LEGAL CONTENT ===== */
.legal-content__inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content__inner h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content__inner h2:first-child {
  margin-top: 0;
}

.legal-content__inner p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.legal-list li {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.legal-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 24px;
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.blog-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card__body h3 a {
  color: #0f172a;
  transition: color 0.3s;
}

.blog-card__body h3 a:hover {
  color: #2563eb;
}

.blog-card__excerpt {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  gap: 6px;
}

/* ===== BLOG ARTICLE ===== */
.blog-article {
  padding: 60px 0 80px;
}

.blog-article__header {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.blog-article__header h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin: 16px 0;
  color: #1e293b;
}

.blog-article__featured {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
}

.blog-article__featured img {
  width: 100%;
  display: block;
}

.blog-article__content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}

.blog-article__content h2 {
  font-size: 1.6rem;
  color: #1e293b;
  margin: 48px 0 16px;
  line-height: 1.3;
}

.blog-article__content p {
  margin-bottom: 20px;
}

.blog-article__content strong {
  color: #1e293b;
}

.blog-article__content em {
  display: block;
  margin-top: 40px;
  padding: 20px 24px;
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  border-radius: 0 12px 12px 0;
  font-size: 1rem;
  color: #1e293b;
}

.blog-article__content em a {
  color: #3b82f6;
  font-weight: 600;
}

/* ===== JOBS LISTING ===== */
.jobs-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-listing {
  display: block;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 28px 32px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.job-listing:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

.job-listing--coming {
  opacity: 0.6;
  cursor: default;
}

.job-listing--coming:hover {
  transform: none;
  box-shadow: none;
  border-color: #f1f5f9;
}

.job-listing__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.job-listing__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.job-listing__desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.job-listing__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.job-listing__meta span {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-listing__meta i {
  color: #2563eb;
}

.job-listing__cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-listing--coming .job-listing__cta {
  color: #94a3b8;
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */

/* --- Page Hero --- */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  transition: color 0.3s;
}

.page-hero__back:hover {
  color: #fff;
}

.page-hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero__title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
}

.page-hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* Service hero themes */
.page-hero--exec .page-hero__bg {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 50%, #4f46e5 100%);
}

.page-hero--volume .page-hero__bg {
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 50%, #14b8a6 100%);
}

.page-hero--contract .page-hero__bg {
  background: linear-gradient(135deg, #1a0e2e 0%, #4c1d95 50%, #7c3aed 100%);
}

.page-hero--consult .page-hero__bg {
  background: linear-gradient(135deg, #20103a 0%, #5b21b6 50%, #8b5cf6 100%);
}

.page-hero--training .page-hero__bg {
  background: linear-gradient(135deg, #2d1007 0%, #b45309 50%, #f59e0b 100%);
}

.page-hero--outsource .page-hero__bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #2563eb 100%);
}

/* Legal pages */
.page-hero--legal .page-hero__bg {
  background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #475569 100%);
}

.page-hero--about .page-hero__bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
}

.page-hero--blog .page-hero__bg {
  background: linear-gradient(135deg, #0c0e1a 0%, #1e1b4b 50%, #3730a3 100%);
}

.page-hero--press .page-hero__bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f766e 100%);
}

.page-hero--careers .page-hero__bg {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0891b2 100%);
}

/* --- Page Section (overview + stats) --- */
.page-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-section__content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.page-section__content p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-section__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-stat {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

.page-stat:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.04);
}

.page-stat__num {
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
  white-space: nowrap;
}

.page-stat__label {
  font-size: 0.95rem;
  color: #64748b;
}

/* --- Alternate section --- */
.section--alt {
  background: #f8fafc;
}

/* --- Features grid (used in most service pages) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-item {
  background: #fff;
  border-radius: 16px;
  padding: 36px 30px;
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.feature-item i {
  font-size: 1.6rem;
  color: #2563eb;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

/* --- Process steps (executive search) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.process-step__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #2563eb;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
}

/* --- CTA Box --- */
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 64px 40px;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive: Service Pages --- */
@media (max-width: 1024px) {
  .page-hero__title {
    font-size: 2.6rem;
  }

  .page-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 50vh;
    padding-top: 80px;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .page-section__stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-stat {
    flex: 1;
    min-width: 140px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }
}
