/**
 * Block: Platform Tour
 *
 * Three tour cards in a responsive grid, each with eyebrow, title, body,
 * a bulleted list, and a ghost-button "Explore" CTA at the bottom.
 *
 * @package GuildCommerceTheme
 * @since 1.5.0
 */

/* ---------------------------------------------------------- *
 * Section frame                                              *
 * ---------------------------------------------------------- */
.gc-ptour {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background: var(--gc-bg, #FFFDF8);
    border-top: 1px solid rgba(82, 66, 53, 0.12);
}

.gc-ptour__inner {
    max-width: var(--gc-content-max, 1200px);
    margin-inline: auto;
    padding-inline: var(--gc-content-pad, clamp(1rem, 4vw, 2rem));
}

/* ---------------------------------------------------------- *
 * Heading block                                              *
 * ---------------------------------------------------------- */
.gc-ptour__head {
    max-width: 60ch;
    margin-inline: auto;
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.gc-ptour__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gc-mocha, #524235);
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.gc-ptour__eyebrow-rule {
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--gc-honey, #FCB240);
}

.gc-ptour__title {
    margin: 0 0 0.75rem;
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-weight: 700;
    font-size: clamp(1.875rem, 3.4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--gc-mocha, #524235);
    text-wrap: balance;
}

.gc-ptour__lede {
    margin: 0;
    font-family: var(--gc-font-body, "DM Sans", system-ui, sans-serif);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: rgba(82, 66, 53, 0.78);
}

/* ---------------------------------------------------------- *
 * Card grid                                                  *
 * ---------------------------------------------------------- */
.gc-ptour__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 720px) {
    .gc-ptour__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* ---------------------------------------------------------- *
 * Single card                                                *
 * ---------------------------------------------------------- */
.gc-ptour-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.75rem 1.5rem;
    background: #FFFFFF;
    border: 1px solid rgba(82, 66, 53, 0.14);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(82, 66, 53, 0.04);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.gc-ptour-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(82, 66, 53, 0.08);
}

.gc-ptour-card__eyebrow {
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(82, 66, 53, 0.70);
}

.gc-ptour-card__title {
    margin: 0.5rem 0 0;
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--gc-mocha, #524235);
    text-transform: uppercase;
}

.gc-ptour-card__body {
    margin: 0.5rem 0 0;
    font-family: var(--gc-font-body, "DM Sans", system-ui, sans-serif);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(82, 66, 53, 0.78);
}

.gc-ptour-card__bullets {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-family: var(--gc-font-body, "DM Sans", system-ui, sans-serif);
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--gc-mocha, #524235);
}

.gc-ptour-card__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.gc-ptour-card__dot {
    margin-top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--gc-honey, #FCB240);
    flex-shrink: 0;
}

.gc-ptour-card__foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(82, 66, 53, 0.12);
}

/* ---------------------------------------------------------- *
 * Ghost button variant (used in card foot)                   *
 * ---------------------------------------------------------- */
.gc-btn--ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: -0.5rem; /* visual flush with card padding */
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: transparent;
    color: var(--gc-mocha, #524235);
    border: none;
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.gc-btn--ghost:hover,
.gc-btn--ghost:focus-visible {
    background: rgba(252, 178, 64, 0.10);
    color: var(--gc-mocha, #524235);
}

.gc-btn--ghost:focus-visible {
    outline: 2px solid var(--gc-honey, #FCB240);
    outline-offset: 2px;
}

.gc-btn--ghost .gc-btn__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 160ms ease;
}

.gc-btn--ghost:hover .gc-btn__icon {
    transform: translate(2px, -2px);
}

/* ---------------------------------------------------------- *
 * Reduced motion                                             *
 * ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .gc-ptour-card,
    .gc-btn--ghost,
    .gc-btn--ghost .gc-btn__icon { transition: none; }
    .gc-ptour-card:hover { transform: none; }
    .gc-btn--ghost:hover .gc-btn__icon { transform: none; }
}
