/* =========================================================================
   PAGE: HOME
   ========================================================================= */

/* ---- Home Desktop Hero ---- */
#home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #090909;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 2rem;
}

#home-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  mix-blend-mode: luminosity;
}

#home-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

#home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

#home-hero .hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  #home-hero .hero-container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  #home-hero .hero-container {
    padding: 0 4rem;
  }
}

#home-hero .hero-content {
  max-width: 591px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-start;
}

#home-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff;
}

#home-hero .hero-title .gradient-italic {
  font-style: italic;
  background: linear-gradient(90deg, #FFFFFF 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#home-hero .hero-title .gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#home-hero .hero-subtitle {
  font-size: 1.5rem;
  color: #B3B3B3;
  margin-bottom: 2.5rem;
  line-height: 1.4;
  letter-spacing: 0;
}

#home-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #D9212E;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
#home-hero .hero-cta:hover {
  background: #b81c27;
  transform: translateY(-2px);
}
#home-hero .hero-cta .arrow-icon {
  width: 20px;
  height: 20px;
}

/* Stats wrapper */
#home-hero .hero-stats-wrapper {
  width: 100%;
  margin-top: 3rem;
  padding-bottom: 2rem;
}

#home-hero .stats-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.5rem;
}

#home-hero .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  #home-hero .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #home-hero .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

#home-hero .stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home-hero .stat-value {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

#home-hero .stat-label {
  font-size: 1rem;
  color: #B6B6B6;
  margin: 0;
  line-height: 1.3;
}


/* ---- Home Testimonials Block ---- */
/* Scoped under #home-testimonials for encapsulation */

#home-testimonials {
  position: relative;
  background: #fff;
  overflow: hidden;
}

#home-testimonials .testimonials-bg {
  position: absolute;
  top: -35.625rem;
  left: 50%;
  z-index: 0;
  width: min(100%, 90rem);
  height: 79.05rem;
  display: flex;
  transform: translateX(-50%);
  opacity: 0.1;
  mix-blend-mode: hard-light;
  pointer-events: none;
}

#home-testimonials .testimonials-bg picture {
  width: 50%;
  height: 100%;
  display: block;
}

#home-testimonials .testimonials-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home-testimonials .container,
#home-testimonials .testimonial-mobile-controls {
  position: relative;
  z-index: 1;
}

#home-testimonials .section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 4rem);
}

#home-testimonials .section-header h2 {
  margin-bottom: 1.25rem;
}

#home-testimonials .rating-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.25rem;
  border: 1px solid #e9e9e9;
  border-radius: 0.5rem;
  background: #fafafa;
}

#home-testimonials .rating-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

#home-testimonials .rating-tab--active {
  background: #fff;
  border: 1px solid #e9e9e9;
}

#home-testimonials .rating-tab--muted {
  opacity: 0.5;
}

#home-testimonials .rating-tab-score {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

#home-testimonials .rating-score {
  color: #d9212e;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

#home-testimonials .clutch-icon {
  height: 1.625rem;
  width: auto;
}

#home-testimonials .goodfirms-icon {
  height: 1.5625rem;
  width: auto;
}

#home-testimonials .review-count {
  margin: 1rem 0 0;
  color: #8f8f8f;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
}

#home-testimonials .testimonials-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#home-testimonials .testimonial-column {
  min-width: 0;
}

#home-testimonials .testimonial-column-viewport {
  position: relative;
  overflow: hidden;
}

#home-testimonials .testimonial-column-track {
  display: grid;
  gap: 1rem;
}

#home-testimonials .testimonial-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

#home-testimonials .testimonial-card {
  background: #f6f6f6;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  min-height: 100%;
}

#home-testimonials .testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#home-testimonials .testimonial-badge {
  padding: 0.625rem 0.75rem;
  border: 1px solid #e9e9e9;
  border-radius: 999px;
  background: transparent;
  color: #181818;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
}

#home-testimonials .testimonial-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #f0d0cd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#home-testimonials .testimonial-logo img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

#home-testimonials .testimonial-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

#home-testimonials .testimonial-decor {
  color: #f0d0cd;
  font-size: 4.5rem;
  line-height: 0.7;
  font-weight: 700;
  margin-bottom: 2rem;
}

#home-testimonials .testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}

#home-testimonials .testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

#home-testimonials .testimonial-title {
  margin: 0 0 0.875rem;
  color: #181818;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
}

#home-testimonials .testimonial-quote {
  margin: 0;
  color: #5c4849;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
}

#home-testimonials .testimonial-cta {
  margin-top: 2rem;
  color: var(--red-cyberk, #d9212e);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

#home-testimonials .testimonial-cta svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

#home-testimonials .testimonial-cta span {
  white-space: nowrap;
}

#home-testimonials .testimonial-author {
  margin-top: auto;
  border-left: 2px solid #f0d0cd;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#home-testimonials .testimonial-author-name {
  margin: 0;
  color: #181818;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

#home-testimonials .testimonial-author-role {
  margin: 0;
  color: #987a7b;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
}

#home-testimonials .is-duplicate {
  display: none;
}

#home-testimonials .testimonial-mobile-controls {
  display: none;
}

@media (max-width: 767px) {
  #home-testimonials {
    padding: 4rem 1.25rem;
  }

  #home-testimonials .testimonials-bg {
    display: none;
  }

  #home-testimonials .section-header {
    margin-bottom: 2rem;
  }

  #home-testimonials .section-header h2 {
    margin-bottom: 1.5rem;
    color: #181818;
    font-size: 1.5rem;
    font-weight: var(--fw-normal);
    line-height: 1.4;
  }

  #home-testimonials .rating-tabs {
    gap: 0.25rem;
    padding: 0.25rem;
  }

  #home-testimonials .rating-tab {
    gap: 0.375rem;
    padding: 0.5rem;
  }

  #home-testimonials .rating-score {
    font-size: 0.875rem;
  }

  #home-testimonials .rating-tab-score svg {
    width: 1rem;
    height: 1rem;
  }

  #home-testimonials .clutch-icon {
    height: 1.0625rem;
  }

  #home-testimonials .goodfirms-icon {
    height: 1rem;
  }

  #home-testimonials .review-count {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  #home-testimonials .testimonials-columns {
    padding: 0;
    margin: 0 auto;
    display: block;
  }

  #home-testimonials .testimonial-column:not(:first-child),
  #home-testimonials .testimonial-column--1 .testimonial-card {
    display: none;
  }

  #home-testimonials .testimonial-column--1 .testimonial-card.is-mobile-active {
    display: flex;
  }

  #home-testimonials .testimonial-column-viewport {
    overflow: visible;
  }

  #home-testimonials .testimonial-column-track {
    display: block;
  }

  #home-testimonials .testimonial-card {
    min-height: 0;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: #f6f6f6;
  }

  #home-testimonials .testimonial-header {
    margin-bottom: 1.5rem;
  }

  #home-testimonials .testimonial-badge {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }

  #home-testimonials .testimonial-logo {
    width: 2.5rem;
    height: 2.5rem;
  }

  #home-testimonials .testimonial-decor {
    margin-bottom: 1rem;
    font-size: 4rem;
  }

  #home-testimonials .testimonial-stars {
    margin-bottom: 0.75rem;
  }

  #home-testimonials .testimonial-stars svg {
    width: 1rem;
    height: 1rem;
  }

  #home-testimonials .testimonial-title {
    margin-bottom: 0.875rem;
    font-size: 1.5rem;
    line-height: 1.2;
  }

  #home-testimonials .testimonial-quote {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  #home-testimonials .testimonial-cta {
    margin-top: 1.5rem;
  }

  #home-testimonials .testimonial-author {
    margin-top: 2rem;
  }

  #home-testimonials .testimonial-author-name {
    font-size: 1rem;
  }

  #home-testimonials .testimonial-author-role {
    font-size: 0.75rem;
  }

  #home-testimonials .testimonial-mobile-controls {
    width: min(100%, 20.9375rem);
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
  }

  #home-testimonials .testimonial-mobile-controls button {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    background: #fff;
    color: #181818;
    font-size: 1.25rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  #home-testimonials .testimonials-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  #home-testimonials .testimonial-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #home-testimonials {
    padding: 4rem 0;
  }

  #home-testimonials .testimonials-bg,
  #home-testimonials .testimonial-mobile-controls,
  #home-testimonials .testimonial-cta,
  #home-testimonials .testimonial-column--3 {
    display: none;
  }

  #home-testimonials .container {
    max-width: 42.125rem;
    padding: 0 2.5rem;
  }

  #home-testimonials .section-header {
    margin-bottom: 2rem;
  }

  #home-testimonials .section-header h2 {
    margin-bottom: 1.25rem;
    color: #000;
    font-size: 2rem;
    font-weight: var(--fw-normal);
    line-height: 1.2;
  }

  #home-testimonials .rating-score {
    font-size: 1.125rem;
  }

  #home-testimonials .rating-tab--active .rating-score {
    font-size: 0;
  }

  #home-testimonials .rating-tab--active .rating-score::after {
    content: '4.8/5';
    font-size: 1.125rem;
  }

  #home-testimonials .rating-tab-score svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  #home-testimonials .clutch-icon {
    height: 1.5rem;
  }

  #home-testimonials .goodfirms-icon {
    height: 1.5rem;
  }

  #home-testimonials .review-count {
    margin-top: 1.25rem;
    font-size: 1.25rem;
  }

  #home-testimonials .testimonials-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  #home-testimonials .testimonial-column-viewport {
    height: 46.25rem;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }

  #home-testimonials .testimonial-column-track {
    display: grid;
    gap: 1rem;
    animation: home-testimonials-vertical-up 56s linear infinite;
    will-change: transform;
  }

  #home-testimonials .testimonial-column-viewport:hover .testimonial-column-track {
    animation-play-state: paused;
  }

  #home-testimonials .is-duplicate {
    display: block;
  }

  #home-testimonials .testimonial-card {
    min-height: 22.625rem;
    gap: 1.75rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
  }

  #home-testimonials .testimonial-header {
    margin-bottom: 0;
  }

  #home-testimonials .testimonial-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  #home-testimonials .testimonial-logo {
    width: 2rem;
    height: 2rem;
  }

  #home-testimonials .testimonial-logo img {
    width: 1.2rem;
    height: 1.2rem;
  }

  #home-testimonials .testimonial-body {
    flex: 0;
  }

  #home-testimonials .testimonial-decor {
    margin-bottom: 1.5rem;
    font-size: 3rem;
  }

  #home-testimonials .testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  #home-testimonials .testimonial-title {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  #home-testimonials .testimonial-quote {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  #home-testimonials .testimonial-author {
    margin-top: auto;
    padding-left: 1rem;
  }

  #home-testimonials .testimonial-author-name {
    font-size: 1rem;
    line-height: 1.3;
  }

  #home-testimonials .testimonial-author-role {
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

@media (min-width: 1200px) {
  #home-testimonials .testimonials-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  #home-testimonials .testimonial-column-viewport {
    height: 62.5rem;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }

  #home-testimonials .testimonial-column-track {
    animation: home-testimonials-vertical-up 56s linear infinite;
    will-change: transform;
  }

  #home-testimonials .testimonial-column--2 .testimonial-column-track {
    animation-duration: 50s;
  }

  #home-testimonials .testimonial-column--3 .testimonial-column-track {
    animation-duration: 56s;
  }

  #home-testimonials .testimonial-column-viewport:hover .testimonial-column-track {
    animation-play-state: paused;
  }

  #home-testimonials .is-duplicate {
    display: block;
  }
}

@keyframes home-testimonials-vertical-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}


/* ---- Home Success Stories Block ---- */
/* Scoped under #home-success-stories for encapsulation */

#home-success-stories {
  background: var(--color-bg);
  overflow: hidden;
}

#home-success-stories .section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#home-success-stories .section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #181818;
  font-weight: 500;
}

#home-success-stories .section-header .section-eyebrow {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #a0a0a0;
  text-transform: uppercase;
  line-height: 1;
}

#home-success-stories .success-stories-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

#home-success-stories .story-card {
  width: 100%;
  max-width: 347px; /* matches figma design */
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  #home-success-stories .success-stories-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}


/* ---- Home Team Block ---- */
/* Scoped under #home-team for encapsulation */

#home-team {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: hidden;
  background: #fff;
  padding: 5rem 0;
}

#home-team .home-team-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#home-team .home-team-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(#FEFEFE00 0%, #FAFAFA 100%);
}

#home-team .home-team-grid-bg picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#home-team .home-team-grid-bg picture img,
#home-team .home-team-grid-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.3;
}

#home-team .home-team-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

#home-team .home-team-eyebrow {
  color: #8f8f8f;
  font-size: 0.875rem;
  line-height: 1;
  text-transform: uppercase;
}

#home-team h2 {
  max-width: 46rem;
  color: #000;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-normal);
  line-height: 1.2;
}

#home-team .home-team-description {
  max-width: 31.375rem;
  color: #8d8d8d;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.3;
}

#home-team .home-team-collage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

#home-team .home-team-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#home-team .home-team-column--centered,
#home-team .home-team-column--middle {
  justify-content: center;
}

#home-team .home-team-photo {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #d9d9d9;
}

#home-team .home-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home-team .home-team-photo--short {
  height: 9.75rem;
}

#home-team .home-team-photo--medium,
#home-team .home-team-photo--tall,
#home-team .home-team-photo--large {
  height: 18.5rem;
}

@media (min-width: 768px) {
  #home-team {
    padding: 6.25rem 0;
  }

  #home-team .home-team-eyebrow {
    font-size: 1.125rem;
  }

  #home-team .home-team-collage {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 31.3125rem;
  }

  #home-team .home-team-photo--short {
    height: 9.75rem;
  }

  #home-team .home-team-photo--medium {
    height: 13.9375rem;
  }

  #home-team .home-team-photo--tall {
    height: 18.4375rem;
  }

  #home-team .home-team-photo--large {
    height: 20.5625rem;
  }
}

@media (max-width: 767px) {
  #home-team .home-team-column--middle {
    grid-column: 1 / -1;
  }
}


#home-blog {
  background-color: var(--color-bg-gray, #fafafa);
  padding: clamp(3rem, 5vw, 6.25rem) 0;
  position: relative;
}

#home-blog .home-blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

#home-blog .home-blog-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#home-blog .home-blog-eyebrow {
  color: var(--color-text-light, #8f8f8f);
  font-size: 1.125rem;
  text-transform: uppercase;
  margin: 0;
}

#home-blog h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text, #212121);
  margin: 0;
  line-height: 1.2;
}

#home-blog .home-blog-description {
  color: var(--color-text-light, #8f8f8f);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin: 0;
  line-height: 1.3;
}

#home-blog .home-blog-button {
  gap: 0.5rem;
  font-weight: normal;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

#home-blog .home-blog-button span {
  transition: transform 0.25s ease;
}

#home-blog .home-blog-button:hover,
#home-blog .home-blog-button:focus-visible {
  transform: translateY(-2px);
  background: #c31d29;
  border-color: #c31d29;
  color: #fff;
  box-shadow: 0 12px 28px rgba(217, 33, 46, 0.24);
}

#home-blog .home-blog-button:hover span,
#home-blog .home-blog-button:focus-visible span {
  transform: translateX(4px);
}

#home-blog .home-blog-button--desktop {
  display: inline-flex;
}

#home-blog .home-blog-button--mobile {
  display: none;
}

#home-blog .home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

#home-blog .home-blog-card {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

#home-blog .home-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

#home-blog .home-blog-card picture,
#home-blog .home-blog-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

#home-blog .home-blog-card-title,
#home-blog .home-blog-card-arrow {
  display: none;
}

@media (max-width: 1024px) {
  #home-blog .home-blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  #home-blog .home-blog-button--desktop {
    display: none;
  }

  #home-blog .home-blog-button--mobile {
    display: inline-flex;
    margin-top: 2.5rem;
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 768px) {
  #home-blog {
    padding: 4rem 0;
    background-color: #fafafa;
  }

  #home-blog .container {
    padding: 0 1.25rem;
  }

  #home-blog .home-blog-header {
    align-items: center;
    gap: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  #home-blog .home-blog-title {
    align-items: center;
    gap: 0.75rem;
  }

  #home-blog .home-blog-eyebrow {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  #home-blog h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  #home-blog .home-blog-description {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  #home-blog .home-blog-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  #home-blog .home-blog-card {
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    border-bottom: 1px solid #eaeaea;
    box-shadow: none;
    overflow: visible;
    padding-bottom: 0.75rem;
  }

  #home-blog .home-blog-card:hover {
    transform: none;
    box-shadow: none;
  }

  #home-blog .home-blog-card picture,
  #home-blog .home-blog-card img {
    width: 5rem;
    height: 5rem;
    flex: 0 0 5rem;
    border-radius: 0.5rem;
    object-fit: cover;
  }

  #home-blog .home-blog-card-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 1rem;
    color: #181818;
    font-size: 1rem;
    font-weight: var(--fw-medium);
    line-height: 1.4;
    text-align: left;
  }

  #home-blog .home-blog-card-arrow {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.75rem;
    border-radius: 0.25rem;
    background: #eaeaea;
    color: #181818;
    line-height: 1;
  }

  #home-blog .home-blog-button--mobile {
    display: flex;
    width: fit-content;
    height: 2.75rem;
    margin: 1.5rem auto 0;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
  }
}


/* ---- Home FAQ Block ---- */
/* Scoped under #home-faq for encapsulation */

#home-faq {
  background: #fff;
}

#home-faq h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

#home-faq .faq-list {
  max-width: var(--max-width);
  margin: 0 auto;
}

#home-faq .faq-item {
  border-bottom: 1px solid var(--color-border);
}

#home-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: #000;
  list-style: none;
}

#home-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

#home-faq .faq-item summary::marker {
  display: none;
}

#home-faq .faq-item summary .faq-number {
  color: var(--red-cyberk);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}

#home-faq .faq-item summary .faq-chevron {
  margin-left: auto;
  transition: transform 0.3s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

#home-faq .faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
}

#home-faq .faq-item .faq-answer {
  padding: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: var(--fw-light);
  line-height: 1.6;
}

@media (min-width: 768px) {
  #home-faq .faq-item summary {
    font-size: 1.25rem;
    padding: 1.5rem 0 1.25rem;
  }
  #home-faq .faq-item .faq-answer {
    font-size: 1.125rem;
  }
}


/* ---- Home CTA Block ---- */
/* Scoped under #home-cta for encapsulation */

#home-cta {
  position: relative;
  min-height: 42.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6.25rem 7.5rem;
  background: #fafafa;
}

#home-cta .home-cta-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(109.583333vw, 98.625rem);
  height: 42.125rem;
  transform: translateX(-50%);
  pointer-events: none;
}

#home-cta .home-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fafafa 0%, rgba(250, 250, 250, 0) 22.404%);
}

#home-cta .home-cta-bg picture {
  position: absolute;
  top: -34.06%;
  left: 0;
  width: 100%;
  height: 156.17%;
  display: block;
}

#home-cta .home-cta-bg picture img,
#home-cta .home-cta-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.3;
}

#home-cta .home-cta-content {
  position: relative;
  z-index: 1;
  width: min(100%, 54.875rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

#home-cta h2 {
  color: #272727;
  font-size: 3rem;
  font-weight: var(--fw-normal);
  line-height: 1.2;
  text-transform: capitalize;
}

#home-cta .home-cta-title--mobile,
#home-cta .home-cta-detail-value--mobile,
#home-cta .home-cta-detail-label--mobile {
  display: none;
}

#home-cta .home-cta-details {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.5;
  white-space: nowrap;
}

#home-cta .home-cta-detail {
  min-width: 14.1875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid #fdfdfd;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#home-cta .home-cta-detail-value {
  color: #3d3d3d;
  font-size: 1.125rem;
  font-weight: var(--fw-medium);
}

#home-cta .home-cta-detail-label {
  color: #838383;
  font-size: 1rem;
}

#home-cta .home-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#home-cta .home-cta-button {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

#home-cta .home-cta-button--primary {
  background: #d9212e;
  color: #fff;
}

#home-cta .home-cta-button--secondary {
  color: #d9212e;
}

@media (min-width: 1441px) {
  #home-cta {
    width: 90rem;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  #home-cta {
    min-height: 34.5625rem;
    padding: 4rem 1.25rem;
    background: #fff;
  }

  #home-cta .home-cta-bg {
    left: calc(100% - 11.6875rem);
    width: 51.875rem;
    height: 34.5625rem;
  }

  #home-cta .home-cta-bg::after {
    background: linear-gradient(to bottom, #fafafa 0%, rgba(250, 250, 250, 0) 38.008%);
  }

  #home-cta .home-cta-bg picture {
    top: 0;
    height: 100.14%;
  }

  #home-cta .home-cta-content {
    width: min(100%, 21.5625rem);
  }

  #home-cta h2 {
    color: #0b0b0b;
    font-size: 2rem;
  }

  #home-cta .home-cta-title--desktop,
  #home-cta .home-cta-detail-value--desktop,
  #home-cta .home-cta-detail-label--desktop {
    display: none;
  }

  #home-cta .home-cta-title--mobile,
  #home-cta .home-cta-detail-value--mobile,
  #home-cta .home-cta-detail-label--mobile {
    display: inline;
  }

  #home-cta .home-cta-details {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  #home-cta .home-cta-detail {
    width: 12.1875rem;
    min-width: 0;
    padding: 0.5rem 0.75rem;
  }

  #home-cta .home-cta-detail-value {
    font-size: 0.875rem;
  }

  #home-cta .home-cta-detail-label {
    font-size: 0.75rem;
  }

  #home-cta .home-cta-button {
    font-size: 0.875rem;
  }

  #home-cta .home-cta-button--primary {
    height: 2.5rem;
  }
}


