.ficha-wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}
.ficha-header {
    background: #fff;
    border-bottom: 1px solid #dbe8e7;
}
.ficha-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}
.ficha-header img { display: block; max-height: 72px; object-fit: contain; }
.ficha-header a, .ficha-back { color: #16595e; }
.ficha-header a:hover, .ficha-back:hover { color: #003a40; text-decoration: underline; }
.ficha-main {
    background: linear-gradient(180deg, #edf6f5 0%, #fff 100%);
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 5rem);
}
.ficha-back {
    display: inline-flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.ficha-panel {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: #fff;
    border: 1px solid #d4e5e3;
    border-radius: 1.5rem;
    box-shadow: 0 12px 38px rgba(0, 58, 64, .07);
}
.ficha-copy {
    min-width: 0;
    max-width: 68ch;
    align-self: center;
    overflow-wrap: anywhere;
}
.ficha-copy h1 {
    margin: 0 0 1.25rem;
    color: #003a40;
    font-size: clamp(2.25rem, 4.4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.ficha-description {
    margin: 0 0 1.75rem;
    color: #354f53;
    font-size: 1.125rem;
    line-height: 1.65;
    white-space: pre-line;
}
.ficha-consulta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .75rem 1.25rem;
    border-radius: .75rem;
    background: #00545a;
    color: #fff;
    font-weight: 600;
    text-align: center;
}
.ficha-consulta:hover, .ficha-consulta:focus { background: #003a40; color: #fff; }
.ficha-header a:focus-visible, .ficha-main a:focus-visible {
    outline: 3px solid #24808a;
    outline-offset: 4px;
}
.ficha-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    object-fit: contain;
    align-self: start;
}
.ficha-panel--ilustrada { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 760px) {
    .ficha-panel--ilustrada { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .ficha-wrap { width: calc(100% - 2rem); }
    .ficha-header img { width: 104px; }
    .ficha-panel { border-radius: 1.1rem; padding: 1.25rem; }
    .ficha-consulta { width: 100%; }
}
/* La ficha tiene su propio número de consulta. */
#buttonwhatsapp { display: none; }
