/* Servicios: Preguntas frecuentes con tarjeta de ayuda, y cierre con la
   torre rural de fondo. */

/* ---------- Preguntas frecuentes ---------- */
body[data-page="services"] .fq {
  --f-red: #e60012; --f-ink: #151923; --f-body: #5b6472; --f-mute: #8a93a1; --f-soft: #fdecee;
  --f-hair: rgba(16, 20, 26, .08); --f-ease: cubic-bezier(.22, .8, .24, 1);
  padding: 84px 0 88px;
  background: radial-gradient(ellipse 40% 50% at 0% 20%, rgba(230, 0, 18, .06), transparent 70%), #f6f7f9;
}
body[data-page="services"] .fq-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
body[data-page="services"] .fq-side { position: sticky; top: 150px; }
body[data-page="services"] .fq h2 { margin: 12px 0 14px; font-size: clamp(32px, 3.6vw, 50px) !important; line-height: 1.02 !important; letter-spacing: -.03em; color: var(--f-ink); }
body[data-page="services"] .fq h2 em { display: block; font-style: normal; color: var(--f-red); }
body[data-page="services"] .fq-lead { margin: 0 0 26px; max-width: 42ch; color: var(--f-body); font-size: 1.02rem; line-height: 1.6; }

body[data-page="services"] .fq-help {
  display: grid; gap: 8px; padding: 10px; border-radius: 24px; background: #fff;
  box-shadow: 0 24px 48px -34px rgba(16, 22, 30, .55), 0 0 0 1px var(--f-hair);
}
body[data-page="services"] .fq-ch {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px;
  color: var(--f-ink); text-decoration: none; transition: background .25s var(--f-ease);
}
body[data-page="services"] .fq-ch:hover { background: #f6f7f9; }
body[data-page="services"] .fq-ci {
  flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--f-soft); color: var(--f-red); transition: background .25s, color .25s, transform .3s var(--f-ease);
}
body[data-page="services"] .fq-ci svg { width: 22px; height: 22px; }
body[data-page="services"] .fq-wa .fq-ci { background: #e5f7ec; color: #1f9d55; }
body[data-page="services"] .fq-ch:hover .fq-ci { background: var(--f-red); color: #fff; transform: rotate(-6deg); }
body[data-page="services"] .fq-wa:hover .fq-ci { background: #1f9d55; }
body[data-page="services"] .fq-ch > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
body[data-page="services"] .fq-ch b { font: 800 .95rem 'Manrope', sans-serif; }
body[data-page="services"] .fq-ch small { font: 500 .78rem 'DM Sans', sans-serif; color: var(--f-mute); }
body[data-page="services"] .fq-ch em { font-style: normal; color: var(--f-mute); transition: transform .25s var(--f-ease), color .25s; }
body[data-page="services"] .fq-ch:hover em { color: var(--f-red); transform: translateX(4px); }

/* Acordeón */
body[data-page="services"] .fq-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
body[data-page="services"] .fq-list details {
  border: 0; border-radius: 22px; background: #fff; overflow: hidden;
  box-shadow: 0 14px 30px -26px rgba(16, 22, 30, .55), 0 0 0 1px var(--f-hair);
  transition: box-shadow .3s var(--f-ease);
  interpolate-size: allow-keywords;
}
body[data-page="services"] .fq-list details:hover { box-shadow: 0 18px 36px -26px rgba(16, 22, 30, .6), 0 0 0 1px rgba(230, 0, 18, .18); }
body[data-page="services"] .fq-list details[open] { box-shadow: 0 26px 50px -30px rgba(230, 0, 18, .45), 0 0 0 1.5px rgba(230, 0, 18, .35); }
body[data-page="services"] .fq-list details::details-content { height: 0; overflow: clip; transition: height .4s var(--f-ease), content-visibility .4s allow-discrete; }
body[data-page="services"] .fq-list details[open]::details-content { height: auto; }
body[data-page="services"] .fq-list summary {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none;
  font: 700 1.02rem/1.35 'Manrope', sans-serif; letter-spacing: -.015em; color: var(--f-ink);
}
body[data-page="services"] .fq-list summary::-webkit-details-marker { display: none; }
body[data-page="services"] .fq-list summary:focus-visible { outline: 2px solid var(--f-red); outline-offset: -2px; border-radius: 22px; }
body[data-page="services"] .fq-n {
  flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: #f4f5f7; font: 800 .9rem 'Manrope', sans-serif; color: var(--f-mute);
  transition: background .3s, color .3s;
}
body[data-page="services"] .fq-list details[open] .fq-n { background: var(--f-red); color: #fff; }
body[data-page="services"] .fq-q { display: grid; gap: 3px; flex: 1; }
body[data-page="services"] .fq-q small { font: 800 .66rem 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--f-red); }
body[data-page="services"] .fq-list summary b {
  position: relative; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: #f4f5f7; font-size: 0; color: transparent; transition: background .3s, transform .4s var(--f-ease);
}
body[data-page="services"] .fq-list summary b::before,
body[data-page="services"] .fq-list summary b::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--f-ink); transform: translate(-50%, -50%); transition: transform .4s var(--f-ease), background .3s;
}
body[data-page="services"] .fq-list summary b::after { transform: translate(-50%, -50%) rotate(90deg); }
body[data-page="services"] .fq-list details[open] summary b { background: var(--f-soft); transform: rotate(180deg); }
body[data-page="services"] .fq-list details[open] summary b::before { background: var(--f-red); }
body[data-page="services"] .fq-list details[open] summary b::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--f-red); }
body[data-page="services"] .fq-a { padding: 0 22px 22px 86px; }
body[data-page="services"] .fq-list .fq-a p { margin: 0 0 12px; padding: 0; max-width: 60ch; color: var(--f-body); font-size: .95rem; line-height: 1.65; }
body[data-page="services"] .fq-a a { font: 800 .86rem 'Manrope', sans-serif; color: var(--f-red); text-decoration: none; }
body[data-page="services"] .fq-a a:hover { text-decoration: underline; }

/* ---------- Cierre ---------- */
body[data-page="services"] .fc {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 96px 0; border: 0; background: #0b0f16; color: #fff;
}
body[data-page="services"] .fc-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 17, .94) 0%, rgba(8, 11, 17, .78) 42%, rgba(8, 11, 17, .15) 100%),
    url("../../assets/images/rural-torre-cta.webp") center 40% / cover no-repeat;
  transform: scale(1.04);
  animation: fc-pan 18s ease-in-out infinite alternate;
}
@keyframes fc-pan { to { transform: scale(1.1) translateX(-1.5%); } }
body[data-page="services"] .fc-shell { display: flex !important; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
body[data-page="services"] .fc-copy { max-width: 640px; }
body[data-page="services"] .fc .eyebrow { color: #ff4d5c; }
body[data-page="services"] .fc h2 {
  margin: 12px 0 16px !important; max-width: none !important; color: #fff;
  font-size: clamp(32px, 4vw, 56px) !important; line-height: 1.02 !important; letter-spacing: -.03em;
}
body[data-page="services"] .fc h2 em { font-style: normal; color: #ff3446; }
body[data-page="services"] .fc-lead { margin: 0 0 28px; max-width: 52ch; color: #c3cad6; font-size: 1.05rem; line-height: 1.6; }
body[data-page="services"] .fc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
body[data-page="services"] .fc-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: #1f9d55; box-shadow: 0 16px 30px -14px rgba(31, 157, 85, .8);
  font: 800 .95rem 'Manrope', sans-serif; color: #fff; text-decoration: none;
  transition: transform .25s cubic-bezier(.22, .8, .24, 1), box-shadow .25s, background .25s;
}
body[data-page="services"] .fc-btn svg { width: 20px; height: 20px; }
body[data-page="services"] .fc-btn:hover { transform: translateY(-2px); background: #178a49; }
body[data-page="services"] .fc-ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 24px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px);
  font: 800 .92rem 'Manrope', sans-serif; color: #fff; text-decoration: none; transition: background .25s, border-color .25s;
}
body[data-page="services"] .fc-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
body[data-page="services"] .fc-chips { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body[data-page="services"] .fc-chips li {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px;
  background: rgba(12, 16, 23, .55); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font: 700 .9rem 'Manrope', sans-serif; color: #fff;
}
body[data-page="services"] .fc-chips i { width: 8px; height: 8px; border-radius: 50%; background: #ff3446; box-shadow: 0 0 0 4px rgba(255, 52, 70, .22), 0 0 12px #ff3446; }

/* Responsive */
@media (max-width: 960px) {
  body[data-page="services"] .fq { padding: 60px 0 64px; }
  body[data-page="services"] .fq-shell { grid-template-columns: 1fr; gap: 30px; }
  body[data-page="services"] .fq-side { position: static; }
  body[data-page="services"] .fc { padding: 70px 0; }
  body[data-page="services"] .fc-bg { background: linear-gradient(180deg, rgba(8, 11, 17, .7), rgba(8, 11, 17, .92)), url("../../assets/images/rural-torre-cta.webp") center / cover no-repeat; }
  body[data-page="services"] .fc-chips { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
}
@media (max-width: 560px) {
  body[data-page="services"] .fq-list summary { gap: 12px; padding: 16px; font-size: .95rem; }
  body[data-page="services"] .fq-n { width: 38px; height: 38px; }
  body[data-page="services"] .fq-a { padding: 0 16px 18px; }
  body[data-page="services"] .fc-actions > a { width: 100%; justify-content: center; }
  body[data-page="services"] .fc-chips { grid-auto-flow: row; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="services"] .fc-bg { animation: none; }
  body[data-page="services"] .fq-list details::details-content { transition: none; }
}
