/* Patrón: Mobbin web service details + shadcn stats/calendar/contact cards; sistema farmacia/tiempo de vecindario.info. */
.vec-fs-grid{display:grid;gap:24px;margin-block:24px}.vec-fs-card{display:flex;flex-direction:column;gap:20px;padding:24px;border:1px solid #ccd8d1;border-radius:20px;background:linear-gradient(155deg,#fff 25%,#f1f6f0);box-shadow:0 6px 24px #172f3205;min-width:0;max-width:100%;font-size:16px;line-height:1.6}.vec-prose>.vec-fs-card{margin-block:24px}.vec-fs-head{display:grid;gap:14px}.vec-fs-card .vec-fs-head :is(h2,h3){margin:0;font-size:24px;line-height:1.28;letter-spacing:-.025em}.vec-fs-head .vec-eyebrow{font-size:16px;letter-spacing:.035em;text-transform:none;margin:0}.vec-fs-card p{margin:0;font-size:16px;line-height:1.65;max-width:none}.vec-fs-card .vec-fs-value{font-size:clamp(28px,3vw,40px);font-weight:800;letter-spacing:-.04em;line-height:1.17;font-variant-numeric:tabular-nums}.vec-fs-status{display:flex;align-items:center;gap:10px;align-self:flex-start;padding:9px 13px;border-radius:12px;background:#e9ece8;color:#344f51;font-size:16px;font-weight:800;line-height:1.5}.vec-fs-status.is-open{background:#dceee3;color:#20543a}.vec-fs-status .vec-icon{width:20px;height:20px;flex:none}.vec-fs-address{display:flex;align-items:flex-start;gap:10px;color:var(--vec-ink)}.vec-fs-address .vec-icon{width:20px;height:20px;margin-top:3px}.vec-fs-context{color:#425d5f}.vec-fs-card .vec-fs-week{display:grid;grid-template-columns:repeat(7,minmax(68px,1fr));gap:6px;margin:0;padding:0;list-style:none}.vec-prose .vec-fs-week>li{display:flex;flex-direction:column;gap:8px;align-items:center;margin:0;padding:12px 2px;background:#eaf0e9;border:1px solid transparent;border-radius:10px;text-align:center;font-size:16px;line-height:1.4;list-style:none}.vec-fs-week li::before{content:none!important}.vec-fs-week li>span{font-variant-numeric:tabular-nums}.vec-prose .vec-fs-week>li.is-now{background:#172f32;color:#fff;border-color:#172f32}.vec-fs-week b{font-size:16px;font-weight:800}.vec-fs-card .vec-fs-actions{margin-top:0;padding-top:4px;display:flex;flex-wrap:wrap;gap:12px}.vec-fs-card .vec-action{font-size:16px;min-height:48px;line-height:1.5;gap:10px;max-width:100%;padding:13px 16px;white-space:normal;text-align:left}.vec-fs-actions .vec-action span{min-width:0;overflow-wrap:anywhere}.vec-fs-card .vec-fs-source{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;padding-top:0;color:#52686a;font-size:16px;line-height:1.65;border:0}.vec-prose .vec-fs-source a{display:inline-flex;align-items:center;min-height:44px;color:#076e72;font-size:16px;text-decoration:underline;text-underline-offset:3px}.vec-fs-source>span{align-self:center}.vec-fs-route{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:#e5eeeb;border-radius:12px;font-size:16px;line-height:1.5}.vec-fs-line{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;padding:8px 12px;border-radius:9px;background:#076e72;color:#fff;font-size:20px;font-weight:800}.vec-fs-line--municipal{background:#684d79}.vec-fs-card .vec-fs-lines{display:grid;gap:12px;padding:0;margin:0;list-style:none}.vec-prose .vec-fs-lines>li{display:flex;align-items:center;gap:12px;margin:0;padding:0;font-size:16px;list-style:none}.vec-fs-lines li::before{content:none!important}.vec-fs-count{position:relative;display:grid;place-items:center;min-height:220px}.vec-fs-count>svg{width:220px;height:220px;transform:rotate(-90deg)}.vec-fs-count circle{fill:none;stroke-width:5}.vec-fs-ring-bg{stroke:#dbe5dd}.vec-fs-ring{stroke:#076e72;stroke-linecap:round}.vec-fs-count>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center}.vec-fs-count strong{font-size:58px;line-height:1;font-weight:800;letter-spacing:-.05em}.vec-fs-count span{font-size:16px;line-height:1.45;margin-top:10px}.vec-fs-date-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#e7eee7;border-radius:12px;font-size:16px}.vec-fs-date-strip>span:first-child{position:relative;padding-left:17px}.vec-fs-date-strip>span:first-child:before{content:"";position:absolute;top:8px;left:0;width:8px;height:8px;background:#076e72;border-radius:50%}.vec-fs-date-strip>span:last-child{text-align:right}.vec-fs-date-line{height:2px;flex:1;background:#a3bab3}.vec-page-hero>.vec-fs-card{align-self:stretch}.vec-fs-card a:focus-visible{outline:3px solid #076e72;outline-offset:4px}
@media(max-width:599px){.vec-fs-card{padding:24px 20px}.vec-fs-card .vec-fs-week{gap:6px}.vec-fs-card .vec-fs-actions{flex-direction:column;align-items:stretch}.vec-fs-card .vec-action{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;padding:16px}.vec-fs-status .vec-icon,.vec-fs-address .vec-icon{flex:none}.vec-fs-card .vec-fs-value{font-size:30px}.vec-fs-count{min-height:240px}.vec-fs-count>svg{width:240px;height:240px}}
@media(min-width:700px){.vec-fs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vec-fs-card--wide{padding:32px}.vec-fs-card--wide .vec-fs-value{font-size:44px}}
@media(min-width:1024px) and (max-width:1199px){.vec-reading-layout--indexed .vec-fs-grid{grid-template-columns:1fr}}

.vec-fs-week-scroll{overflow-x:auto;max-width:100%;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#8aa39a transparent}.vec-fs-week-scroll:focus-visible{outline:3px solid #076e72;outline-offset:3px}.vec-fs-card .vec-fs-source details{margin:0;border:0;background:none;padding:0}.vec-fs-source summary{display:list-item;min-height:44px;padding:9px 0;cursor:pointer;font-size:16px;color:#076e72}.vec-fs-source details[open]{flex-basis:100%}.vec-fs-source details a{overflow-wrap:anywhere}
@media(min-width:700px){.vec-fs-grid>.vec-fs-card:last-child:nth-child(odd){grid-column:1/-1}}

.vec-fs-card .vec-fs-head h2>.vec-icon{display:none}.vec-fs-card .vec-fs-head h2{padding:0;border:0}

/* Las acciones no se comprimen a tres columnas dentro de una ficha estrecha. */
.vec-fs-card .vec-fs-actions .vec-action{flex:0 1 auto;justify-content:center}
@media(min-width:600px){.vec-fs-card .vec-fs-actions .vec-action{flex:1 1 220px}}
.vec-fs-card--fiesta{gap:12px;padding:24px}
.vec-fs-card--fiesta .vec-fs-head{grid-template-columns:42px minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:center}
.vec-fs-card--fiesta .vec-fs-head>.vec-icon-box{grid-row:1/3}
.vec-fs-card--fiesta .vec-fs-head>.vec-eyebrow,.vec-fs-card--fiesta .vec-fs-head>h2{grid-column:2}
.vec-fs-card--fiesta .vec-fs-head h2{font-size:21px}
.vec-fs-card--fiesta .vec-fs-count{min-height:176px}
.vec-fs-card--fiesta .vec-fs-count>svg{width:176px;height:176px}
.vec-fs-card--fiesta .vec-fs-count>div{padding:28px}
.vec-fs-card--fiesta .vec-fs-count strong.vec-fs-value{font-size:48px}
.vec-fs-card--fiesta .vec-fs-count span{font-size:16px;margin-top:6px}
.vec-fs-card--fiesta .vec-fs-date-strip{padding:12px}
.vec-fs-card--fiesta .vec-fs-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.vec-fs-card--fiesta .vec-fs-actions .vec-action{padding:12px 10px;gap:8px;flex:none;flex-direction:column;align-items:flex-start;justify-content:flex-start}
@media(min-width:1024px){.vec-fs-card--fiesta .vec-fs-source{font-size:16px;gap:0 12px}}
@media(max-width:599px){.vec-fs-card .vec-fs-actions .vec-action,.vec-fs-card--fiesta .vec-fs-actions .vec-action{flex:0 1 auto;align-items:flex-start;text-align:left}}

/* R6: el texto queda dentro del anillo y las acciones móviles ocupan una fila. */
.vec-fs-card:has(.vec-fs-count) .vec-fs-count>div{width:176px;max-width:176px;left:50%;right:auto;transform:translateX(-50%);padding:24px}.vec-fs-count>div>span{max-width:132px;text-wrap:balance}
@media(max-width:599px){.vec-fs-card:has(.vec-fs-count) .vec-fs-actions{display:flex;flex-direction:column;align-items:stretch}.vec-fs-card:has(.vec-fs-count) .vec-fs-actions>.vec-action{width:100%;flex:0 1 auto}}

/* Cada columna es un grupo semántico; el anillo y el plan comparten el mismo arranque. */
.vec-fs-fiesta-layout{display:grid;gap:20px;width:100%;min-width:0}.vec-fs-fiesta-intro,.vec-fs-fiesta-plan{display:flex;flex-direction:column;gap:16px;min-width:0}.vec-fs-fiesta-clock{min-width:0}.vec-fs-card--fiesta:has(.vec-fs-fiesta-layout){display:flex!important}.vec-fs-card--fiesta>.vec-fs-source{width:100%}
@media(min-width:900px){.vec-template-fiesta .vec-fs-fiesta-layout{grid-template-columns:minmax(0,1.2fr) 190px minmax(0,1fr);gap:28px;align-items:start}}
@media(min-width:1024px){.vec-fiesta-story .vec-fs-fiesta-layout{grid-template-columns:minmax(0,1fr) 170px;gap:20px}.vec-fiesta-story .vec-fs-fiesta-plan{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px}.vec-fiesta-story .vec-fs-fiesta-plan .vec-fs-actions{grid-template-columns:1fr}}
@media(max-width:599px){.vec-fs-card--fiesta .vec-fs-actions{display:flex!important;flex-direction:column;align-items:stretch}.vec-fs-card--fiesta .vec-action{width:100%;flex:0 1 auto!important}}

/* Icono principal sobre el título en móvil; metadatos conservan su icono en línea. */
@media(max-width:599px){.vec-fs-card--fiesta .vec-fs-head{grid-template-columns:minmax(0,1fr);gap:12px}.vec-fs-card--fiesta .vec-fs-head>.vec-icon-box{grid-row:auto}.vec-fs-card--fiesta .vec-fs-head>.vec-eyebrow,.vec-fs-card--fiesta .vec-fs-head>h2{grid-column:1}}
