/* ========================================================================== */
/*                             styleinstall.css                               */
/* ========================================================================== */

/* ── VARIABLES ─────────────────────────────────────────────────────────────── */
:root {
  --primary:     #003366;
  --accent:      #FFCC00;
  --accent-d:    #e6b800;
  --border:      #e0e0e0;
  --text-main:   #333;
  --text-sec:    #555;
  --whatsapp:    #28A745;
  --whatsapp-d:  #218838;
  --email:       #1A73E8;
  --email-d:     #155ab6;
}

/* ── HERO + SEARCH ─────────────────────────────────────────────────────────── */
.install-guide .contact-hero {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.install-guide .contact-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.install-guide .contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}
#deviceSearch {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid var(--accent);
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}
#deviceSearch:focus {
  outline: none;
  border-color: var(--accent-d);
  box-shadow: 0 2px 12px rgba(230,184,0,0.4);
}

/* ── DEVICE GRID ───────────────────────────────────────────────────────────── */
.devices-grid {
  padding: 40px 0;
}
.device-card {
  margin-bottom: 30px;
}
.device-card .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.device-card .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--primary);
  background: #fcfdff;
}
.device-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.install-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.device-desc {
  font-size: 0.95rem;
  color: var(--text-sec);
  flex-grow: 1;
  margin-bottom: 15px;
}
.btn-order {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-order:hover {
  background: var(--accent-d);
}
#noMatch {
  margin-bottom: 30px;
  padding: 15px;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 8px;
}

/* ── MODALS ───────────────────────────────────────────────────────────────── */
.modal-content {
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.15) !important;
}
.modal-header.bg-primary-custom {
  background: var(--primary) !important;
  color: #fff !important;
  border-bottom: none !important;
  position: relative;
  padding: 15px 20px;
}
.modal-header .modal-title {
  font-size: 2rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #fff !important;
}
.modal-header.bg-primary-custom::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 80px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
}
.modal-body {
  padding: 20px !important;
  font-size: 1rem !important;
  color: var(--text-main) !important;
}
.modal-body .install-steps {
  padding-left: 20px;
  list-style-position: inside;
}
.modal-body .install-steps li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.modal-footer {
  display: flex !important;
  justify-content: center !important;
  gap: 15px;
  padding: 20px !important;
  border-top: none !important;
  background: #f9f9f9 !important;
}
.btn-whatsapp {
  background: var(--whatsapp) !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 8px 16px !important;
  transition: background 0.3s !important;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-d) !important;
}
.btn-contact {
  background: var(--email) !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 8px 16px !important;
  transition: background 0.3s !important;
}
.btn-contact:hover {
  background: var(--email-d) !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-hero h1 { font-size: 2rem; }
  .contact-hero p  { font-size: 1rem; }
  #deviceSearch { max-width: 100%; padding: 0.75rem 1.2rem; }
  .device-icon   { font-size: 2.5rem; }
  .modal-header .modal-title { font-size: 1.5rem !important; }
}
