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

:root {
  --black:   #0a0a0a;
  --gray-900:#1a1a1a;
  --gray-700:#444;
  --gray-500:#888;
  --gray-200:#e8e8e8;
  --gray-100:#f4f4f4;
  --white:   #ffffff;
  --accent:       #2563EB;
  --accent-dark:  #1D4ED8;
  --accent-light: #EFF6FF;

  --font: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
}

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

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 32px 0;
  background: var(--white);
}

.trust-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.trust-bar__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  padding-right: 24px;
}

.trust-bar__logos {
  display: flex;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
}

.trust-bar__logo-img {
  height: 40px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
}

.trust-bar__logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.trust-bar__logo-named {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  opacity: 0.65;
  transition: opacity var(--transition), border-color var(--transition), background var(--transition);
}

.trust-bar__logo-named:hover { opacity: 1; border-color: var(--gray-500); background: var(--gray-100); }

.trust-bar__logo-named img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.trust-bar__logo-named:hover img { filter: grayscale(0%); }

.trust-bar__logo-named span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  line-height: 1.35;
  white-space: nowrap;
}

.trust-bar__logo-placeholder {
  height: 40px;
  min-width: 100px;
  flex: 1;
  max-width: 140px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  border: 1.5px dashed var(--gray-200);
}

.section {
  padding: 96px 0;
}

.section--gray {
  background: var(--gray-100);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  color: var(--black);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }

em { font-style: normal; color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(37,99,235,.3);
}
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 4px 20px rgba(37,99,235,.4); }

.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}
.btn--ghost:hover { background: var(--gray-100); border-color: var(--gray-500); }

.btn--white {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.btn--white:hover { background: var(--gray-100); }

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTION HEADER ===== */
.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section__header p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--gray-500);
}

.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--accent-light);
  border-radius: 100px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
  padding: 12px 0;
}

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

.nav__logo {
  display: flex;
  flex-direction: column;
  width: max-content;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav__logo-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.nav__logo-tagline {
  font-size: 0.775rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}

.nav__links a:not(.btn):hover { color: var(--black); }
.nav__links a.btn { color: var(--white); }

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

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== NAV DROPDOWN ===== */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: color var(--transition);
}

.nav__dropdown-trigger:hover { color: var(--black); }

.nav__dropdown-trigger svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav__dropdown:hover .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: var(--gray-700) !important;
  transition: background var(--transition), color var(--transition);
}

.nav__dropdown-menu a:hover {
  background: var(--gray-100);
  color: var(--black) !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 110px 0 48px;
  min-height: calc(100vh - 166px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__text {
  min-width: 0;
}

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

.hero__graphic img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(37,99,235,.08));
}

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.hero__headline {
  max-width: 720px;
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero__sub {
  max-width: 540px;
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.75;
}

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat__number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.hero__bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gray-100) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.services__cta-banner {
  grid-column: 1 / -1;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.services__cta-banner__title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.services__cta-banner__text {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  margin: 0;
}

.services__cta-banner__btn {
  flex-shrink: 0;
}

.service-card {
  position: relative;
  padding: 36px 32px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-200);
  letter-spacing: 0.05em;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(37,99,235,.12);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  font-size: 0.82rem;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}

.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gray-200);
  font-weight: 300;
}

/* ===== PROCESS ===== */
.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.process__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process__step-content h3 { font-size: 1rem; }

.process__step-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 8px;
}

.process__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 51px;
  position: relative;
}

.process__connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--gray-200);
}

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

.about__image-wrap {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__content .section__tag { margin-bottom: 12px; }

.about__content h2 { margin-bottom: 20px; }

.about__lead {
  font-size: 1.1rem;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.65;
}

.about__content > p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

.about__content > p:last-of-type {
  margin-bottom: 28px;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.about__tags span {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 100px;
  color: var(--gray-700);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
}

.cta-banner.section--gray {
  background: var(--gray-100);
}

.cta-banner__card {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  border-radius: 20px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-banner__text h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__text p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

/* ===== CONTACT ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: stretch;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form__group input,
.form__group select,
.form__group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.form__group input.error,
.form__group textarea.error {
  border-color: #e53e3e;
}

.form__group textarea { resize: vertical; min-height: 130px; }

.form__group--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form__group--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.form__group--check label {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 400;
}

.form__group--check label a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__success {
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  color: #166534;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.contact__info-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact__info-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact__info-item a,
.contact__info-item p {
  font-size: 0.95rem;
  color: var(--black);
}

.contact__info-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== NEXT STEPS ===== */
.next-steps {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
}

.next-steps h3 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--black);
}

.next-steps__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.next-steps__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.next-steps__text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  padding-top: 4px;
}

.next-steps__text strong {
  display: block;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-100);
  padding: 36px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 20px;
  line-height: 1.7;
}

.footer__col a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.footer__col--contact a {
  white-space: nowrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 4px;
}

.footer__col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer__col:not(.footer__col--contact) a::before {
  content: '–';
  color: var(--accent);
  flex-shrink: 0;
}

.footer__col a:hover { color: var(--black); }

.footer__bottom {
  border-top: 1px solid var(--gray-200);
  padding: 16px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

.footer__bottom a:hover { color: var(--black); }

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

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

.blog-preview__cta {
  text-align: center;
  margin-top: 48px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(37,99,235,.08);
  transform: translateY(-4px);
}

.blog-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 100px;
}

.blog-card__date {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.blog-card__title a {
  color: inherit;
  transition: color var(--transition);
}

.blog-card__title a:hover { color: var(--accent); }

.blog-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.blog-card:hover .blog-card__title a { color: var(--accent); }

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.blog-card__read-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.blog-card__read-time svg {
  flex-shrink: 0;
}

/* ===== ARTICLE PAGE ===== */

.article-hero {
  background: var(--gray-100);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.05) 0%, transparent 70%);
  pointer-events: none;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.article-breadcrumb a { color: var(--gray-500); transition: color var(--transition); }
.article-breadcrumb a:hover { color: var(--black); }
.article-breadcrumb__sep { color: var(--gray-200); }

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.article-meta__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 100px;
}

.article-meta__sep { color: var(--gray-200); }

.article-meta__date,
.article-meta__time {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.article-meta__time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-hero h1 { max-width: 820px; }

.article-body { padding: 64px 0 96px; }

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--black);
}

.article-content p {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.85;
}

.article-content p:first-child { margin-top: 0; }

.article-content ul,
.article-content ol {
  margin-top: 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.article-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.article-content ol { counter-reset: art-counter; list-style: none; }

.article-content ol li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  counter-increment: art-counter;
}

.article-content ol li::before {
  content: counter(art-counter) '.';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  top: 2px;
}

.article-content strong { color: var(--black); font-weight: 600; }

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.article-content a:hover { color: var(--accent-dark); }

.article-highlight {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-top: 28px;
}

.article-highlight__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.article-highlight p { margin-top: 0; color: var(--black); font-size: 0.95rem; }

.article-content pre {
  background: var(--gray-900);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  overflow-x: auto;
  margin-top: 20px;
}

.article-content pre code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.85rem;
  color: #e8e8e8;
  line-height: 1.7;
  white-space: pre;
}

.article-content p code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.85em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-author {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.article-author__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}

.article-author__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.article-author__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.article-author__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.article-author__bio {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

.related-posts { padding: 80px 0; background: var(--gray-100); }

/* ===== ARTICLE TOC ===== */
.article-toc {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0 36px;
}

.article-toc__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.article-toc ul li::before { content: none; }
.article-toc ul li { padding-left: 0; font-size: 0.875rem; }

.article-toc a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition);
}

.article-toc a:hover { color: var(--accent); }

/* ===== ARTICLE FAQ ===== */
.article-faq {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.article-faq__heading {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 4px;
}

.article-faq dl { display: flex; flex-direction: column; }

.article-faq__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}

.article-faq__item:first-child { border-top: 1px solid var(--gray-200); }

.article-faq dt {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.article-faq dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.55s ease both;
}

.animate-in--delay-1 { animation-delay: 0.1s; }
.animate-in--delay-2 { animation-delay: 0.2s; }
.animate-in--delay-3 { animation-delay: 0.3s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .blog-preview__grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 0 28px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--gray-200);
  }

  .nav__links.is-open { display: flex; }
  .nav__links > a {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
  .nav__links > a.btn {
    width: auto;
    padding: 10px 28px;
    margin-top: 8px;
  }

  .nav__dropdown { width: 100%; text-align: center; }
  .nav__links .nav__dropdown-trigger {
    font-size: 1.1rem;
    justify-content: center;
    color: var(--gray-700);
    width: 100%;
    padding: 14px 24px;
  }
  .nav__dropdown-trigger svg { display: none; }
  .nav__dropdown:hover .nav__dropdown-menu { transform: none; }
  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--gray-100);
    border-radius: 0;
    padding: 8px 0;
    margin-top: 0;
    min-width: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--gray-100);
  }
  .nav__dropdown-menu a {
    font-size: 0.95rem !important;
    color: var(--gray-500) !important;
    width: 100%;
    text-align: center;
    padding: 10px 24px !important;
  }

  .nav__burger { display: flex; }

  .nav__burger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero { padding: 120px 0 32px; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__headline { white-space: normal; }
  .hero__graphic { display: none; }

  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }

  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }

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

  .services__cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }

  .services__cta-banner__btn {
    width: 100%;
    text-align: center;
  }

  .process__steps {
    flex-direction: column;
    gap: 32px;
  }

  .process__connector {
    width: 2px;
    height: 32px;
    margin: 0 0 0 27px;
  }

  .process__connector::after {
    right: -4px;
    top: auto;
    bottom: -6px;
    border: 5px solid transparent;
    border-top-color: var(--gray-200);
    border-left-color: transparent;
  }

  .process__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
  }

  .process__step-num { margin-bottom: 0; flex-shrink: 0; }

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

  .about__image-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .blog-preview__cta { margin-top: 32px; }

  .article-hero { padding: 110px 0 48px; }
  .article-content h2 { font-size: 1.3rem; padding-top: 36px; margin-top: 36px; }
  .article-author { flex-direction: column; gap: 16px; }
  .related-posts { padding: 56px 0; }

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

  .hero { min-height: auto; }

  .trust-bar__label { white-space: normal; }

  .cta-banner { padding: 56px 0; }
  .cta-banner__card { padding: 40px 40px; gap: 32px; }

  .section__header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .container { padding: 0 16px; }

  .section { padding: 48px 0; }

  .section__header { margin-bottom: 32px; }

  .hero { padding: 90px 0 20px; }

  .article-hero { padding: 90px 0 36px; }
  .article-body { padding: 40px 0 64px; }

  .cta-banner { padding: 40px 0; }
  .cta-banner__card { flex-direction: column; padding: 36px 28px; gap: 28px; }
  .cta-banner__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-banner__text p { font-size: 0.95rem; }

  .trust-bar { padding: 20px 0; }

  .service-card { padding: 28px 22px; }

  .btn { padding: 13px 22px; }
}
