:root {
    --ink: #15130f;
    --paper: #fbfaf7;
    --muted: #7f776b;
    --line: rgba(21, 19, 15, .14);
    --gold: #c69a54;
    --green: #26473d;
    --red: #8c3328;
    --white: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--paper);
    color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea {
    font: inherit;
}

.topbar {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px clamp(18px, 4vw, 56px);
    color: var(--white);
    background: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,0));
}
.topbar-solid {
    background: var(--ink);
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.brand {
    font-family: Georgia, serif;
    font-size: clamp(22px, 3vw, 34px);
}
.topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    font-size: 14px;
}
.nav-link {
    position: relative;
    padding-bottom: 6px;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .2s ease, transform .2s ease;
}
.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}
.nav-book.nav-link {
    padding-bottom: 10px;
}
.nav-book.nav-link::after {
    left: 14px;
    right: 14px;
    bottom: 6px;
    background: #17120b;
}
.language-picker {
    position: relative;
    z-index: 40;
}
.language-picker summary {
    display: grid;
    place-items: center;
    width: 48px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    list-style: none;
    cursor: pointer;
    backdrop-filter: blur(12px);
}
.language-picker summary::-webkit-details-marker {
    display: none;
}
.language-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(3, 42px);
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(21, 19, 15, .88);
    box-shadow: 0 18px 45px rgba(0,0,0,.26);
}
.language-options a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 36px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}
.language-options a.active,
.language-options a:hover {
    border-color: var(--gold);
    background: rgba(255,255,255,.16);
}
.language-globe {
    font-size: 22px;
    line-height: 1;
}
.nav-book,
.primary,
button {
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px;
    padding: 10px 15px;
    background: rgba(255,255,255,.1);
    color: inherit;
    cursor: pointer;
}
.primary {
    border-radius: 8px;
}
.primary,
button[type="submit"],
.next-step {
    border-color: transparent;
    background: var(--gold);
    color: #17120b;
    font-weight: 800;
}
.danger-button {
    background: var(--red);
    color: white;
}

.notice {
    position: fixed;
    z-index: 30;
    top: 86px;
    left: 50%;
    transform: translateX(-50%);
    width: min(620px, calc(100% - 32px));
    padding: 14px 18px;
    border-radius: 8px;
    background: var(--green);
    color: white;
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: var(--white);
}
.hero-slides,
.hero-slides img,
.hero-shade {
    position: absolute;
    inset: 0;
}
.hero-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease, transform 7s ease;
}
.hero-slides img.active {
    opacity: 1;
    transform: scale(1);
}
.hero-shade {
    background:
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2) 52%, rgba(0,0,0,.52)),
        linear-gradient(0deg, rgba(0,0,0,.42), transparent 45%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 34px));
    padding: clamp(150px, 23vh, 230px) 0 150px clamp(18px, 6vw, 90px);
}
.kicker,
.section-head p {
    margin: 0 0 14px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 900;
}
.hero-content .kicker {
    color: #fff;
}
h1, h2, h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}
h1 {
    font-size: clamp(56px, 11vw, 140px);
    line-height: .88;
    max-width: 680px;
}
.project-name-effect {
    position: relative;
    z-index: 0;
    display: inline-block;
}
.project-name-effect-normal {
    color: inherit;
}
.project-name-effect-fire {
    color: transparent;
    background: linear-gradient(180deg, #fff7b0 0%, #ffd43b 28%, #ff7a00 58%, #d71900 82%, #4a0500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: saturate(1.22);
    animation: project-fire 0.75s infinite alternate ease-in-out;
    text-shadow:
        0 0 5px rgba(255, 248, 185, .95),
        0 -4px 12px rgba(255, 176, 0, .95),
        0 -10px 24px rgba(255, 70, 0, .9),
        0 -20px 42px rgba(198, 0, 0, .72);
}
.project-name-effect-fire::before {
    content: attr(data-text);
    position: absolute;
    inset: -0.2em -0.08em 0;
    z-index: -1;
    color: transparent;
    background:
        radial-gradient(ellipse at 18% 92%, rgba(255, 238, 113, .95) 0 12%, transparent 32%),
        radial-gradient(ellipse at 42% 88%, rgba(255, 122, 0, .92) 0 18%, transparent 42%),
        radial-gradient(ellipse at 68% 90%, rgba(255, 48, 0, .9) 0 16%, transparent 38%),
        linear-gradient(180deg, transparent 6%, rgba(255, 166, 0, .8) 38%, rgba(207, 14, 0, .92) 74%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(4px) saturate(1.55);
    opacity: .95;
    transform-origin: 50% 100%;
    animation: project-fire-flame 0.48s infinite alternate ease-in-out;
    pointer-events: none;
}
.project-name-effect-ice {
    color: #eafcff;
    text-shadow:
        0 0 5px #ffffff,
        0 0 14px #8deeff,
        0 0 28px #2a9fd6;
}
.project-name-effect-disco {
    color: transparent;
    background: linear-gradient(90deg, #ff2d55, #ffcc00, #32d74b, #00c7ff, #bf5af2, #ff2d55);
    background-size: 350% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: project-disco 2.4s linear infinite;
    text-shadow: 0 0 18px rgba(255,255,255,.28);
}
.project-name-effect-gold {
    color: #f3c66f;
    text-shadow: 0 0 16px rgba(198,154,84,.55);
}
.project-name-effect-red {
    color: #ff5c48;
    text-shadow: 0 0 16px rgba(255,92,72,.5);
}
.project-name-effect-green {
    color: #69d689;
    text-shadow: 0 0 16px rgba(105,214,137,.5);
}
.project-name-effect-blue {
    color: #65c7ff;
    text-shadow: 0 0 16px rgba(101,199,255,.5);
}
.project-name-effect-pink {
    color: #ff7ac8;
    text-shadow: 0 0 16px rgba(255,122,200,.5);
}
.project-name-effect-white {
    color: #fff;
    text-shadow: 0 0 14px rgba(255,255,255,.58);
}
@keyframes project-fire {
    from {
        background-position: 0 0;
        text-shadow:
            0 0 4px rgba(255, 248, 185, .92),
            1px -5px 13px rgba(255, 176, 0, .92),
            -2px -12px 25px rgba(255, 70, 0, .86),
            2px -22px 40px rgba(198, 0, 0, .68);
    }
    to {
        background-position: 0 -.05em;
        text-shadow:
            0 0 7px rgba(255, 252, 218, 1),
            -2px -7px 16px rgba(255, 198, 0, .98),
            2px -15px 31px rgba(255, 90, 0, .96),
            -1px -28px 52px rgba(226, 22, 0, .78);
    }
}
@keyframes project-fire-flame {
    from {
        transform: translateY(0.02em) skewX(-2deg) scaleY(.96);
        opacity: .72;
    }
    to {
        transform: translateY(-0.08em) skewX(2deg) scaleY(1.08);
        opacity: 1;
    }
}
@keyframes project-disco {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}
.hero-content > p:not(.kicker) {
    width: min(560px, 100%);
    margin: 26px 0;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.35;
}
.scroll-cue {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 28px;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
}

.section {
    padding: clamp(64px, 10vw, 130px) clamp(18px, 5vw, 72px);
}
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 34px;
}
.section-head h1,
.section-head h2 {
    font-size: clamp(38px, 6vw, 84px);
    line-height: 1;
}
label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 12px;
    background: #fff;
    color: var(--ink);
}
textarea {
    min-height: 110px;
    resize: vertical;
}

.text-band {
    background: var(--paper);
}
.text-content {
    text-align: justify;
    text-justify: inter-word;
    width: min(900px, 100%);
    margin: 0 auto;
    color: var(--ink);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.65;
    white-space: normal;
}

.gallery-band { background: #1b1915; color: white; }
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.gallery figure {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #070706;
    grid-row: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease;
}
.gallery figure:nth-child(odd) {
    grid-column: 1;
}
.gallery figure:nth-child(even) {
    grid-column: 2;
}
.gallery figure.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.gallery-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}
.gallery-open::after {
    content: "Ver";
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 2;
    display: grid;
    min-width: 46px;
    min-height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(0,0,0,.45);
    color: white;
    font-size: 12px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease;
}
.gallery-open:hover::after,
.gallery-open:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}
.gallery-open:hover img,
.gallery-open:focus-visible img {
    transform: scale(1.04);
}
.gallery figure.zooming img {
    animation: gallery-kenburns 5.2s ease forwards;
}
.gallery figcaption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(0,0,0,.54);
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    box-sizing: border-box;
    height: 100dvh;
    grid-template-rows: 44px minmax(0, 1fr) auto;
    gap: 18px;
    padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(5, 5, 4, .92);
    color: white;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0);
    transition: opacity .28s ease, backdrop-filter .28s ease;
}
.gallery-lightbox.open {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(14px);
}
.gallery-lightbox.closing {
    opacity: 0;
}
.gallery-lightbox-top,
.gallery-lightbox-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 2;
}
.gallery-lightbox-count,
.gallery-lightbox-caption {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 900;
}
.gallery-lightbox-caption {
    max-width: min(720px, 100%);
    border-radius: 8px;
    font-size: 15px;
}
.gallery-lightbox-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    color: white;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.gallery-lightbox-button::before {
    content: attr(data-icon);
    display: block;
    width: 100%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}
.gallery-lightbox-button:hover,
.gallery-lightbox-button:focus-visible {
    transform: scale(1.08);
    border-color: white;
    background: rgba(255,255,255,.2);
}
.gallery-lightbox-close::before {
    font-size: 28px;
    transform: translateY(-2px);
}
.gallery-lightbox-nav::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg);
}
.gallery-lightbox-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}
.gallery-lightbox-next::before {
    margin-right: 4px;
}
.gallery-lightbox-stage {
    position: relative;
    display: grid;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    padding: 0 62px;
}
.gallery-lightbox-image {
    width: auto;
    height: auto;
    max-width: min(100%, 1500px);
    max-height: calc(100dvh - 178px);
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 28px 90px rgba(0,0,0,.5);
    opacity: 0;
    transform: scale(.88) translateY(22px);
    filter: blur(18px);
    transition: opacity .34s ease, transform .38s cubic-bezier(.2,.8,.2,1), filter .34s ease;
}
.gallery-lightbox.open .gallery-lightbox-image {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}
.gallery-lightbox-image.switching {
    opacity: 0;
    transform: scale(.96) translateX(var(--gallery-slide, 0));
    filter: blur(8px);
}
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}
.gallery-lightbox-prev {
    left: 0;
}
.gallery-lightbox-next {
    right: 0;
}
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover,
.gallery-lightbox-prev:focus-visible,
.gallery-lightbox-next:focus-visible {
    transform: translateY(-50%) scale(1.08);
}
body.gallery-lock {
    overflow: hidden;
}

.posts-band {
    background: #11100d;
    color: white;
}
.post-embeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 420px));
    gap: 26px;
    align-items: start;
    justify-content: center;
}
.post-embed {
    display: grid;
    place-items: start center;
    gap: 10px;
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    overflow: visible;
}
.post-embed-tiktok .post-media,
.post-embed-instagram .post-media,
.post-embed-youtube_shorts .post-media {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}
.post-media {
    width: 100%;
}
.post-author-title {
    justify-self: start;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}
.post-author-title:hover,
.post-author-title:focus-visible {
    color: var(--gold);
}
.post-embed blockquote {
    margin: 0 !important;
}
.post-embed .tiktok-embed,
.post-embed .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.post-embed .tiktok-embed {
    height: 100% !important;
    min-height: 0 !important;
}
.post-embed .tiktok-embed section {
    width: 100%;
    height: 100%;
}
.post-embed .instagram-media {
    height: 100% !important;
}
.post-embed .tiktok-embed iframe,
.post-embed .instagram-media iframe {
    width: 100% !important;
    height: 100% !important;
}
.post-embed-youtube {
    grid-column: span 2;
    max-width: 860px;
}
.youtube-video,
.youtube-short-video {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #070706;
}
.youtube-video {
    aspect-ratio: 16 / 9;
}
.youtube-short-video {
    height: 100%;
    aspect-ratio: 9 / 16;
}
.youtube-video iframe,
.youtube-short-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.post-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}
.post-carousel-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 1;
}
.post-carousel-next::before {
    content: "›";
    display: block;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px);
}

@keyframes gallery-kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.06);
    }
}

footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px clamp(18px, 5vw, 72px);
    background: var(--ink);
    color: white;
}
footer .footer-item {
    display: flex;
    justify-content: center;
}
footer .footer-admin-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 17px;
    border: 1px solid rgba(255, 224, 130, .7);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe59a, #f4b942);
    color: #242016;
    font-size: 1.02rem;
    font-weight: 850;
    letter-spacing: .025em;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .55);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
footer .footer-admin-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .65);
}
footer .footer-admin-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.admin-body {
    background: #f3f1ec;
}
.site-selector-body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(circle at top, #1b3d6d 0%, #0b1220 45%, #05070d 100%);
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1f2937;
}
.site-selector {
    width: 100%;
    max-width: 480px;
    padding: 30px;
}
.site-selector-logo {
    display: block;
    width: 260px;
    margin: 0 auto 35px;
}
.site-selector form {
    background: rgba(255,255,255,.97);
    border-radius: 22px;
    padding: 45px;
    box-shadow:
        0 20px 60px rgba(0,0,0,.35),
        0 8px 20px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
}
.site-selector h1 {
    margin: 0 0 10px;
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    background: linear-gradient(135deg, #111827, #1d4ed8 58%, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.15;
    text-align: center;
}
.site-selector p {
    margin: 0 0 35px;
    padding: 11px 14px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    color: #475569;
    font-size: 15px;
    text-align: center;
}
.site-selector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #374151;
}
.site-selector input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 17px;
    transition: .25s;
    margin-top: 8px;
    margin-bottom: 30px;
    background: #fff;
}
.site-selector input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37,99,235,.15);
}
.site-selector button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg,#1d4ed8,#3b82f6);
    transition: .25s;
}
.site-selector button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,.35);
}
.site-selector button:active {
    transform: translateY(0);
}
.developer-link {
    display: grid;
    place-items: center;
    min-height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #1d4ed8;
    font-weight: 700;
    background: #dbeafe;
    transition: .25s;
}
.developer-link:hover {
    border-color: #1d4ed8;
    background: #bfdbfe;
    color: #1e3a8a;
}
.admin-body button,
.admin-body .admin-pagination a {
    border-radius: 6px;
    margin: 3px;
}
.admin-body form + form {
    margin-top: 8px;
}
.login {
    width: min(430px, calc(100% - 30px));
    margin: 12vh auto;
    padding: 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 20px 60px rgba(0,0,0,.13);
}
.login h1 {
    margin-bottom: 24px;
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}
.hint { color: var(--muted); font-size: 13px; }
.admin-top {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
    background: var(--ink);
    color: white;
}
.admin-top nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.admin-top nav a {
    padding: 7px 9px;
    border-radius: 6px;
}
.admin-top nav a.active {
    background: var(--gold);
    color: #17120b;
    font-weight: 900;
}
.admin {
    width: 100%;
    margin: 0;
    padding: 18px clamp(10px, 2vw, 24px) 80px;
}
.admin-card {
    margin: 18px 0;
    padding: 24px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.admin-card[hidden] {
    display: none;
}
.admin-card h2 { margin-bottom: 18px; font-size: 34px; }
.admin-card h3 { margin: 0 0 14px; font-size: 22px; }
.admin-grid,
.admin-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.admin-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-grid .wide { grid-column: 1 / -1; }
.admin-fieldset {
    border: 1px solid #dfd7c8;
    border-radius: 8px;
    padding: 18px;
    background: #fbfaf7;
}
.admin-fieldset .admin-grid {
    margin-top: 14px;
}
.admin-message {
    padding: 12px 14px;
    border-radius: 8px;
    background: #e9f4ef;
    color: #173b31;
}
.admin-subtitle {
    margin: 8px 0 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.admin-create-panel {
    margin: 0 0 16px;
    border: 1px solid rgba(26, 94, 77, .2);
    border-radius: 8px;
    background: #fbfdfc;
}
.admin-create-toggle {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #173b31;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}
.admin-create-toggle::before {
    content: "+";
    display: inline-block;
    width: 18px;
    font-weight: 900;
}
.admin-create-toggle[aria-expanded="true"] {
    border-bottom: 1px solid rgba(26, 94, 77, .16);
    border-radius: 8px 8px 0 0;
    background: #edf7f3;
}
.admin-create-toggle[aria-expanded="true"]::before {
    content: "-";
}
.admin-create-panel form {
    display: grid;
    gap: 10px;
    padding: 16px;
}
.admin-create-panel form[hidden] {
    display: none;
}
.admin-create-panel .admin-grid {
    display: grid;
}
.admin-pagination a,
.admin-pagination span {
    display: inline-grid;
    min-height: 44px;
    place-items: center;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fafafa;
    font-size: 13px;
    font-weight: 900;
}
.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
}
.admin-pagination a.active {
    border-color: var(--gold);
    background: var(--green);
    color: white;
}
.admin-pagination span {
    border-color: transparent;
    background: transparent;
}
.table-wrap {
    width: 100%;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.compact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}
.compact-list span,
.compact-list form {
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fafafa;
}
.admin-photos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.admin-photos figure {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.admin-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.admin-photos figcaption {
    padding: 10px;
}
.photo-edit-form {
    display: grid;
    gap: 8px;
    padding: 10px;
}
.photo-edit-form label {
    font-size: 12px;
}
.photo-edit-form input,
.photo-edit-form select {
    padding: 9px 10px;
}
.admin-photos form {
    display: inline-block;
    margin: 6px 0 10px 10px;
}
.admin-photos .photo-edit-form {
    display: grid;
    margin: 0;
}
.admin-posts {
    display: grid;
    gap: 14px;
}
.admin-social-posts-form {
    display: grid;
    gap: 14px;
}
.admin-social-post-rows {
    display: grid;
    gap: 12px;
}
.admin-social-post-row {
    display: grid;
    grid-template-columns: minmax(140px, .8fr) minmax(180px, 1.2fr) minmax(180px, 1.2fr) minmax(90px, .5fr) auto;
    gap: 12px;
    align-items: end;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.admin-social-post-remove {
    min-height: 44px;
}
.admin-posts article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfaf7;
}
.admin-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}
.admin-post-actions form {
    display: flex;
    margin: 0;
}
.admin-post-actions form + form {
    margin-top: 0;
}
.admin-post-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
}

.stats-body {
    margin: 0;
    min-height: 100svh;
    background: #f3f1ec;
    color: #241f1a;
}
.stats-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px clamp(18px, 4vw, 48px);
    background: var(--ink);
    color: white;
}
.stats-top span,
.stats-card-head span,
.stats-summary span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.stats-top h1,
.stats-card h2,
.stats-card h3 {
    margin: 0;
}
.stats-top a {
    color: white;
}
.stats-page {
    display: grid;
    gap: 18px;
    padding: 24px clamp(14px, 4vw, 48px) 60px;
}
.stats-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.stats-summary article,
.stats-card {
    border-radius: 8px;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.stats-summary article {
    padding: 20px;
}
.stats-summary strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 52px);
}
.stats-card {
    padding: 22px;
}
.stats-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}
.stats-card-head strong {
    white-space: nowrap;
}
.stats-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.stats-mini span {
    border-radius: 999px;
    background: #f3f1ec;
    padding: 8px 12px;
    font-weight: 800;
}
.stats-inline-form {
    margin: 0 0 16px;
}
.stats-ip-form {
    display: grid;
    gap: 12px;
}
.stats-ip-form textarea {
    margin-top: 8px;
    min-height: 96px;
    resize: vertical;
}
.stats-danger-card {
    border: 1px solid rgba(154, 47, 47, .24);
}
.stats-danger-card .danger {
    background: #9a2f2f;
    color: white;
}
.stats-danger-card .danger:hover {
    background: #7d2424;
}
.stats-card h3 {
    margin-top: 18px;
    margin-bottom: 10px;
}
.stats-table-wrap {
    overflow-x: auto;
}
.stats-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}
.stats-table th,
.stats-table td {
    border-bottom: 1px solid #eee7dc;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}
.stats-table th {
    color: #6f6557;
    font-size: 12px;
    text-transform: uppercase;
}

@media (max-width: 920px) {
    .admin-top {
        align-items: start;
    }
    .admin-top nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 4px;
    }
    .admin-top nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .topbar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .topbar nav {
        grid-column: 1 / -1;
        padding-bottom: 5px;
    }
    .hero-content {
        padding-left: 18px;
    }
    .admin-grid,
    .admin-columns,
    .admin-photos,
    .admin-social-post-row {
        grid-template-columns: 1fr;
    }
    .post-embeds {
        grid-template-columns: 1fr;
    }
    .post-embed-youtube {
        grid-column: auto;
    }
    .stats-summary {
        grid-template-columns: 1fr;
    }
    .stats-card-head {
        flex-direction: column;
    }
    .gallery {
        grid-template-columns: 1fr;
    }
    .section-head {
        display: block;
    }
}

@media (max-width: 560px) {
    .site-selector {
        padding: 20px;
    }
    .site-selector form {
        padding: 30px;
    }
    .site-selector h1 {
        font-size: 32px;
    }
    .site-selector-logo {
        width: 220px;
    }
    .topbar {
        padding: 14px;
    }
    .topbar nav {
        flex-wrap: nowrap;
        gap: clamp(4px, 1.5vw, 10px);
        max-width: 100%;
        overflow-x: auto;
        font-size: clamp(10px, 3vw, 13px);
        scrollbar-width: none;
    }
    .topbar nav::-webkit-scrollbar {
        display: none;
    }
    .topbar .nav-link,
    .topbar .language-picker {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .language-picker summary {
        width: clamp(38px, 11vw, 44px);
        height: 38px;
    }
    .language-options {
        position: fixed;
        top: 96px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        grid-template-columns: repeat(3, 42px);
        width: max-content;
        max-width: calc(100vw - 24px);
    }
    .hero-content {
        width: calc(100% - 28px);
        padding-top: 168px;
    }
    .gallery-lightbox {
        gap: 12px;
    }
    .gallery-lightbox-stage {
        padding: 0;
    }
    .gallery-lightbox-image {
        max-width: 100%;
        max-height: calc(100dvh - 190px);
    }
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        top: auto;
        bottom: 70px;
        transform: none;
    }
    .gallery-lightbox-prev:hover,
    .gallery-lightbox-next:hover,
    .gallery-lightbox-prev:focus-visible,
    .gallery-lightbox-next:focus-visible {
        transform: scale(1.08);
    }
    .gallery-lightbox-caption {
        width: 100%;
    }
    .admin-card {
        padding: 14px;
    }
    .admin-top {
        display: grid;
        gap: 10px;
        padding: 12px;
    }
    .admin-top nav {
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .admin-top nav a {
        flex: 0 0 auto;
        padding: 8px 10px;
        white-space: nowrap;
        font-size: 13px;
    }
    .stats-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Reformas: contenido de muestra, opiniones y contacto */
.demo-post { overflow: hidden; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.demo-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.demo-post-copy { padding: 20px; }
.demo-post-copy h3 { margin: 0 0 10px; }
.demo-post-copy p { margin: 0; line-height: 1.6; }
.demo-badge, .demo-review-label { display: inline-block; margin: 14px 14px 0; padding: 6px 10px; border-radius: 999px; background: #fff3cd; color: #705600; font-size: .75rem; font-weight: 700; }
.reviews-band { background: #fbfaf7; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.reviews article { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.reviews article > span { display: block; margin-top: 14px; color: #d99600; font-size: 1.2rem; }
.review-original-link { display: block; color: inherit; text-decoration: none; }
.review-original-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.review-original-link:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 4px; }
.reviews p { line-height: 1.55; color: #39342c; }
.maps-link { margin-top: 22px; text-align: center; }
.maps-link a, .whatsapp-link { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .post-embed { height: 680px; } }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

.review-editor { display: grid; grid-template-columns: repeat(3, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.review-editor article { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.review-form { display: grid; gap: 10px; }
@media (max-width: 900px) { .review-editor { grid-template-columns: 1fr; } }

.demo-post-editor { display: grid; grid-template-columns: repeat(3, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.demo-post-editor article { overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.demo-post-editor img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.admin-divider { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
.whatsapp-float {
 position:fixed;right:clamp(18px,3vw,34px);bottom:clamp(18px,3vw,34px);z-index:1000;display:grid;place-items:center;width:64px;height:64px;padding:0;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:linear-gradient(145deg,#2fe279,#159447);color:#fff;box-shadow:0 12px 28px rgba(8,73,35,.30),0 3px 10px rgba(0,0,0,.18);isolation:isolate;transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.whatsapp-float::before{content:"";position:absolute;inset:-7px;z-index:-1;border:1px solid rgba(37,211,102,.32);border-radius:inherit;animation:whatsapp-ring 2.8s ease-out infinite}
.whatsapp-float:hover{transform:translateY(-4px) scale(1.04);box-shadow:0 18px 36px rgba(8,73,35,.34),0 4px 12px rgba(0,0,0,.16);filter:saturate(1.08)}
.whatsapp-float:focus-visible{outline:3px solid #fff;outline-offset:4px}.whatsapp-float img{width:46px;height:46px;object-fit:contain}
.whatsapp-tooltip{position:absolute;right:76px;width:max-content;padding:10px 14px;border-radius:9px;background:#17231b;color:#fff;font-size:.83rem;font-weight:750;letter-spacing:.01em;box-shadow:0 8px 22px rgba(0,0,0,.20);opacity:0;visibility:hidden;transform:translateX(8px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;pointer-events:none}
.whatsapp-tooltip::after{content:"";position:absolute;top:50%;right:-6px;width:12px;height:12px;background:#17231b;transform:translateY(-50%) rotate(45deg)}
.whatsapp-float:hover .whatsapp-tooltip,.whatsapp-float:focus-visible .whatsapp-tooltip{opacity:1;visibility:visible;transform:translateX(0)}
.whatsapp-status{position:absolute;top:1px;right:2px;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#8ff0ad;box-shadow:0 1px 4px rgba(0,0,0,.18)}
@keyframes whatsapp-ring{0%,55%{opacity:0;transform:scale(.92)}70%{opacity:1}100%{opacity:0;transform:scale(1.18)}}
@media (max-width:520px){
 .whatsapp-float{width:58px;height:58px;transition:opacity .18s ease,transform .18s ease,visibility .18s ease,box-shadow .22s ease,filter .22s ease}
 .whatsapp-float img{width:42px;height:42px}
 .whatsapp-tooltip{display:none}
 .whatsapp-float.is-footer-visible{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px) scale(.88)}
}
@media (prefers-reduced-motion:reduce){.whatsapp-float::before{animation:none}}


.upload-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 180px;
    padding: 24px;
    border: 2px dashed #aaa18f;
    border-radius: 12px;
    background: #faf8f3;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.upload-dropzone.compact { min-height: 130px; }
.upload-dropzone:hover,
.upload-dropzone.is-dragging { border-color: #25a55b; background: #eefaf2; transform: translateY(-1px); }
.upload-dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-dropzone strong { color: #2b302b; }
.upload-dropzone span { color: #6d6a62; font-size: .86rem; }
.upload-dropzone img { position: relative; z-index: 1; width: min(100%, 320px); max-height: 210px; object-fit: cover; border-radius: 8px; pointer-events: none; }
.upload-dropzone.has-file strong,
.upload-dropzone.has-file span { display: none; }

/* Legibilidad de posts visuales */
.demo-post, .demo-post-copy { color: #211f1b; }
.demo-post-copy h3 { color: #171713; }
.demo-post-copy p { color: #49453d; }
.demo-badge { color: #705600; }

/* Navegación hamburguesa del administrador */
.admin-menu-toggle { display: none; }
@media (max-width: 760px) {
    .admin-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; }
    .admin-menu-toggle { display: grid; grid-template-columns: 22px auto; align-items: center; gap: 0 9px; min-width: 0; padding: 9px 11px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; }
    .admin-menu-toggle span { grid-column: 1; display: block; width: 22px; height: 2px; margin: 2px 0; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
    .admin-menu-toggle b { grid-column: 2; grid-row: 1 / span 3; font-size: .82rem; }
    .admin-menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .admin-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .admin-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .admin-top nav, .admin-top nav:not(.is-open) { display: none; overflow: visible; }
    .admin-top nav.is-open { grid-column: 1 / -1; display: grid; gap: 4px; width: 100%; max-width: none; padding: 8px 0 2px; overflow: visible; }
    .admin-top nav.is-open a { display: block; width: 100%; padding: 11px 12px; white-space: normal; font-size: .92rem; border-radius: 7px; }
}

.contact-location-band { background: #f0f3ee; }
.contact-location-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(360px, 1.15fr); gap: 24px; align-items: stretch; }
.contact-details-card, .contact-map { overflow: hidden; border: 1px solid rgba(35,55,39,.14); border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(29,46,33,.08); }
.contact-details-card { padding: clamp(24px, 4vw, 38px); }
.contact-intro { margin: 0 0 24px; color: #4b554d; line-height: 1.65; }
.contact-list { display: grid; gap: 0; margin: 0; }
.contact-list div { display: grid; gap: 5px; padding: 16px 0; border-top: 1px solid #e5e9e3; }
.contact-list dt { color: #667169; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-list dd { margin: 0; color: #18231b; font-size: 1.05rem; font-weight: 750; overflow-wrap: anywhere; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-actions a { padding: 12px 15px; border-radius: 9px; font-weight: 800; text-align: center; }
.contact-primary { background: #198b48; color: #fff; }
.contact-secondary { border: 1px solid #ccd4cd; color: #25342a; background: #f8faf8; }
.contact-map iframe { display: block; width: 100%; min-height: 100%; height: 460px; border: 0; }
@media (max-width: 820px) { .contact-location-grid { grid-template-columns: 1fr; } .contact-map iframe { height: 360px; } }
/* Tarjetas de posts con dimensiones uniformes */
.post-embeds { align-items: stretch; }
.post-embed { grid-template-rows: auto minmax(0, 1fr); height: 760px; overflow: hidden; }
.post-embed .post-media { width: 100%; height: 100%; min-height: 0; overflow: hidden; aspect-ratio: auto; }
.post-embed .youtube-video, .post-embed .youtube-short-video { width: 100%; height: 100%; aspect-ratio: auto; }
@media (max-width: 760px) { .post-embed { height: 680px; } }
/* Posts editoriales compactos: imagen, título y texto */
.post-embed.demo-post { height: 480px; grid-template-rows: auto auto minmax(0, 1fr); align-content: start; }
.post-embed.demo-post > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.post-embed.demo-post .demo-post-copy { align-self: start; overflow: hidden; }
/* Post editorial con texto superpuesto, sin recortes */
.post-embed.demo-post { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: auto; min-height: 520px; overflow: hidden; isolation: isolate; }
.post-embed.demo-post > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.post-embed.demo-post::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, transparent 25%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.58) 100%); }
.post-embed.demo-post .demo-badge { position: absolute; top: 0; left: 0; z-index: 1; }
.post-embed.demo-post .demo-post-copy { width: 100%; margin-top: auto; padding: 22px; overflow: visible; background: rgba(15,14,12,.72); color: #fff; backdrop-filter: blur(5px); }
.post-embed.demo-post .demo-post-copy h3, .post-embed.demo-post .demo-post-copy p { color: #fff; }
@media (max-width: 760px) { .post-embed.demo-post { height: auto; min-height: 440px; } .post-embed.demo-post .demo-post-copy { padding: 18px; } }
/* Editor de posts visuales contenido en móvil */
.demo-post-editor, .demo-post-editor article, .demo-post-editor form, .demo-post-editor label { min-width: 0; max-width: 100%; }
.demo-post-editor input, .demo-post-editor select, .demo-post-editor textarea, .demo-post-editor .upload-dropzone { width: 100%; max-width: 100%; min-width: 0; }
.demo-post-editor textarea { overflow-wrap: anywhere; }
@media (max-width: 900px) { .demo-post-editor { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .admin-card { padding: 16px 12px; } .demo-post-editor article { padding: 10px; } }
/* Escala responsive para nombres de empresa */
.hero-content h1 { width: fit-content; max-width: min(100%, 1000px); overflow-wrap: normal; word-break: normal; }
.hero-content h1.project-name-medium { font-size: clamp(44px, 8vw, 108px); line-height: .94; }
.hero-content h1.project-name-long { font-size: clamp(34px, 6vw, 78px); line-height: .98; }
.hero-content h1.project-name-xlong { font-size: clamp(28px, 4.6vw, 60px); line-height: 1.02; }
footer .project-name-effect { max-width: 100%; overflow-wrap: normal; word-break: normal; }
@media (max-width: 520px) { .hero-content h1 { max-width: calc(100vw - 36px); } .hero-content h1.project-name-short { font-size: clamp(30px, 10vw, 48px); } .hero-content h1.project-name-medium { font-size: clamp(34px, 11vw, 52px); } .hero-content h1.project-name-long { font-size: clamp(30px, 9.5vw, 44px); } .hero-content h1.project-name-xlong { font-size: clamp(25px, 8vw, 36px); } }
/* Textos públicos justificados */
body:not(.admin-body):not(.stats-body):not(.site-selector-body) main p,
body:not(.admin-body):not(.stats-body):not(.site-selector-body) main dd,
body:not(.admin-body):not(.stats-body):not(.site-selector-body) main figcaption { text-align: justify; text-justify: inter-word; }
/* Eslogan principal alineado a la izquierda */
body:not(.admin-body):not(.stats-body):not(.site-selector-body) main .hero-content > p:not(.kicker) { text-align: left; text-justify: auto; }
