/* =========================================
   Polity — Emeklilik Analiz Portalı
   Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

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

:root {
  --cream:       #f7f3ee;
  --cream-dark:  #ede7dd;
  --white:       #ffffff;
  --green:       #2c5f5d;
  --green-light: #3d7a77;
  --green-pale:  #e8f0ef;
  --blue:        #3a618a;
  --blue-light:  #4f7aa8;
  --blue-pale:   #eaf0f6;
  --text-dark:   #1e2430;
  --text-mid:    #4a4f5a;
  --text-light:  #7a8090;
  --border:      #ddd6cb;
  --border-light:#ede8e0;
  --footer-bg:   #1a2030;
  --shadow-sm:   0 2px 8px rgba(30,36,48,.08);
  --shadow-md:   0 6px 24px rgba(30,36,48,.12);
  --radius:      6px;
  --radius-lg:   12px;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Source Sans 3', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }
.section--alt { background: var(--cream-dark); }
.section--white { background: var(--white); }
.section--green { background: var(--green); color: var(--white); }
.section--green h1,
.section--green h2,
.section--green h3 { color: var(--white); }
.section--green p { color: rgba(255,255,255,.85); }

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.01em;
}
.logo-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: -2px;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > ul {
  display: flex; list-style: none; padding: 0; margin: 0; gap: 2px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  background: var(--green-pale);
  color: var(--green);
}

/* Dropdown */
.has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 999;
}
.has-dropdown:hover > .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: .88rem;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: background .15s;
}
.dropdown li a:hover { background: var(--green-pale); color: var(--green); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--text-dark);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); margin: 5px 0;
  transition: all .25s;
}

@media(max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    flex-direction: column; padding: 12px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; width: 100%; }
  .main-nav > ul > li > a { padding: 10px 12px; }
  .has-dropdown > .dropdown { position: static; box-shadow: none; border: none; background: var(--cream); }
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--cream-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.breadcrumb ul {
  display: flex; list-style: none; padding: 0; margin: 0; gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb ul li { font-size: .82rem; color: var(--text-light); }
.breadcrumb ul li + li::before { content: '›'; margin-right: 8px; }
.breadcrumb ul li a { color: var(--green); }

/* ---- Hero ---- */
.hero {
  background: var(--white);
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content { }
.hero-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.hero-title {
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-image img { width: 100%; height: 440px; object-fit: cover; }

@media(max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { height: 260px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 26px;
  font-family: var(--font-sans);
  font-size: .93rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-pale);
  color: var(--green);
}
.btn-secondary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--cream-dark); }
.btn-sm { padding: 7px 16px; font-size: .83rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}
.card-title { margin-bottom: 10px; font-size: 1.15rem; }
.card-title a { color: var(--text-dark); }
.card-title a:hover { color: var(--green); }
.card-desc { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}

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

@media(max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Section Headers ---- */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-kicker {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section-title { margin-bottom: 14px; }
.section-desc { font-size: 1.05rem; color: var(--text-mid); max-width: 640px; }
.section-header.center .section-desc { margin: 0 auto; }

/* ---- Stats ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--white); padding: 32px 24px; text-align: center;
}
.stat-number {
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700;
  color: var(--green); display: block; line-height: 1;
}
.stat-label { font-size: .82rem; color: var(--text-light); margin-top: 6px; }

@media(max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Feature List ---- */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border-light);
}
.feature-list li:last-child { border-bottom: none; }
.feature-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--green-pale); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1rem;
}
.feature-text strong { display: block; font-size: .95rem; margin-bottom: 2px; color: var(--text-dark); }
.feature-text span { font-size: .85rem; color: var(--text-mid); }

/* ---- Article / Content ---- */
.article-header { padding: 60px 0 40px; background: var(--white); border-bottom: 1px solid var(--border); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  margin-bottom: 20px;
}
.tag {
  display: inline-block; padding: 3px 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 3px;
  background: var(--green-pale); color: var(--green);
}
.tag--blue { background: var(--blue-pale); color: var(--blue); }
.article-date { font-size: .82rem; color: var(--text-light); }
.article-author { font-size: .82rem; color: var(--text-light); }

.article-body { padding: 48px 0; }
.article-body h2 { margin: 40px 0 16px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p { margin-bottom: 1.25rem; line-height: 1.8; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; line-height: 1.7; color: var(--text-mid); }
.article-body blockquote {
  border-left: 4px solid var(--green); padding: 16px 24px;
  background: var(--green-pale); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0; font-style: italic; color: var(--text-mid);
}
.article-body .data-table {
  width: 100%; border-collapse: collapse; margin: 32px 0;
  font-size: .88rem;
}
.data-table th {
  background: var(--green); color: #fff; text-align: left;
  padding: 12px 16px; font-weight: 600;
}
.data-table td {
  padding: 11px 16px; border-bottom: 1px solid var(--border-light);
  color: var(--text-mid);
}
.data-table tr:nth-child(even) td { background: var(--cream); }

/* Info box */
.info-box {
  background: var(--blue-pale); border: 1px solid #c8daea;
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px 0;
}
.info-box.green { background: var(--green-pale); border-color: #b2cecc; }
.info-box-title { font-weight: 700; color: var(--blue); margin-bottom: 8px; font-size: .92rem; }
.info-box.green .info-box-title { color: var(--green); }

/* ---- Sidebar ---- */
.page-with-sidebar {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px;
}
@media(max-width: 960px) {
  .page-with-sidebar { grid-template-columns: 1fr; }
}
.sidebar-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
}
.widget-title {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-light);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light);
}
.widget-list { list-style: none; padding: 0; }
.widget-list li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.widget-list li:last-child { border-bottom: none; }
.widget-list li a { font-size: .88rem; color: var(--text-mid); }
.widget-list li a:hover { color: var(--green); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--green); padding: 64px 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Contact Form ---- */
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: .85rem; font-weight: 600; color: var(--text-dark);
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 14px;
  font-family: var(--font-sans); font-size: .9rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--cream); color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,95,93,.12);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .78rem; color: var(--text-light); margin-top: 4px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { margin-top: 3px; flex-shrink: 0; }
.form-check label { font-size: .83rem; color: var(--text-mid); }

/* ---- Footer ---- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.5); }
.footer-desc {
  font-size: .85rem; line-height: 1.7;
  color: rgba(255,255,255,.6); margin: 16px 0 20px;
}
.footer-contact-item {
  font-size: .83rem; color: rgba(255,255,255,.65);
  margin-bottom: 6px; display: flex; gap: 8px;
}
.footer-col-title {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: #fff; margin-bottom: 18px;
}
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav li a {
  font-size: .85rem; color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-nav li a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-text { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.85); }

@media(max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.divider { border: none; border-top: 1px solid var(--border-light); margin: 32px 0; }

/* ---- Policy pages ---- */
.policy-body { padding: 56px 0 72px; }
.policy-body h2 { margin: 40px 0 14px; font-size: 1.4rem; }
.policy-body h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.policy-body p, .policy-body li { color: var(--text-mid); line-height: 1.8; }
.policy-body ul, .policy-body ol { margin-bottom: 1.2rem; }
.policy-date {
  display: inline-block; font-size: .82rem; color: var(--text-light);
  margin-bottom: 32px; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
}

/* ---- Thank You ---- */
.thanks-page {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.thanks-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}
.thanks-title { margin-bottom: 16px; }
.thanks-desc { color: var(--text-mid); max-width: 480px; margin: 0 auto 32px; }

/* ---- Accordion ---- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; background: var(--white); border: none; cursor: pointer;
  padding: 18px 24px; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  color: var(--text-dark); transition: background .2s;
}
.accordion-btn:hover { background: var(--cream); }
.accordion-btn.open { background: var(--green-pale); color: var(--green); }
.accordion-icon { font-size: 1.1rem; transition: transform .25s; }
.accordion-btn.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none; padding: 0 24px 18px;
  background: var(--cream); font-size: .9rem; color: var(--text-mid); line-height: 1.75;
}
.accordion-body.open { display: block; }

/* ---- Table of Contents ---- */
.toc {
  background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px 0;
}
.toc-title { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.toc ol { padding-left: 1.2rem; }
.toc li { margin-bottom: 6px; }
.toc li a { font-size: .88rem; color: var(--green); }
.toc li a:hover { text-decoration: underline; }

/* ---- Pagination ---- */
.pagination {
  display: flex; gap: 6px; align-items: center;
  justify-content: center; margin-top: 48px;
}
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--white);
  font-size: .88rem; color: var(--text-mid);
  transition: all .2s;
}
.page-link:hover, .page-link.active {
  background: var(--green); border-color: var(--green); color: #fff;
}

/* ---- Cookie Banner ---- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--footer-bg); color: rgba(255,255,255,.85);
  padding: 18px 24px; z-index: 9999;
  display: flex; gap: 20px; align-items: center;
  flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
#cookie-banner p { font-size: .83rem; flex: 1; min-width: 200px; margin: 0; color: rgba(255,255,255,.8); }
#cookie-banner a { color: #8fc9c7; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---- Highlight / Lead content ---- */
.highlight-block {
  border-left: 4px solid var(--green);
  padding: 20px 24px; background: var(--green-pale);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 28px 0;
}
.highlight-block p { color: var(--text-mid); margin: 0; font-size: .95rem; }

/* ---- Number steps ---- */
.steps { counter-reset: step-counter; list-style: none; padding: 0; }
.steps li {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  counter-increment: step-counter;
}
.steps li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
}
.step-content strong { display: block; margin-bottom: 4px; color: var(--text-dark); }
.step-content span { font-size: .88rem; color: var(--text-mid); }

/* ---- Back to top ---- */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 44px; height: 44px; background: var(--green); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-md);
  transition: background .2s;
}
#back-to-top:hover { background: var(--green-light); }
#back-to-top.visible { display: flex; }

/* ---- Responsive tweaks ---- */
@media(max-width: 480px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
