/* ===== Industry Solutions page ===== */

/* Hero */
.sol-hero {
  position: relative;
  height: min(615px, calc(100vh - 80px));
  margin-top: 80px;
  overflow: hidden;
  color: #fff;
}

.sol-hero__bg {
  position: absolute;
  inset: 0;
}

.sol-hero__bg img {
  position: absolute;
  width: 100%;
  height: 105.15%;
  top: -2.57%;
  left: 0;
  max-width: none;
  object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}

.sol-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.sol-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1300px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.sol-hero__content .p-breadcrumb {
  position: absolute;
  top: 91px;
  left: 20px;
  right: 20px;
  margin-bottom: 0;
}

.sol-hero__eyebrow {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 16px;
  opacity: 0.9;
  margin-top: 46px;
  margin-bottom: 16px;
}

.sol-hero__title {
  font-family: var(--font-noto);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.96px;
  max-width: 672px;
  margin-bottom: 24px;
}

.sol-hero__desc {
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 576px;
  margin-bottom: 40px;
}

.sol-hero__cta {
  align-self: flex-start;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 16px;
  border-radius: 2px;
  box-shadow: none;
}

.sol-hero__cta:hover {
  box-shadow: 0 10px 18px -4px rgba(17, 168, 78, 0.35);
}

/* Solution Cards */
.sol-categories {
  background: #f8faf8;
  padding: 102px 0;
}

.sol-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Odd total: last card spans full row; even total: two per row */
.sol-categories__grid .sol-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.sol-card {
  background: #f2f4f2;
  border: 1px solid rgba(196, 200, 192, 0.3);
  border-radius: 8px;
  padding: 41px;
  min-height: 355px;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 100px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.sol-card:hover,
.sol-card.is-hovered {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  border-color: rgba(17, 168, 78, 0.35);
}

.sol-card.is-target {
  border-color: rgba(17, 168, 78, 0.55);
  box-shadow: 0 12px 28px -10px rgba(17, 168, 78, 0.28);
}

.sol-card__icon {
  margin-bottom: 32px;
  height: 39px;
  display: flex;
  align-items: flex-end;
}

.sol-card__icon img {
  width: auto;
  height: auto;
  max-height: 39px;
}

.sol-card__eyebrow {
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green);
  line-height: 24px;
  margin-bottom: 8px;
}

.sol-card__title {
  font-family: var(--font-inter);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -0.32px;
  color: #333;
  margin-bottom: 0;
}

.sol-card__text {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 24px;
  color: #444842;
  margin-top: 16px;
  margin-bottom: 32px;
  flex: 1;
}

.sol-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 1px solid var(--green);
  padding-bottom: 5px;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 24px;
  color: var(--green);
  transition: gap 0.25s ease, opacity 0.2s ease;
}

.sol-card__link:hover {
  gap: 12px;
  opacity: 0.9;
}

.sol-card__link img {
  width: 9.333px;
  height: 9.333px;
  flex-shrink: 0;
}

/* Why Choose Us */
.sol-why {
  position: relative;
  min-height: 667px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.sol-why__bg {
  position: absolute;
  inset: 0;
}

.sol-why__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-why__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.sol-why__inner {
  position: relative;
  z-index: 2;
  padding: 120px 20px;
  max-width: 1300px;
}

.sol-why__title {
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  margin-bottom: 80px;
}

.sol-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.sol-glass:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.sol-glass__icon {
  min-height: 32px;
  display: flex;
  align-items: center;
}

.sol-glass h3 {
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding-top: 8px;
  margin: 0;
}

.sol-glass p {
  font-family: var(--font-noto);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.sol-glass a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sol-glass a:hover {
  color: var(--green);
}

/* Get a Quote */
.sol-quote {
  background: #f9f9fc;
  padding: 97px 0 80px;
  scroll-margin-top: 80px;
}

.sol-quote__head {
  text-align: center;
  margin-bottom: 56px;
}

.sol-quote__head h2 {
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  color: #333;
  margin-bottom: 16px;
}

.sol-quote__head p {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 24px;
  color: #4b5563;
  max-width: 768px;
  margin: 0 auto;
}

.sol-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1300px;
}

.sol-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sol-field input,
.sol-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  background: #fff;
  padding: 16px 13px;
  font-family: var(--font-inter);
  font-size: 16px;
  color: #1a1c1e;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sol-field input {
  height: 53px;
}

.sol-field input::placeholder,
.sol-field textarea::placeholder {
  color: #6b7280;
}

.sol-field textarea {
  min-height: 170px;
  resize: vertical;
  padding-top: 13px;
  line-height: 24px;
}

.sol-field input:focus,
.sol-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(17, 168, 78, 0.12);
}

.sol-field input.is-invalid,
.sol-field textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.sol-verify {
  padding-top: 16px;
  padding-bottom: 8px;
}

.sol-verify__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 20px;
  color: #374151;
}

.sol-verify__label strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #0f2e50;
}

.sol-verify__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform 0.3s ease;
}

.sol-verify__refresh:hover {
  transform: rotate(90deg);
}

.sol-verify__refresh img {
  width: 13.333px;
  height: 13.333px;
  display: block;
}

.sol-form__submit {
  width: 100%;
  height: 60px;
  margin-top: 0;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sol-form__submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.sol-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .sol-categories__grid,
  .sol-why__grid {
    grid-template-columns: 1fr;
  }

  .sol-card,
  .sol-card--wide {
    min-height: auto;
  }

  .sol-hero__content .p-breadcrumb {
    top: 24px;
  }

  .sol-hero__eyebrow {
    margin-top: 24px;
  }

  .sol-hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .sol-why__title,
  .sol-quote__head h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .sol-why__title {
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .sol-hero {
    height: auto;
    min-height: 480px;
  }

  .sol-hero__content {
    padding-top: 72px;
    padding-bottom: 56px;
    justify-content: flex-start;
  }

  .sol-hero__content .p-breadcrumb {
    position: static;
    margin-bottom: 24px;
  }

  .sol-hero__eyebrow {
    margin-top: 0;
  }

  .sol-hero__title {
    font-size: 28px;
    line-height: 36px;
  }

  .sol-hero__desc {
    font-size: 16px;
    line-height: 24px;
  }

  .sol-categories {
    padding: 64px 0;
  }

  .sol-card {
    padding: 28px;
  }

  .sol-card--wide {
    padding-top: 28px;
  }

  .sol-card__title {
    font-size: 24px;
    line-height: 32px;
  }

  .sol-form__row {
    grid-template-columns: 1fr;
  }

  .sol-why__inner {
    padding: 80px 20px;
  }

  .sol-quote {
    padding: 64px 0;
  }
}
