/* SiteFabric premium layer — reference-grade depth (ozhastel / oztesisat / stiltente feel) */

/* ── Section rhythm & headers ─────────────────────────────────────────── */
.sf-main > .sf-section:first-child { padding-top: 0; }
.sf-section.sf-hero { padding: 0; }

.sf-section__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}
.sf-section__head .sf-eyebrow {
  display: block;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: .5rem;
}
.sf-section__title {
  position: relative;
  margin-bottom: 0;
}
.sf-section__divider {
  width: 64px;
  height: 4px;
  margin: 1rem auto 1.25rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sf-primary), var(--sf-accent));
}
.sf-section:nth-of-type(even):not(.sf-hero):not(.sf-cta):not(.sf-stats--overlap) {
  background: linear-gradient(180deg, var(--sf-surface-muted) 0%, var(--sf-surface) 100%);
}
.sf-section.sf-stats:not(.sf-stats--overlap),
.sf-section.sf-testimonials {
  background: var(--sf-secondary) !important;
  color: #e5e7eb;
}
.sf-section.sf-stats:not(.sf-stats--overlap) .sf-section__title,
.sf-section.sf-testimonials .sf-section__title { color: #fff; }
.sf-section.sf-stats:not(.sf-stats--overlap) .sf-section__subtitle,
.sf-section.sf-testimonials .sf-section__subtitle { color: rgba(255,255,255,.75); }
.sf-section.sf-stats:not(.sf-stats--overlap) .sf-section__divider,
.sf-section.sf-testimonials .sf-section__divider { background: linear-gradient(90deg, var(--sf-accent), #fff); }
.sf-section.sf-stats--overlap .sf-section__head .sf-eyebrow { color: var(--sf-primary); }
.sf-section.sf-stats--overlap .sf-stats__value { color: var(--sf-primary) !important; }

/* ── Hero slider (full bleed, cinematic) ────────────────────────────────── */
.sf-hero--slider { min-height: 72vh; max-height: 820px; }
.sf-hero--slider .sf-hero__slide img { height: 72vh; max-height: 820px; min-height: 420px; }
.sf-hero__content {
  background: linear-gradient(105deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.15) 100%);
}
.sf-hero__content h1 {
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.sf-hero__kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sf-accent);
  margin-bottom: .75rem;
}
.sf-hero__lead {
  font-size: 1.15rem !important;
  line-height: 1.55 !important;
  opacity: .95;
  max-width: 32rem !important;
}
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.sf-hero__actions .sf-btn--ghost {
  border-color: rgba(255,255,255,.85);
  color: #fff;
}
.sf-hero__actions .sf-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.sf-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .2s;
}
.sf-hero__nav:hover { background: rgba(255,255,255,.3); }
.sf-hero__nav--prev { left: 1rem; }
.sf-hero__nav--next { right: 1rem; }
.sf-hero__dots { bottom: 28px; }
.sf-hero__dots button { width: 10px; height: 10px; transition: transform .2s, background .2s; }
.sf-hero__dots button.is-active { transform: scale(1.25); background: var(--sf-accent); }

/* ── Service cards (image-first) ───────────────────────────────────────── */
.sf-services__grid { gap: 1.75rem; }
.sf-service-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.sf-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.sf-service-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sf-surface-muted);
}
.sf-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.sf-service-card:hover .sf-service-card__media img { transform: scale(1.06); }
.sf-service-card__icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sf-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.sf-service-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sf-service-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--sf-text);
}
.sf-service-card__body p {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--sf-text-muted);
  margin: 0 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-service-card__link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--sf-primary);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.sf-service-card:hover .sf-service-card__link { gap: .55rem; }
.sf-service-card--icon-only {
  padding: 2rem 1.5rem;
  text-align: center;
}
.sf-service-card--icon-only > i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ── About block ───────────────────────────────────────────────────────── */
.sf-about__media { position: relative; }
.sf-about__media::after {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 3px solid var(--sf-primary);
  border-radius: var(--sf-radius);
  opacity: .25;
  z-index: -1;
}
.sf-about__media img { box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.sf-about__copy h2 {
  font-weight: 800;
  letter-spacing: -.02em;
}

/* ── Features grid polish ──────────────────────────────────────────────── */
.sf-feature-card__icon {
  background: linear-gradient(135deg, var(--sf-primary-light), var(--sf-primary));
  color: #fff;
}

/* ── Header polish ─────────────────────────────────────────────────────── */
.sf-header__main { padding-top: .85rem; padding-bottom: .85rem; }
.sf-header.is-scrolled .sf-header__main {
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.sf-nav__item > a {
  font-size: .95rem;
  font-weight: 600;
  position: relative;
}
.sf-nav__item > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sf-primary);
  transition: width .2s;
}
.sf-nav__item > a:hover::after { width: 100%; }
.sf-header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.sf-header__cta .sf-btn--accent,
.sf-header__quote {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  font-weight: 700;
  white-space: nowrap;
}

/* ── CTA parallax feel ─────────────────────────────────────────────────── */
.sf-cta {
  position: relative;
  background-color: var(--sf-primary);
}
.sf-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  z-index: 0;
}
.sf-cta[style*="background-image"]::before {
  background: linear-gradient(135deg, rgba(0,0,0,.7), rgba(0,0,0,.45));
}
.sf-cta__inner { position: relative; z-index: 1; }

/* ── Blog & product cards ──────────────────────────────────────────────── */
.sf-blog-card,
.sf-product-card,
.sf-product-cat-card {
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.sf-blog-card:hover,
.sf-product-card:hover,
.sf-product-cat-card:hover {
  box-shadow: 0 16px 36px rgba(0,0,0,.1);
}

/* ── References strip ───────────────────────────────────────────────────── */
.sf-section.sf-references {
  background: #fff;
  border-top: 1px solid var(--sf-border);
  border-bottom: 1px solid var(--sf-border);
  padding: 2.5rem 0;
}
.sf-reference {
  background: var(--sf-surface);
  border-radius: var(--sf-radius);
  border: 1px solid var(--sf-border);
  padding: 1rem;
}
.sf-reference img { max-height: 48px; width: auto; }

/* ── Stats overlap band ─────────────────────────────────────────────────── */
.sf-stats--overlap .sf-stats__item {
  border: none;
  background: transparent;
}
.sf-stats--overlap .sf-stats__value {
  color: var(--sf-primary) !important;
  font-size: 2.5rem;
}

/* ── Testimonials on dark section ───────────────────────────────────────── */
.sf-section.sf-testimonials .sf-testimonial {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
.sf-section.sf-testimonials .sf-testimonial blockquote { color: #f3f4f6; }
.sf-section.sf-testimonials .sf-testimonial figcaption span { color: rgba(255,255,255,.7); }
.sf-section.sf-testimonials .sf-testimonial__stars .fa-star { color: rgba(255,255,255,.25); }
.sf-section.sf-testimonials .sf-testimonial__stars .fa-star.is-filled { color: var(--sf-accent); }

/* ── Page inner hero ─────────────────────────────────────────────────────── */
.sf-page-hero {
  background: linear-gradient(135deg, var(--sf-secondary) 0%, var(--sf-primary-dark) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.sf-page-hero h1 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 .5rem;
}
.sf-page-hero p { color: rgba(255,255,255,.85); max-width: 36rem; margin: 0 auto; }

/* ── Extended footer CTA ─────────────────────────────────────────────────── */
.sf-footer--extended .sf-footer__cta { margin-bottom: 0; }

@media (max-width: 768px) {
  .sf-hero--slider { min-height: 58vh; }
  .sf-hero--slider .sf-hero__slide img { height: 58vh; min-height: 360px; }
  .sf-hero__nav { display: none; }
  .sf-stats--overlap { margin-top: -2rem; }
  .sf-header__phone { display: none !important; }
}
