/* ============================================
   solution.html 页面专属样式
   ============================================ */

/* ---- Section 2: Granny Flats Intro ---- */
.solution-granny {
  padding: 72px 20px;
  background: #ffffff;
}

.solution-granny__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.solution-granny__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.solution-granny__copy h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 18px;
  line-height: 1.2;
}

.solution-granny__copy p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.solution-granny__models {
  display: grid;
  gap: 16px;
}

.solution-granny__model {
  padding: 22px 24px;
  background: #f5f7fa;
  border: 1px solid #eeeeee;
  border-left: 4px solid #4caf50;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-granny__model:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.solution-granny__model h3 {
  font-family: "Archivo", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
}

.solution-granny__model p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.solution-granny__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-granny__feature {
  text-align: center;
  padding: 30px 24px;
  background: #f5f7fa;
  border-radius: 14px;
  border: 1px solid #eeeeee;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solution-granny__feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  border-color: rgba(76, 175, 80, 0.4);
}

.solution-granny__feature i {
  font-size: 34px;
  color: #4caf50;
  margin-bottom: 14px;
}

.solution-granny__feature h3 {
  font-family: "Archivo", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.solution-granny__feature p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ---- Section 3: Expandable Solutions ---- */
.solution-expand {
  padding: 72px 20px;
  background: #f5f7fa;
}

.solution-expand__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.solution-expand__media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: block;
}

.solution-expand__copy h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 10px;
  line-height: 1.2;
}

.solution-expand__tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.solution-expand__copy > p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 28px;
}

.solution-expand__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.solution-expand__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
}

.solution-expand__feature i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  font-size: 19px;
}

.solution-expand__feature h3 {
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 5px;
}

.solution-expand__feature p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ---- Section 4: Industries ---- */
.solution-apps {
  padding: 72px 20px;
  background: #ffffff;
}

.solution-apps__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.solution-apps__heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.solution-apps__heading h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.solution-apps__heading p {
  font-size: 15px;
  color: #616161;
  line-height: 1.7;
  margin: 0;
}

.solution-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.solution-apps__item {
  padding: 30px 24px;
  background: #f5f7fa;
  border-radius: 14px;
  border: 1px solid #eeeeee;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solution-apps__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  border-color: rgba(76, 175, 80, 0.4);
}

.solution-apps__item i {
  font-size: 30px;
  color: #4caf50;
  margin-bottom: 16px;
  display: inline-block;
}

.solution-apps__item h3 {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.solution-apps__item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.solution-apps__banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.solution-apps__banner img {
  width: 100%;
  display: block;
}

/* ---- Section 5: Contact CTA ---- */
.solution-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.solution-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.solution-cta__tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(76, 175, 80, 0.16);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #4caf50;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.solution-cta h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.solution-cta > .solution-cta__inner > p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 560px;
}

.solution-cta form {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.solution-cta .form-group--full {
  grid-column: 1 / -1;
}

.solution-cta label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 7px;
}

.solution-cta label span {
  color: #f44336;
}

.solution-cta input[type="text"],
.solution-cta input[type="email"],
.solution-cta input[type="tel"],
.solution-cta select,
.solution-cta textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.solution-cta input:focus,
.solution-cta select:focus,
.solution-cta textarea:focus {
  border-color: #4caf50;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.solution-cta textarea {
  resize: vertical;
  min-height: 110px;
}

.solution-cta .btn {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 220px;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(76, 175, 80, 0.35);
}

.solution-cta .form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: #9e9e9e;
  margin: -4px 0 0;
}

.solution-cta .form-success {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .solution-granny__grid,
  .solution-expand__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .solution-apps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .solution-granny__features,
  .solution-expand__features {
    grid-template-columns: 1fr;
  }

  .solution-apps__grid {
    grid-template-columns: 1fr;
  }

  .solution-cta form {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .solution-cta .form-group--full,
  .solution-cta .btn,
  .solution-cta .form-note,
  .solution-cta .form-success {
    grid-column: 1;
  }
}
