/* Página de Servicios: hero corto con el fondo interactivo, índice fijo que sigue la lectura
   (momento de la página), un bloque por servicio, planes de Social Media, puntuales y preguntas. */
.page-hero { min-height: min(78svh, 760px); }
.page-hero .wrap { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(3.2rem, 9vw, 8rem); }
.page-hero .sub { max-width: 30ch; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 6px 0 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--band-fg); border: 1px solid color-mix(in srgb, var(--band-fg) 28%, transparent); background: rgba(14,13,12,.35); backdrop-filter: blur(6px); transition: transform var(--m-out) var(--ease), border-color var(--m-out) var(--ease), background-color var(--m-out) var(--ease); }
.jump a span { font-size: 0.78rem; color: var(--orange); font-weight: 700; letter-spacing: 0.08em; }
.jump a:active { transform: scale(.975); }
@media (hover: hover) and (pointer: fine) { .jump a:hover { transform: translateY(-1px); border-color: var(--orange); background: rgba(14,13,12,.6); } }

/* Índice fijo: marca el servicio que estás leyendo */
.subnav { position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 15; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; height: 56px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color var(--m-out) var(--ease), background-color var(--m-out) var(--ease); }
.subnav a b { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--line-strong); transition: color var(--m-out) var(--ease); }
.subnav a.on { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.subnav a.on b { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .subnav a:hover { color: var(--ink); } }
.subnav .prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* Bloque de servicio */
.svc { scroll-margin-top: calc(var(--nav-h) + 56px); }
.svc-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.svc-grid--flip .svc-media { order: -1; }
.svc-copy { min-width: 0; display: grid; gap: 22px; }
.svc-copy .hook { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--accent-text); max-width: 24ch; }
.svc-copy .desc { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.incl h3 { font-family: var(--f-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; line-height: 1.45; }
.incl li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta span { font-size: 0.88rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.meta span b { color: var(--accent-text); }
.white .meta span { background: var(--bg); }
.ideal { padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); font-size: 0.98rem; }
.ideal b { color: var(--accent-text); }
.svc-media { min-width: 0; display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 80px); }
.svc-media .frame { border-radius: 22px; }
.svc-media .big { aspect-ratio: 5 / 4; }
.svc-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-media .pair .frame { aspect-ratio: 1; }
@media (hover: hover) and (pointer: fine) { .svc-media .frame:hover img { transform: scale(1.03); transition-duration: 600ms; } }

/* Planes de Social Media */
.plans-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; padding: 28px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); transition: transform 120ms var(--ease), border-color 120ms var(--ease), box-shadow 120ms var(--ease); }
.plan header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.plan header span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan .lvl { display: flex; gap: 6px; }
.plan .lvl i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); }
.plan .lvl i.f { background: var(--grad); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.plan li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.96rem; }
.plan li b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; }
.plan li span { color: var(--muted); }
.plan .btn { width: 100%; }
.plan--go { background: var(--band-bg); color: var(--band-fg); border-color: var(--band-bg); }
.plan--go header span, .plan--go li span { color: var(--band-muted); }
.plan--go li { border-color: var(--band-line); }
.plan--go .lvl i { background: var(--band-line); }
.plan--go .lvl i.f { background: var(--grad); }
.plan--go .btn { background: var(--orange); border-color: var(--orange); color: #1D1D1B; }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 28px color-mix(in srgb, var(--ink) 9%, transparent); transition-duration: 180ms; }
  .plan--go .btn:hover { background: #FFA947; border-color: #FFA947; }
}
.plans-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }

/* Branding: proceso de 6 pasos */
.bproc, #paquetes { margin-top: clamp(80px, 10vw, 128px); }
#paquetes { scroll-margin-top: calc(var(--nav-h) + 72px); }
#paquetes .head-row .lede { max-width: 34ch; }
.six { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.six li { min-width: 0; display: grid; gap: 10px; align-content: start; padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line-strong); }
.six li:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.six b { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.six h3 { font-size: 1.3rem; }
.six p { color: var(--muted); font-size: 0.98rem; max-width: 34ch; }

/* Branding: paquetes */
.pk { grid-template-rows: auto auto 1fr auto; background: var(--surface); }
.pk.plan--go { background: var(--band-bg); }
.price { font-family: var(--f-display); font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.045em; display: grid; gap: 6px; }
.price small { font-family: var(--f-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan--go .price small { color: var(--band-muted); }
.chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.chk li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; line-height: 1.4; border: 0; padding: 0; justify-content: flex-start; }
.chk li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan--go .chk li::before { background-color: var(--orange); }
.chk li b { font-family: var(--f-body); font-size: inherit; letter-spacing: 0; white-space: normal; }
.manuals { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.mdet, .compare { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.mdet summary, .compare summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 22px; font-weight: 700; }
.mdet summary::-webkit-details-marker, .compare summary::-webkit-details-marker { display: none; }
.mdet summary i, .compare summary i { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); }
.mdet summary i::before, .mdet summary i::after, .compare summary i::before, .compare summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.mdet summary i::after, .compare summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 180ms var(--ease); }
.mdet[open] summary i::after, .compare[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.mdet ol { margin: 0; padding: 0 22px 22px 44px; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.mdet ol b { color: var(--ink); }
.compare { margin-top: 20px; }
.tbl { overflow-x: auto; padding: 0 22px 22px; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.02em; }
.compare thead th:last-child { color: var(--accent-text); }
.compare tbody th { text-align: left; font-weight: 500; }
.compare th:first-child { text-align: left; padding-left: 0; }
.compare td.y { color: var(--ink); font-weight: 500; }
.compare td.y::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.compare td.n { color: var(--line-strong); }
.compare tr.tot td, .compare tr.tot th { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.02em; border-top: 2px solid var(--ink); }
@media (max-width: 1023px) { .six { grid-template-columns: 1fr 1fr; } .six li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .six li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); } }
@media (max-width: 760px) { .six, .manuals { grid-template-columns: 1fr; } .six li:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Tipos de web */
.types { display: flex; flex-wrap: wrap; gap: 10px; }
.types span { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -0.02em; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); }

/* Puntuales */
.extra-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.extra { min-width: 0; display: grid; grid-template-rows: auto auto 1fr; gap: 16px; padding: 28px; border-radius: 24px; background: color-mix(in srgb, var(--band-fg) 5%, transparent); border: 1px solid var(--band-line); transition: transform 120ms var(--ease), border-color 120ms var(--ease); }
.extra svg { width: 56px; height: 56px; }
.extra h3 { color: var(--band-fg); }
.extra p { color: var(--band-muted); }
@media (hover: hover) and (pointer: fine) { .extra:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--orange) 60%, transparent); transition-duration: 180ms; } }
.extras-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.extras-cta p { color: var(--band-muted); }

/* Preguntas */
.faq .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; font-family: var(--f-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 180ms var(--ease), background-color 120ms var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 180ms var(--ease); }
.faq details[open] summary i { background: var(--accent); border-color: var(--accent); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { color: var(--muted); padding: 0 48px 22px 0; max-width: 60ch; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover i { border-color: var(--ink); } }

@media (max-width: 1023px) {
  .svc-grid, .faq .wrap { grid-template-columns: 1fr; }
  .svc-grid--flip .svc-media { order: 0; }
  .svc-media { position: static; }
  .plans-grid, .extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-grid .plan:last-child, .extra-grid .extra:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .incl ul, .plans-grid, .extra-grid { grid-template-columns: 1fr; }
  .subnav .wrap { height: 52px; }
}
