/* CSS - Mental8Works Main Styles */
:root {
    --color-primary: #03919f;
    /* Teal */
    --color-secondary: #f0be44;
    /* Gold/Yellow */
    --color-text-main: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #f8fafc;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --radius-md: 12px;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background: var(--color-bg);
    overflow-x: hidden;
    position: relative;
}


img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.d-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }

    .d-md-inline {
        display: inline !important;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 4rem 0;
    position: relative;
    text-align: center;
    /* Performance: Rendering optimization for mobile */
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

@media (min-width: 900px) {
    .section {
        text-align: left;
        padding: 6rem 0;
    }
}

/* Exception for hero as it's always above the fold and contains the LCP element */
.hero {
    content-visibility: visible;
}

.text-center {
    text-align: center !important;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: #027a85;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(3, 145, 159, 0.3);
}

.btn-secondary {
    background: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-pill-small {
    background: white;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-pill-small:hover {
    background: var(--color-primary);
    color: white;
}

.btn-text {
    color: var(--color-primary);
    font-weight: 600;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.social-buttons-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
}

@media(min-width: 900px) {
    .social-buttons-row {
        justify-content: flex-start;
    }
}

.btn-social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #475569;
    transition: 0.3s;
}

.btn-social:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Blobs */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatBlobs 3s infinite alternate ease-in-out;
    opacity: 0.6;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
}

.blob-1 {
    top: 5%;
    left: -10%;
    width: 250px;
    height: 250px;
    color: rgba(240, 190, 68, 0.5);
    animation: floatBlobs 2s infinite alternate ease-in-out;
}

.blob-2 {
    top: 50%;
    right: -10%;
    width: 250px;
    height: 250px;
    color: rgba(3, 145, 159, 0.4);
    animation: floatBlobs 10s infinite alternate-reverse ease-in-out;
}

.blob-3 {
    top: 20%;
    left: 30%;
    width: 200px;
    height: 200px;
    color: rgba(240, 190, 68, 0.5);
    animation: floatBlobs 9s infinite alternate ease-in-out;
}

.blob-4 {
    bottom: -10%;
    left: 10%;
    width: 300px;
    height: 300px;
    color: rgba(3, 145, 159, 0.4);
    animation: floatBlobs 11s infinite alternate-reverse ease-in-out;
    display: none;
}

.blob-5 {
    top: -10%;
    right: 20%;
    width: 300px;
    height: 300px;
    color: rgba(240, 190, 68, 0.5);
    animation: floatBlobs 10s infinite alternate ease-in-out;
    display: none;
}

@media (min-width: 768px) {
    .blob {
        opacity: 0.8;
    }

    .blob-1 {
        width: 400px;
        height: 400px;
        left: 10%;
    }

    .blob-2 {
        width: 500px;
        height: 500px;
        right: 10%;
    }

    .blob-4,
    .blob-5 {
        display: block;
    }
}

@keyframes floatBlobs {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -30px) scale(1.05);
    }

    100% {
        transform: translate(-15px, 25px) scale(0.95);
    }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1000;
    box-shadow: none;
    padding: 0.75rem 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

/* Scrolled state — applied via JS */
.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 0.35rem 0;
}

/* Non-landing pages always show opaque header */
.header.opaque {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
}

/* Transparent navbar: nav-links and toggle stay dark (hero background is light) */
.header:not(.scrolled):not(.opaque) .nav-link {
    color: var(--color-text-main);
}

.header:not(.scrolled):not(.opaque) .mobile-toggle {
    color: var(--color-text-main);
}

.header:not(.scrolled):not(.opaque) .btn-primary {
    background: var(--color-primary);
    color: white;
}

.header:not(.scrolled):not(.opaque) .btn-primary:hover {
    background: var(--color-primary-dark, #027a86);
    color: white;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s;
}

@media (min-width: 900px) {
    .nav-logo-img {
        height: 110px;
    }
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.mobile-toggle {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
    z-index: 1002;
}

@media(min-width: 901px) {
    .mobile-toggle {
        display: none;
    }
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
    display: block;
    color: var(--color-text-main);
    white-space: nowrap;
}

@media(min-width: 901px) {

    /* True Centering Layout */
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .nav-logo-link {
        justify-self: start;
    }

    .nav-menu {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        transform: none;
        box-shadow: none;
        display: flex;
        gap: 2rem;
        align-items: center;
        justify-self: center;
        /* Center the menu in the middle column */
    }

    .nav-actions {
        justify-self: end;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0;
        border: none;
        width: auto;
        font-weight: 500;
    }

    .header {
        padding: 0.5rem 0;
    }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

/* Hero Section Reordering (Mobile) */
@media (max-width: 899px) {
    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .hero-content h1 {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin: 1rem 0;
    }

    .pills-container {
        order: 3;
    }

    .hero-content p {
        order: 4;
    }

    .hero-actions {
        order: 5;
    }
}

.hero-content {
    width: 100%;
    order: 1;
}

.hero-visual {
    width: 100%;
    order: 2;
    margin-top: 1rem;
}

.hero-banner {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    background: rgba(3, 145, 159, 0.08);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: 0.3s;
    width: auto;
    text-align: center;
    margin: 0;
}

.pill:hover {
    background: var(--color-primary);
    color: white;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
}

@media (min-width: 900px) {

    /* Reduced Vertical Space */
    .hero {
        padding-top: 155px;
        /* Added spacing from navbar */
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-container {
        display: block;
        max-width: 1200px;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        gap: 2rem 5rem;
        text-align: left;
    }

    .hero-visual {
        grid-column: 2;
        grid-row: 1 / span 4;
        margin-top: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hero-banner {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 40px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .hero-banner:hover {
        transform: scale(1.02);
    }

    .hero-content h1 {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0.5rem;
    }

    .pills-container {
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        grid-column: 1;
        grid-row: 3;
        margin-bottom: 0.5rem;
        margin-left: 0;
    }

    .hero-actions {
        grid-column: 1;
        grid-row: 4;
    }

    /* ensuring visual center */

    .pills-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .pill {
        width: auto;
        padding: 0.35rem 0.85rem;
        display: inline-block;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .pills-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .pill {
        white-space: nowrap;
    }

    h1 {
        font-size: 2.625rem;
        line-height: 1.1;
        /* Matches dynamic word size to maintain uniform look */
    }

    /* dynamic word inherits block + full h1 size via global rules below */

    p {
        font-size: 1.1rem;
        margin-left: 0;
        margin-right: auto;
        max-width: 600px;
    }
}

/* Dynamic word always on its own line, full h1 size */
.hero-content h1 {
    display: block;
}

.hero-content h1>.dynamic-word-wrapper {
    display: block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
    margin-top: 0.05em;
}

.dynamic-word-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
}

#dynamic-word {
    display: block;
    position: relative;
    font-size: 1em;
    font-family: inherit;
    font-weight: inherit;
    color: var(--color-primary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.word-exit {
    transform: translateY(-100%);
}

.word-enter {
    animation: wordSlideIn 0.35s forwards;
}

@keyframes wordSlideIn {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Services - Updated Background */
.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
}

.card {
    background: #f0f9fa;
    /* Light Blue BG */
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    /* Stretch to fill grid cell */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: #e6f6f8;
    /* Maintain light blue on hover but slightly different */
}

/* Hover White for pop */

.card-content {
    width: 100%;
    flex: 1;
    /* Push footer area down */
    display: flex;
    flex-direction: column;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card:hover .service-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        max-width: none;
        align-items: flex-start;
        text-align: left;
    }

    .service-icon-wrapper {
        margin: 0 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Blog Cards */
.blog-card {
    padding: 0;
    overflow: hidden;
    background: white;
    text-align: left !important;
    align-items: flex-start !important;
}

.blog-content {
    padding: 1.5rem;
    width: 100%;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #64748b;
}

/* About Us */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.about-images {
    order: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transition: 0.3s;
    max-height: 400px;
    /* Reduced height on desktop */
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-images:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@media (min-width: 900px) {
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
        align-items: center;
    }

    .about-images {
        order: 1;
        margin: 0;
    }
}

/* Team */
#team {
    background: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-member {
    text-align: center;
    position: relative;
    background: #f0f9fa;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Consistent shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.linkedin-icon {
    display: inline-flex;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.linkedin-icon:hover {
    color: #0077b5 !important;
    /* LinkedIn Blue */
}

.team-img-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
}

@media (min-width: 768px) {
    .team-img-wrapper {
        width: 140px;
        height: 140px;
    }
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Correctly fits the logo inside the circle */
    background: var(--color-primary);
    /* Base color for the white logo */
    padding: 15px;
    transition: 0.5s;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

.contact-info {
    order: 1;
}

.contact-form-wrapper {
    order: 2;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
        text-align: left;
        align-items: start;
    }

    .contact-form-wrapper {
        margin: 0;
    }
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
}

.form-group {
    margin-bottom: 1.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.checkbox-group input {
    margin-top: 4px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.modal-bio-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.modal-bio-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: contain;
    /* Fit logo */
    padding: 20px;
    background: var(--color-primary);
    border: 4px solid var(--color-primary);
}

.modal-bio-text {
    flex: 1;
}

@media (min-width: 768px) {
    .modal-bio-flex {
        flex-direction: row;
        align-items: flex-start;
    }

    .modal-bio-img {
        order: 2;
        width: 180px;
        height: 180px;
    }
}

/* ENFORCED CENTER */
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #64748b;
    border: none;
    transition: 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--color-text-main);
}

/* Psychology Chart */
.chart-container-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

@media (min-width: 600px) {
    .chart-container-wrapper {
        width: 400px;
        height: 400px;
    }
}

.chart-circle {
    border-radius: 50%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #1e293b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 90px;
    height: 90px;
}

@media (min-width: 600px) {
    .chart-circle {
        width: 110px;
        height: 110px;
        font-size: 0.85rem;
    }
}

.chart-circle:hover {
    transform: scale(1.15) !important;
    z-index: 10;
    cursor: default;
}

.chart-center {
    background: var(--color-primary);
    color: white;
    width: 110px;
    height: 110px;
    top: 50%;
    left: 50%;
    margin-top: -55px;
    margin-left: -55px;
    z-index: 5;
    font-size: 0.9rem;
}

@media (min-width: 600px) {
    .chart-center {
        width: 140px;
        height: 140px;
        margin-top: -70px;
        margin-left: -70px;
        font-size: 1.1rem;
    }
}

.pos-top {
    top: 0;
    left: 50%;
    margin-left: -45px;
    background: #bef264;
}

.pos-tr {
    top: 20%;
    right: 0;
    background: #60a5fa;
    color: white;
}

.pos-br {
    bottom: 20%;
    right: 0;
    background: #facc15;
}

.pos-bot {
    bottom: 0;
    left: 50%;
    margin-left: -45px;
    background: #fbbf24;
}

.pos-bl {
    bottom: 20%;
    left: 0;
    background: #475569;
    color: white;
}

.pos-tl {
    top: 20%;
    left: 0;
    background: #4ade80;
}

@media (min-width: 600px) {
    .pos-top {
        margin-left: -55px;
    }

    .pos-bot {
        margin-left: -55px;
    }
}

/* Footer */
.footer {
    background: var(--color-text-main);
    color: white;
    padding: 4rem 0 2rem;
}

/* Remove border-bottom from footer h4 headings (inline styles override) */
.footer-col h4 {
    border-bottom: none !important;
    display: block !important;
    padding-bottom: 0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    /* Mobile: all cols centered */
    text-align: center;
    margin-bottom: 3rem;
}

/* Mobile: logo smaller + tighter */
.footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-img {
    max-height: 70px;
    width: auto;
}

.footer-col:first-child p {
    margin-top: 0.75rem;
    opacity: 0.75;
    font-size: 0.88rem;
    max-width: 280px;
}

/* Mobile: social icons centered */
.footer-social-icons {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    justify-content: center;
}

.footer-social-icons a {
    color: white;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Mobile contact list & nav list centered */
.footer-col ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr auto;
        text-align: left;
        align-items: start;
    }

    /* Desktop: logo full size, left-aligned col */
    .footer-col:first-child {
        align-items: flex-start;
    }

    .footer-logo-img {
        max-height: 120px;
        margin: 0;
    }

    /* Desktop: lists left-aligned */
    .footer-col ul {
        align-items: flex-start;
    }

    .footer-col ul li {
        justify-content: flex-start;
    }

    /* Desktop: contacts col — icons slightly left of text start */
    .footer-col:last-child ul li {
        padding-left: 0;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }
}

.footer-logo-link {
    display: inline-block;
    transition: 0.3s;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer-bottom-links a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

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

/* Subpages Header Spacing */
.section-pt-large {
    padding-top: 150px;
}

/* Responsive Map */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* Blog Post Layout */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@keyframes floatMini {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Blog Post Sidebar Image Layout */
.sidebar-blog-img {
    width: 100%;
    max-width: none !important;
    /* Overriding previous reduction for sidebar context */
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: floatMini 6s infinite alternate ease-in-out;
}

@media (max-width: 899px) {
    .sidebar-blog-img.desktop-only {
        display: none !important;
    }
}

@media (min-width: 900px) {
    .sidebar-blog-img.mobile-only {
        display: none !important;
    }

    .blog-grid {
        grid-template-columns: 3fr 1fr;
        gap: 4rem;
    }

    .sidebar {
        order: 2;
        /* Main content is order 1 (default) or order 0, Sidebar is order 2 to be on the RIGHT */
        position: sticky;
        top: 100px;
        background: #f8fafc;
        padding: 2rem;
        border-radius: 12px;
    }
}

.blog-content-area img {
    width: 40%;
    max-width: 195px;
    display: block;
    margin: 0 auto 2rem;
    border-radius: 12px;
}

.blog-card-img-wrapper {
    width: 40%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    margin: 1.5rem auto 0;
}

/* Specific for Blog Index Page */
.grid-cards .blog-card-img-wrapper {
    width: 40%;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--color-primary);
    padding: 5px;
    animation: floatMini 4s infinite alternate-reverse ease-in-out;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 280px;
    width: 280px;
    flex: 0 0 280px;
}

@media (min-width: 900px) {
    .carousel-card {
        min-width: calc((100% - 3rem) / 3);
        width: calc((100% - 3rem) / 3);
        flex: 0 1 calc((100% - 3rem) / 3);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.linkedin-link:hover {
    color: #0077b5 !important;
}

.author-placeholder {
    background: var(--color-primary);
    padding: 10px;
}

/* --- NEW SECTIONS STYLES --- */

/* Pricing Section Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin-inline: auto;
    }
}

.pricing-card {
    background: #f0f9fa;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--color-primary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    background: white;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 145, 159, 0.12);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.price-main {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-serif);
}

.price-main span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
    font-family: var(--font-sans);
}

.price-next {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: -0.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.pricing-features {
    width: 100%;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Tarifa Social Highlight at bottom */
.tarifa-social-highlight {
    margin-top: auto;
    padding: 1rem;
    background: transparent;
    width: 100%;
    color: var(--color-text-main);
    font-weight: 700;
}

.tarifa-social-highlight span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.tarifa-social-highlight .price {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    background: linear-gradient(135deg, #f0be44, #03919f, #f0be44);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMovePrice 5s ease infinite;
}

@keyframes gradientMovePrice {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.social-value-box {
    background: #e0f2f1;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    border: 1px dashed var(--color-primary);
    max-width: 900px;
    margin-inline: auto;
}

.social-value-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 768px) {
    .social-value-content {
        flex-direction: row;
    }
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   Dynamic Word Wrapper (hero cycling word)
   ============================================================ */
.dynamic-word-wrapper {
    display: inline-block;
    vertical-align: bottom;
}

#dynamic-word {
    display: inline-block;
    animation-fill-mode: both;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#dynamic-word.word-exit {
    opacity: 0;
    transform: scale(0.95);
}

#dynamic-word.word-enter {
    animation: wordFadeIn 0.4s forwards;
}

@keyframes wordFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   Mission Section — Scroll-Driven Tentacle Diagram
   ============================================================ */
.mission-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* On mobile, give breathing room so lateral bubbles don't clip */
    max-width: 360px;
    margin: 2rem auto 0;
    /* must be visible so bubbles can overflow */
    overflow: visible;
}

/* Ensure parent sections don't clip overflow on mobile */
@media (max-width: 899px) {
    .mission-visual {
        max-width: 300px;
    }
}

@media (min-width: 900px) {
    .mission-visual {
        margin-top: 0;
        max-width: 460px;
    }
}

/* SVG sits full-size behind everything */
.mission-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

/* All tentacle lines start invisible (drawn via dashoffset in JS) */
.tentacle-line {
    stroke: var(--color-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    fill: none;
    opacity: 0.6;
    filter: drop-shadow(0 0 2px rgba(3, 145, 159, 0.3));
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tentacle-line.drawn {
    stroke-dashoffset: 0;
    opacity: 0.8;
}

/* Light flux pulse following the path */
.tentacle-pulse {
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    fill: none;
    opacity: 0;
    stroke-dasharray: 20, 1000;
    stroke-dashoffset: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Active flux pulse logic */

.tentacle-pulse.active {
    opacity: 1;
    animation: fluxPulse 2s linear infinite;
}

@keyframes fluxPulse {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -1000;
    }
}

/* Contact Methods Row */
.contact-methods-row {
    margin-bottom: 1rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-text-main);
    transition: 0.3s;
}

.contact-method-item:hover .btn-social {
    background: var(--color-primary);
    color: white;
}

.contact-method-text {
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .contact-methods-row {
        justify-content: center;
        display: flex;
    }
}

/* Central logo circle */
.main-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    /* Mobile: smaller to leave room for lateral bubbles */
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-circle.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    /* No pulsate — static presence */
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
}

@keyframes pulsate {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.06);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (min-width: 900px) {
    .main-circle {
        width: 170px;
        height: 170px;
        padding: 2rem;
    }
}

/* Floating value bubbles — positioned by percentage, matching SVG endpoints */
.float-card.bubble-node {
    position: absolute;
    background: white;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    /* Richer shadow for depth */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1.5px solid currentColor;
    z-index: 5;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    transform-origin: center center;
}

.float-card.bubble-node.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    /* No movement — static after reveal */
}


/* Bubble colors */
.bubble-etica {
    color: #03919f;
}

.bubble-transp {
    color: #60a5fa;
}

.bubble-excel {
    color: #f59e0b;
}

.bubble-susten {
    color: #10b981;
}

.bubble-compet {
    color: #8b5cf6;
}

.bubble-humanismo {
    color: #ef4444;
}

/* Positions — anchored so bubble CENTER matches SVG endpoint */
/* SVG viewBox 400x400; endpoints at percentage of container */
/* top:    x2=200,y2=36  → 50% / 9% */
/* top: x2=200,y2=70 (50%/17.5%) */
.bubble-etica {
    top: 17.5%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* top-right: pulled slightly inward so bubble doesn't clip on mobile */
.bubble-transp {
    top: 30%;
    left: 73%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* bottom-right */
.bubble-excel {
    top: 68%;
    left: 73%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* bottom */
.bubble-susten {
    top: 84%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* bottom-left */
.bubble-compet {
    top: 68%;
    left: 27%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* top-left: x2=85,y2=135 (21.25%/33.75%) */
/* top-left: pulled slightly inward */
.bubble-humanismo {
    top: 30%;
    left: 27%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* top-left */

/* visible state — same anchor + scale(1) */
.bubble-node.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}



/* ── Desktop: restore original SVG-aligned positions ───────────────────────
   SVG viewBox 400×400; paths end at the coords above.
   On desktop the container is 460px wide — same percentages apply.       */
@media (min-width: 900px) {
    .bubble-etica {
        top: 17.5%;
        left: 50%;
    }

    .bubble-transp {
        top: 33.75%;
        left: 78.75%;
    }

    .bubble-excel {
        top: 66.25%;
        left: 78.75%;
    }

    .bubble-susten {
        top: 82.5%;
        left: 50%;
    }

    .bubble-compet {
        top: 66.25%;
        left: 21.25%;
    }

    .bubble-humanismo {
        top: 33.75%;
        left: 21.25%;
    }
}

/* Mobile safety: ensure no horizontal bleed */
@media (max-width: 500px) {
    .float-card.bubble-node {
        font-size: 0.74rem;
        padding: 0.4rem 0.9rem;
    }

    .mission-visual {
        max-width: 340px;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Global Card Drop Shadows */
.card,
.team-member,
.blog-card,
.pricing-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Speed variations for grid items to create staggered effect */
.grid-cards .card:nth-child(2) {
    transition-delay: 0.15s;
}

.grid-cards .card:nth-child(3) {
    transition-delay: 0.3s;
}

.team-grid .team-member:nth-child(2) {
    transition-delay: 0.1s;
}

.team-grid .team-member:nth-child(3) {
    transition-delay: 0.2s;
}

.team-grid .team-member:nth-child(4) {
    transition-delay: 0.3s;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sueste Agency Brand Link */
.sueste-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.sueste-link:hover {
    color: var(--color-primary);
}

.sueste-link svg {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sueste-link:hover svg {
    opacity: 1;
}

/* Wave animation — animates the SVG path d attribute for a real wave morph */
.sueste-link .wave-brand svg {
    overflow: visible;
}

.sueste-link .wave-brand path {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.2;
    stroke-linecap: round;
    animation: wave-morph 2s ease-in-out infinite;
    transform-origin: 50% 50%;
}

@keyframes wave-morph {

    0%,
    100% {
        d: path("M0 5 Q 7.5 0, 15 5 T 30 5 T 45 5 T 60 5");
    }

    50% {
        d: path("M0 5 Q 7.5 10, 15 5 T 30 5 T 45 5 T 60 5");
    }
}

/* =============================================
   TEAM PAGE STYLES — Circular Avatar Cards
   ============================================= */

.team-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
    /* override section centering */
}

@media (min-width: 640px) {
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .team-grid-full {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.team-card-detailed {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.75rem 2rem;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

/* Decorative top accent bar */
.team-card-detailed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.team-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(3, 145, 159, 0.16);
}

/* Circular avatar container */
.team-card-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 16px rgba(3, 145, 159, 0.25);
    flex-shrink: 0;
    margin-bottom: 1.25rem;
    background: var(--color-primary-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card-detailed:hover .team-card-image {
    border-color: var(--color-secondary);
    box-shadow: 0 6px 20px rgba(240, 190, 68, 0.35);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.team-card-detailed:hover .team-card-image img {
    transform: scale(1.07);
}

.team-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.team-card-info h2 {
    font-size: 1.25rem;
    color: var(--color-text-main);
    margin: 0 0 0.2rem 0;
    font-family: var(--font-serif);
}

.team-card-info .linkedin-icon {
    margin-bottom: 0.6rem;
    transition: opacity 0.2s, transform 0.2s;
}

.team-card-info .linkedin-icon:hover {
    opacity: 0.75;
    transform: scale(1.15);
}

.team-card-info .role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
    line-height: 1.4;
}

/* Separator line before bio */
.team-card-info .role::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.bio-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    text-align: left;
    width: 100%;
}

.bio-list li {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.bio-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
}

/* =============================================
   BLOG AUTHOR BOX ENHANCEMENTS
   ============================================= */

.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}