/*
Theme Name: Fonaex Theme
Theme URI: https://fonaex.org
Author: El Gabli
Author URI: https://fonaex.org
Description: Tema personalizado para Fonaex.org
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fonaex-theme
*/

:root {
    --primary: #0f1b2d;
    --primary-light: #1a3050;
    --accent: #d4a84b;
    --accent-hover: #c09530;
    --bg: #ffffff;
    --bg-alt: #f4f6f9;
    --bg-dark: #080f1a;
    --text: #1a202c;
    --text-light: #6b7a8d;
    --text-on-dark: #c8d2de;
    --border: #e8edf3;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
    --radius: 10px;
    --radius-sm: 6px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sidebar-w: 270px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; margin: 0 !important; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    margin: 0 !important;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; width: 100%; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* ── SIDEBAR LEFT ── */
.sidebar-left {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--sidebar-w);
    background: var(--primary);
    z-index: 99999;
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.sidebar-inner {
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column;
    height: 100%;
}
.sidebar-brand { margin-bottom: 2.5rem; }
.sidebar-brand .custom-logo-link img,
.sidebar-brand img { max-width: 160px; height: auto; }

.sidebar-nav { flex: 1; }
.sidebar-menu { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-menu a {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
}
.sidebar-menu a::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(212,168,75,0.12) 0%, transparent 60%);
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-menu a:hover {
    color: #fff;
    border-left-color: var(--accent);
    padding-left: 1.5rem;
    text-shadow: 0 0 12px rgba(212,168,75,0.15);
}
.sidebar-menu a:hover::before { opacity: 1; }
.sidebar-menu .current-menu-item a {
    color: #fff;
    background: rgba(212, 168, 75, 0.1);
    border-left-color: var(--accent);
}

.sidebar-info {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    margin-top: auto;
    display: flex; flex-direction: column; gap: 1rem;
}
.sidebar-info-item { }
.sidebar-info-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.25rem;
}
.sidebar-info-item a,
.sidebar-info-item span {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    line-height: 1.5;
}
.sidebar-info-item a:hover { color: var(--accent); }

.sidebar-social {
    display: flex; gap: 0.5rem;
    margin-top: 1rem;
}
.sidebar-social-link {
    display: inline-flex; width: 32px; height: 32px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    transition: all var(--transition);
}
.sidebar-social-link:hover { background: var(--accent); color: var(--primary); }

.sidebar-toggle { display: none; }

/* ── MAIN CONTENT ── */
.site-main {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
}

/* ── HERO ── */
.hero {
    min-height: calc(100vh - 0px);
    display: flex; align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #132642 40%, #0c1a2e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 168, 75, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(212, 168, 75, 0.04) 0%, transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    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='%23ffffff' fill-opacity='0.015'%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");
    opacity: 0.5;
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 700px; margin: 0 auto; padding: 60px 32px;
}
.hero h1 {
    font-size: 3rem; font-weight: 800; color: #fff;
    margin-bottom: 1rem; letter-spacing: -0.03em;
    line-height: 1.15;
}
.hero-subtitle {
    font-size: 1.05rem; color: var(--text-on-dark);
    opacity: 0.8; margin-bottom: 2.5rem;
    line-height: 1.7; max-width: 540px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--primary); box-shadow: 0 4px 15px rgba(212,168,75,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 6px 25px rgba(212,168,75,0.4);
    color: var(--primary);
}
.btn-outline {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
    display: block; text-align: center;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--accent); margin-bottom: 0.5rem;
}
.section-title {
    text-align: center;
    font-size: 2rem; font-weight: 800; color: var(--primary);
    margin-bottom: 0.75rem; line-height: 1.2;
}
.section-title::after {
    content: '';
    display: block; width: 36px; height: 3px;
    background: var(--accent); margin: 0.75rem auto 0;
    border-radius: 2px;
}
.section-desc {
    text-align: center;
    color: var(--text-light); font-size: 0.95rem;
    max-width: 580px; margin: 1.25rem auto 3rem; line-height: 1.7;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── CARDS ── */
.card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(212, 168, 75, 0.2);
}
.card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; }
.card-center { text-align: center; }

.card-number {
    font-size: 3rem; font-weight: 800;
    color: rgba(15, 27, 45, 0.04);
    display: block; margin-bottom: 0.2rem;
    line-height: 1; text-align: left;
    transition: color var(--transition);
}
.card-num:hover .card-number { color: rgba(212, 168, 75, 0.12); }

/* ── NEWS ── */
.news-list { max-width: 680px; margin: 0 auto; }
.news-item {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.65rem;
    transition: all var(--transition);
    text-decoration: none;
}
.news-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.08);
    transform: translateX(4px);
}
.news-item-top { display: flex; align-items: center; gap: 1rem; }
.news-date {
    font-size: 0.76rem; color: var(--text-light);
    flex-shrink: 0; font-weight: 500;
    min-width: 72px;
}
.news-title { flex: 1; font-size: 0.88rem; color: var(--text); font-weight: 500; }
.news-excerpt {
    display: block; margin-top: 0.4rem;
    font-size: 0.8rem; color: var(--text-light);
    line-height: 1.5;
}

/* ── CONTACT ── */
.contact-list { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-item {
    padding: 1.1rem 1.4rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.contact-item:hover {
    border-color: rgba(212, 168, 75, 0.3);
    box-shadow: var(--shadow-sm);
}

/* ── FOOTER ── */
.site-footer {
    background: var(--bg-dark); color: var(--text-on-dark);
    padding: 3rem 0 0;
    margin-left: var(--sidebar-w);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr;
    gap: 2rem; padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand p { font-size: 0.8rem; opacity: 0.55; line-height: 1.7; max-width: 400px; }
.footer-legal h4 {
    font-size: 0.72rem; font-weight: 600; color: #fff;
    margin-bottom: 1rem; text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-menu-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-menu-list a {
    color: rgba(255,255,255,0.45); font-size: 0.8rem;
    transition: all var(--transition);
}
.footer-menu-list a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
    text-align: center; padding: 1.25rem 0;
    font-size: 0.76rem; opacity: 0.35;
}

/* ── ARTICLE HEADER ── */
.article-header {
    background: linear-gradient(135deg, #0a1628 0%, #132642 40%, #0c1a2e 100%);
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.article-header::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 168, 75, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(212, 168, 75, 0.04) 0%, transparent 60%);
    pointer-events: none;
}
.article-header::after {
    content: '';
    position: absolute; inset: 0;
    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='%23ffffff' fill-opacity='0.015'%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");
    opacity: 0.4;
    pointer-events: none;
}
.article-header .container { position: relative; z-index: 1; }
.article-section-label {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--accent);
    margin-bottom: 1rem;
}
.article-header h1 {
    color: #fff;
    font-size: 2.4rem; font-weight: 800;
    line-height: 1.2; margin-bottom: 1.25rem;
    max-width: 800px;
}
.article-header .post-meta {
    display: flex; gap: 1.5rem; align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    border: none; padding: 0; margin: 0;
}
.article-header .post-author { font-weight: 500; color: rgba(255,255,255,0.6); }

/* ── POST META ── */

/* ── PAGE / SINGLE CONTENT ── */
.page-content { padding: 4rem 0; min-height: 50vh; }
.page-content h1 {
    font-size: 2rem; font-weight: 800; color: var(--primary);
    margin-bottom: 0.5rem; line-height: 1.25;
}
.page-content h2 {
    font-size: 1.5rem; font-weight: 700; color: var(--primary);
    margin: 2.5rem 0 1rem; padding-top: 0.5rem;
}
.page-content h3 {
    font-size: 1.2rem; font-weight: 600; color: var(--primary-light);
    margin: 2rem 0 0.75rem;
}
.page-content p {
    margin-bottom: 1.2rem; color: var(--text-light);
    line-height: 1.8; font-size: 0.95rem;
}
.page-content ul, .page-content ol {
    margin: 0 0 1.5rem 1.5rem; color: var(--text-light);
    line-height: 1.8; font-size: 0.95rem;
}
.page-content li { margin-bottom: 0.4rem; }
.page-content hr { margin: 2.5rem 0; border: none; border-top: 2px solid var(--border); }
.page-content strong { color: var(--text); font-weight: 600; }
.page-content em { color: var(--text-light); }

/* ── HERO ── */
#hero-title { transition: opacity 0.6s ease, transform 0.6s ease !important; }
.hero-accent {
    display: block; width: 60px; height: 3px;
    background: var(--accent); border-radius: 2px;
    margin: 1.5rem 0 0;
}
.hero-content .hero-accent { margin: 1.5rem auto 2rem; }

/* ── MEMBERSHIP ── */
.membership-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.membership-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}
.membership-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.membership-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.membership-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.2rem; }
@media (max-width: 640px) {
    .membership-options { grid-template-columns: 1fr; }
}

/* ── CONTACT SOCIAL ── */
.contact-social { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.contact-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--primary); color: #fff;
    border-radius: 50%;
    transition: all var(--transition);
}
.contact-social-link:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }

/* ── SCROLL ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

/* ── BACK TO TOP ── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 50%;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    opacity: 0; visibility: hidden;
    transition: all var(--transition);
    z-index: 9999;
    box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }

/* ── TEAM SECTION ── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.3rem; font-weight: 800;
}
.team-card h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.team-card p { font-size: 0.75rem; color: var(--text-light); }

/* ── CONTACT FORM ── */
.contact-form-wrap { max-width: 700px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,168,75,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { flex-direction: row !important; align-items: flex-start; gap: 0.5rem; }
.form-check label { font-weight: 400 !important; font-size: 0.78rem !important; color: var(--text-light) !important; display: flex; align-items: flex-start; gap: 0.45rem; cursor: pointer; line-height: 1.5; }
.form-check input[type="checkbox"] { margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--accent); }
.g-recaptcha { transform: scale(0.9); transform-origin: left center; }

.privacy-notice {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--text-light);
}
.privacy-notice strong { color: var(--text); }
.privacy-notice p { margin: 0.15rem 0; }
.privacy-notice a { color: var(--accent); }
.required-mark { color: var(--accent); font-weight: 600; }

/* ── LEGAL CONTENT ── */
.legal-content { padding: 3rem 0; max-width: 720px; margin: 0 auto; }
.legal-content h1 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-top: 2rem; margin-bottom: 0.5rem; }
.legal-content h4 { font-size: 0.92rem; font-weight: 700; color: var(--primary); margin-top: 1.5rem; margin-bottom: 0.4rem; }
.legal-content p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.75rem; color: var(--text); }
.legal-content ul { margin: 0 0 1rem 1.5rem; }
.legal-content li { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.25rem; }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.legal-intro { font-size: 0.9rem; color: var(--text-light); }
.legal-email { font-size: 1rem !important; margin: 0.5rem 0; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }
.form-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--primary);
    border: none; border-radius: 8px;
    font-size: 0.88rem; font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.form-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(212,168,75,0.3); }
.form-msg { padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; display: none; }
.form-msg.success { display: block; background: #e6f7e6; color: #2d7a2d; border: 1px solid #b8e6b8; }
.form-msg.error { display: block; background: #fde8e8; color: #a33; border: 1px solid #f8c8c8; }

.footer-legal-links { text-align: center; padding-top: 1rem; }
.footer-legal-links a {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    margin: 0 0.75rem;
    transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--accent); }
.version { color: var(--text-light); font-size: 0.7rem; margin-left: 1rem; opacity: 0.5; }

/* ── 404 PAGE ── */
.page-404 { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.page-404-content { max-width: 500px; margin: 0 auto; }
.page-404-code {
    font-size: 6rem; font-weight: 900; color: var(--accent);
    line-height: 1; display: block; margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}
.page-404 .section-title { margin-bottom: 0.75rem; }
.page-404 .section-desc { margin-bottom: 2rem; }

/* ── COOKIE BANNER ── */
.cookie-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    display: none; align-items: center; justify-content: center;
    z-index: 999999;
    padding: 1.5rem;
}
.cookie-overlay.show { display: flex; }
.cookie-banner {
    background: #fff; color: var(--text);
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    max-width: 480px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
}
.cookie-banner h3 {
    font-size: 1.1rem; font-weight: 700; color: var(--primary);
    margin-bottom: 0.6rem;
}
.cookie-banner p {
    font-size: 0.82rem; line-height: 1.6;
    color: var(--text-light); margin-bottom: 1.5rem;
}
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner a:hover { color: var(--primary); }
.cookie-btn {
    padding: 0.65rem 2rem;
    background: var(--primary); color: #fff;
    border: none; border-radius: 8px;
    font-size: 0.85rem; font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.cookie-btn:hover { background: var(--primary-light); transform: translateY(-1px); }

.btn-sm { padding: 0.4rem 1rem; font-size: 0.78rem; display: inline-block; }

/* ── ADMIN BAR ── */
body.admin-bar .sidebar-left { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .sidebar-left { top: 46px; }
}



/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.4rem; }
}
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    html { margin-top: 0 !important; }
    body { margin: 0 !important; padding: 0 !important; }
    .sidebar-left {
        position: fixed; top: 0; left: 0; bottom: 0;
        width: 100%;
        transform: translateY(-100%);
        transition: transform 0.3s;
        z-index: 99999;
    }
    .sidebar-left.open {
        transform: translateY(0);
    }
    .sidebar-inner { padding: 1.5rem; }
    .sidebar-nav { flex: initial; margin-bottom: 1.5rem; }
    .sidebar-info { margin-top: initial; }
    .sidebar-toggle {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        position: fixed; top: 0; left: 0; right: 0;
        background: var(--accent);
        border: none; cursor: pointer;
        padding: 8px 16px; height: 50px;
        z-index: 100000;
        box-sizing: border-box;
        color: var(--primary); font-size: 18px; font-weight: 700; font-family: var(--font);
        text-shadow: 0 2px 4px rgba(255,255,255,0.3);
    }
    .sidebar-toggle.active { background: var(--accent-hover); font-size: 17px; }

    .site-main { margin-left: 0; margin-top: 0; }
    .hero-content { padding-top: 76px; }
    .site-footer { margin-left: 0; }

    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.5rem; }
    .container { padding: 0 20px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .back-to-top { bottom: 1rem; right: 1rem; width: 38px; height: 38px; }
}
