/* ===========================================
   LEMUSICA — STYLESHEET
   Paleta: Vermelho Castanho / Terra / Areia
   =========================================== */

:root {
    --primary:      #8A3026;   /* Vermelho Castanho */
    --primary-dark: #6B2420;
    --secondary:    #4A2219;   /* Deep Earth Brown */
    --accent:       #C9662C;   /* Terracota / Ochre */
    --accent-light: #E08B5A;
    --gold:         #C9A84C;   /* Ouro suave */
    --bg-main:      #F7EFE8;   /* Areia quente */
    --bg-alt:       #EEDFD0;   /* Areia mais escura */
    --text-main:    #2A1A17;
    --text-muted:   #6B4F47;
    --text-light:   #FDF9F5;
    --white:        #FFFFFF;

    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body:    'Karla', system-ui, sans-serif;

    --shadow-sm:  0 4px 12px rgba(74,34,25,0.08);
    --shadow-md:  0 12px 30px rgba(74,34,25,0.12);
    --shadow-lg:  0 20px 50px rgba(74,34,25,0.18);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 20px;
    --radius-xl: 40px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-secondary {
    background: var(--accent);
    color: var(--text-light);
}
.btn-secondary:hover { background: var(--primary); transform: translateY(-2px); }

.btn-ghost {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}
.btn-ghost:hover { background: var(--secondary); color: var(--text-light); }

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: var(--text-light); color: var(--primary); }

.separator { height: 3px; width: 55px; background: var(--accent); margin: 1rem 0 1.8rem; }
.separator-center { height: 3px; width: 55px; background: var(--accent); margin: 1rem auto 1.8rem; }

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-tag.center { display: block; text-align: center; }
.section-tag.light { color: var(--accent-light); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--secondary); }
.section-desc { max-width: 520px; margin: -1rem auto 0; color: var(--text-muted); }

/* Fade-in animation */
.project-card, .team-card, .article-card, .gallery-item, .pillar {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.project-card.visible, .team-card.visible, .article-card.visible,
.gallery-item.visible, .pillar.visible { opacity: 1; transform: translateY(0); }

/* Stagger siblings */
.project-card:nth-child(2) { transition-delay: 0.1s; }
.project-card:nth-child(3) { transition-delay: 0.2s; }
.team-card:nth-child(2) { transition-delay: 0.1s; }
.team-card:nth-child(3) { transition-delay: 0.2s; }
.team-card:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(2) { transition-delay: 0.07s; }
.gallery-item:nth-child(3) { transition-delay: 0.14s; }
.gallery-item:nth-child(4) { transition-delay: 0.21s; }
.gallery-item:nth-child(5) { transition-delay: 0.28s; }
.gallery-item:nth-child(6) { transition-delay: 0.35s; }
.pillar:nth-child(2) { transition-delay: 0.12s; }
.pillar:nth-child(3) { transition-delay: 0.24s; }

/* === PATTERNS === */
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238a3026' fill-opacity='0.04'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pattern-bg-light {
    background-color: var(--bg-alt);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a2219' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg-main);
    padding: 1rem 0;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
    border-bottom-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.logo { height: 56px; width: auto; object-fit: contain; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 1.8rem; }
.nav-list a {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-list a:hover { color: var(--primary); }
.nav-list a:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === HERO === */
.hero {
    padding: 5rem 0 6rem;
    position: relative;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
}
.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.hero-text h1 em {
    font-style: italic;
    color: var(--primary);
}
.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; font-family: var(--font-heading); color: var(--primary); }
.stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--accent); opacity: 0.4; }

.hero-image-wrapper {
    position: relative;
}
.accent-shape {
    position: absolute;
    top: -24px; right: -24px;
    width: 88%; height: 88%;
    background: var(--accent);
    border-radius: 58% 42% 65% 35% / 45% 55% 45% 55%;
    z-index: 0;
    opacity: 0.35;
}
.hero-img {
    position: relative;
    z-index: 2;
    border-radius: 42% 58% 50% 50% / 48% 42% 58% 52%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.hero-badge {
    position: absolute;
    bottom: -12px;
    left: -20px;
    z-index: 3;
    background: var(--secondary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 700;
}
.badge-logo { height: 32px; width: auto; object-fit: contain; }

.tribal-chevron {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 14px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0px, var(--primary) 14px,
        var(--accent) 14px, var(--accent) 28px,
        var(--secondary) 28px, var(--secondary) 42px,
        transparent 42px, transparent 56px
    );
    opacity: 0.6;
}

/* === ABOUT / NOSSA HISTÓRIA === */
.about-section {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 600px;
}

/* Painel Escuro Esquerdo */
.about-dark-panel {
    background: var(--secondary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.about-dark-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    pointer-events: none;
}
.about-dark-inner {
    padding: 5rem 3.5rem;
    position: relative;
    z-index: 1;
}
.about-dark-inner h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--text-light);
    margin-bottom: 1.4rem;
    line-height: 1.15;
}
.about-dark-inner > p {
    font-size: 1rem;
    color: rgba(253,249,245,0.72);
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    position: relative;
    padding-bottom: 1.6rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 2.2rem;
    top: 1.6rem;
    bottom: 0;
    width: 1px;
    background: rgba(201,102,44,0.35);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    background: var(--secondary);
}
.timeline-content {
    padding-top: 0.9rem;
}
.timeline-content strong {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.timeline-content span {
    font-size: 0.88rem;
    color: rgba(253,249,245,0.6);
}

/* Painel Claro Direito */
.about-light-panel {
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3.5rem;
    gap: 2.5rem;
}
.about-photo-wrap {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.about-photo-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Pilares (com SVG) */
.pillars { display: flex; flex-direction: column; gap: 0.9rem; }
.pillar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-main);
    border-left: 3px solid var(--accent);
    padding: 0.85rem 1.2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
}
.pillar-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-icon svg {
    width: 100%;
    height: 100%;
}
.pillar strong { display: block; font-weight: 700; color: var(--secondary); font-size: 0.95rem; }
.pillar span { font-size: 0.85rem; color: var(--text-muted); }


/* === PROJECTS === */
.projects-section { padding: 6rem 0; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.project-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}
.project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card-image { position: relative; height: 220px; overflow: hidden; }
.card-image img { transition: transform 0.5s ease; }
.project-card:hover .card-image img { transform: scale(1.06); }
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74,34,25,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.card-overlay span {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}
.card-content { padding: 1.8rem; }
.card-content h3 { font-size: 1.4rem; color: var(--secondary); margin-bottom: 0.8rem; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.link-arrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, letter-spacing 0.3s;
}
.link-arrow:hover { color: var(--accent); letter-spacing: 2px; }

/* === GALLERY === */
.gallery-section { padding: 5rem 0 6rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 3px;
    margin-top: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(138,48,38,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(1px);
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover span {
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.78rem;
    border: 1.5px solid rgba(255,255,255,0.8);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-sm);
}


/* === TEAM === */
.team-section { padding: 6rem 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.team-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-social {
    position: absolute;
    inset: 0;
    background: rgba(74,34,25,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.team-social a:hover { background: var(--primary-dark); }
.team-info { padding: 1.4rem 1.2rem 1.8rem; }
.team-info h3 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 0.3rem; }
.team-role {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.team-info p { font-size: 0.9rem; color: var(--text-muted); }

/* === ARTICLES === */
.articles-section { padding: 6rem 0; }
.articles-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s ease;
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-image {
    position: relative;
    overflow: hidden;
}
.article-card.featured .article-image { height: 280px; }
.article-card:not(.featured) .article-image { height: 180px; }
.article-image img { transition: transform 0.5s; }
.article-card:hover .article-image img { transform: scale(1.06); }
.article-cat {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--primary);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
}
.article-content { padding: 1.5rem; }
.article-date {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
.article-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}
.article-card:not(.featured) .article-content h3 { font-size: 1.1rem; }
.article-content p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.article-card:not(.featured) .article-content p { display: none; }
.articles-footer { text-align: center; margin-top: 3rem; }

/* === CTA SECTION === */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}
.cta-image-bg {
    position: absolute;
    inset: 0;
}
.cta-image-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5); }
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74,34,25,0.9) 0%, rgba(138,48,38,0.85) 100%);
}
.cta-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}
.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-light);
    margin-bottom: 1.2rem;
}
.cta-content p {
    font-size: 1.15rem;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    opacity: 0.88;
}
.cta-buttons { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* === FOOTER === */
.footer {
    background: var(--secondary);
    color: var(--bg-main);
    padding: 4rem 0 0;
}
.footer-top-border {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0px, var(--primary) 20px,
        var(--accent) 20px, var(--accent) 40px
    );
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
    padding: 3rem 0;
}
.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}
.footer-about p { opacity: 0.75; line-height: 1.8; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: lowercase;
    transition: background 0.3s;
}
.social-btn:hover { background: var(--accent); }
.footer h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 1.4rem;
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { opacity: 0.75; transition: opacity 0.3s, color 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--accent-light); }
.footer-contact p { opacity: 0.75; margin-bottom: 0.6rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.82;
    transition: opacity 0.3s;
}
.contact-item:hover { opacity: 1; }
.contact-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--accent-light);
}
.contact-icon svg {
    width: 100%;
    height: 100%;
}
.contact-item a,
.contact-item address {
    font-size: 0.92rem;
    line-height: 1.6;
    font-style: normal;
    color: var(--bg-main);
    transition: color 0.3s;
}
.contact-item a:hover { color: var(--accent-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 1.5rem 2rem;
    opacity: 0.5;
    font-size: 0.82rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.wide { grid-column: span 1; }
    .gallery-item.tall { grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .article-card.featured { grid-column: span 2; }
    .article-card:not(.featured) .article-content p { display: block; }
    .about-section { grid-template-columns: 1fr; }
    .about-dark-inner { padding: 4rem 2.5rem; }
    .about-light-panel { padding: 3rem 2.5rem; }
}

@media (max-width: 768px) {
    .header-content { gap: 1rem; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-main);
        padding: 1.5rem 2rem;
        box-shadow: var(--shadow-md);
        border-top: 3px solid var(--primary);
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 1.2rem; }
    .hamburger { display: flex; }
    .header-content .btn { display: none; }

    .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-text p, .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrapper { max-width: 380px; margin: 0 auto; }

    .projects-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: 1fr 1fr; padding: 0 1rem; gap: 3px; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-card.featured { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-dark-inner { padding: 3rem 1.8rem; }
    .about-light-panel { padding: 2.5rem 1.8rem; }
    .about-photo-wrap { height: 220px; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; padding: 0 1rem; }
    .gallery-item.tall { grid-row: span 1; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-stats { flex-direction: column; align-items: center; gap: 0.8rem; }
    .stat-divider { width: 60px; height: 1px; }
    .timeline-item::before { left: 2.25rem; }
}
