/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn--primary {
    background-color: #2d5a3d;
    color: white;
}

.btn--primary:hover {
    background-color: #1e3d2a;
    transform: translateY(-1px);
}

.btn--secondary {
    background-color: transparent;
    color: #2d5a3d;
    border: 1px solid #2d5a3d;
}

.btn--secondary:hover {
    background-color: #2d5a3d;
    color: white;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: block;
}

.logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a3d;
    letter-spacing: -0.02em;
}

.logo__subtitle {
    font-size: 0.75rem;
    color: #7ba98c;
    text-transform: lowercase;
    margin-top: -0.25rem;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 400;
    color: #555;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: #2d5a3d;
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2d5a3d;
}

.nav__cta {
    background-color: #7ba98c;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.nav__cta:hover {
    background-color: #2d5a3d;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.flag {
    font-size: 1.2rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 2px;
    background-color: #2d5a3d;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.highlight {
    color: #2d5a3d;
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.hero__subdescription {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
}

.hero__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.associations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.association {
    position: absolute;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d5a3d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.association--1 { top: 15%; right: 10%; animation-delay: 0s; }
.association--2 { top: 30%; left: 5%; animation-delay: 0.5s; }
.association--3 { bottom: 40%; right: 15%; animation-delay: 1s; }
.association--4 { bottom: 25%; left: 10%; animation-delay: 1.5s; }
.association--5 { top: 60%; right: 5%; animation-delay: 2s; }
.association--6 { bottom: 10%; right: 30%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.section__title.center {
    text-align: center;
    margin-bottom: 3rem;
}

.about__text p {
    margin-bottom: 1.5rem;
}

.about__illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-illustration {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #7ba98c, #2d5a3d);
    border-radius: 50%;
    position: relative;
    opacity: 0.8;
}

.brain-paths {
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 2px, transparent 2px),
        radial-gradient(circle at 70% 50%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 40px 40px, 30px 30px, 50px 50px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card__icon {
    margin-bottom: 1.5rem;
}

.icon-journey, .icon-employee {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7ba98c, #2d5a3d);
    border-radius: 50%;
    position: relative;
}

.icon-journey::after {
    content: '🎯';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}

.icon-employee::after {
    content: '👥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card__description {
    color: #555;
    line-height: 1.7;
}

/* Emotion Model Section */
.emotion-model {
    padding: 6rem 0;
}

.emotion-model__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emotion-model__text p {
    margin-bottom: 1.5rem;
}

.emotion-model__diagram {
    display: flex;
    justify-content: center;
}

.eim-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #7ba98c, #2d5a3d, #7ba98c, #2d5a3d);
    padding: 20px;
}

.eim-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    color: #2d5a3d;
}

.eim-center span {
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 0.25rem;
}

.eim-quadrant {
    position: absolute;
    width: 80px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    color: #2d5a3d;
    font-weight: 500;
}

.eim-quadrant span {
    font-size: 0.6rem;
    font-weight: 400;
    margin-top: 0.25rem;
}

.eim-quadrant--keep { top: 10px; left: 50%; transform: translateX(-50%); }
.eim-quadrant--see { top: 50%; right: 10px; transform: translateY(-50%); }
.eim-quadrant--do { bottom: 10px; left: 50%; transform: translateX(-50%); }
.eim-quadrant--feel { top: 50%; left: 10px; transform: translateY(-50%); }

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial__quote {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-style: italic;
}

.testimonial__author {
    color: #666;
}

.testimonial__author strong {
    color: #2d5a3d;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-nav__btn {
    background: none;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
}

.testimonial-nav__btn:hover {
    background-color: #2d5a3d;
    color: white;
    border-color: #2d5a3d;
}

.testimonial-nav__counter {
    font-weight: 500;
    color: #666;
}

/* Case Studies */
.case-studies {
    padding: 6rem 0;
}

.case-studies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
}

.case-study__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study__content {
    padding: 1.5rem;
}

.case-study__category {
    color: #7ba98c;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study__title {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0;
}

/* News Section */
.news {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card__content {
    padding: 1.5rem;
}

.news-card__date {
    color: #7ba98c;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-card__title {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.news-card__excerpt {
    color: #666;
    margin-bottom: 1rem;
}

.news-card__link {
    color: #2d5a3d;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.news-card__link:hover {
    border-bottom-color: #2d5a3d;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
}

.faq-item__question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item__icon {
    font-size: 1.5rem;
    color: #7ba98c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2d5a3d 0%, #1e3d2a 100%);
    color: white;
    text-align: center;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__brand {
    max-width: 400px;
}

.footer__description {
    color: #bdc3c7;
    margin-top: 1rem;
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #7ba98c;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    color: #bdc3c7;
    font-size: 0.875rem;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal .footer__link {
    font-size: 0.875rem;
}

/* Article Pages Styles */
.article-hero {
    margin-top: 80px;
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #666;
}

.breadcrumb__link {
    color: #2d5a3d;
    text-decoration: none;
}

.breadcrumb__link:hover {
    text-decoration: underline;
}

.breadcrumb__separator {
    margin: 0 0.5rem;
}

.breadcrumb__current {
    color: #666;
}

.article-hero__title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.article-hero__subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
}

/* Featured Article */
.featured-article {
    padding: 4rem 0;
}

.featured-article__container {
    display: grid;
    /*grid-template-columns: 2fr 1fr;*/
    gap: 4rem;
}

.featured-article__label {
    display: inline-block;
    background-color: #7ba98c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.featured-article__title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-article__excerpt {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.featured-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.meta-item {
    font-size: 0.875rem;
    color: #666;
}

.featured-article__content-body h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.featured-article__content-body p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #2d5a3d;
    background-color: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid #7ba98c;
    margin: 2rem 0;
}

.article-list {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.article-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-cta {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.article-cta h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.article-cta p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 1rem;
}

.sidebar-link {
    display: block;
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.sidebar-link:hover {
    color: #2d5a3d;
}

.sidebar-title {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.sidebar-meta {
    font-size: 0.875rem;
    color: #666;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Articles Grid */
.articles-grid {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-tab.active,
.filter-tab:hover {
    background-color: #2d5a3d;
    color: white;
    border-color: #2d5a3d;
}

.articles-grid__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card__content {
    padding: 1.5rem;
}

.article-card__category {
    color: #7ba98c;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.article-card__date {
    color: #999;
    font-size: 0.875rem;
    float: right;
}

.article-card__title {
    margin: 1rem 0;
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.3;
}

.article-card__excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #999;
}

/* Whitepapers */
.whitepapers {
    padding: 6rem 0;
}

.section__subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.whitepapers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.whitepaper-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.whitepaper-card:hover {
    transform: translateY(-5px);
}

.whitepaper-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.whitepaper-card__icon {
    font-size: 2rem;
}

.whitepaper-card__type {
    background-color: #7ba98c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.whitepaper-card__title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.whitepaper-card__description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.whitepaper-card__specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.whitepaper-card__specs span {
    background-color: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #666;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2d5a3d 0%, #1e3d2a 100%);
    color: white;
    text-align: center;
}

.newsletter-cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-cta__description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.newsletter-cta__form {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-input {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-cta__privacy {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero__container,
    .about__container,
    .emotion-model__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .featured-article__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .article-hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .article-hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .cta__title,
    .newsletter-cta__title {
        font-size: 2rem;
    }
    
    .featured-article__title {
        font-size: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .news__header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .testimonial-nav {
        gap: 1rem;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .article-hero__title {
        font-size: 1.75rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .services__grid,
    .news__grid,
    .articles-grid__content,
    .whitepapers__grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies__grid {
        grid-template-columns: 1fr;
    }
    
    .associations {
        display: none;
    }
    
    .eim-circle {
        width: 250px;
        height: 250px;
    }
    
    .eim-center {
        width: 100px;
        height: 100px;
    }
    
    .eim-quadrant {
        width: 70px;
        height: 50px;
        font-size: 0.7rem;
    }
    
    .eim-quadrant span {
        font-size: 0.55rem;
    }
}

/* Performance optimizations */
.hero__img,
.news-card__image,
.case-study__image,
.article-card__image {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .association {
        animation: none;
    }
    
    .brain-paths {
        animation: none;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav__link:focus,
.faq-item__question:focus {
    /*outline: 2px solid #2d5a3d;*/
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: white;
    }
    
    .services,
    .news,
    .articles-grid {
        background: white;
    }
    
    .service-card,
    .news-card,
    .article-card,
    .case-study,
    .whitepaper-card {
        border: 2px solid #2d5a3d;
    }
}

/* === Contrast fixes (AA) === */
:root{
    --green-500:#7ba98c; /* current */
    --green-600:#5c7e69; /* text on white */
    --green-700:#2d5a3d; /* CTA bg */
    --ink-800:#213229;   /* text on #7ba98c */
}

/* Nav CTA */
.nav__cta{
    background-color:var(--green-700);
    color:#fff !important;
    border:0;
    transition:background-color .2s ease, box-shadow .2s ease;
}
.nav__cta:hover{ background-color:#234a32; } /* safe hover */
.nav__cta:focus-visible{
    outline:2px solid #111; outline-offset:2px;
    box-shadow:0 0 0 3px rgba(35,74,50,.25);
}

/* Category chips on #7ba98c */
.case-study__category,
.tag,
.badge--category{
    background-color:var(--green-500);
    color:var(--ink-800); /* was white */
    border:1px solid rgba(33,50,41,.12);
}

/* Dates/labels on white */
.news-card__date,
.article-card__date,
.meta--accent{
    color:var(--green-600);
}

/* Generic accent text (on white) */
.text--accent{ color:var(--green-600); }

/* CTA text pop */
.cta { position: relative; }

/* soft center darkening behind text */
.cta::before{
    content:"";
    position:absolute; inset:0;
    background: radial-gradient(60% 55% at 50% 50%, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 70%);
    pointer-events:none;
}

/* stronger headline */
.cta__title{
    color:#fff; /* ensure pure white */
    text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 6px 24px rgba(0,0,0,.25);
}

/* readable subline */
.cta__description{
    color: rgba(255,255,255,.96);
    opacity:1; /* override old 0.9 */
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}


/* kill legacy slider rules */
.sponsors .sponsor{ position:static !important; opacity:1 !important; transform:none !important; }
.sponsors .sponsor img{ opacity:1 !important; }

/* section */
.sponsors{ padding:72px 0; }
.sponsors .section-title{ text-align:center; margin:0 0 40px; }

/* multi-item slider */
.sponsors-slider{ position:relative; max-width:1200px; margin:0 auto; overflow:hidden; }
.sponsors-track{ display:flex; list-style:none; margin:0; padding:0; will-change:transform; transition:transform .5s ease; }

/* show 3 on <1024px, 4 on >=1024px */
.sponsors .sponsor{ flex:0 0 calc(100%/3); display:flex; align-items:center; justify-content:center; padding:16px 24px; }
@media (min-width:1024px){ .sponsors .sponsor{ flex-basis:calc(100%/4); } }

/* clickable logo */
.sponsor-link--img{ display:inline-block; line-height:0; }
.sponsor-link--img img{
    display:block; max-width:260px; width:100%; height:auto;
    filter:grayscale(100%); opacity:.95; transition:transform .2s ease, filter .2s ease, opacity .2s ease;
}
.sponsor-link--img:hover img,
.sponsor-link--img:focus-visible img{ transform:translateY(-1px); filter:none; opacity:1; }
.sponsor-link--img:focus-visible{ outline:2px solid #111; outline-offset:4px; }

/* force images visible (legacy hotfix) */
img[style*="opacity: 0"], img { opacity: 1 !important; }


/* hero layout */
.article-hero{ padding: clamp(40px,6vw,96px) 0; overflow:hidden; }
.article-hero__container{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,560px); /* text | media */
    align-items:center;
    gap:clamp(24px,4vw,56px);
}

/* media block */
.article-hero__media{ justify-self:end; width:100%; max-width:560px; }
.article-hero__media picture,
.article-hero__media img{
    display:block; width:100%; height:auto;
    border-radius:20px;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    overflow:hidden;
}

/* optional crop to keep ratio (prevents layout jump) */
@supports (aspect-ratio: 16/9){
    .article-hero__media img{
        aspect-ratio:16/9; object-fit:cover; object-position:center;
    }
}

/* tidy text width */
.article-hero__title{ max-width:20ch; }
.article-hero__subtitle{ max-width:60ch; }

/* responsive: stack on mobile */
@media (max-width: 1024px){
    .article-hero__container{
        grid-template-columns:1fr;
    }
    .article-hero__media{
        justify-self:center;
        max-width:min(640px,100%);
        order:2; /* image under text */
    }
}
/* Hero image: panoramic on desktop (~3:1), mobile stays 16:9 */
@media (min-width:1024px){
    .article-hero__container{
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
      "title subtitle"
      "media media";
        gap: 32px 56px;
    }
    .article-hero__title{ grid-area:title; margin:0; }
    .article-hero__subtitle{ grid-area:subtitle; margin:0; align-self:center; }

    .article-hero__media{
        grid-area:media;
        justify-self:stretch;
        max-width:none;
        height: clamp(220px, 28vw, 360px); /* target height ≈ 3:1 */
        overflow:hidden;
        border-radius:20px;
        box-shadow:0 10px 40px rgba(0,0,0,.08);
    }
    .article-hero__media picture,
    .article-hero__media img{
        width:100%; height:100%; display:block;
    }
    .article-hero__media img{ object-fit:cover; object-position:center; } /* crop top/bottom */
}

/* Mobile/tablet: keep classic 16:9 below text */
@media (max-width:1023px){
    .article-hero__media{ max-width:min(640px,100%); }
    .article-hero__media img{ aspect-ratio:16/9; height:auto; }
}


/* cases index */
.cases-index{ padding: clamp(40px,6vw,80px) 0; }
.cases-index__intro{ max-width: 68ch; margin: 0 0 24px; color: #445; }

/* responsive grid */
.cases-grid{
    list-style:none; margin:0; padding:0;
    display:grid; gap:32px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* card */
.case-card{ display:block; }
.case-card__link{ display:block; text-decoration:none; color:inherit; }
.case-card__media{
    position:relative; border-radius:16px; overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    background:#f3f3f3;
}
.case-card__media picture, .case-card__media img{ display:block; width:100%; height:auto; }
@supports (aspect-ratio: 16/9){
    .case-card__media img{ aspect-ratio:16/9; object-fit:cover; object-position:center; }
}

.case-card__title{
    margin:14px 0 6px; font-size:clamp(18px,2.2vw,22px); line-height:1.25;
}
.case-card__excerpt{
    margin:0; color:#556; font-size:15px;
}

/* hover */
.case-card__link:hover .case-card__media img{ transform:scale(1.02); }
.case-card__media img{ transition:transform .25s ease; }

/* spacing tweak for three-in-row look on large screens */
@media (min-width: 1200px){
    .cases-grid{ gap:40px; }
}
/* blog index */
.blog-index{ padding: clamp(40px,6vw,80px) 0; }

/* grid: 1–2–4 columns */
.blog-grid{
    list-style:none; margin:0; padding:0;
    display:grid; gap:32px;
    grid-template-columns: 1fr;
}
@media (min-width:700px){ .blog-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1200px){ .blog-grid{ grid-template-columns: repeat(4, 1fr); gap:40px; } }

.post-card__link{ display:block; color:inherit; text-decoration:none; }

/* media */
.post-card__media{
    position:relative; border-radius:16px; overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06); background:#f3f3f3;
}
.post-card__media picture, .post-card__media img{ display:block; width:100%; height:auto; }
@supports (aspect-ratio: 4/3){
    .post-card__media img{ aspect-ratio:4/3; object-fit:cover; object-position:center; }
}

/* badge */
.post-badge{
    position:absolute; top:12px; left:12px;
    background:#ffffff; color:#213229; border-radius:999px;
    padding:6px 10px; font-weight:700; font-size:13px;
    box-shadow:0 6px 18px rgba(0,0,0,.12);
}

/* body */
.post-card__body{ padding:14px 2px 0; }
.post-card__date{ display:block; color:#667085; font-size:14px; margin-bottom:8px; }
.post-card__title{ margin:0 0 8px; font-size:clamp(18px,2.2vw,22px); line-height:1.25; font-weight:800; }
.post-card__excerpt{ margin:0; color:#4b5563; font-size:15px; }

/* hover */
.post-card__link:hover .post-card__media img{ transform:scale(1.02); }
.post-card__media img{ transition:transform .25s ease; }


/* contact layout */
.contact{ padding: clamp(40px,6vw,80px) 0; }
.contact__container{
    display:grid; gap:32px;
    grid-template-columns: 1fr;
}
@media (min-width: 980px){
    .contact__container{ grid-template-columns: 1fr 1.2fr; gap:56px; }
}

.contact__title{ margin:0 0 8px; }
.contact__lead{ margin:0 0 16px; color:#4b5563; }
.contact-list{ list-style:none; margin:0 0 16px; padding:0; }
.contact-list li{ margin:0 0 12px; }
.contact-cta{ margin:16px 0; }
.contact-maplink a{ text-decoration:underline; text-underline-offset:3px; }

/* form */
.form{ display:block; }
.form-row{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:700px){ .form-row{ grid-template-columns:1fr 1fr; } }

.form-field{ display:flex; flex-direction:column; gap:6px; }
.form-field label{ font-weight:600; }
.form-field input,
.form-field select,
.form-field textarea{
    border:1px solid #d1d5db; border-radius:12px;
    padding:12px 14px; font-size:16px; background:#fff;
    transition:border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    outline:none; border-color: var(--green-600, #5c7e69);
    box-shadow: 0 0 0 3px rgba(92,126,105,.15);
}

.form-consent{ margin:10px 0 18px; }
.checkbox{ display:flex; gap:10px; align-items:flex-start; }
.checkbox input{ margin-top:4px; }

.btn{ display:inline-block; padding:12px 18px; border-radius:12px; border:0; cursor:pointer; }
.btn-primary{ background: var(--green-700, #2d5a3d); color:#fff; }
.btn-primary:hover{ background:#234a32; }

.hp{ position:absolute; left:-5000px; }

/* map */
.contact-map{ padding: 0 0 clamp(40px,6vw,80px); }
.map-embed{
    position:relative; width:100%; border-radius:16px; overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06); background:#eef2f1;
}
.map-embed iframe{
    display:block; width:100%; height: min(60vh, 480px); border:0;
}
