/* Services — interactive Shelton Cleaning Standard */

.shelton-cleaning-standard {
  --cleaning-standard-formula-space: clamp(2.1rem, 2.35vw, 2.2rem);
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: clamp(5.4rem, 6.5vw, 6.6rem) clamp(1.5rem, 5vw, 5rem) var(--cleaning-standard-formula-space);
  overflow: hidden;
  color: var(--services-cream, #faf6ee);
  background: var(--services-navy, #081321);
  border-top: 1px solid rgba(184, 150, 90, 0.58);
  border-bottom: 1px solid rgba(184, 150, 90, 0.58);
}

.shelton-cleaning-standard::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.027;
  background-image: url("../images/generated/about-linen-weave-v1.png");
  background-position: center top;
  background-size: 980px auto;
  background-repeat: repeat;
}

.shelton-cleaning-standard__inner {
  width: min(100%, 69.25rem);
  margin: 0 auto;
}

.shelton-cleaning-standard__header {
  width: min(100%, 58rem);
  margin: 0 auto;
  text-align: center;
}

.shelton-cleaning-standard__eyebrow {
  margin: 0 0 1.35rem;
  color: var(--services-gold-strong, #cba963);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.shelton-cleaning-standard__header h2 {
  margin: 0 auto;
  color: var(--services-cream, #faf6ee);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.65rem, 4.7vw, 4.55rem);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 0.94;
  text-wrap: balance;
}

.shelton-cleaning-standard__header h2 span {
  display: block;
}

.shelton-cleaning-standard__selector {
  position: relative;
  width: 100%;
  margin: calc(clamp(4.9rem, 6vw, 5.8rem) - 0.5rem) auto 0;
  padding-inline: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shelton-cleaning-standard__selector::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: calc(12.5% + 1.5rem);
  left: calc(12.5% + 1.5rem);
  height: 1px;
  pointer-events: none;
  background: var(--services-gold-strong, #cba963);
}

.shelton-cleaning-standard__tab {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding: 0 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border: 0;
  color: var(--services-cream, #faf6ee);
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.shelton-cleaning-standard__node {
  width: 4.1rem;
  height: 4.1rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid var(--services-gold-strong, #cba963);
  border-radius: 50%;
  color: var(--services-gold-strong, #cba963);
  background: var(--services-navy, #081321);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.shelton-cleaning-standard__node i {
  font-size: 1.8rem;
  line-height: 1;
}

.shelton-cleaning-standard__label {
  color: inherit;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.shelton-cleaning-standard__tab:is(:hover, :focus-visible) .shelton-cleaning-standard__node {
  transform: translateY(-0.18rem);
}

.shelton-cleaning-standard__tab:focus-visible {
  outline: 2px solid var(--services-gold-strong, #cba963);
  outline-offset: 0.55rem;
}

.shelton-cleaning-standard__tab.is-active .shelton-cleaning-standard__node {
  color: var(--services-cream, #faf6ee);
  background: var(--services-gold, #b8965a);
}

.shelton-cleaning-standard__details {
  width: 100%;
  min-height: 14.2rem;
  margin-top: calc(clamp(4.4rem, 5.6vw, 5.3rem) + 1rem);
  border-top: 1px solid rgba(184, 150, 90, 0.48);
  border-bottom: 1px solid rgba(184, 150, 90, 0.48);
}

.shelton-cleaning-standard__panel {
  min-height: 14.2rem;
  padding: clamp(1.65rem, 2.4vw, 2.25rem) 0;
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 28rem) minmax(18rem, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
}

.shelton-cleaning-standard__panel[hidden] {
  display: none;
}

.shelton-cleaning-standard__panel:focus-visible {
  outline: 2px solid var(--services-gold-strong, #cba963);
  outline-offset: 0.35rem;
}

.shelton-cleaning-standard__panel.is-active {
  animation: cleaning-standard-panel-in 240ms ease both;
}

.shelton-cleaning-standard__detail-icon {
  justify-self: center;
  color: var(--services-gold-strong, #cba963);
  font-size: 4.8rem;
  line-height: 1;
}

.shelton-cleaning-standard__count {
  margin: 0 0 0.45rem;
  color: var(--services-gold-strong, #cba963);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.shelton-cleaning-standard__copy h3 {
  margin: 0;
  color: var(--services-cream, #faf6ee);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 3vw, 3.05rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.shelton-cleaning-standard__copy > p:last-child {
  max-width: 42ch;
  margin: 1rem 0 0;
  color: rgba(250, 246, 238, 0.72);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.65;
}

.shelton-cleaning-standard__proofs {
  min-height: 9.5rem;
  margin: 0;
  padding: 1rem 0 1rem clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  border-left: 1px solid rgba(184, 150, 90, 0.48);
  list-style: none;
}

.shelton-cleaning-standard__proofs li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  color: rgba(250, 246, 238, 0.76);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.55;
}

.shelton-cleaning-standard__proofs i {
  margin-top: 0.12rem;
  color: var(--services-gold-strong, #cba963);
  font-size: 1rem;
  line-height: 1;
}

.shelton-cleaning-standard__formula {
  margin: var(--cleaning-standard-formula-space) auto 0;
  color: var(--services-cream, #faf6ee);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(0.66rem, 0.92vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

.shelton-cleaning-standard__formula span {
  margin-inline: clamp(0.5rem, 1.5vw, 1.1rem);
  color: var(--services-gold-strong, #cba963);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25em;
  font-weight: 500;
}

@keyframes cleaning-standard-panel-in {
  from { opacity: 0; transform: translateY(0.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .shelton-cleaning-standard {
    padding-inline: clamp(1.5rem, 6vw, 3.5rem);
  }

  .shelton-cleaning-standard__header h2 {
    font-size: clamp(3.6rem, 8.8vw, 5rem);
  }

  .shelton-cleaning-standard__panel {
    grid-template-columns: 6rem minmax(0, 1.2fr) minmax(15rem, 0.9fr);
    gap: 1.5rem;
  }

  .shelton-cleaning-standard__detail-icon {
    font-size: 3.5rem;
  }

  .shelton-cleaning-standard__proofs {
    padding-left: 2rem;
  }
}

@media (max-width: 720px) {
  .shelton-cleaning-standard {
    --cleaning-standard-formula-space: 2.25rem;
    padding: 4.5rem 1.25rem var(--cleaning-standard-formula-space);
  }

  .shelton-cleaning-standard__eyebrow {
    margin-bottom: 1.15rem;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .shelton-cleaning-standard__header h2 {
    max-width: 12ch;
    font-size: clamp(3rem, 13vw, 3.5rem);
    line-height: 0.95;
  }

  .shelton-cleaning-standard__header h2 span:last-child {
    max-width: 11.5ch;
    margin-inline: auto;
  }

  .shelton-cleaning-standard__selector {
    margin-top: 3.75rem;
    padding-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.2rem;
  }

  .shelton-cleaning-standard__selector::before {
    content: none;
    display: none;
  }

  .shelton-cleaning-standard__tab {
    gap: 0.95rem;
  }

  .shelton-cleaning-standard__node {
    width: 3.75rem;
    height: 3.75rem;
  }

  .shelton-cleaning-standard__node i {
    font-size: 1.55rem;
  }

  .shelton-cleaning-standard__label {
    max-width: 13rem;
    font-size: 0.63rem;
    letter-spacing: 0.13em;
  }

  .shelton-cleaning-standard__details,
  .shelton-cleaning-standard__panel {
    min-height: 24rem;
  }

  .shelton-cleaning-standard__details {
    margin-top: 3.5rem;
  }

  .shelton-cleaning-standard__panel {
    padding: 2rem 0 1.75rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-content: center;
    align-items: start;
    gap: 0 1.1rem;
  }

  .shelton-cleaning-standard__detail-icon {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-top: 1.3rem;
    font-size: 2.25rem;
  }

  .shelton-cleaning-standard__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .shelton-cleaning-standard__copy h3 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .shelton-cleaning-standard__copy > p:last-child {
    font-size: 0.86rem;
  }

  .shelton-cleaning-standard__proofs {
    grid-column: 2;
    min-height: 0;
    margin-top: 1.65rem;
    padding: 1.5rem 0 0;
    gap: 1rem;
    border-top: 1px solid rgba(184, 150, 90, 0.34);
    border-left: 0;
  }

  .shelton-cleaning-standard__proofs li {
    font-size: 0.82rem;
  }

  .shelton-cleaning-standard__formula {
    margin-top: var(--cleaning-standard-formula-space);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 2;
  }
}

@media (max-width: 860px) {
  .shelton-cleaning-standard__details,
  .shelton-cleaning-standard__panel {
    min-height: 0;
  }

  .shelton-cleaning-standard__panel {
    padding: clamp(2.4rem, 5vw, 3rem) 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: start;
    gap: 0;
    text-align: center;
  }

  .shelton-cleaning-standard__detail-icon {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    margin: 0 0 1.1rem;
    font-size: 3rem;
  }

  .shelton-cleaning-standard__copy {
    grid-column: 1;
    grid-row: auto;
    width: min(100%, 41rem);
    margin-inline: auto;
    text-align: center;
  }

  .shelton-cleaning-standard__copy > p:last-child {
    max-width: 52ch;
    margin: 1rem auto 0;
  }

  .shelton-cleaning-standard__proofs {
    grid-column: 1;
    width: min(100%, 38rem);
    min-height: 0;
    margin: 2rem auto 0;
    padding: 1.75rem 0 0;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(184, 150, 90, 0.34);
    border-left: 0;
  }

  .shelton-cleaning-standard__proofs li {
    width: fit-content;
    max-width: 100%;
    grid-template-columns: 1.25rem minmax(0, auto);
    justify-content: center;
    text-align: left;
  }
}

/* Keep the four proof labels readable on one line throughout compact and
   phone layouts without changing the approved desktop composition. */
@media (max-width: 860px) {
  .shelton-cleaning-standard__tab {
    padding-inline: 0;
  }

  .shelton-cleaning-standard__label {
    max-width: none;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}

@media (min-width: 721px) and (max-width: 860px) {
  .shelton-cleaning-standard__label {
    font-size: clamp(0.59rem, 1.3vw, 0.7rem);
  }
}

@media (max-width: 340px) {
  .shelton-cleaning-standard__label {
    font-size: clamp(0.54rem, 2.9vw, 0.63rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shelton-cleaning-standard__node {
    transition: none;
  }

  .shelton-cleaning-standard__panel.is-active {
    animation: none;
  }
}
