/* ============================================================
   Packagly — product/specifications.css
   Depends on: common.css (variables, reset, icon helpers)
   Responsive @media rules live in responsive.css
   ============================================================ */

/* ============================================================
   PRODUCT SPECIFICATIONS + GET A QUOTE
   ============================================================ */
.sq-section {
  background: #ffffff;
  padding: 4px 0 64px;
}
.sq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.sq-head {
  margin-bottom: 16px;
}
.sq-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #15241b;
}
.sq-title::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  align-self: stretch;
  min-height: 1.05em;
  background: var(--green);
  border-radius: 3px;
}
.sq-title .accent {
  color: var(--green);
}
.sq-sub {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5d6b62;
}

/* ---- specs table ---- */
.specs-table {
  border: 1px solid #e7ebe7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.spec-row {
  display: grid;
  grid-template-columns: 34px 166px 1fr;
  align-items: stretch;
  gap: 0 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #eef1ee;
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-ico {
  align-self: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef5e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.spec-ico img {
  width: 16px;
  height: 16px;
}
.spec-label {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 13.5px;
  color: #16241c;
  /* vertical divider -> table feel */
  border-right: 1px solid #eef1ee;
  padding-right: 12px;
}
.spec-value {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.45;
  color: #5d6b62;
}
.spec-phone {
  color: var(--green);
  font-weight: 700;
}
.spec-phone:hover {
  text-decoration: underline;
}

/* ---- quote card ---- */
.quote {
  border: 1px solid #e7ebe7;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 36, 27, 0.07);
}
.quote-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  background: linear-gradient(100deg, #0b2316 0%, #04130c 100%);
  color: #fff;
}
.quote-head-ico {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(112, 174, 19, 0.18);
  border: 1px solid rgba(112, 174, 19, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quote-head-ico img {
  width: 26px;
  height: 26px;
}
.quote-title {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.quote-title .accent {
  color: var(--green);
}
.quote-sub {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--white-70);
}

/* ---- form ---- */
.quote-form {
  padding: 22px 26px 26px;
}
.qf-group {
  margin-bottom: 16px;
}
.qf-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #16241c;
}
.qf-legend img {
  width: 17px;
  height: 17px;
}
.qf-legend small {
  font-weight: 500;
  color: #8a988e;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #16241c;
  background: #f4f6f4;
  border: 1px solid #e3e8e3;
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9aa69c;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(112, 174, 19, 0.15);
}
.quote-form textarea {
  resize: vertical;
  min-height: 84px;
}
.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("../../images/svg/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.qf-row {
  display: grid;
  gap: 12px;
}
.qf-3 {
  grid-template-columns: repeat(3, 1fr);
}
.qf-size {
  grid-template-columns: 1fr 1fr 1fr 92px;
}
.qf-2 {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* file input */
.qf-file {
  display: flex;
  align-items: stretch;
  border: 1px solid #e3e8e3;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f6f4;
  cursor: pointer;
}
.qf-file-btn {
  flex: 0 0 auto;
  padding: 11px 16px;
  background: #e9ede9;
  font-size: 13px;
  font-weight: 600;
  color: #3a473e;
  border-right: 1px solid #e3e8e3;
}
.qf-file-name {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 14px;
  font-size: 13px;
  color: #9aa69c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qf-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9aa69c;
}

/* captcha */
.qf-human {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qf-num {
  flex: 0 0 auto;
  min-width: 70px;
  text-align: center;
  background: #f4f6f4;
  border: 1px solid #e3e8e3;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  color: #16241c;
}
.qf-op {
  font-weight: 700;
  color: #5d6b62;
}
.qf-human input {
  flex: 1 1 auto;
}

/* submit */
.qf-submit {
  width: 100%;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 15px;
  border-radius: 12px;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.qf-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.qf-submit img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
