/*
Theme Name: DAvision Child
Template: impreza
Version: 1.0
*/

/* ===== СТИЛИ ПОДВАЛА ИЗ webai.html ===== */

#footer {
  background: #171717;
  color: #fff;
}

#footer .max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

#footer .px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  #footer .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  #footer .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

#footer .py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#footer .grid {
  display: grid;
}

#footer .md\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#footer .lg\:grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#footer .gap-10 {
  gap: 2.5rem;
}

#footer .lg\:gap-8 {
  gap: 2rem;
}

#footer .lg\:col-span-1 {
  grid-column: span 1 / span 1;
}

#footer .mb-5 {
  margin-bottom: 1.25rem;
}

#footer .da-logo-video {
  height: 50px;
  width: auto;
  display: block;
}

#footer .text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

#footer .text-slate-400 {
  color: #94a3b8;
}

#footer .leading-relaxed {
  line-height: 1.625;
}

#footer .text-white {
  color: #fff;
}

#footer .font-bold {
  font-weight: 700;
}

#footer .mb-4 {
  margin-bottom: 1rem;
}

#footer .uppercase {
  text-transform: uppercase;
}

#footer .tracking-wider {
  letter-spacing: 0.05em;
}

#footer .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}

#footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

#footer a:hover {
  color: #e2e8f0;
}

#footer .flex {
  display: flex;
}

#footer .items-center {
  align-items: center;
}

#footer .gap-2 {
  gap: 0.5rem;
}

#footer .mt-0\.5 {
  margin-top: 0.125rem;
}

#footer .mt-12 {
  margin-top: 3rem;
}

#footer .pt-8 {
  padding-top: 2rem;
}

#footer .border-t {
  border-top-width: 1px;
}

#footer .border-slate-800 {
  border-color: #1e293b;
}

#footer .flex-col {
  flex-direction: column;
}

#footer .sm\:flex-row {
  flex-direction: row;
}

#footer .justify-between {
  justify-content: space-between;
}

#footer .items-center {
  align-items: center;
}

#footer .gap-4 {
  gap: 1rem;
}

#footer .text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

#footer .text-slate-500 {
  color: #64748b;
}

#footer .gap-6 {
  gap: 1.5rem;
}

#footer .items-start {
  align-items: flex-start;
}

/* Адаптивность */
@media (max-width: 768px) {
  #footer .md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  #footer .lg\:grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #footer .sm\:flex-row {
    flex-direction: column;
  }
}

/* ============================================================
   DAVISION contact form — force visible black field text.
   Impreza blanks typed text / select value (esp. mobile) via
   color / -webkit-text-fill-color. Loaded from child theme
   (last), high specificity (html body) + repeated in a mobile
   media query so theme rules can't win.
   ============================================================ */
html body #contact-form input,
html body #contact-form select,
html body #contact-form select[name],
html body #contact-form textarea,
html body #contact-form select option {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  text-shadow: none !important;
  text-indent: 0 !important;
  opacity: 1 !important;
}

html body #contact-form select option {
  background-color: #ffffff !important;
}

/* Match select shape/fill to text inputs (Impreza styles input but not select) */
html body #contact-form select,
html body #contact-form select[name] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #f1f2f4 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 14px 2.75rem 14px 1.25rem !important;
  min-height: 52px !important;
  box-shadow: none !important;
  font-size: 16px !important;
}

html body #contact-form input::placeholder,
html body #contact-form textarea::placeholder {
  color: #9ca3af !important;
  -webkit-text-fill-color: #9ca3af !important;
  opacity: 1 !important;
}

@media (max-width: 1023px) {
  html body #contact-form input,
  html body #contact-form select,
  html body #contact-form select[name],
  html body #contact-form textarea,
  html body #contact-form select option {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
    text-indent: 0 !important;
    opacity: 1 !important;
  }
}