/* Study314 Footer - Intellectual Modern */
:root {
    --s3-footer-bg: #FDFDFD;
    --s3-footer-text: #2C2A29;
    --s3-footer-muted: #8A8683;
    --s3-footer-accent: #1A365D;
    --s3-footer-accent-hover: #2A4A7F;
    --s3-footer-border: #EAE8E3;
}

.study314-footer {
    background-color: var(--s3-footer-bg);
    color: var(--s3-footer-text);
    padding: 6rem 0 3rem;
}

.study314-footer * {
    box-sizing: border-box;
}

.study314-footer a {
    text-decoration: none;
    color: inherit;
}

.study314-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .study314-footer-inner {
        padding: 0 2rem;
    }
}

/* Grid */
.study314-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .study314-footer-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }
}

/* Brand Column - spans 5 cols */
@media (min-width: 768px) {
    .study314-footer-brand {
        grid-column: 1 / 6;
    }
}

/* Explore Column - starts at col 7, spans 3 */
@media (min-width: 768px) {
    .study314-footer-col-explore {
        grid-column: 7 / 10;
    }
}

/* Info Column - spans last 3 cols */
@media (min-width: 768px) {
    .study314-footer-col-info {
        grid-column: 10 / 13;
    }
}

/* Logo */
.study314-footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.study314-footer-logo-img {
    height: 3rem;
    width: auto;
    opacity: 0.9;
    filter: grayscale(100%);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.study314-footer-logo:hover .study314-footer-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Tagline */
.study314-footer-tagline {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--s3-footer-muted);
    margin: 0 0 1.5rem;
}

/* Social */
.study314-footer-social {
    display: flex;
    gap: 0.75rem;
}

.study314-footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid var(--s3-footer-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s3-footer-muted);
    transition: all 0.3s ease;
}

.study314-footer-social-link:hover {
    color: var(--s3-footer-accent);
    border-color: var(--s3-footer-accent);
}

/* Column Titles */
.study314-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--s3-footer-text);
    margin: 0 0 1.5rem;
}

/* Links */
.study314-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.study314-footer-links li {
    margin-bottom: 0.875rem;
}

.study314-footer-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--s3-footer-muted);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.study314-footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: var(--s3-footer-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.study314-footer-links a:hover {
    color: var(--s3-footer-accent);
    padding-left: 12px;
}

.study314-footer-links a:hover::before {
    width: 3px;
}

/* Bottom Bar */
.study314-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 2rem;
    position: relative;
    font-size: 11px;
    color: var(--s3-footer-muted);
}

.study314-footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: var(--s3-footer-border);
}

@media (min-width: 768px) {
    .study314-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.study314-footer-copyright {
    letter-spacing: 0.05em;
}

.study314-footer-bottom-tagline {
    font-style: italic;
    letter-spacing: 0.05em;
}
