/* =========================================
   VERTEX — Finansal Analiz Platformu
   Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --green-deep:    #1A4731;
  --green-mid:     #2D6A4F;
  --green-light:   #52B788;
  --green-pale:    #D8F3DC;
  --gray-dark:     #1E1E1E;
  --gray-mid:      #3A3A3A;
  --gray-text:     #555555;
  --gray-muted:    #888888;
  --beige-light:   #F8F5EE;
  --beige-mid:     #EDE8DD;
  --white:         #FFFFFF;
  --gold:          #C9A84C;
  --gold-light:    #E8D5A3;
  --border-color:  #DDD8CC;
  --shadow-sm:     0 2px 8px rgba(26,71,49,0.08);
  --shadow-md:     0 6px 24px rgba(26,71,49,0.12);
  --shadow-lg:     0 16px 48px rgba(26,71,49,0.16);
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:    'Merriweather', Georgia, serif;
  --transition:    all 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
  background-color: var(--beige-light);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-deep); }
ul, ol { padding-left: 1.5rem; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.625rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--gray-text); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray-mid);
  font-weight: 400;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 112px 0; }

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

/* ---- Flex Helpers ---- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm { gap: 12px; }
.flex-gap-md { gap: 24px; }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--green-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg { fill: var(--white); }

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: -0.03em;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-mid);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--green-deep);
  background: var(--green-pale);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
  padding: 8px 0;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 0.875rem;
  color: var(--gray-text);
  transition: var(--transition);
}
.nav-dropdown a:hover { background: var(--beige-light); color: var(--green-deep); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-mid);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--beige-mid); color: var(--green-deep); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8902e;
  border-color: #b8902e;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: 0.825rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, #0F2D1E 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.03'%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");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.hero-stat {
  padding: 20px;
  background: rgba(255,255,255,0.05);
  text-align: center;
}

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
}

.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   CARDS
   ========================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-body { padding: 28px; }

.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.04); }

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-muted);
  margin-bottom: 12px;
}

.card-excerpt { font-size: 0.9rem; color: var(--gray-text); line-height: 1.6; }

.card-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Feature Card ---- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--green-light); }

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-deep);
}
.feature-icon svg { width: 26px; height: 26px; }

.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 0.9rem; color: var(--gray-text); }

/* ---- Stat Card ---- */
.stat-card {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}
.stat-card.alt { background: var(--white); border: 1px solid var(--border-color); }
.stat-card.alt .stat-number { color: var(--green-deep); }
.stat-card.alt .stat-label { color: var(--gray-text); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .stat-suffix { font-size: 1.5rem; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
  display: block;
}

.section-title { margin-bottom: 16px; }
.section-desc { max-width: 640px; font-size: 1.05rem; color: var(--gray-text); }
.section-header.center .section-desc { margin: 0 auto; }

/* =========================================
   DIVIDER
   ========================================= */
.divider {
  width: 48px;
  height: 3px;
  background: var(--green-mid);
  margin: 16px 0 24px;
  border-radius: 2px;
}
.divider.center { margin: 16px auto 24px; }
.divider.gold { background: var(--gold); }

/* =========================================
   DATA TABLE
   ========================================= */
.data-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}
.data-table thead { background: var(--green-deep); color: var(--white); }
.data-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table td { padding: 13px 20px; border-bottom: 1px solid var(--border-color); color: var(--gray-text); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--beige-light); }
.data-table .positive { color: #1A7A3A; font-weight: 600; }
.data-table .negative { color: #C0392B; font-weight: 600; }
.data-table .neutral  { color: var(--gray-muted); }

/* =========================================
   PROGRESS / CHART BARS
   ========================================= */
.progress-list { display: flex; flex-direction: column; gap: 18px; }
.progress-item {}
.progress-header { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.875rem; font-weight: 500; }
.progress-bar { height: 8px; background: var(--beige-mid); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--green-mid); border-radius: 4px; }
.progress-fill.gold { background: var(--gold); }
.progress-fill.light { background: var(--green-light); }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-muted); }
.breadcrumb a:hover { color: var(--green-deep); }
.breadcrumb .sep { color: var(--border-color); }
.breadcrumb .current { color: var(--gray-dark); font-weight: 500; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, #0F2D1E 0%, var(--green-deep) 60%, #1F5C3C 100%);
  padding: 64px 0 56px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 680px; font-size: 1.05rem; margin-bottom: 0; }

/* =========================================
   SIDEBAR LAYOUT
   ========================================= */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget:last-child { margin-bottom: 0; }
.widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-pale); color: var(--gray-dark); }

.sidebar-link-list { list-style: none; padding: 0; }
.sidebar-link-list li { border-bottom: 1px solid var(--border-color); }
.sidebar-link-list li:last-child { border-bottom: none; }
.sidebar-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--gray-text);
}
.sidebar-link-list a:hover { color: var(--green-deep); }

/* =========================================
   ARTICLE / PROSE
   ========================================= */
.prose h2, .prose h3, .prose h4 { margin-top: 2.5rem; }
.prose p { margin-bottom: 1.25rem; color: var(--gray-text); font-size: 1.0rem; line-height: 1.8; }
.prose ul, .prose ol { margin-bottom: 1.25rem; color: var(--gray-text); }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
  border-left: 4px solid var(--green-mid);
  padding: 12px 24px;
  background: var(--beige-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-mid);
  margin: 2rem 0;
}
.prose img { border-radius: var(--radius-md); margin: 2rem 0; width: 100%; }

/* =========================================
   INFO BOX / CALLOUT
   ========================================= */
.info-box {
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}
.info-box.green { background: var(--green-pale); border-left: 4px solid var(--green-mid); }
.info-box.gold  { background: #FDF6E3; border-left: 4px solid var(--gold); }
.info-box.gray  { background: var(--beige-light); border-left: 4px solid var(--border-color); }

.info-box-title { font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; color: var(--gray-dark); }
.info-box p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 0; }

/* =========================================
   ACCORDION / FAQ
   ========================================= */
.accordion { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.accordion-trigger:hover { background: var(--beige-light); color: var(--green-deep); }
.accordion-trigger.open { background: var(--green-pale); color: var(--green-deep); }

.accordion-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--beige-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.accordion-trigger.open .accordion-icon { background: var(--green-mid); transform: rotate(45deg); }
.accordion-icon svg { width: 14px; height: 14px; stroke: var(--gray-dark); }
.accordion-trigger.open .accordion-icon svg { stroke: var(--white); }

.accordion-content {
  display: none;
  padding: 0 24px 20px;
  color: var(--gray-text);
  font-size: 0.925rem;
  line-height: 1.75;
  background: var(--beige-light);
}
.accordion-content.open { display: block; }

/* =========================================
   FORMS
   ========================================= */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.form-label .required { color: #C0392B; margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--gray-dark);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.form-control::placeholder { color: var(--gray-muted); }

textarea.form-control { min-height: 130px; resize: vertical; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-hint { font-size: 0.78rem; color: var(--gray-muted); margin-top: 5px; }
.form-error { font-size: 0.78rem; color: #C0392B; margin-top: 5px; display: none; }

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}
.alert-success {
  background: #D4EDDA;
  border: 1px solid #A8D5B5;
  color: #1A5C2D;
}
.alert-error {
  background: #FAD7D3;
  border: 1px solid #F0B0A8;
  color: #7C2016;
}

/* =========================================
   NEWSLETTER STRIP
   ========================================= */
.newsletter-section {
  background: var(--green-deep);
  padding: 72px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-section h2 { color: var(--white); }
.newsletter-section p { color: rgba(255,255,255,0.72); }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form .form-control { flex: 1; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
}
.testimonial-quote {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-quote::before { content: '\201C'; font-size: 2rem; color: var(--green-light); vertical-align: -0.4em; line-height: 0; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--green-deep); font-size: 1.1rem; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-dark); margin-bottom: 2px; }
.testimonial-role { font-size: 0.78rem; color: var(--gray-muted); }

/* =========================================
   TIMELINE
   ========================================= */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-mid);
}
.timeline-date { font-size: 0.78rem; color: var(--gray-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.timeline-desc { font-size: 0.875rem; color: var(--gray-text); }

/* =========================================
   GLOSSARY
   ========================================= */
.glossary-letter {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-deep);
  border-bottom: 2px solid var(--green-pale);
  padding-bottom: 8px;
  margin-bottom: 20px;
  margin-top: 40px;
}
.glossary-letter:first-child { margin-top: 0; }
.glossary-term { margin-bottom: 20px; }
.glossary-term dt { font-weight: 700; font-size: 1rem; color: var(--gray-dark); margin-bottom: 4px; }
.glossary-term dd { font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; margin-left: 0; }

/* =========================================
   POLICY PAGES
   ========================================= */
.policy-content {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
}
.policy-content h2 { margin-top: 2.5rem; font-size: 1.375rem; color: var(--green-deep); }
.policy-content h3 { margin-top: 2rem; font-size: 1.1rem; }
.policy-content p, .policy-content li { font-size: 0.95rem; color: var(--gray-text); line-height: 1.8; }
.policy-content ul, .policy-content ol { margin-bottom: 1rem; }
.policy-content li { margin-bottom: 0.5rem; }
.policy-update { font-size: 0.82rem; color: var(--gray-muted); margin-bottom: 2rem; padding: 10px 16px; background: var(--beige-light); border-radius: var(--radius-sm); display: inline-block; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--gray-dark); color: rgba(255,255,255,0.75); }

.footer-main { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand .logo-mark { background: var(--green-mid); }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.footer-contact-item svg { min-width: 16px; margin-top: 2px; color: var(--green-light); }

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.825rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.825rem; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-dark);
  color: var(--white);
  padding: 20px 0;
  z-index: 9999;
  border-top: 3px solid var(--green-mid);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.875rem; color: rgba(255,255,255,0.75); flex: 1; }
.cookie-text a { color: var(--green-light); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }

.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-info-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-muted); margin-bottom: 4px; }
.contact-info-value { font-size: 0.95rem; color: var(--gray-dark); font-weight: 500; }
.contact-info-value a { color: var(--gray-dark); }
.contact-info-value a:hover { color: var(--green-deep); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}

/* =========================================
   TAGS / BADGES
   ========================================= */
.tag { display: inline-block; padding: 3px 10px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; }
.tag-green { background: var(--green-pale); color: var(--green-deep); }
.tag-gold  { background: #FDF6E3; color: #8B6914; }
.tag-gray  { background: var(--beige-mid); color: var(--gray-mid); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-mid); }

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-green  { color: var(--green-deep); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--gray-muted); }
.text-small  { font-size: 0.875rem; }

.bg-green { background: var(--green-deep); }
.bg-beige { background: var(--beige-light); }
.bg-white { background: var(--white); }
.bg-dark  { background: var(--gray-dark); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }

.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }

.list-none { list-style: none; padding: 0; }
.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 8px; font-size: 0.925rem; color: var(--gray-text); }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--green-mid); font-weight: 700; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .policy-content { padding: 28px 20px; }
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: none; padding: 16px 0; border-top: 1px solid var(--border-color); }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 10px 0; font-size: 0.9rem; color: var(--gray-mid); border-bottom: 1px solid var(--border-color); }
  .mobile-nav a:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
}
