/* =========================================================
   STOREFRONT SIGNS PAGE
   Page-specific styles only.

   Header, hamburger, page callout, and footer remain
   controlled by home.css.
========================================================= */


/* =========================================================
   GENERAL SECTION STYLING
========================================================= */

.service-intro,
.project-section,
.storefront-types,
.process-section,
.faq-section,
.related-work {
  width: min(1200px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: #286ba6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.service-intro__text h2,
.trust-section h2,
.service-cta h2 {
  margin: 0 0 16px;
  color: #1e4f78;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.section-heading > p:last-child {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.service-intro {
  padding: 56px 0 42px;
}

.service-intro__text {
  max-width: 900px;
  margin: 0 auto;
}

.service-intro__text h2 {
  text-align: center;
}

.service-intro__text > .section-kicker {
  text-align: center;
}

.service-intro__text > p:not(.section-kicker) {
  margin: 0 0 20px;
  color: #4d4d4d;
  font-size: 1.06rem;
  line-height: 1.8;
}


/* =========================================================
   PROJECT SECTION
========================================================= */

.project-section {
  margin-bottom: 90px;
}


/* =========================================================
   EDITORIAL PROJECT PORTFOLIO
========================================================= */

.project-list {
  display: grid;
  gap: 72px;
}

.portfolio-project {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dfe4;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}


/* =========================================================
   PORTFOLIO PROJECT IMAGE
========================================================= */

.portfolio-project__image {
  margin: 0;
  background: #e8edf1;
}

.portfolio-project__image img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   PORTFOLIO PROJECT BODY
========================================================= */

.portfolio-project__body {
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(260px, 0.75fr);
  gap: 50px;
  padding: clamp(28px, 5vw, 56px);
}

.portfolio-project__story {
  max-width: 760px;
}

.portfolio-project__story h3 {
  margin: 0 0 20px;
  color: #1e4f78;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.portfolio-project__story > p:not(.project-number) {
  margin: 0 0 18px;
  color: #505050;
  font-size: 1.03rem;
  line-height: 1.75;
}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.project-number {
  margin: 0 0 9px;
  color: #286ba6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* =========================================================
   PROJECT DETAILS PANEL
========================================================= */

.portfolio-project__details {
  align-self: start;
  margin: 0;
  padding: 26px;
  background: #f3f7f9;
  border-left: 4px solid #286ba6;
  border-radius: 8px;
}

.portfolio-project__details div {
  padding: 13px 0;
  border-bottom: 1px solid #d8e0e5;
}

.portfolio-project__details div:first-child {
  padding-top: 0;
}

.portfolio-project__details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.portfolio-project__details dt {
  margin: 0 0 4px;
  color: #1e4f78;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-project__details dd {
  margin: 0;
  color: #505050;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* =========================================================
   TYPES OF STOREFRONT SIGNS
========================================================= */

.storefront-types {
  margin-bottom: 90px;
}

.storefront-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.storefront-type-card {
  padding: 28px;
  background: #f7f9fa;
  border: 1px solid #d9e0e5;
  border-radius: 12px;
}

.storefront-type-card h3 {
  margin: 0 0 12px;
  color: #1e4f78;
  font-size: 1.3rem;
  line-height: 1.25;
}

.storefront-type-card p {
  margin: 0;
  color: #555;
  line-height: 1.65;
}


/* =========================================================
   TRUST SECTION
========================================================= */

.trust-section {
  padding: 78px 20px;
  background: #eef4f8;
}

.trust-section__content {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 36px 0 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 30px;
  color: #3f3f3f;
  line-height: 1.55;
}

.trust-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #286ba6;
  font-weight: 800;
  content: "✓";
}


/* =========================================================
   PROCESS SECTION
========================================================= */

.process-section {
  padding-top: 90px;
  margin-bottom: 90px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 24px;
  background: #fff;
  border: 1px solid #d9dfe4;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
}

.process-number {
  display: flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  background: #286ba6;
  border-radius: 50%;
}

.process-list h3 {
  margin: 0 0 10px;
  color: #1e4f78;
  font-size: 1.15rem;
}

.process-list p {
  margin: 0;
  color: #555;
  font-size: 0.94rem;
  line-height: 1.6;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
  margin-bottom: 90px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #d8dfe4;
  border-radius: 10px;
}

.faq-list summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: #1e4f78;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: #286ba6;
  font-size: 1.4rem;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}


/* =========================================================
   CALL TO ACTION
========================================================= */

.service-cta {
  padding: 84px 20px;
  color: #fff;
  background: #1e4f78;
}

.service-cta__content {
  width: min(800px, 100%);
  margin: 0 auto;
  text-align: center;
}

.service-cta .section-kicker {
  color: #d8ecfb;
}

.service-cta h2 {
  color: #fff;
}

.service-cta p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.service-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 7px;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.service-button:hover,
.service-button:focus-visible {
  transform: translateY(-2px);
}

.service-button--primary {
  color: #1e4f78;
  background: #fff;
}

.service-button--secondary {
  color: #fff;
  border: 2px solid #fff;
}


/* =========================================================
   RELATED WORK
========================================================= */

.related-work {
  padding: 86px 0;
}

.related-work__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-work__links a {
  display: flex;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  color: #1e4f78;
  font-weight: 700;
  text-decoration: none;
  background: #f7f9fa;
  border: 1px solid #d9e0e5;
  border-radius: 9px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.related-work__links a:hover,
.related-work__links a:focus-visible {
  transform: translateY(-2px);
  border-color: #286ba6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .storefront-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-work__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 900px) {
  .project-list {
    gap: 48px;
  }

  .portfolio-project__body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portfolio-project__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
  .service-intro,
  .project-section,
  .storefront-types,
  .process-section,
  .faq-section,
  .related-work {
    width: min(100% - 28px, 1200px);
  }

  .service-intro {
    padding-top: 42px;
  }

  .featured-storefront {
    width: min(100% - 28px, 1400px);
    margin-bottom: 60px;
  }

  .project-section,
  .storefront-types,
  .process-section,
  .faq-section {
    margin-bottom: 65px;
  }

  .trust-section,
  .service-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .process-section {
    padding-top: 65px;
  }

  .related-work {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .storefront-type-grid,
  .trust-list,
  .process-list,
  .related-work__links {
    grid-template-columns: 1fr;
  }

  .service-cta__buttons {
    flex-direction: column;
  }

  .service-button {
    width: 100%;
    box-sizing: border-box;
  }
}


@media (max-width: 600px) {
  .portfolio-project__body {
    padding: 24px 20px;
  }

  .portfolio-project__details {
    display: block;
    padding: 22px;
  }

  .portfolio-project__story > p:not(.project-number) {
    font-size: 1rem;
    line-height: 1.68;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .service-button,
  .related-work__links a {
    transition: none;
  }

  .service-button:hover,
  .service-button:focus-visible,
  .related-work__links a:hover,
  .related-work__links a:focus-visible {
    transform: none;
  }
}