/* =========================================================
   FS MULTISERVICES
   Servicios destacados: Seguros + Transportistas & DOT
   Este archivo solo agrega estilos para las dos secciones nuevas.
========================================================= */

.detailed-service-section {
  position: relative;
  overflow: hidden;
}

.insurance-section {
  background: #ffffff;
}

.dot-section {
  background: #f7f7f5;
}

.detail-service-header {
  max-width: 880px;
  margin-bottom: 52px;
}

.detail-service-header .section-kicker {
  display: inline-block;
  margin-bottom: 10px;
}

.detail-service-header .eyebrow {
  margin-bottom: 14px;
}

.detail-service-header h2 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.detail-service-intro {
  max-width: 760px;
  margin: 0;
  color: #555;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.detail-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.detail-service-card {
  position: relative;
  min-height: 220px;
  padding: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.detail-service-card:hover {
  transform: translateY(-5px);
  border-color: #d2d2d2;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.detail-service-card-featured {
  border-color: #cfcfcf;
}

.detail-number {
  display: block;
  margin-bottom: 30px;
  color: #8a8a8a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.detail-service-card h3 {
  margin: 0 0 13px;
  color: #111;
  font-size: 1.25rem;
  line-height: 1.25;
}

.detail-service-card p {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
  line-height: 1.7;
}

.detail-service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 45px;
  padding: 32px 36px;
  border-radius: 20px;
  background: #0a0a0a;
  color: #fff;
}

.detail-service-cta h3 {
  max-width: 650px;
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.3;
}

.detail-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.detail-service-note {
  max-width: 860px;
  margin: 25px 0 0;
  color: #777;
  font-size: 0.85rem;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .detail-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .detail-service-header {
    margin-bottom: 35px;
  }

  .detail-services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-service-card {
    min-height: auto;
    padding: 24px;
  }

  .detail-number {
    margin-bottom: 20px;
  }

  .detail-service-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 24px;
  }
}

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

  .detail-service-card:hover {
    transform: none;
  }
}

/* =========================================================
   BANNERS CON FOTO DE GERENTE
========================================================= */

.featured-service-banners {
  position: relative;
  overflow: hidden;
  background: #f6f5f1;
}

.featured-service-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.featured-service-heading h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.featured-service-heading > p:last-child {
  max-width: 660px;
  margin: 0 auto;
  color: #656565;
  line-height: 1.75;
}

.featured-service-list {
  display: grid;
  gap: 28px;
}

.featured-service-banner {
  display: grid;
  grid-template-columns: minmax(270px, 38%) minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(15, 15, 15, 0.09);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.07);
}

.featured-service-banner--dot {
  background: #101010;
  color: #fff;
}

.featured-manager-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(145deg, #d8d4ca, #8f8a80);
}

.featured-service-banner--dot .featured-manager-photo {
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(145deg, #494949, #161616);
}

.featured-manager-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.featured-manager-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.featured-service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.featured-service-label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.featured-service-banner--dot .featured-service-label {
  border-color: rgba(255,255,255,.22);
}

.featured-service-content h3 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.featured-service-banner--dot .featured-service-content h3 {
  color: #fff;
}

.featured-service-content > p {
  max-width: 720px;
  margin: 0 0 26px;
  color: #5f5f5f;
  font-size: 1.02rem;
  line-height: 1.75;
}

.featured-service-banner--dot .featured-service-content > p {
  color: rgba(255,255,255,.73);
}

.featured-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}

.featured-service-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #343434;
  font-size: .8rem;
  font-weight: 600;
}

.featured-service-banner--dot .featured-service-tags span {
  background: rgba(255,255,255,.10);
  color: #fff;
}

.featured-service-button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
}

.featured-service-button span {
  transition: transform .2s ease;
}

.featured-service-button:hover span {
  transform: translateX(4px);
}


/* =========================================================
   PÁGINA DE DETALLE
========================================================= */

.service-detail-page {
  background: #fff;
}

.service-detail-hero {
  padding: 78px 0 58px;
  background: #0d0d0d;
  color: #fff;
}

.service-detail-hero .eyebrow {
  color: rgba(255,255,255,.7);
}

.service-detail-hero h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.service-detail-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.service-detail-nav a {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
}

.service-detail-nav a:hover {
  background: rgba(255,255,255,.1);
}

.service-detail-block {
  scroll-margin-top: 100px;
}

.service-detail-block + .service-detail-block {
  border-top: 1px solid #e8e8e8;
}

.service-detail-block-header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.service-detail-block-header h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.service-detail-block-header p {
  margin: 0;
  color: #626262;
  line-height: 1.75;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-item {
  padding: 27px;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  background: #fff;
}

.service-detail-item span {
  display: block;
  margin-bottom: 22px;
  color: #969696;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.service-detail-item h3 {
  margin: 0 0 11px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-detail-item p {
  margin: 0;
  color: #666;
  line-height: 1.68;
}

.service-detail-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding: 30px 34px;
  border-radius: 20px;
  background: #101010;
  color: #fff;
}

.service-detail-action h3 {
  margin: 4px 0 0;
  color: #fff;
}

.service-detail-action small {
  color: rgba(255,255,255,.62);
  font-weight: 700;
  letter-spacing: .10em;
}

.service-detail-disclaimer {
  margin-top: 20px;
  color: #777;
  font-size: .86rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .featured-service-banner {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  }

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

  .service-detail-block-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .featured-service-banner {
    grid-template-columns: 1fr;
  }

  .featured-manager-photo {
    min-height: 330px;
  }

  .featured-service-content {
    padding: 30px 24px 34px;
  }

  .featured-service-content h3 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-action {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-service-button span {
    transition: none;
  }
}
