/* Grupo Fukutoku — portada */

:root {
    --g-ink: #1a1a1a;
    --g-cream: #f7f4ef;
    --g-sand: #e8e0d4;
    --g-forest: #2f5d3a;
    --g-leaf: #4caf50;
    --g-ember: #c45c26;
    --g-muted: #5c5c5c;
    --g-white: #ffffff;
}

.group-body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--g-ink);
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(76, 175, 80, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 45% at 90% 0%, rgba(196, 92, 38, 0.1), transparent 50%),
        linear-gradient(180deg, #faf8f4 0%, #f0ebe3 45%, #e9e2d8 100%);
    min-height: 100vh;
}

.group-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    color: var(--g-white);
}

.group-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.group-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.group-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.group-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.group-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.group-header .language-selector {
    display: flex;
    gap: 0.35rem;
}

.group-header .btn-lang {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    border-radius: 2px;
}

.group-header .btn-lang.active,
.group-header .btn-lang:hover {
    background: var(--g-leaf);
    border-color: var(--g-leaf);
}

.group-hero {
    position: relative;
    overflow: hidden;
    min-height: min(72vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.group-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('../img/origen-bg.png') center / cover no-repeat;
    z-index: 0;
}

.group-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(12, 12, 12, 0.48) 0%,
            rgba(12, 12, 12, 0.32) 45%,
            rgba(12, 12, 12, 0.62) 100%
        );
    pointer-events: none;
}

.group-hero-inner {
    position: relative;
    z-index: 2;
    width: min(720px, 92%);
    margin: 0 auto;
    color: var(--g-white);
}

.group-hero-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 1.15rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    animation: groupFadeUp 0.8s ease both;
}

.group-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 3.75rem);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.1;
    animation: groupFadeUp 0.8s ease 0.1s both;
}

.group-claim {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 500;
    margin: 0 auto;
    max-width: 28em;
    line-height: 1.45;
    animation: groupFadeUp 0.8s ease 0.2s both;
}

/* Bloque de presentación */
.group-body .group-story {
    position: relative;
    z-index: 3;
    padding: 2.5rem 1.5rem 1rem;
    margin-top: -2rem;
}

.group-body .group-story-inner {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    background: #f8f3eb;
    padding: 2.75rem 2.5rem 2.5rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.group-body .group-story-accent {
    width: 44px;
    height: 3px;
    background: var(--g-leaf);
    margin: 0 auto 1.75rem;
}

.group-body .group-story-copy {
    max-width: 36rem;
    width: 100%;
    margin: 0 auto;
    text-align: justify;
    color: var(--g-ink);
}

.group-body .group-story-lead {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.18rem, 2vw, 1.4rem);
    line-height: 1.55;
    margin: 0 0 1.4rem;
    color: #1f1f1f;
}

.group-body .group-story-body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 1.2rem;
    color: #3a3a3a;
}

.group-body .group-story-body:last-child {
    margin-bottom: 0;
}

.group-body .group-story-em {
    font-weight: 700;
    color: var(--g-forest);
}

.group-body .group-venues {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3.5rem;
    position: relative;
    z-index: 2;
}

.group-body .venues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.group-body .venue-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--g-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 0;
    height: 100%;
    animation: groupFadeUp 0.9s ease 0.35s both;
}

.group-body .venue-card:nth-child(2) {
    animation-delay: 0.45s;
}

.group-body .venue-card:hover,
.group-body .venue-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.group-body .venue-card-media {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

.group-body .venue-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.group-body .venue-card-body h2 a:hover {
    color: var(--g-forest);
}

.group-body .venue-desc {
    color: var(--g-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0.45rem 0 0;
    position: relative;
    text-align: justify;
}

.group-body .venue-desc.is-collapsed {
    max-height: calc(1.55em * 4);
    overflow: hidden;
}

.group-body .venue-desc.is-collapsed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.4em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
}

.group-body .venue-desc.is-expanded {
    max-height: none;
}

.group-body .venue-desc.is-expanded::after {
    display: none;
}

.group-body .venue-desc p {
    margin: 0 0 0.75rem;
}

.group-body .venue-desc p:last-child {
    margin-bottom: 0;
}

.group-body .venue-more {
    align-self: flex-start;
    margin-top: 0.55rem;
    padding: 0;
    border: none;
    background: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--g-ember);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.group-body .venue-more:hover {
    color: var(--g-forest);
}

.group-body .venue-card-media img,
.group-body .venue-card-media .venue-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.group-body .venue-card:hover .venue-card-media img,
.group-body .venue-card:hover .venue-placeholder {
    transform: scale(1.04);
}

.venue-placeholder {
    background:
        linear-gradient(145deg, #3a2a22 0%, #6b3e28 40%, #c45c26 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.venue-placeholder span {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.group-body .venue-card-body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.45rem;
}

.venue-card-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    margin: 0;
    line-height: 1.2;
    color: var(--g-ink);
}

.venue-line {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--g-forest);
    margin: 0;
    font-size: 1.05rem;
}

.venue-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--g-ember);
    margin: 0.15rem 0 0;
}

.venue-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--g-forest);
}

.venue-cta::after {
    content: ' →';
    transition: transform 0.25s ease;
    display: inline-block;
}

.venue-card:hover .venue-cta::after {
    transform: translateX(4px);
}

.group-footer {
    background: #000;
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
}

.group-footer img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.group-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.group-footer .footer-credit {
    margin-top: 0.75rem;
    opacity: 0.7;
}

.group-footer .footer-credit a {
    color: #9be29b;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@keyframes groupFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .group-hero {
        min-height: min(58vh, 520px);
        padding: 3rem 1.25rem 2.5rem;
    }

    .group-hero-inner {
        width: 100%;
        max-width: 100%;
    }

    .group-hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .group-claim {
        font-size: clamp(0.95rem, 3.8vw, 1.1rem);
        max-width: 22em;
    }

    .group-body .group-story {
        margin-top: 0;
        padding: 1.5rem 20px 0.5rem;
    }

    .group-body .group-story-inner {
        max-width: 100%;
        padding: 1.75rem 1.2rem;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    }

    .group-body .group-story-copy {
        max-width: 100%;
    }

    .group-body .group-story-accent {
        margin-bottom: 1.25rem;
    }

    .group-body .group-story-lead {
        margin-bottom: 1rem;
    }

    .group-body .group-story-body {
        margin-bottom: 0.9rem;
    }

    .group-body .group-venues {
        padding: 1.5rem 20px 3rem;
    }

    .group-body .venues-grid {
        grid-template-columns: 1fr;
    }

    .group-body .venue-card-media {
        height: 200px;
    }

    .group-brand-text {
        font-size: 1.05rem;
    }
}
