/* ===== Design Tokens ===== */
:root {
  --primary: #1a6b8a;
  --primary-dark: #145469;
  --accent: #3aaf5c;
  --accent-dark: #2e9a4c;
  --dark: #1f2933;
  --text: #384049;
  --muted: #6b7680;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --border: #e4e9ed;
  --shadow: 0 6px 24px rgba(26, 107, 138, 0.08);
  --shadow-hover: 0 14px 36px rgba(26, 107, 138, 0.16);
  --radius: 14px;
  --maxw: 1140px;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: 1rem;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(58,175,92,.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(58,175,92,.45); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 46px; width: auto; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 500; color: var(--text); position: relative; padding: 6px 0; transition: color .2s;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--primary); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  background: linear-gradient(120deg, rgba(20,84,105,.92), rgba(46,154,76,.82)),
              url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero-content { position: relative; max-width: 780px; padding-top: 40px; padding-bottom: 40px; margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: 34px; opacity: .95; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem;
  font-weight: 600; color: var(--accent); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

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

/* ===== Cards ===== */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* Topic cards */
.topic-card { padding: 34px 28px; }
.topic-icon {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 1.6rem; margin-bottom: 20px;
}
.topic-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.topic-card p { color: var(--muted); margin-bottom: 18px; }
.link-more { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.link-more:hover { gap: 12px; color: var(--accent); }

/* Post cards */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-img { height: 210px; background-size: cover; background-position: center; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.badge { background: rgba(26,107,138,.1); color: var(--primary); font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.post-date { color: var(--muted); font-size: .85rem; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.post-card p { color: var(--muted); margin-bottom: 18px; flex: 1; }

/* USP */
.usp { text-align: center; padding: 20px; }
.usp-icon {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(58,175,92,.12); color: var(--accent); font-size: 2rem;
}
.usp h3 { font-size: 1.25rem; margin-bottom: 10px; }
.usp p { color: var(--muted); }

/* ===== Newsletter ===== */
.newsletter {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 70px 0;
}
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-text { flex: 1; min-width: 280px; }
.newsletter-text h2 { color: #fff; font-size: 1.9rem; margin-bottom: 8px; }
.newsletter-text p { opacity: .92; }
.newsletter-form { flex: 1; min-width: 300px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row input {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 50px; border: none;
  font-size: 1rem; font-family: 'Inter', sans-serif;
}
.form-row input:focus { outline: 3px solid rgba(58,175,92,.5); }
.form-note { font-size: .85rem; opacity: .85; margin-top: 12px; }
.form-feedback { margin-top: 10px; font-weight: 600; min-height: 1.2em; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #c7cfd6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.footer-logo { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-col p { color: #97a2ac; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #97a2ac; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom p { text-align: center; color: #8b96a0; font-size: .9rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  .main-nav ul li { border-bottom: 1px solid var(--border); }
  .main-nav ul li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 14px 0; }
  .section { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
}

/* ===== Blog-Artikel ===== */
.article-hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 54px 0 60px;
}
.breadcrumb { font-size: .9rem; margin-bottom: 22px; opacity: .9; }
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: #c9ffd6; }
.breadcrumb span { margin: 0 8px; opacity: .7; }
.article-hero .article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.article-hero .badge { background: rgba(255,255,255,.18); color: #fff; }
.article-hero .post-date, .article-hero .read-time { color: rgba(255,255,255,.9); font-size: .9rem; }
.article-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 900px; }

.article-body { padding: 64px 0; }
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-wrap p { margin-bottom: 20px; font-size: 1.06rem; }
.article-wrap h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 42px 0 16px;
  padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block;
}
.article-wrap h3 { font-size: 1.2rem; margin: 26px 0 10px; color: var(--primary); }
.article-wrap ul.service-list { margin: 0 0 22px; padding-left: 0; }
.article-wrap ul.service-list li {
  position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 1.04rem;
}
.article-wrap ul.service-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 2px; color: var(--accent); font-size: .9rem;
}
.service-block {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 22px;
}
.service-block h3 { margin-top: 0; display: flex; align-items: center; gap: 12px; }
.service-block h3 i { color: var(--accent); }
.usp-inline { margin: 0 0 22px; padding-left: 0; }
.usp-inline li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 1.04rem; }
.usp-inline li i { position: absolute; left: 0; top: 4px; color: var(--accent); }
.quote {
  border-left: 4px solid var(--accent); background: var(--bg-alt);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 22px;
}
.quote p { font-style: italic; margin-bottom: 10px; }
.quote cite { font-style: normal; font-weight: 600; color: var(--primary); }
.cta-box {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; border-radius: var(--radius); padding: 40px 36px; text-align: center; margin-top: 20px;
}
.cta-box h2 { color: #fff; border: none; display: block; margin: 0 0 12px; }
.cta-box p { margin-bottom: 24px; opacity: .95; }
.cta-box .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-box .btn-primary:hover { background: #f0f0f0; }
.contact-details { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-details li { margin-bottom: 8px; }
.contact-details a { color: var(--primary); font-weight: 600; }
