/* =============================================
   EVERYMANBOOKS FINANCIAL ACADEMY — style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --green-deep: #1F6F4A;
  --green-mint: #DDF3E8;
  --graphite: #202624;
  --bg-light: #F7FAF8;
  --amber: #D9A441;
  --white: #ffffff;
  --gray-text: #4A5568;
  --gray-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--graphite);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--graphite); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { font-weight: 400; max-width: 700px; line-height: 1.6; color: var(--gray-text); }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--green-deep); color: var(--white); }
.btn-primary:hover { background: #165a3b; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,111,74,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-deep); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: #c08c32; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217,164,65,0.35); }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.05rem; }

/* === SECTION TITLES === */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.section-title p { margin: 1.5rem auto 0; font-size: 1.05rem; text-align: center; }

/* === HEADER === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--green-deep);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 0.9rem; font-weight: 700; color: var(--graphite); letter-spacing: -0.3px; }
.logo-tagline { font-size: 0.62rem; font-weight: 400; color: var(--green-deep); letter-spacing: 0.5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav-link { padding: 0.5rem 0.8rem; font-weight: 400; font-size: 0.875rem; color: var(--graphite); border-radius: 6px; transition: all var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--green-deep); background: var(--green-mint); }
.header-cta { margin-left: 0.75rem; }

/* === BURGER === */
.burger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: none; border: none; cursor: pointer; padding: 0; z-index: 1100; }
.burger span { display: block; height: 2px; background: var(--graphite); border-radius: 2px; transition: all 0.35s ease; transform-origin: center; }
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-menu.active { display: flex; }
.mobile-menu.open { transform: translateX(0); }
.mobile-nav-link { display: block; padding: 1rem 0; font-size: 1.05rem; font-weight: 500; color: var(--graphite); border-bottom: 1px solid var(--gray-light); transition: color var(--transition); }
.mobile-nav-link:hover { color: var(--green-deep); }
.mobile-menu-cta { margin-top: 1.5rem; }

/* === HERO === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 70px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,111,74,0.88) 0%, rgba(32,38,36,0.75) 100%); }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); padding: 0.375rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.2); letter-spacing: 0.5px; }
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 600px; margin-bottom: 2.5rem; font-weight: 400; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === PAGE HERO === */
.page-hero { position: relative; padding: 8rem 0 5rem; overflow: hidden; text-align: center; }
.page-hero .hero-bg { filter: brightness(0.7); }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(31,111,74,0.85) 0%, rgba(32,38,36,0.70) 100%); }
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content p { color: rgba(255,255,255,0.85); margin: 0 auto; font-size: 1.1rem; text-align: center; }

/* === BREADCRUMBS === */
.breadcrumbs { padding: 1rem 0; background: var(--white); border-bottom: 1px solid var(--gray-light); }
.breadcrumb-list { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-text); }
.breadcrumb-list li:not(:last-child)::after { content: '›'; color: var(--gray-light); }
.breadcrumb-list a { color: var(--green-deep); font-weight: 500; }
.breadcrumb-list a:hover { text-decoration: underline; }

/* === CARDS === */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: all var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-mint); }
.card-icon { width: 56px; height: 56px; background: var(--green-mint); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--graphite); }
.card p { font-size: 0.9rem; max-width: none; color: var(--gray-text); }

/* === TWO-COLUMN === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col-image img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.5s ease; }
.two-col-image:hover img { transform: scale(1.02); }
.two-col-content h2 { margin-bottom: 1.25rem; }
.two-col-content p { margin-bottom: 1.5rem; }
.feature-list { margin: 1.5rem 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; font-weight: 400; color: var(--gray-text); font-size: 0.95rem; }
.feature-list li::before { content: '✓'; color: var(--green-deep); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* === FORMAT BLOCKS === */
.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.format-block { text-align: center; padding: 2rem 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: all var(--transition); }
.format-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-mint); }
.format-block .format-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.format-block h4 { color: var(--graphite); margin-bottom: 0.5rem; }
.format-block p { font-size: 0.875rem; max-width: none; text-align: center; margin: 0; }

/* === STATS === */
.stats-section { background: var(--green-deep); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { color: var(--white); }
.stat-number { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--amber); display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.85); }

/* === CTA === */
.cta-section { background: linear-gradient(135deg, var(--graphite) 0%, #2d3834 100%); padding: 5rem 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); margin: 0 auto 2rem; font-size: 1.1rem; text-align: center; }

/* === BLOG CARDS === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.blog-category { background: var(--green-mint); color: var(--green-deep); padding: 0.2rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.blog-date { font-size: 0.8rem; color: var(--gray-text); }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card-body p { font-size: 0.9rem; max-width: none; margin-bottom: 1.25rem; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--green-deep); font-weight: 600; font-size: 0.9rem; transition: gap var(--transition); }
.read-more:hover { gap: 0.65rem; }

/* === ARTICLE === */
.article-wrap { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem; }
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; line-height: 1.25; }
.article-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.article-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 2.5rem; box-shadow: var(--shadow-md); }
.article-hero-img img { width: 100%; height: 420px; object-fit: cover; }
.article-body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-light); }
.article-body h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; color: var(--green-deep); }
.article-body p { max-width: none; margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.75; color: #3d4a44; }
.article-body ul, .article-body ol { margin: 1.25rem 0 1.25rem 1.5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-weight: 400; color: #3d4a44; line-height: 1.7; margin-bottom: 0.5rem; font-size: 1rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 2rem 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.article-body table th { background: var(--green-deep); color: var(--white); padding: 0.875rem 1rem; text-align: left; font-weight: 600; font-size: 0.9rem; }
.article-body table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--gray-light); font-size: 0.9rem; color: var(--gray-text); }
.article-body table tr:nth-child(even) td { background: #f9fafb; }
.article-highlight { background: var(--green-mint); border-left: 4px solid var(--green-deep); padding: 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.article-highlight p { margin: 0; color: var(--graphite); font-weight: 500; max-width: none; }
.steps-list { counter-reset: steps; margin: 1.5rem 0; list-style: none; padding: 0; }
.steps-list li { counter-increment: steps; display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.steps-list li::before { content: counter(steps); min-width: 36px; height: 36px; background: var(--green-deep); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

/* === RESOURCES === */
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.resource-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: all var(--transition); display: flex; flex-direction: column; }
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-mint); }
.resource-icon { width: 60px; height: 60px; background: var(--green-mint); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.25rem; }
.resource-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.resource-card > p { font-size: 0.9rem; max-width: none; margin-bottom: 1rem; }
.resource-format { display: inline-flex; align-items: center; gap: 0.4rem; background: #f1f5f9; color: var(--gray-text); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.78rem; font-weight: 500; margin-bottom: 1rem; }
.resource-topics { margin: 0.75rem 0 1.25rem; flex: 1; }
.resource-topics li { font-size: 0.85rem; color: var(--gray-text); padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }
.resource-topics li::before { content: '▸'; color: var(--green-deep); font-size: 0.75rem; }

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: all var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar { height: 180px; background: linear-gradient(135deg, var(--green-mint), #b8e8ce); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.team-card-body { padding: 1.5rem; }
.team-card-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.team-role { color: var(--green-deep); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.75rem; display: block; }
.team-card-body p { font-size: 0.875rem; max-width: none; text-align: center; margin: 0; }

/* === PRINCIPLES === */
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.principle-block { padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); border-top: 4px solid var(--green-deep); transition: all var(--transition); }
.principle-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.principle-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.principle-block h4 { color: var(--graphite); margin-bottom: 0.5rem; }
.principle-block p { font-size: 0.875rem; max-width: none; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; background: none; border: none; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--graphite); text-align: left; gap: 1rem; transition: color var(--transition); }
.faq-question:hover { color: var(--green-deep); }
.faq-icon { width: 28px; height: 28px; background: var(--green-mint); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; font-weight: 700; color: var(--green-deep); transition: all var(--transition); line-height: 1; }
.faq-item.open .faq-icon { background: var(--green-deep); color: white; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding-bottom: 1.5rem; }
.faq-answer-inner p { max-width: none; font-size: 0.95rem; color: var(--gray-text); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-info { background: var(--green-deep); border-radius: var(--radius); padding: 2.5rem; color: white; }
.contact-info h3 { color: white; font-size: 1.3rem; margin-bottom: 0.5rem; }
.contact-info > p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 2rem; max-width: none; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-detail-text p:first-child { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; max-width: none; margin-bottom: 0.25rem; }
.contact-detail-text a, .contact-detail-text p:last-child { color: white; font-weight: 500; font-size: 0.92rem; max-width: none; margin: 0; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-link-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all var(--transition); }
.social-link-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* === FORM === */
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); }
.contact-form-wrap h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 2rem; max-width: none; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--graphite); margin-bottom: 0.4rem; }
.required { color: #e53e3e; margin-left: 2px; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-light); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 400; color: var(--graphite); background: var(--bg-light); transition: all var(--transition); outline: none; }
.form-control:focus { border-color: var(--green-deep); background: white; box-shadow: 0 0 0 3px rgba(31,111,74,0.1); }
.form-control.error { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.1); }
.form-control.valid { border-color: var(--green-deep); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-error { color: #e53e3e; font-size: 0.78rem; margin-top: 0.35rem; display: none; }
.form-error.visible { display: block; }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--gray-text); cursor: pointer; font-weight: 400; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green-deep); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.form-checkbox a { color: var(--green-deep); font-weight: 500; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success.visible { display: block; }
.form-success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.75rem; color: var(--green-deep); }
.form-success p { max-width: none; text-align: center; color: var(--gray-text); }

/* === MAP === */
.map-section { padding: 0 0 4rem; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { display: block; width: 100%; height: 420px; border: 0; }

/* === MISSION BLOCK === */
.mission-block { background: linear-gradient(135deg, var(--green-deep) 0%, #145336 100%); border-radius: var(--radius); padding: 3rem; color: white; text-align: center; }
.mission-block h2 { color: white; margin-bottom: 1rem; }
.mission-block p { color: rgba(255,255,255,0.85); font-size: 1.1rem; text-align: center; margin: 0 auto; }

/* === FOOTER === */
.footer { background: var(--graphite); color: rgba(255,255,255,0.75); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); max-width: 280px; line-height: 1.7; }
.footer-title { color: white; font-weight: 600; font-size: 0.9rem; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--amber); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.875rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer-contact li span:first-child { flex-shrink: 0; margin-top: 1px; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-contact a:hover { color: var(--amber); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.footer-social a:hover { background: var(--green-deep); color: white; transform: translateY(-2px); }
.footer-bottom { padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.825rem; color: rgba(255,255,255,0.45); max-width: none; margin: 0; }

/* === COOKIE BANNER === */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--graphite); border-top: 3px solid var(--green-deep); padding: 1.5rem; transform: translateY(100%); transition: transform 0.4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text p { color: rgba(255,255,255,0.85); font-size: 0.875rem; max-width: none; margin: 0; line-height: 1.6; }
.cookie-text a { color: var(--amber); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept { padding: 0.625rem 1.5rem; background: var(--green-deep); color: white; border: none; border-radius: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all var(--transition); }
.cookie-btn-accept:hover { background: #165a3b; transform: translateY(-1px); }
.cookie-btn-decline { padding: 0.625rem 1.5rem; background: transparent; color: rgba(255,255,255,0.7); border: 1.5px solid rgba(255,255,255,0.25); border-radius: 6px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.875rem; cursor: pointer; transition: all var(--transition); }
.cookie-btn-decline:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* === LEGAL === */
.legal-content { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal-date { color: var(--gray-text); font-size: 0.875rem; margin-bottom: 2.5rem; display: block; }
.legal-content h2 { font-size: 1.2rem; margin: 2.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-light); }
.legal-content p { max-width: none; font-size: 0.95rem; line-height: 1.75; color: #3d4a44; margin-bottom: 1rem; }
.legal-content ul { margin: 1rem 0 1rem 1.5rem; list-style: disc; }
.legal-content li { font-size: 0.95rem; color: #3d4a44; line-height: 1.7; margin-bottom: 0.5rem; font-weight: 400; }

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .mobile-menu.active { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-image img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: auto; padding: 100px 0 5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .article-hero-img img { height: 260px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 7rem 0 4rem; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-info { padding: 1.5rem; }
  .cookie-banner-inner { flex-direction: column; gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
