/* Conversion, responsive and accessibility repairs — loaded after styles.css. */
:where(a, button, input, select, textarea, [role="button"]):focus-visible {
  outline: 3px solid #0b7a42;
  outline-offset: 3px;
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(8, 47, 31, .88) 0%, rgba(8, 47, 31, .70) 47%, rgba(8, 47, 31, .35) 72%, rgba(8, 47, 31, .58) 100%);
}

/* Original intro, with every duration and delay reduced by 10%. */
.splash { transition-duration: .54s; }
.splash__logo { animation-duration: .63s; animation-delay: .18s; }
.splash__name { animation-duration: .72s; animation-delay: .72s; }
.splash__name-top { animation-duration: .45s; animation-delay: .99s; }
.splash__name-bottom { animation-duration: .45s; animation-delay: 1.17s; }

.hero__content {
  padding-left: clamp(1.5rem, 5vw, 4.5rem);
  padding-right: clamp(1.5rem, 5vw, 4.5rem);
}

.hero__title,
.hero__subtitle {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.hero__highlight {
  color: #a7f3c7;
}

.hero__audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  max-width: 720px;
  margin-top: 1.25rem;
}

.hero__audiences a {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-height: 76px;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 14px;
  background: rgba(6, 43, 28, .62);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease;
}

.hero__audiences a:hover {
  background: rgba(6, 43, 28, .82);
  transform: translateY(-2px);
}

.hero__audiences strong { font-size: .98rem; }
.hero__audiences span { font-size: .8rem; line-height: 1.45; color: rgba(255,255,255,.88); }

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
}

.page-hero__actions .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,.72);
}

.contact__form-intro {
  margin: -.5rem 0 1rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

.contact__service-context {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-inline-start: 4px solid var(--color-primary);
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.form-group label span,
.form-hint {
  color: var(--color-gray-500);
  font-size: .78rem;
  font-weight: 400;
}

.form-hint { display: block; margin-top: .35rem; }

.contact__error {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  background: #fff1f0;
  color: #a61b1b;
}

@media (max-width: 1180px) and (min-width: 769px) {
  .header__inner { padding-inline: 1rem; }
  .header .logo { gap: .35rem; }
  .header .logo__img { height: 36px; }
  .header .logo__name {
    display: flex;
    flex-direction: column;
    max-width: 96px;
    margin-top: 0;
    white-space: normal;
    font-size: .75rem;
    line-height: 1.05;
  }
  .header .logo__name-top::after { content: ''; }
  .header .logo__name-bottom { font-size: .55rem; letter-spacing: .025em; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: .5rem; font-size: .8rem; }
  .header__phone {
    width: 42px;
    padding-inline: 0;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
  }
  .header__phone svg { width: 18px; height: 18px; }
}

@media (max-width: 900px) and (min-width: 769px) {
  .header__phone { display: none; }
  .header .btn { padding-inline: .75rem; font-size: .76rem; }
}

@media (max-width: 768px) {
  .hero__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__subtitle { font-size: .98rem; line-height: 1.65; }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .hero__audiences { grid-template-columns: 1fr; margin-top: 1rem; }
  .hero__audiences a { min-height: 0; }
  .page-hero__content { padding-bottom: 2rem; }
  .page-hero__actions { flex-direction: column; align-items: stretch; }
  .page-hero__actions .btn { justify-content: center; text-align: center; }
  .contact__form-wrapper { order: 1; }
  .contact__info { order: 2; }
  .contact__form { padding: 1.5rem; }
  .contact__form-title { font-size: 1.55rem; }
  .contact:focus-within ~ .whatsapp-float,
  .contact:focus-within ~ .scroll-top {
    opacity: .18 !important;
    transform: translateX(calc(100% - 12px)) !important;
    pointer-events: none;
  }
  .whatsapp-float { width: 52px !important; height: 52px !important; right: 10px !important; bottom: 18px !important; }
  .whatsapp-float svg { width: 28px !important; height: 28px !important; }
  .scroll-top { right: 12px !important; bottom: 78px !important; }
}

@media (max-width: 420px) {
  .header__inner { padding-inline: .75rem; }
  .logo { gap: .35rem; }
  .logo__img { height: 36px; }
  .logo__name {
    display: flex;
    flex-direction: column;
    max-width: 104px;
    margin-top: 0;
    white-space: normal;
    font-size: .76rem;
    line-height: 1.05;
  }
  .logo__name-top::after { content: ''; }
  .logo__name-bottom { font-size: .58rem; letter-spacing: .035em; }
  .hero { min-height: 100svh; }
  .hero__content { padding: 92px 1rem 38px; }
  .hero__badge { margin-bottom: .75rem; padding: .35rem .7rem; font-size: .72rem; }
  .hero__title { margin-bottom: .75rem; font-size: 1.8rem; line-height: 1.08; }
  .hero__subtitle { margin-bottom: .85rem; font-size: .9rem; line-height: 1.45; }
  .hero__actions { gap: .5rem; margin-bottom: .75rem; }
  .hero__actions .btn { min-height: 42px; padding: .65rem .8rem; font-size: .82rem; }
  .hero__audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .65rem; }
  .hero__audiences a { padding: .65rem; }
  .hero__audiences strong { font-size: .82rem; line-height: 1.2; }
  .hero__audiences span { font-size: .7rem; line-height: 1.3; }
  .hero__scroll-indicator { display: none; }
  .page-hero__title { font-size: 2rem; }
  .page-hero__subtitle { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .splash { display: none !important; }
  .hero__video { display: none !important; }
  .hero__slide:not(:first-child),
  .hero__floats,
  .marquee { display: none !important; }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
