/* === ROOT VARIABLES - ALL COLORS CENTRALIZED === */
:root {
    /* === Main Color Palette === */
    --color-bg: #F4F7FC;
    --color-bg-secondary: #FFFFFF;
    --color-bg-subtle: #E9EDF5;
    --color-bg-dark-section: #ffffff;
    --color-pre-footer-bg: #dde4f0;
    
    --color-text: #183244;
    --color-text-secondary: #7F8C8D;
    --color-text-on-dark: #2C3E50;
    --color-heading: #2C3E50;
    
    --color-primary: #0b3f5f;
    --color-primary-dark: #b44336;
    
    --color-accent: #5936A9;
    --color-accent-hover: #85C1E9;
    --color-tertiary: #0D3652;
    
    --color-border: #BDC3C7;
    --color-border-focus: var(--color-primary);
    
    --color-text-on-primary: #FFFFFF;
    --color-text-on-accent: #2C3E50;

    /* === Shadows === */
    --shadow-focus-ring: rgba(52, 152, 219, 0.3);
    --shadow-xs: 0 1px 2px rgba(44, 62, 80, 0.06);
    --shadow-sm: 0 1px 3px rgba(44, 62, 80, 0.09), 0 1px 2px rgba(44, 62, 80, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(44, 62, 80, 0.1), 0 2px 4px -1px rgba(44, 62, 80, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(44, 62, 80, 0.1), 0 4px 6px -2px rgba(44, 62, 80, 0.05);
    
    /* === Transitions === */
    --transition-duration: 0.25s;
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* === Typography === */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --line-height-base: 1.7;
    --letter-spacing-heading: -0.02em;
    
    /* === Layout === */
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --header-height: 72px;

    /* === Social Media Colors === */
    --social-bg-default: rgba(0, 0, 0, 0.08);
    --social-bg-hover: linear-gradient(145deg, #972350, var(--color-accent));
    --social-text-hover: #ffffff;
    --social-accent-color: #972350;
}

/* === BASE STYLES AND RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: var(--line-height-base);
    font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1.1rem); 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    display: block;
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1240px;
    margin-inline: auto;
    width: 100%;
    padding-inline: clamp(1rem, 5vw, 1.5rem); 
}

a {
    color: var(--color-primary); 
    text-decoration: none;
    transition: color var(--transition-duration) var(--transition-timing);
}
a:hover {
    color: var(--color-primary-dark); 
}

ul {
    list-style: none;
}

/* === SECTION 1 - GRADIENT BACKGROUND === */
#section1 {
    position: relative;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}


#section1 h1,
#section1 h2,
#section1 p {
    color: var(--color-text-on-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

#section1 .container {
    position: relative;
    z-index: 10;
    padding-top: var(--header-height);
}

/* === HEADER STYLES === */
.header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease; 
}
.header.scrolled,
.header.nav-open {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    height: var(--header-height);
    position: relative;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    z-index: 1002; 
}
.header__logo-img {
    max-width: 100%;
    height: auto;
    max-height: 56px;
    vertical-align: middle;
}

/* === HAMBURGER MENU BUTTON === */
.header__menu-toggle {
    display: none; 
    background: none;
    border: none;
    color: var(--color-heading);
    font-size: 1.6rem; 
    cursor: pointer;
    padding: 10px; 
    z-index: 1001; 
    line-height: 1; 
}
.header__menu-toggle:hover {
    color: var(--color-primary);
}

/* === MAIN NAVIGATION === */
.header__nav-list {

    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem); 
    justify-content: center;
    align-items: center;
}

.header__nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text); 
    position: relative;
    padding: 8px 4px; 
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}
.header__nav-link::after { 
    content: '';
    position: absolute;
    bottom: -2px; 
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent); 
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.header__nav-link:hover::after,
.header__nav-link.active::after {
    transform: scaleX(1);
}
.header__nav-link:hover,
.header__nav-link.active {
    color: #5c1847;
}

/* === BUTTON STYLES WITH LIGHT EFFECTS === */
.contact-btn, .btn {
    background-color: var(--color-text);
    color: #efeef0;
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-align: center;
    opacity: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-btn::before, .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.contact-btn:hover::before, .btn:hover::before,
.contact-btn:focus::before, .btn:focus::before {
    left: 100%;
}

.contact-btn:hover, .btn:hover,
.contact-btn:focus, .btn:focus {
    color: #efeef0;
    background-color: #010538;
    border-color: #5c1847;
    opacity: 1;
    outline: none;
}

.contact-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover i,
.contact-btn:focus i {
    transform: scale(1.1);
}

.header__actions { 
    display: flex; 
    align-items: center; 
    gap: 15px;
}

/* === HEADER DROPDOWNS === */
.header__nav-item {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.dropdown-toggle i { 
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--color-text-secondary); 
}
.header__nav-item:hover > .dropdown-toggle > i,
.header__nav-item.dropdown-open > .dropdown-toggle > i {
   transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0; 
    transform: translateY(10px);
    background-color: var(--color-bg-secondary); 
    backdrop-filter: blur(5px); 
    width: max-content;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border); 
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    padding: 8px 0; 
    z-index: 1000; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.dropdown-menu::before { 
    content: '';
    position: absolute;
    top: -6px; 
    left: 20px;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--color-bg-secondary);
    border-left: 1px solid var(--color-border); 
    border-top: 1px solid var(--color-border); 	
    border-radius: 1px 0 0 0; 
    display: block; 
}

.header__nav-item:hover > .dropdown-menu,
.header__nav-item.dropdown-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-item {
    display: inline-block;
    width: auto; 
    padding: 10px 20px; 
    color: var(--color-text); 
    font-size: 0.9rem;
    transition: all 0.3s ease; 
    text-align: left; 
    position: relative;
    background-color: transparent; 
    white-space: nowrap; 
}

.dropdown-item::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    width: calc(100% - 40px);
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown-item:hover {
    color: #5c1847;
    transform: translateY(-2px);
}

.dropdown-item:hover::after {
    transform: scaleX(1);
}

/* === DESKTOP STYLES (min-width: 992px) === */
@media (min-width: 992px) {
    .header__container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        width: 100%;
    }
    .header__logo { grid-column: 1 / 2; justify-self: start; }
    .header__nav { grid-column: 2 / 3; display: flex; justify-content: center; }
    .header__nav-list { flex-direction: row; gap: 30px; flex-wrap: nowrap; }
    .header__actions { grid-column: 3 / 4; justify-self: end; display: flex; }
    .header__menu-toggle { display: none !important; }
    .header__mobile-contact { display: none !important; }
    .mobile-contact-btn { display: none !important; }
}

@media (min-width: 1024px) {
    .header__nav-list { gap: 35px; }
}

/* === LOGO RESPONSIVE SIZING === */
@media (max-width: 480px) {
    .header__logo-img {
        height: 45px;
    }
    :root {
        --header-height: 60px;
    }
}

@media (max-width: 360px) {
    .header__logo-img {
        height: 40px;
    }
    .header__logo {
        max-width: 150px;
    }
    :root {
        --header-height: 56px;
    }
}

/* === MOBILE STYLES (max-width: 991.98px) === */
@media (max-width: 991.98px) {
    .header__menu-toggle { 
        display: block; 
    }
    
/* CÓDIGO CORRIGIDO */
.header__nav {
    position: fixed;
    top: calc(var(--header-height) + 10px); /* CORREÇÃO: Espaçamento pelo top */
    right: 10px; /* CORREÇÃO: Espaçamento pelo right */
    width: min(90vw, 300px); 
    height: auto;
    background-color: var(--color-bg-secondary);
    transform: translateX(calc(100% + 10px)); 
    transition: transform 0.4s var(--transition-timing);
    overflow-y: visible;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 999;
    box-shadow: -5px 5px 15px rgba(44, 62, 80, 0.1);
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-lg); 
}
    
    .header.nav-open .header__nav { 
        transform: translateX(0%); 
    }
    
    .header__nav-list { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 0; 
        width: 100%; 
        padding: 0 20px;
    }
    
    .header__nav-item { 
        width: 100%; 
    }
    
    .header__nav-link { 
        display: block; 
        padding: 15px 10px; 
        font-size: 1rem; 
        border-bottom: 1px solid var(--color-bg-subtle); 
        width: 100%; 
    }
    
    .header__nav-link::after { 
        display: none; 
    }
    
    .header__actions { 
        display: none;
    }

    .header__mobile-contact {
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        border-top: 1px solid var(--color-bg-subtle);
    }
    
    .mobile-contact-btn {
        width: auto;
        min-width: 140px;
        text-align: center;
        display: block;
    }

    .dropdown-toggle { 
        display: flex; 
        justify-content: space-between; 
        width: 100%; 
        align-items: center;
        position: relative;
    }
    
    .header__nav-item.dropdown-open > .dropdown-toggle {
        background-color: var(--color-bg-subtle);
        color: var(--color-primary);
    }
    
    .header__nav-item.dropdown-open > .dropdown-toggle i {
        color: var(--color-primary);
    }
    
    .dropdown-menu {
        position: static; 
        transform: none !important; 
        opacity: 1 !important; 
        visibility: visible !important;
        width: 100%; 
        box-shadow: none; 
        border: none; 
        border-top: 1px solid var(--color-bg-subtle); 
        padding: 0;
        background-color: var(--color-bg); 
        display: none;
        margin-left: 0; 
        padding-left: 20px;
    }
    
    .header__nav-item.dropdown-open > .dropdown-menu { 
        display: block; 
    }
    
    .dropdown-menu::before { 
        display: none; 
    }
    
    .dropdown-item { 
        display: inline-block;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(189, 195, 199, 0.3);
        font-size: 0.95rem; 
        transform: none !important; 
        background-color: transparent !important;
        margin-left: 10px;
        width: calc(100% - 10px);
        position: relative;
    }
    
    .dropdown-item::after { 
        display: none;
    }
    
    .dropdown-item:last-child { 
        border-bottom: none; 
    }
    
    .dropdown-item:hover,
    .dropdown-item:active,
    .dropdown-item:focus { 
        background-color: rgba(89, 54, 169, 0.05);
        color: #5c1847;
        padding-left: 20px;
        transition: all 0.2s ease;
    }
    
    .dropdown-item:hover {
        text-decoration: underline;
        text-decoration-color: var(--color-accent);
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;
    }
}

/* === PLACEHOLDER SECTION STYLES === */
.placeholder-section { 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 60px 20px; 
    box-sizing: border-box; 
    position: relative; 
}
.placeholder-section:last-of-type { 
    border-bottom: none; 
}

.placeholder-section h1,
.placeholder-section h2 { 
    color: var(--color-heading); 
    margin-bottom: 1rem; 
    font-size: clamp(1.8rem, 5vw + 1rem, 2.5rem);  
    max-width: 100%; 
}

.placeholder-section p { 
    color: var(--color-text-secondary); 
    font-size: 1.1rem; 
    max-width: 600px; 
    margin: 0 auto; 
}

.placeholder-section h1,
.placeholder-section h2,
.placeholder-section p {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* === SECTION SCROLL ARROW === */
.section-scroll-arrow { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; background-color: var(--social-bg-default); color: var(--color-text-on-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 10; text-decoration: none; }
.section-scroll-arrow:hover { color: var(--social-text-hover); transform: translateX(-50%) translateY(-5px) scale(1.1); background: var(--social-bg-hover); }
.section-scroll-arrow i { line-height: 1; }
    
/* === BACK TO TOP BUTTON === */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: var(--social-bg-default); color: var(--color-text-on-dark); font-size: 1.2rem; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; opacity: 0; visibility: hidden; z-index: 999; text-decoration: none; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { color: var(--social-text-hover); transform: translateY(-5px) scale(1.1); background: var(--social-bg-hover); }

/* === PRE-FOOTER STYLES === */
.pre-footer { background-color: var(--color-pre-footer-bg); padding: 50px 0; border-top: 1px solid var(--color-border); }
.pre-footer__container { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.pre-footer__connect, .pre-footer__newsletter { text-align: center; width: 100%; max-width: 500px; }

.pre-footer h3 { 
    color: var(--color-heading); 
    margin-bottom: 20px; 
    font-size: clamp(1.2rem, 4vw + 0.5rem, 1.5rem); 
}

.pre-footer p { 
    color: var(--color-text); 
    font-size: clamp(0.9rem, 2vw + 0.5rem, 1rem); 
    margin-bottom: 20px; 
    line-height: 1.6; 
}

.pre-footer h3,
.pre-footer p {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* === SOCIAL MEDIA ICONS === */
.footer__social, .social-media-container { display: flex; justify-content: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.social-link {
    color: var(--color-text-on-dark);
    background-color: var(--social-bg-default);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-link:hover {
    color: var(--social-text-hover);
    transform: translateY(-5px) scale(1.1);
    background: var(--social-bg-hover);
}

@media (max-width: 480px) { .social-link { width: 32px; height: 32px; font-size: 0.9rem; } .footer__social, .social-media-container { gap: 10px; } }
@media (min-width: 1024px) { .social-link { width: 38px; height: 38px; font-size: 1.1rem; } .footer__social, .social-media-container { gap: 16px; } }

/* === NEWSLETTER FORM === */
.newsletter-form { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.newsletter-form input[type="email"] { padding: 14px 18px; border: 1px solid var(--color-border); border-radius: var(--border-radius-md); font-family: var(--font-primary); font-size: 1rem; width: 100%; }
.newsletter-form .btn { padding: 14px 22px; font-size: 1rem; }
@media (min-width: 768px) 

{ 
    
    .pre-footer__container 
    
    { 
        
        flex-direction: row; justify-content: space-around; align-items: center; gap: 30px; 
    
    } .pre-footer__connect, .pre-footer__newsletter { width: 48%; text-align: center; display: flex; flex-direction: column; align-items: center; min-height: auto; } .newsletter-form { flex-direction: row; max-width: 100%; } .newsletter-form input[type="email"] { flex-grow: 1; margin-right: 10px; } .newsletter-form .btn { flex-shrink: 0; } }
@media (min-width: 992px) { /* style.css: CORRECTED CODE */

.pre-footer__connect, .pre-footer__newsletter {
    width: 48%;
    text-align: center;
    /* FIX: Add these properties to center the content inside the column */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
} }

/* === FOOTER2 STYLES (SIMPLIFIED) === */
.footer2 {
    background-color: var(--color-bg-dark-section);
    color: var(--color-text-on-dark);
    padding-top: 48px;
    font-size: 0.95rem;
}

.footer2__container {
    display: grid;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 48px;
    grid-template-columns: 1fr;
}

.footer2__about p {
    margin-bottom: 12px;
    color: var(--color-text-on-dark);
    line-height: 1.6;
    font-size: clamp(0.85rem, 1vw + 0.6rem, 0.95rem);
    padding-right: 20px;
}

.footer2__logo,
.footer2 h4 {
    font-size: clamp(1rem, 1vw + 0.8rem, 1.125rem);
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
    display: inline-block;
}

.footer2 p, .footer2 li {
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer2__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-duration) var(--transition-timing);
}

.footer2__logo::after,
.footer2 h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-tertiary));
    border-radius: 1px;
    transition: width var(--transition-duration) var(--transition-timing);
}

.footer2__logo:hover {
    transform: translateY(-2px);
}

.footer2__logo i {
    margin-right: 8px;
    color: var(--color-text-on-dark);
    transition: transform var(--transition-duration) var(--transition-timing), color var(--transition-duration) var(--transition-timing);
}

.footer2__logo:hover i {
    transform: rotate(-10deg);
    color: var(--color-accent);
}

.footer2__logo span {
    font-weight: 500;
    color: var(--color-text-on-dark);
    transition: color var(--transition-duration) var(--transition-timing);
}

.footer2__logo:hover span {
    color: var(--color-tertiary);
}

.footer2__social {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer2__about:hover .footer2__logo::after,
.footer2__links:hover h4::after,
.footer2__contact:hover h4::after {
    width: 60px;
}

.footer2__links ul,
.footer2__contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer2__links ul li {
    margin-bottom: 10px;
    position: relative;
    transition: transform var(--transition-duration) var(--transition-timing);
}

.footer2__links ul li:hover {
    transform: translateX(5px);
}

.footer2__links a {
    color: var(--color-text-on-dark);
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 2px 0;
    transition: all 0.3s ease;
}

.footer2__links a:hover {
    color: var(--social-accent-color);
    transform: translateY(-2px);
}

.footer2__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer2__links a:hover::after {
    transform: scaleX(1);
}

.footer2__links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--social-accent-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer2__links li:hover a::before {
    opacity: 1;
    transform: translateX(5px);
}

.footer2__contact ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-on-dark);
    line-height: 1.6;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer2__contact i {
    color: var(--color-tertiary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

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

.footer2__contact ul li:hover,
.footer2__contact ul li:hover a,
.footer2__contact ul li:hover i {
    color: var(--social-accent-color);
}

/* === SUB-FOOTER (REPLACING INLINE STYLES) === */
.sub-footer {
    background-color: var(--color-bg-subtle);
    font-family: 'Inter', system-ui, sans-serif;
    text-align: center;
    padding: 32px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.sub-footer__nav {
    margin-bottom: 16px;
}

.sub-footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-footer__nav li {
    display: inline-block;
    margin: 0 10px;
}

.sub-footer__nav a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.sub-footer__nav a:hover {
    border-color: #999;
}

.sub-footer__copyright {
    font-size: 13px;
    display: grid;
    place-items: center;
    gap: 8px;
}

.sub-footer__copyright p {
    margin: 0;
}

.sub-footer__copyright a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px dotted #999;
}

.sub-footer__disclaimer {
    max-width: 600px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
/* Responsive adjustments */
@media (min-width: 640px) { 
    .footer2__container { grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 20px 48px; } 
    .footer2__about { grid-column: 1 / -1; } 
    .footer2__social { justify-content: flex-start; } 
}
@media (min-width: 768px) { 
    .footer2__container { grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 0 24px 56px; } 
    .footer2__about { grid-column: auto; } 
}
@media (min-width: 1024px) { 
    .footer2__container { grid-template-columns: 1fr 25% 25%; gap: 48px; padding-bottom: 64px; } 
    .footer2__social { margin-top: 24px; gap: 16px; } 
    .footer2__contact ul li { margin-bottom: 16px; gap: 12px; font-size: 0.95rem; } 
}
@media (max-width: 767.98px) { 
    .newsletter-form { flex-direction: column; } 
    .newsletter-form input[type="email"] { margin-right: 0; margin-bottom: 10px; } 
}
@media (max-width: 480px) { 
    .footer2__social { justify-content: center; } 
}