/*
Theme Name: Evolvia Education
Theme URI: https://evolviaeducation.com
Author: Evolvia Education
Description: Premium education platform for entrepreneurs in Europe
Version: 1.0.0
Requires at least: 6.0
License: GNU General Public License v2
Text Domain: evolvia
Tags: education, woocommerce, premium
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:    #F5F0E8;
  --white:    #FFFFFF;
  --gold:     #C9A96E;
  --gold-lt:  #dbbe8f;
  --green:    #183C3A;
  --charcoal: #2B2B2B;
  --heading:  #1a1a1a;
  --cream-dk: #EDE8DC;
  --border:   #E5DDD0;
  --sage:     #7FA9A2;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--heading); line-height: 1.15; font-weight: 600;
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === UTILITIES === */
.container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }

/* === SECTION LABEL === */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: .7rem; font-weight: 600;
  color: var(--gold); letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-label::before,
.section-label::after { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }

/* === BUTTONS === */
.btn-gold {
  display: inline-block; background: var(--gold); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .88rem;
  padding: 14px 34px; border-radius: 50px; border: none; cursor: pointer;
  text-decoration: none; transition: all .22s; letter-spacing: .02em;
}
.btn-gold:hover { background: var(--gold-lt); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,.35); }
.btn-green {
  display: inline-block; background: transparent; color: var(--green);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .88rem;
  padding: 13px 33px; border-radius: 50px; border: 2px solid var(--green);
  text-decoration: none; transition: all .22s;
}
.btn-green:hover { background: var(--green); color: #fff; }

/* === SITE HEADER === */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 5%; max-width: 1180px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; text-decoration: none; }
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu li a {
  font-family: 'Inter', sans-serif; font-size: .87rem; font-weight: 500;
  color: var(--charcoal); text-decoration: none; transition: color .2s;
}
.nav-menu li a:hover { color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--heading);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* === HERO === */
.hero { background: var(--cream); overflow: hidden; position: relative; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; min-height: 640px;
}
.hero-left { position: relative; padding: 88px 0 80px; z-index: 1; }
.hero-leaf-deco {
  position: absolute; top: -40px; left: -10px;
  opacity: .07; pointer-events: none; z-index: 1;
}
.hero-title-box { position: relative; z-index: 1; margin-bottom: 22px; }
.hero-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-size: clamp(3rem, 5vw, 4.3rem);
  color: var(--green); line-height: 1.07; letter-spacing: -.01em; margin: 0;
}
.hero-sub {
  font-family: 'Inter', sans-serif; color: #666; font-size: 1.1rem;
  line-height: 1.65; max-width: 480px; margin: 0 0 32px;
  position: relative; z-index: 1;
}
.hero-cta-group {
  display: flex; gap: 24px; flex-wrap: wrap;
  align-items: center; position: relative; z-index: 1;
}
.hero-btn-solid {
  display: inline-block; background: var(--gold); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .88rem;
  padding: 14px 34px; border-radius: 50px; text-decoration: none;
  transition: background .22s, transform .15s; letter-spacing: .02em; white-space: nowrap;
}
.hero-btn-solid:hover { background: var(--gold-lt); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,.35); }
.hero-btn-outline {
  display: inline-block; background: transparent; color: var(--green);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .88rem;
  padding: 13px 33px; border-radius: 50px; border: 2px solid var(--green);
  text-decoration: none; transition: all .22s; white-space: nowrap;
}
.hero-btn-outline:hover { background: var(--green); color: #fff; }
.hero-hills {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-right { position: relative; align-self: stretch; }
.hero-card { position: absolute; top: 0; left: 0; right: -60px; bottom: 0; }
.hero-mobile-img {
  position: absolute; bottom: 0; right: 0;
  width: auto; height: 95%;
  object-fit: contain; object-position: bottom right;
  z-index: 3; display: block;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--white); padding: 44px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--heading);
  display: block; line-height: 1;
}
.stat-label { font-size: .74rem; color: #999; font-weight: 500; margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* === THREE PILLARS === */
.pillars { background: var(--white); padding: 96px 0; }
.pillars-head { text-align: center; max-width: 580px; margin: 0 auto 56px; }
.pillars-head h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.pillars-head p { color: #777; font-size: 1rem; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 40px 32px 36px; text-align: center;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,.09); }
.pillar-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 26px;
}
.pillar-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.pillar-card p { font-size: .91rem; color: #777; line-height: 1.72; }

/* === MISSION === */
.mission { background: var(--white); padding: 96px 0; position: relative; }
.mission::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-text h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 20px; }
.mission-text p { color: #666; font-size: 1rem; line-height: 1.8; }
.mission-text .btn-gold { margin-top: 28px; }
.mission-visual {
  background: var(--cream); border-radius: var(--r-xl);
  padding: 48px 40px; border: 1px solid var(--border);
}
.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-style: italic;
  color: var(--heading); line-height: 1.55; margin-bottom: 24px;
}
.mission-quote-mark { font-size: 3rem; color: var(--gold); line-height: .5; display: block; margin-bottom: 12px; }
.mission-attr { font-size: .8rem; color: #aaa; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* === PAIN POINTS === */
.pain-points { background: var(--white); padding: 96px 0; }
.pain-head { max-width: 580px; margin: 0 auto 56px; }
.pain-head h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.pain-head p { color: #777; font-size: 1rem; }
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pain-card { background: var(--cream); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--r-lg); padding: 36px 30px; }
.pain-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pain-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pain-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pain-card p { font-size: .91rem; color: #777; line-height: 1.7; }

/* === BRAND STORY (home teaser) === */
.brand-story { background: var(--cream-dk); padding: 96px 0; }
.story-text { max-width: 700px; margin: 0 auto; text-align: center; }
.story-text h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 20px; }
.story-text p { color: #666; font-size: 1rem; line-height: 1.8; margin-bottom: 16px; text-align: left; }
.story-text .btn-gold { margin-top: 12px; }

/* === EVA MENTOR === */
.eva-mentor { background: var(--white); padding: 96px 0; }
.mentor-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mentor-avatar { position: relative; min-height: 460px; background: var(--cream-dk); border-radius: var(--r-xl); overflow: hidden; }
.mentor-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mentor-text h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 20px; }
.mentor-quote {
  background: var(--cream-dk); border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 22px; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic;
  color: var(--green); line-height: 1.6;
}

/* === PRODUCTS === */
.products { background: #F5F0E8; padding: 96px 0; }
.products-head { text-align: center; max-width: 540px; margin: 0 auto 52px; }
.products-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 12px; }
.products-head p { color: #777; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 44px; }
.product-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.product-thumb {
  height: 178px; background: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 50px;
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  display: inline-block; background: rgba(201,169,110,.12);
  color: var(--gold); font-size: .68rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 12px; align-self: flex-start;
}
.product-card h3 { font-size: 1.18rem; margin-bottom: 8px; line-height: 1.4; }
.product-card p { font-size: .84rem; color: #888; line-height: 1.65; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: var(--heading); }
.product-cta { font-size: .76rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }

/* === CTA === */
.cta-section { background: var(--white); padding: 96px 0; text-align: center; position: relative; }
.cta-section::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 16px; }
.cta-inner p { color: #777; font-size: 1.05rem; margin-bottom: 38px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === SITE FOOTER === */
.site-footer { background: #1e1e1e; color: rgba(255,255,255,.65); padding: 56px 0 32px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 5%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer-email a { color: rgba(255,255,255,.6); font-size: .87rem; }
.footer-email a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin: 4px 0; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 20px; padding-top: 20px; font-size: .75rem; color: rgba(255,255,255,.3); width: 100%; }

/* === BLOG INDEX === */
.blog-header { background: var(--cream); padding: 72px 0 48px; text-align: center; }
.blog-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.blog-header p { color: #777; }
.blog-wrap { background: var(--cream); padding: 48px 0 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .22s, box-shadow .22s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.blog-thumb { height: 200px; background: var(--cream-dk); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-no-thumb { height: 200px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-body { padding: 24px; }
.blog-meta { font-size: .74rem; color: #bbb; margin-bottom: 10px; letter-spacing: .02em; }
.blog-card h2 { font-size: 1.22rem; margin-bottom: 10px; line-height: 1.38; }
.blog-card p { font-size: .84rem; color: #888; line-height: 1.65; }
.blog-pagination { padding: 40px 0 0; text-align: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-block; padding: 9px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--border); font-size: .84rem; color: var(--charcoal);
  text-decoration: none; transition: all .18s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* === SINGLE POST / PAGE === */
.entry-header { background: var(--cream); padding: 72px 0 52px; text-align: center; }
.entry-header .section-label { margin-bottom: 16px; }
.entry-header h1 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); max-width: 780px; margin: 0 auto 14px; }
.entry-meta { font-size: .8rem; color: #bbb; }
.entry-content-wrap { background: var(--white); }
.entry-content {
  max-width: 760px; margin: 0 auto; padding: 60px 5% 72px;
  font-size: 1.02rem; line-height: 1.82; color: var(--charcoal);
}
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 2.2rem 0 1rem; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content blockquote {
  border-left: 3px solid var(--gold); padding: 12px 24px;
  margin: 2rem 0; background: var(--cream); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic;
}
.entry-content img { border-radius: var(--r-md); margin: 1.5rem 0; }
.entry-content a { color: var(--gold); border-bottom: 1px solid rgba(201,169,110,.3); }
.entry-content a:hover { border-bottom-color: var(--gold); }

/* === WOOCOMMERCE PRODUCT === */
.product-single { background: var(--white); }
.product-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding: 64px 0; }
.product-gallery img { border-radius: var(--r-lg); border: 1px solid var(--border); }
.product-info .product-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.product-info .price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--heading); margin-bottom: 24px; display: block; }
.product-info .description { color: #666; font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.product-info .btn-gold { font-size: 1rem; padding: 16px 40px; }

/* === GENERIC PAGE === */
.page-header { background: var(--cream); padding: 72px 0 48px; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.page-body { background: var(--white); }
.page-content-inner { max-width: 840px; margin: 0 auto; padding: 56px 5%; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 56px 0 28px; }
  .hero-right { min-height: 380px; margin: 0 -5%; }
  .hero-card { right: 0; bottom: 0; }
  .hero-mobile-img { height: 100%; object-position: bottom center; right: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-btn-solid, .hero-btn-outline { text-align: center; }
  .hero-right { min-height: 280px; }
}
@media (max-width: 960px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .product-single-grid { grid-template-columns: 1fr; gap: 36px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .mentor-inner { grid-template-columns: 1fr; }
  .mentor-avatar { min-height: 320px; order: -1; }
}
@media (max-width: 640px) {
  .pillars-grid, .products-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 4px; }
  .stat-item:last-child { border-bottom: none; }
  .nav-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--white); padding: 24px 5%; border-bottom: 1px solid var(--border); flex-direction: column; gap: 20px; z-index: 99; }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero-leaf-deco { display: none; }
  .hero-h1 { font-size: 2.4rem; }
  .section-pad { padding: 64px 0; }
  .pillars, .products, .mission, .cta-section { padding: 64px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-points, .brand-story, .eva-mentor { padding: 64px 0; }
}

.freebies { background: #F5F0E8; padding: 96px 0; }
.products-center { text-align: center; }
