/*
 * Series A — Main Stylesheet
 * Editorial Tech News Style
 * Accent: Electric Green #00C853
 * Fonts: DM Serif Display + DM Sans
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --black:       #0a0a0a;
  --ink:         #111111;
  --ink-2:       #2d2d2d;
  --ink-3:       #555;
  --ink-4:       #888;
  --ink-5:       #bbb;
  --white:       #ffffff;
  --off-white:   #f8f8f6;
  --surface:     #f2f2f0;
  --border:      #e4e4e0;
  --border-dark: #c8c8c2;
  --green:       #00C853;
  --green-dark:  #00a844;
  --green-glow:  rgba(0, 200, 83, 0.12);
  --red:         #e53935;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-width:    1200px;
  --radius:       4px;
  --radius-lg:    8px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* =============================================
   UTILITIES
   ============================================= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }

/* Label / Tag */
.label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.4;
}
.label-dark {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.label-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}
.divider-thick {
  height: 2px;
  background: var(--ink);
}

/* Section heading */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,200,83,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-dark);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.btn-ghost:hover { color: var(--green-dark); }
.btn-ghost::after { content: ' →'; }

/* =============================================
   TICKER / BREAKING BAR
   ============================================= */
.ticker-bar {
  background: var(--ink);
  color: var(--white);
  padding: 9px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--green);
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ticker-label {
  background: var(--green);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-content {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}
.ticker-content span::before { content: '• '; color: var(--green); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 0;
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-right: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-logo span { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 0 14px;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--green); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }
.navbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO / FEATURED SECTION
   ============================================= */
.hero {
  background: var(--off-white);
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto;
  gap: 0;
}

/* Main featured article */
.hero-feature {
  padding-right: 40px;
  border-right: 1px solid var(--border);
}
.hero-feature-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.hero-feature .label { margin-bottom: 12px; }
.hero-feature h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero-feature h1 a:hover { color: var(--green); }
.hero-feature .excerpt {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 520px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-4);
}
.hero-meta .author { font-weight: 600; color: var(--ink-2); }
.hero-meta .dot { opacity: 0.4; }

/* Side stories */
.hero-sidebar {
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.side-story {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.side-story:last-child { border-bottom: none; }
.side-story .label { margin-bottom: 8px; }
.side-story h3 {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.side-story h3 a:hover { color: var(--green); }
.side-story .side-meta {
  font-size: 11px;
  color: var(--ink-4);
}

/* =============================================
   ARTICLE GRID
   ============================================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.article-card:hover { transform: translateY(-2px); }
.article-card-img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 16px;
  aspect-ratio: 16/9;
}
.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card-img { transform: scale(1.04); }
.article-card .label { margin-bottom: 10px; }
.article-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  flex: 1;
}
.article-card h3 a:hover { color: var(--green); }
.article-card .excerpt {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-4);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-meta .author { font-weight: 600; color: var(--ink-3); }

/* =============================================
   WIDE ARTICLE CARD (horizontal)
   ============================================= */
.article-card-wide {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.article-card-wide:first-child { padding-top: 0; }
.article-card-wide:last-child { border-bottom: none; }
.article-card-wide .wide-img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.article-card-wide h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.article-card-wide h3 a:hover { color: var(--green); }
.article-card-wide .excerpt {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-wide .card-meta {
  font-size: 11px;
  color: var(--ink-4);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =============================================
   TWO-COLUMN LAYOUT
   ============================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.two-col-main {}
.two-col-aside {}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.sidebar-widget h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-newsletter { background: var(--ink); border-color: var(--ink); }
.sidebar-newsletter h4 { color: rgba(255,255,255,0.5); border-bottom-color: rgba(255,255,255,0.1); }
.sidebar-newsletter p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; line-height: 1.55; }
.sidebar-newsletter input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
}
.sidebar-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.sidebar-newsletter input:focus { border-color: var(--green); }
.sidebar-newsletter .btn { width: 100%; justify-content: center; }

.trending-list { display: flex; flex-direction: column; gap: 0; }
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--border-dark);
  line-height: 1;
  font-family: var(--font-display);
  flex-shrink: 0;
  width: 28px;
  margin-top: 2px;
}
.trending-item h5 {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}
.trending-item h5 a:hover { color: var(--green); }
.trending-item .t-meta { font-size: 11px; color: var(--ink-4); margin-top: 4px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
}
.tag-pill:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* =============================================
   CATEGORIES STRIP
   ============================================= */
.categories-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.categories-strip .container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.categories-strip .cat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-right: 8px;
  flex-shrink: 0;
}
.cat-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}
.cat-btn:hover, .cat-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: var(--ink);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: var(--green);
  opacity: 0.06;
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  line-height: 1.6;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   BLOG LIST PAGE
   ============================================= */
.blog-hero-bar {
  background: var(--ink);
  padding: 48px 0 40px;
  border-bottom: 3px solid var(--green);
}
.blog-hero-bar h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.blog-hero-bar p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   BLOG DETAIL
   ============================================= */
.article-hero {
  background: var(--off-white);
  padding: 48px 0 0;
  border-bottom: 1px solid var(--border);
}
.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 36px;
}
.article-hero .label { margin-bottom: 16px; }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.article-hero .lead {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 300;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-4);
  flex-wrap: wrap;
}
.article-byline .author { font-weight: 600; color: var(--ink-2); }
.article-hero-img {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 32px;
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-body p { margin-bottom: 22px; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 22px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body blockquote {
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-size: 19px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.5;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 32px;
}
.article-back:hover { color: var(--green-dark); }
.article-back::before { content: '←'; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--ink);
  padding: 52px 0 44px;
  border-bottom: 3px solid var(--green);
}
.page-hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 50px);
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.5); }
.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { opacity: 0.3; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}
.about-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.about-intro-text p {
  font-size: 16px;
  color: var(--ink-3);
  margin-bottom: 18px;
  line-height: 1.7;
}
.about-intro-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.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;
  margin-top: 32px;
}
.stat-box {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--green);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box .lbl { font-size: 12px; color: var(--ink-4); font-weight: 500; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  transition: all 0.2s;
}
.value-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.value-card .icon { font-size: 28px; margin-bottom: 14px; }
.value-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--ink-3); line-height: 1.65; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 24px;
}
.contact-sidebar {}
.contact-info-box {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.75);
}
.contact-info-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.ci-text h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 3px;
}
.ci-text p { font-size: 14px; }
.ci-text a { color: rgba(255,255,255,0.75); }
.ci-text a:hover { color: var(--green); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink-2);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 20px;
}
.form-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--green); }
.form-check a { color: var(--green); text-decoration: underline; }
.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.btn-submit:hover { background: var(--green-dark); }
.form-success {
  background: #e8f8ef;
  border: 1px solid #b8e8cd;
  border-radius: var(--radius);
  color: #1a6b3a;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  margin-top: 16px;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  position: relative;
  animation: modalFadeIn 0.25s ease;
  overflow: hidden;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  background: var(--ink);
  padding: 24px 32px;
  border-bottom: 3px solid var(--green);
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 4px;
}
.modal-header p { font-size: 13px; color: rgba(255,255,255,0.5); }
.modal-body { padding: 28px 32px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 3px solid var(--green);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  z-index: 8888;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.2);
}
.cookie-banner.hidden { display: none; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text a { color: var(--green); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-accept {
  padding: 9px 20px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-accept:hover { background: var(--green-dark); }
.cookie-reject {
  padding: 9px 20px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.cookie-reject:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}
.footer-brand .logo span { color: var(--green); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all 0.15s;
}
.social-btn:hover { background: var(--green); color: var(--white); }
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--green); }

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-wrap h1 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.legal-wrap .updated { font-size: 13px; color: var(--ink-4); margin-bottom: 40px; display: block; }
.legal-wrap h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 36px 0 12px;
}
.legal-wrap p, .legal-wrap li {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-wrap ul, .legal-wrap ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-wrap ul { list-style: disc; }
.legal-wrap ol { list-style: decimal; }
.legal-wrap a { color: var(--green); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 32px; }
  .hero-sidebar { padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro-img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 2px solid var(--border); box-shadow: var(--shadow-md); padding: 8px 0; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; height: auto; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .navbar-inner { position: relative; }
  .hamburger { display: flex; }
  .navbar-actions { display: none; }
  .article-grid { grid-template-columns: 1fr; }
  .hero-sidebar { grid-template-columns: 1fr; }
  .article-card-wide { grid-template-columns: 1fr; }
  .article-card-wide .wide-img { width: 100%; height: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .contact-form-card { padding: 24px; }
}
@media (max-width: 480px) {
  .hero-feature-img { height: 220px; }
  .article-hero-img img { height: 220px; }
  .modal { margin: 12px; }
  .modal-body { padding: 20px; }
  .modal-header { padding: 20px; }
}
