.rwd-home-hero {
  margin-bottom: 1rem;
}

.rwd-home-hero__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--rwd-ink);
}

.rwd-home-hero__sub {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--rwd-muted-soft);
}

.rwd-home-banner {
  position: relative;
  width: 100%;
  height: 11rem;
  margin-bottom: 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #0c2840 55%, transparent);
  box-shadow:
    0 22px 48px -26px rgba(12, 40, 64, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  background: #0c2840;
}

.rwd-home-banner__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rwd-home-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 40, 0.08) 0%,
    rgba(8, 24, 40, 0.02) 42%,
    rgba(8, 24, 40, 0.62) 100%
  );
  pointer-events: none;
}

.rwd-home-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1rem 1.125rem;
  color: #f0f9ff;
}

.rwd-home-banner__lbl {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 242, 254, 0.82);
}

.rwd-home-banner__title {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(8, 24, 40, 0.35);
}

.rwd-home-quotation {
  margin-bottom: 1rem;
}

.rwd-home-qt-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 1rem 1.125rem;
  margin-bottom: 0.625rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--stitch-secondary) 35%, var(--stitch-outline-variant));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--stitch-secondary) 14%, var(--rwd-panel)) 0%,
    color-mix(in srgb, var(--rwd-teal-deep) 10%, var(--rwd-panel)) 100%
  );
  box-shadow:
    0 18px 44px -24px rgba(30, 74, 110, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  text-decoration: none;
  color: inherit;
}

.rwd-home-qt-feature:active {
  transform: scale(0.99);
}

.rwd-home-qt-feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(180deg, var(--rwd-teal-btn) 0%, var(--rwd-teal-deep) 100%);
  color: var(--rwd-ink);
}

.rwd-home-qt-feature__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rwd-home-qt-feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rwd-ink);
}

.rwd-home-qt-feature__sub {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rwd-muted-soft);
  line-height: 1.4;
}

.rwd-home-qt-feature__chev {
  flex-shrink: 0;
  color: var(--rwd-muted);
}

.rwd-home-qt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.rwd-home-qt-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--rwd-ink);
  border: 1px solid color-mix(in srgb, var(--stitch-outline-variant) 65%, transparent);
  background: color-mix(in srgb, var(--rwd-panel) 92%, transparent);
}

.rwd-home-qt-action .material-symbols-outlined {
  font-size: 1.125rem;
}

.rwd-home-qt-action[hidden],
.rwd-home-quotation[hidden] {
  display: none !important;
}

.rwd-home-grid-title {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rwd-muted-soft);
}

.rwd-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.rwd-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 6.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--stitch-outline-variant) 65%, transparent);
  background: color-mix(in srgb, var(--rwd-panel) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow:
    0 16px 40px -24px rgba(30, 74, 110, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rwd-home-card:hover {
  box-shadow:
    0 22px 48px -22px rgba(30, 74, 110, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.rwd-home-card:active {
  transform: scale(0.98);
}

.rwd-home-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.25rem;
  background: color-mix(in srgb, var(--rwd-teal-deep) 22%, transparent);
  color: var(--rwd-ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.rwd-home-card:hover .rwd-home-card__icon {
  background: linear-gradient(180deg, var(--rwd-teal-btn) 0%, var(--rwd-teal-deep) 100%);
  color: var(--rwd-ink);
}

.rwd-home-card__label {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rwd-ink);
}

.rwd-home-card__hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rwd-muted-soft);
  line-height: 1.35;
}

.rwd-home-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.35rem;
  text-align: center;
  box-shadow: 0 4px 12px -6px rgba(234, 88, 12, 0.65);
}

.rwd-home-foot {
  margin: 1.25rem 0 0;
  text-align: center;
}

.rwd-home-foot__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rwd-ink);
  text-decoration: none;
  background: color-mix(in srgb, var(--rwd-panel) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--rwd-teal-deep) 35%, transparent);
}
