/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 50;
  background: #fff;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 103px;
  padding: 12px 0;
}

.logo img {
  width: 220px;
  height: auto;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.h-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.h-contact img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.h-contact small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.2;
}

.h-contact strong {
  display: block;
  font-size: 15px;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.2;
}

.h-social {
  display: flex;
  gap: 0.4rem;
}

.soc {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.soc.fb,
.soc.ig {
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--navy);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.site-nav {
  background: var(--navy);
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.nav-desktop a {
  display: block;
  padding: 16px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active,
.nav-desktop a[aria-current='page'] {
  background: var(--navy-mid);
}

/* ===== Hero slider ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #111;
  margin-top: -1px;
}

.hero-slider .slides {
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  aspect-ratio: 1920 / 750;
}

.hero-slide img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(244, 104, 55, 0.37);
  z-index: 1;
  pointer-events: none;
}

.hero-slide.slide-poste .poste-overlay {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 9.28%;
  width: 23.44%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px 12%;
}

.hero-slide.slide-poste .hero-caption {
  right: 42%;
  padding: 24px 3%;
}

.hero-title {
  margin: 0;
  font-size: clamp(22px, 3.229vw, 62px);
  font-weight: 700;
  line-height: 1.2;
}

.btn-ghost {
  display: inline-block;
  margin-top: clamp(12px, 1.05vw, 20px);
  border: 3px solid #fff;
  color: #fff;
  padding: 10px 30px;
  font-size: clamp(14px, 0.885vw, 17px);
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.55);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-btn:hover {
  background: rgba(20, 20, 20, 0.8);
}

/* ===== Intro / Quem somos block ===== */
.intro-block {
  background: #fff url('/assets/img/035-bg_quem_somos_home.jpg') center center / cover no-repeat;
  padding: 70px 0;
}

.intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: min(92%, 1200px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.intro-kicker {
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.intro-eyebrow {
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0;
}

.intro-brand {
  color: var(--orange);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  margin: 4px 0;
  letter-spacing: 0.02em;
}

.intro-sub {
  color: var(--blue);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.intro-text p {
  margin: 0 0 1rem;
  max-width: 520px;
  font-size: 16px;
  color: var(--text);
  font-weight: 400;
}

.intro-visual {
  display: none;
}

/* ===== Categories ===== */
.cat-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--gray-bar);
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 8px;
  color: #fff;
  text-align: center;
  min-height: 120px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.cat-item:nth-child(odd) {
  background: var(--orange);
}

.cat-item:nth-child(even) {
  background: var(--navy);
}

.cat-item:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.cat-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.cat-item span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

/* ===== Promo / Stella slider ===== */
.promo-slider {
  position: relative;
  overflow: hidden;
  background: #0d4f9c;
}

.promo-slider .slides {
  position: relative;
}

.promo-slide {
  display: none;
}

.promo-slide.is-active {
  display: block;
}

.promo-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 700;
  object-fit: contain;
  object-position: center;
  background: #0d4f9c;
}

.promo-slider .slider-btn {
  border-radius: 4px;
  width: 36px;
  height: 36px;
}

/* ===== Blog CTA ===== */
.blog-cta {
  padding: 48px 0 30px;
  text-align: center;
}

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 14px 34px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.btn-navy:hover {
  background: var(--navy-mid);
}

/* ===== Orcamento ===== */
.orcamento {
  position: relative;
  aspect-ratio: 1920 / 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #f46837 url('/assets/img/022-iStock-952625346.jpg') 51% 60% / cover no-repeat;
}

.orcamento::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 104, 55, 0.37);
}

.orcamento-inner {
  position: relative;
  z-index: 1;
  padding: 70px 20px;
}

.orcamento h2 {
  margin: 0;
  font-size: clamp(20px, 2.24vw, 43px);
  font-weight: 700;
  line-height: 1.2;
}

.fios-band {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920 / 500;
  background: #f46837;
}

.fios-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 79% 51%;
}

.fios-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 104, 55, 0.37);
}

/* ===== Partners ===== */
.partners {
  padding: 36px 0 48px;
  background: #fff;
}

.partners-wrap {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 36px;
}

.partners-viewport {
  overflow: hidden;
}

.partners-track {
  display: flex;
  gap: 10px;
  transition: transform 0.8s ease;
}

.partner-card {
  flex: 0 0 auto;
  border: 1px solid #e5e5e5;
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.partner-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.partners .slider-btn {
  background: #9aa0a6;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.partners-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.partners-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #9aa0a6;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.partners-dots button.is-active {
  background: #9aa0a6;
}

/* ===== Footer ===== */
.site-footer {
  color: #fff;
}

.footer-main {
  background: var(--navy);
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1.5rem;
  align-items: center;
}

.f-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.f-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-top: 2px;
}

.f-label {
  display: block;
  color: var(--orange);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
}

.f-value {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.f-logo img {
  width: 200px;
  height: auto;
}

.footer-copy {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  text-align: center;
}

.footer-copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}

.footer-social {
  background: var(--navy);
  padding: 16px 0 22px;
  text-align: center;
}

.footer-social .container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-social .soc {
  width: 32px;
  height: 32px;
  background: var(--orange);
}

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.wa-float:hover {
  filter: brightness(1.05);
}

/* ===== Interior pages ===== */
.page-title {
  color: var(--orange);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.page-shell {
  padding: 40px 0 60px;
}

.map-wrap {
  width: 100%;
  overflow: hidden;
  border: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

/* Blog list */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-card h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--blue);
  font-weight: 600;
  line-height: 1.25;
}

.blog-card h2 a:hover {
  color: var(--orange);
}

.blog-date {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 1rem;
}

.blog-card-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.blog-card-body img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.blog-card-body p {
  margin: 0 0 1rem;
  font-size: 15px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #222;
  color: #222;
  background: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
}

.btn-outline:hover {
  background: #222;
  color: #fff;
}

/* Blog post */
.post-header {
  margin-bottom: 1.5rem;
}

.post-header h1 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.post-meta {
  color: var(--muted);
  font-size: 13px;
}

.post-content {
  font-size: 16px;
  max-width: 820px;
}

.post-content p {
  margin: 0 0 1rem;
}

.post-content a {
  color: var(--blue);
  text-decoration: underline;
}

.post-content img {
  margin: 1.5rem auto;
}

/* 404 */
.not-found {
  padding: 80px 0;
  text-align: center;
}

.not-found h1 {
  color: var(--blue);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .cat-bar {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .f-logo {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .header-contacts {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-desktop {
    flex-direction: column;
  }

  .nav-desktop a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .intro-block {
    background: #fff;
    padding: 40px 0;
  }

  .intro-inner {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    display: block;
  }

  .intro-visual img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-slide.slide-poste .hero-caption {
    right: 0;
    bottom: 38%;
  }

  .hero-slide.slide-poste .poste-overlay {
    top: auto;
    bottom: 6%;
    right: 50%;
    width: min(220px, 46%);
    transform: translateX(50%);
  }

  .blog-card-body {
    grid-template-columns: 100px 1fr;
  }

  .blog-card-body img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 640px) {
  .cat-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-item:last-child {
    grid-column: 1 / -1;
  }

  .partners-wrap {
    padding: 0 40px;
  }

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

  .map-wrap iframe {
    height: 360px;
  }

  .logo img {
    width: 180px;
  }

  .header-top-inner {
    min-height: 72px;
  }

}
