/* Active Shutter Singapore homepage styles. Scope: .as-home only. */
.as-home {
  --as-navy: #061728;
  --as-charcoal: #111827;
  --as-ink: #172033;
  --as-muted: #64748b;
  --as-line: #dbe4ee;
  --as-soft: #f4f7fb;
  --as-card: #ffffff;
  --as-blue: #1478ff;
  --as-teal: #12b8a6;
  --as-gold: #d5a241;
  --as-green: #1fb981;
  --as-radius: 8px;
  --as-radius-lg: 18px;
  --as-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  color: var(--as-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #ffffff;
}

.as-home,
.as-home * {
  box-sizing: border-box;
}

.as-home a {
  text-decoration: none;
}

.as-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.as-home .as-section,
.as-home .as-hero {
  padding: clamp(56px, 7vw, 104px) clamp(18px, 4vw, 40px);
}

.as-home .as-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(18, 184, 166, 0.2), transparent 30%),
    linear-gradient(135deg, #061728 0%, #0c2038 50%, #12263a 100%);
  color: #ffffff;
}

.as-home .as-hero__grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 34px;
  align-items: center;
}

.as-home .as-hero__content {
  min-width: 0;
}

.as-home .as-eyebrow,
.as-home .as-kicker {
  margin: 0 0 14px;
  color: var(--as-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.as-home .as-hero__title {
  margin: 0;
  max-width: 780px;
  color: #ffffff;
  font-size: clamp(2.35rem, 7vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.as-home .as-hero__text {
  margin: 22px 0 0;
  max-width: 660px;
  color: #d8e4ef;
  font-size: clamp(1.02rem, 2.5vw, 1.24rem);
  line-height: 1.7;
}

.as-home .as-actions,
.as-home .as-final-cta__actions,
.as-home .as-emergency__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.as-home .as-btn .wp-block-button__link,
.as-home .as-cta,
.as-home .as-cta .wp-block-button__link,
.as-home .as-link-btn,
.as-home .as-link-btn .wp-block-button__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--as-radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.as-home .as-btn .wp-block-button__link,
.as-home .as-cta,
.as-home .as-cta .wp-block-button__link {
  padding: 14px 20px;
}

.as-home .as-btn .wp-block-button__link:hover,
.as-home .as-cta:hover,
.as-home .as-cta .wp-block-button__link:hover,
.as-home .as-link-btn:hover {
  transform: translateY(-1px);
}

.as-home .as-cta.wp-block-button,
.as-home .as-link-btn.wp-block-button {
  padding: 0;
}

.as-home .as-cta .wp-block-button__link,
.as-home .as-link-btn .wp-block-button__link {
  width: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
}

.as-home .as-btn--primary .wp-block-button__link,
.as-home .as-cta--primary {
  background: linear-gradient(135deg, var(--as-blue), var(--as-teal));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 120, 255, 0.28);
}

.as-home .as-btn--secondary .wp-block-button__link {
  background: #ffffff;
  color: var(--as-navy);
}

.as-home .as-btn--ghost .wp-block-button__link {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.as-home .as-trust-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.as-home .as-trust-list li {
  position: relative;
  padding-left: 28px;
  color: #e9f2fb;
  font-weight: 700;
}

.as-home .as-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--as-green), var(--as-gold));
  box-shadow: 0 0 0 5px rgba(31, 185, 129, 0.14);
}

.as-home .as-hero__visual {
  position: relative;
  min-width: 0;
}

.as-home .as-hero__image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--as-radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.as-home .as-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.as-home .as-hero-card {
  margin: -46px 18px 0;
  position: relative;
  padding: 20px;
  border-radius: var(--as-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  color: var(--as-navy);
  box-shadow: var(--as-shadow);
  backdrop-filter: blur(10px);
}

.as-home .as-hero-card__label {
  margin: 0 0 8px;
  color: var(--as-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.as-home .as-hero-card__value {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
}

.as-home .as-badges {
  background: var(--as-soft);
  padding-top: 26px;
  padding-bottom: 26px;
}

.as-home .as-badge-grid,
.as-home .as-card-grid,
.as-home .as-pill-grid,
.as-home .as-tag-grid,
.as-home .as-steps {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.as-home .as-badge {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(18, 184, 166, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: var(--as-ink);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.as-home .as-services,
.as-home .as-problems,
.as-home .as-faq,
.as-home .as-seo-local,
.as-home .as-common-issues,
.as-home .as-service-links,
.as-home .as-extra-faq {
  background: #ffffff;
}

.as-home .as-section-title,
.as-home .as-why h2,
.as-home .as-emergency h2,
.as-home .as-final-cta h2 {
  margin: 0;
  color: var(--as-navy);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.as-home .as-section-lead,
.as-home .as-why p,
.as-home .as-commercial p,
.as-home .as-quote-info p,
.as-home .as-maintenance-importance p,
.as-home .as-emergency p,
.as-home .as-final-cta p {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--as-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.as-home .as-card-grid {
  margin-top: 32px;
}

.as-home .as-card {
  padding: 24px;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-lg);
  background: var(--as-card);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.as-home .as-card__icon {
  width: 42px;
  height: 42px;
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--as-blue);
  font-weight: 900;
}

.as-home .as-card h3,
.as-home .as-step h3 {
  margin: 0 0 10px;
  color: var(--as-navy);
  font-size: 1.22rem;
  line-height: 1.25;
}

.as-home .as-card p,
.as-home .as-step p {
  margin: 0;
  color: var(--as-muted);
  line-height: 1.65;
}

.as-home .as-link-btn {
  width: max-content;
  margin-top: 22px;
  background: var(--as-navy);
  color: #ffffff;
}

.as-home .as-link-btn .wp-block-button__link {
  padding: 12px 15px;
}

.as-home .as-why,
.as-home .as-process,
.as-home .as-properties,
.as-home .as-service-detail,
.as-home .as-commercial,
.as-home .as-quote-info,
.as-home .as-maintenance-importance {
  background: var(--as-soft);
}

.as-home .as-two-col {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.as-home .as-why__intro,
.as-home .as-why__points {
  min-width: 0;
}

.as-home .as-check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.as-home .as-check-list li {
  position: relative;
  padding: 18px 18px 18px 52px;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-lg);
  background: #ffffff;
  color: var(--as-ink);
  line-height: 1.55;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.as-home .as-check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 23px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--as-teal);
}

.as-home .as-pill-grid,
.as-home .as-tag-grid {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.as-home .as-pill-grid p,
.as-home .as-tag-grid p,
.as-home .as-issue-grid p,
.as-home .as-link-grid p {
  margin: 0;
  padding: 16px 14px;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: #ffffff;
  color: var(--as-ink);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.as-home .as-card-grid--detail {
  grid-template-columns: 1fr;
}

.as-home .as-card-grid--detail .as-card h3 {
  margin-bottom: 14px;
}

.as-home .as-card-grid--detail .as-card p {
  line-height: 1.72;
}

.as-home .as-issue-grid,
.as-home .as-link-grid {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.as-home .as-issue-grid p {
  position: relative;
  padding-left: 42px;
}

.as-home .as-issue-grid p::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--as-teal);
  transform: translateY(-50%);
}

.as-home .as-link-grid p {
  padding: 0;
  overflow: hidden;
}

.as-home .as-link-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px;
  color: var(--as-navy);
  font-weight: 900;
}

.as-home .as-link-grid a:hover {
  color: var(--as-blue);
}

.as-home .as-steps {
  margin-top: 30px;
}

.as-home .as-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.as-home .as-step span {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--as-blue), var(--as-teal));
  color: #ffffff;
  font-weight: 900;
}

.as-home .as-emergency {
  background: linear-gradient(135deg, #0c4a6e, #0f766e 52%, #164e63);
  color: #ffffff;
}

.as-home .as-emergency__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 26px;
  align-items: center;
}

.as-home .as-emergency h2,
.as-home .as-emergency p {
  color: #ffffff;
}

.as-home .as-emergency p {
  color: #dff7f3;
}

.as-home .as-cta--light {
  background: #ffffff;
  color: #0f4f5a;
}

.as-home .as-cta--outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.as-home .as-faq-list {
  width: min(920px, 100%);
  margin: 30px auto 0;
  display: grid;
  gap: 12px;
}

.as-home .as-faq-list details {
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.as-home .as-faq-list summary {
  min-height: 58px;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  color: var(--as-navy);
  font-weight: 900;
  line-height: 1.35;
}

.as-home .as-faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--as-muted);
  line-height: 1.65;
}

.as-home .as-final-cta {
  text-align: center;
  background:
    linear-gradient(rgba(244, 247, 251, 0.92), rgba(244, 247, 251, 0.92)),
    radial-gradient(circle at 15% 15%, rgba(20, 120, 255, 0.16), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(18, 184, 166, 0.18), transparent 28%);
}

.as-home .as-final-cta .as-kicker,
.as-home .as-final-cta p,
.as-home .as-final-cta__actions {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.as-home .as-cta--dark {
  background: var(--as-navy);
  color: #ffffff;
}

.as-home .as-cta--outline-dark {
  border: 1px solid #98a7ba;
  color: var(--as-navy);
  background: #ffffff;
}

@media (min-width: 560px) {
  .as-home .as-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .as-home .as-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .as-home .as-card-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .as-home .as-card-grid--detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .as-home .as-pill-grid,
  .as-home .as-tag-grid,
  .as-home .as-issue-grid,
  .as-home .as-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .as-home .as-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .as-home .as-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }

  .as-home .as-badge-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .as-home .as-card-grid--services {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .as-home .as-card-grid--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .as-home .as-two-col {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .as-home .as-pill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .as-home .as-tag-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .as-home .as-issue-grid,
  .as-home .as-link-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .as-home .as-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .as-home .as-emergency__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 480px) {
  .as-home .as-actions,
  .as-home .as-final-cta__actions,
  .as-home .as-emergency__actions {
    flex-direction: column;
  }

  .as-home .as-btn,
  .as-home .as-btn .wp-block-button__link,
  .as-home .as-cta {
    width: 100%;
  }

  .as-home .as-pill-grid,
  .as-home .as-tag-grid,
  .as-home .as-issue-grid,
  .as-home .as-link-grid {
    grid-template-columns: 1fr;
  }

  .as-home .as-hero-card {
    margin: -26px 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .as-home .as-btn .wp-block-button__link,
  .as-home .as-cta,
  .as-home .as-link-btn {
    transition: none;
  }
}
