/*
 * Service catalog and service-detail presentation.
 * This file intentionally stays independent from the exported template styles
 * so the provisional service copy can be replaced without redesigning the shell.
 */

.services-hub,
.service-detail {
  background: #fbf5f0;
  color: #292522;
}

.services-intro {
  max-width: 50rem;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.services-eyebrow,
.service-detail-eyebrow,
.service-card-kicker,
.service-detail-kicker {
  color: #8f5d4b;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.services-intro h1,
.service-detail h1 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
  margin: 1.25rem 0 1.75rem;
}

.services-intro p,
.service-detail-hero-copy > p {
  color: #665d57;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 40rem;
}

.services-local-strip {
  align-items: center;
  border-bottom: 1px solid rgba(64, 52, 45, .18);
  border-top: 1px solid rgba(64, 52, 45, .18);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: 1.25rem 0;
}

.services-local-strip strong {
  display: block;
  font-size: .96rem;
  font-weight: 600;
  margin-top: .3rem;
}

.services-local-strip p {
  color: #786e67;
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
  max-width: 28rem;
  text-align: right;
}

.services-hub-grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
}

.services-catalog {
  min-width: 0;
}

.service-family + .service-family {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.service-family-heading {
  align-items: baseline;
  border-bottom: 1px solid rgba(64, 52, 45, .2);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: .85rem;
}

.service-family-heading h2 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0;
}

.service-family-heading span {
  color: #8d8178;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-card-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: #fffdfa;
  border: 1px solid rgba(64, 52, 45, .12);
  min-width: 0;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(143, 93, 75, .55);
  box-shadow: 0 1rem 2.5rem rgba(55, 38, 29, .08);
  transform: translateY(-.25rem);
}

.service-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.service-card-media {
  aspect-ratio: 1.26;
  background: #e7d8ce;
  overflow: hidden;
}

.service-card-media img {
  display: block;
  filter: saturate(.78);
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  width: 100%;
}

.service-card:hover .service-card-media img,
.service-card:focus-within .service-card-media img {
  transform: scale(1.035);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  min-height: 13.5rem;
  padding: 1.35rem 1.35rem 1.5rem;
}

.service-card-body h3 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: .8rem 0 .75rem;
}

.service-card-body p {
  color: #756b64;
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

.service-card-action,
.service-text-link {
  align-items: center;
  color: #8f5d4b;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  gap: .5rem;
  letter-spacing: .08em;
  margin-top: auto;
  padding-top: 1.25rem;
  text-transform: uppercase;
}

.service-card-action span {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.services-sidebar {
  border-left: 1px solid rgba(64, 52, 45, .18);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  position: sticky;
  top: 7rem;
}

.services-sidebar h2,
.services-sidebar h3 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 1.1rem;
}

.services-sidebar p {
  color: #756b64;
  font-size: .9rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}

.services-sidebar-block + .services-sidebar-block {
  border-top: 1px solid rgba(64, 52, 45, .18);
  margin-top: 2rem;
  padding-top: 2rem;
}

.services-sidebar-links {
  display: grid;
  gap: .75rem;
}

.services-sidebar-links a,
.service-related a {
  color: #8f5d4b;
  font-size: .88rem;
  line-height: 1.4;
  text-decoration: none;
}

.services-sidebar-links a:hover,
.services-sidebar-links a:focus-visible,
.service-related a:hover,
.service-related a:focus-visible,
.service-text-link:hover,
.service-text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.service-button {
  background: #292522;
  color: #fffdfa;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-top: 1.8rem;
  padding: 1rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, transform .2s ease;
}

.service-button:hover,
.service-button:focus-visible {
  background: #8f5d4b;
  color: #fffdfa;
  transform: translateY(-.15rem);
}

.services-faq {
  border-top: 1px solid rgba(64, 52, 45, .18);
  margin-top: clamp(5rem, 10vw, 9rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.services-faq > h2 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
  margin: 0 0 2.5rem;
  max-width: 34rem;
}

.service-faq-list {
  border-top: 1px solid rgba(64, 52, 45, .18);
  max-width: 52rem;
}

.service-faq-item {
  border-bottom: 1px solid rgba(64, 52, 45, .18);
}

.service-faq-item summary {
  color: #292522;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  padding: 1.25rem 2rem 1.25rem 0;
  position: relative;
}

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

.service-faq-item summary::after {
  color: #8f5d4b;
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  position: absolute;
  right: .15rem;
  top: 1rem;
}

.service-faq-item[open] summary::after {
  content: '−';
}

.service-faq-item p {
  color: #756b64;
  font-size: .92rem;
  line-height: 1.7;
  margin: -.25rem 2rem 1.35rem 0;
  max-width: 45rem;
}

.service-detail-hero {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(0, .92fr) minmax(20rem, 1.08fr);
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.service-breadcrumb {
  align-items: center;
  color: #8d8178;
  display: flex;
  flex-wrap: wrap;
  font-size: .75rem;
  gap: .55rem;
  letter-spacing: .08em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.service-breadcrumb a {
  color: #8f5d4b;
  text-decoration: none;
}

.service-breadcrumb a:hover,
.service-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.service-detail-hero-copy h1 {
  font-size: clamp(3.5rem, 7vw, 7rem);
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.service-detail-hero-media {
  aspect-ratio: .92;
  background: #e7d8ce;
  overflow: hidden;
}

.service-detail-hero-media img {
  display: block;
  filter: saturate(.78);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-detail-layout {
  align-items: start;
  border-top: 1px solid rgba(64, 52, 45, .18);
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.service-detail-content {
  max-width: 48rem;
}

.service-detail-content section + section {
  border-top: 1px solid rgba(64, 52, 45, .18);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.service-detail-content h2 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 0 0 1.5rem;
}

.service-detail-content h3 {
  color: #292522;
  font-size: 1rem;
  margin: 2rem 0 .75rem;
}

.service-detail-content p,
.service-detail-content li {
  color: #756b64;
  font-size: 1rem;
  line-height: 1.8;
}

.service-detail-content p {
  margin: 0;
}

.service-detail-content p + p {
  margin-top: 1.1rem;
}

.service-detail-content ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.service-detail-content li + li {
  margin-top: .65rem;
}

.service-detail-sidebar {
  border-left: 1px solid rgba(64, 52, 45, .18);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  position: sticky;
  top: 7rem;
}

.service-quick-card {
  background: #f1e2d9;
  padding: 1.6rem;
}

.service-quick-card h2 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  margin: .7rem 0 1rem;
}

.service-quick-card p {
  color: #756b64;
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

.service-related {
  border-top: 1px solid rgba(64, 52, 45, .18);
  margin-top: 2rem;
  padding-top: 2rem;
}

.service-related h2 {
  color: #292522;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 1.15rem;
}

.service-related-list {
  display: grid;
  gap: .8rem;
}

.service-local-seo {
  background: rgba(255, 253, 250, .65);
  border-left: 2px solid #8f5d4b;
  margin-top: 2rem;
  padding: 1.15rem 1.3rem;
}

.service-local-seo strong {
  color: #292522;
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-local-seo p {
  font-size: .86rem;
  margin-top: .5rem;
}

@media (max-width: 991px) {
  .services-hub-grid,
  .service-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-sidebar,
  .service-detail-sidebar {
    border-left: 0;
    border-top: 1px solid rgba(64, 52, 45, .18);
    padding-left: 0;
    padding-top: 2rem;
    position: static;
  }

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

  .services-sidebar-block + .services-sidebar-block {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .services-local-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
  }

  .services-local-strip p {
    text-align: left;
  }

  .service-detail-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail-hero-media {
    aspect-ratio: 1.08;
    grid-row: 1;
  }

  .service-detail-hero-copy {
    grid-row: 2;
  }

  .services-sidebar {
    display: block;
  }

  .services-sidebar-block + .services-sidebar-block {
    border-top: 1px solid rgba(64, 52, 45, .18);
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

@media (max-width: 520px) {
  .service-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card-body {
    min-height: auto;
  }

  .service-detail-hero,
  .services-intro {
    padding-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card-media img,
  .service-button {
    transition: none;
  }
}

/* Apertura progresiva de los FAQ: conserva el acordeón nativo y sólo anima
   la respuesta para que el contenido no aparezca de golpe. */
.service-faq-item[data-lumina-faq] > .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows .38s cubic-bezier(.2, .7, .2, 1), opacity .24s ease;
}

.service-faq-item[data-lumina-faq][open] > .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-faq-item[data-lumina-faq] > .faq-answer > * {
  min-height: 0;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .service-faq-item[data-lumina-faq] > .faq-answer {
    transition: none;
  }
}
