/* Public service landing pages — complements styles.css */

/* ===== Hero (split layout) ===== */
.sp-hero {
  position: relative;
  padding: 2.75rem 0 0;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(45, 143, 78, 0.1), transparent 50%),
    linear-gradient(165deg, #edf2f7 0%, #e8eef5 40%, #f3f8f5 100%);
  overflow: hidden;
}

.sp-hero__grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.75rem;
}

@media (min-width: 900px) {
  .sp-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    padding-bottom: 3.25rem;
  }
}

.sp-hero__copy {
  position: relative;
  z-index: 1;
}

.sp-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.sp-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 1rem;
}

.sp-hero__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 34rem;
  line-height: 1.65;
}

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sp-hero__media {
  position: relative;
  margin: 0 -1.25rem;
}

@media (min-width: 900px) {
  .sp-hero__media {
    margin: 0;
  }
}

.sp-hero__media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  background: var(--navy-dark);
  box-shadow: none;
}

@media (min-width: 900px) {
  .sp-hero__media-frame {
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(21, 42, 69, 0.18);
    aspect-ratio: 4 / 3;
  }
}

.sp-hero__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sp-hero__media-accent {
  display: none;
}

@media (min-width: 900px) {
  .sp-hero__media-accent {
    display: block;
    position: absolute;
    left: -12px;
    bottom: -12px;
    width: 42%;
    height: 42%;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(45, 143, 78, 0.22), rgba(30, 58, 95, 0.12));
    z-index: -1;
  }
}

/* ===== Sections ===== */
.sp-section {
  padding: 3.5rem 0;
}

.sp-section--alt {
  background: linear-gradient(180deg, #f7faf8 0%, #f4f7fb 100%);
}

.sp-section__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.sp-section__title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.sp-section__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.sp-modes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sp-modes {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.sp-mode {
  padding: 0;
}

.sp-mode__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.sp-mode__icon svg {
  width: 100%;
  height: 100%;
}

.sp-mode__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.sp-mode__desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sp-mode__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sp-mode__list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 0.9375rem;
}

.sp-mode__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
}

.sp-include {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .sp-include {
    grid-template-columns: 1fr 1fr;
  }
}

.sp-include__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.25rem 0;
}

.sp-include__check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--green);
}

.sp-include__check svg {
  width: 100%;
  height: 100%;
}

.sp-include__item p {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.45;
}

.sp-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.sp-audience__item {
  font-size: 0.975rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}

.sp-audience__item::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.sp-steps {
  counter-reset: sp-step;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sp-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.sp-step {
  counter-increment: sp-step;
}

.sp-step__num {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.sp-step__num::before {
  content: counter(sp-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.sp-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.sp-step__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sp-benefits {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .sp-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-benefit__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.sp-benefit__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sp-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.sp-faq details {
  border-bottom: 1px solid var(--border);
}

.sp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.75rem 1.15rem 0;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.sp-faq summary::-webkit-details-marker {
  display: none;
}

.sp-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--green);
}

.sp-faq details[open] summary::after {
  content: "−";
}

.sp-faq__answer {
  padding: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
  max-width: 40rem;
}

.sp-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.sp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.sp-related a {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-related a:hover {
  color: var(--green-hover);
}

.fm-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 24px rgba(16, 35, 60, 0.1);
}

.fm-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.fm-contact__call {
  background: #1e3a5f;
  color: #fff;
}

.fm-contact__wa {
  background: #2d8f4e;
  color: #fff;
}

@media (max-width: 1023px) {
  .fm-contact {
    display: grid;
  }

  body {
    padding-bottom: 4.75rem;
  }
}

@media (max-width: 639px) {
  .sp-hero {
    padding-top: 2rem;
  }

  .sp-section {
    padding: 2.5rem 0;
  }

  .sp-hero__actions .btn {
    width: 100%;
  }
}

.sp-jump {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .sp-jump {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-jump a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}

.sp-jump a span {
  display: block;
  margin-top: 0.3rem;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sp-feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .sp-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }

  .sp-feature--flip .sp-feature__copy {
    order: 2;
  }
}

.sp-feature__photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(21, 42, 69, 0.12);
}

.sp-feature__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.sp-feature__list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.sp-feature__list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
}

.sp-feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}
