:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #17382f;
  background: #f4f7f4;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }

header, main, footer {
  max-width: 1140px;
  margin: auto;
  padding: 24px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 2px solid #cad9d0;
  padding-bottom: 18px;
}

.brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .05em;
  color: #075b43;
  text-decoration: none;
}

.tagline {
  display: block;
  font-size: 0.9rem;
  color: #49665b;
  margin-top: 4px;
}

.header-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-whatsapp, .btn-phone, .btn-admin {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}

.btn-whatsapp {
  background: #25d366;
  color: #053b1b;
}

.btn-phone {
  background: #075b43;
  color: white;
}

.btn-admin {
  background: #eef3f0;
  color: #075b43;
  border: 1px solid #739387;
}

.btn-whatsapp:hover, .btn-phone:hover, .btn-admin:hover {
  opacity: .85;
}

h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin: 30px 0 10px;
  color: #075b43;
}

.subtitle {
  font-size: 1.1rem;
  color: #3b5c50;
  margin-bottom: 25px;
}

.notice {
  background: #fff8e6;
  border-left: 5px solid #d97706;
  padding: 16px 20px;
  border-radius: 4px;
  color: #78350f;
  margin: 20px 0;
  font-size: 0.95rem;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin: 25px 0 15px;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  color: #17382f;
  border: 1px solid #cad9d0;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.tab-btn.active, .tab-btn:hover {
  background: #075b43;
  color: white;
  border-color: #075b43;
}

label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
}

input, textarea, select, button {
  font: inherit;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #739387;
  border-radius: 6px;
  padding: 12px;
  background: white;
  color: #17382f;
}

.search-row {
  display: flex;
  gap: 12px;
}

button {
  background: #075b43;
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 700;
  transition: background .2s;
}

button:hover {
  background: #034531;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

.btn-secondary {
  background: #eef3f0;
  color: #075b43;
  border: 1px solid #739387;
}

.btn-secondary:hover {
  background: #d8e5df;
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #c4d5cd;
  background: white;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: #49665b;
  background: #eef3f0;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-pay {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-pay.mm {
  background: #e6f9ed;
  color: #0d6832;
}

.badge-pay.wire {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-pay.quote {
  background: #fef3c7;
  color: #92400e;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #075b43;
}

.card .desc {
  font-size: 0.95rem;
  color: #49665b;
  flex-grow: 1;
  margin: 0 0 14px;
}

.price-box {
  margin: 10px 0;
}

.card .price {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: #075b43;
}

.tax-notice {
  font-size: 0.8rem;
  color: #6b7280;
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #374151;
  padding: 10px 0;
  border-top: 1px dashed #cad9d0;
  border-bottom: 1px dashed #cad9d0;
  margin-bottom: 14px;
}

.meta-legal {
  font-weight: 700;
  color: #075b43;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-wa-link {
  display: block;
  text-align: center;
  background: #25d366;
  color: #053b1b;
  text-decoration: none;
  font-weight: 700;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: opacity .2s;
}

.btn-wa-link:hover {
  opacity: .85;
}

#request, #proforma-section, #vip-section {
  max-width: 680px;
  background: white;
  padding: 28px;
  border: 2px solid #075b43;
  border-radius: 12px;
  margin-top: 35px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.selected-badge {
  background: #eef3f0;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  color: #075b43;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  margin: 18px 0;
}

.consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.proforma-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

footer {
  color: #49665b;
  margin-top: 40px;
  border-top: 1px solid #cad9d0;
  font-size: 0.9rem;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 8px; background: white; padding: 8px; z-index: 5; }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  header { flex-direction: column; align-items: flex-start; }
  .header-contacts { width: 100%; justify-content: flex-start; }
  .search-row { flex-direction: column; }
  .form-actions { flex-direction: column; }
}
