/* ============================================
   Haarajoen asukasyhdistys ry
   Warm Scandinavian Theme
   ============================================ */

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

:root {
  --bg: #F5F4F1;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FAFAF8;
  --text: #1A1918;
  --text-secondary: #6D6C6A;
  --text-tertiary: #9C9B99;
  --primary: #3D8A5A;
  --primary-light: #C8F0D8;
  --primary-dark: #2D5F3F;
  --coral: #D89575;
  --coral-light: #F5E6DC;
  --green-light: #E8F0E4;
  --green-dark: #4D9B6A;
  --border: #E5E4E1;
  --border-strong: #D1D0CD;
  --footer-bg: #1A1918;
  --shadow-sm: 0 1px 6px rgba(26, 25, 24, 0.03);
  --shadow-md: 0 2px 12px rgba(26, 25, 24, 0.06);
  --shadow-lg: 0 8px 24px rgba(26, 25, 24, 0.1);
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --container-narrow: 720px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 100px;
  --header-height: 72px;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(61, 138, 90, 0.18);
  color: var(--text);
}

a {
  color: var(--primary);
  transition: color 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.25rem; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.938rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-join:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-join svg {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      #2D5F3F 0%,
      #1a4a2e 25%,
      #1b3a27 50%,
      #243b2a 75%,
      #2D5F3F 100%
    );
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(61, 138, 90, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(77, 155, 106, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(45, 95, 63, 0.25) 0%, transparent 40%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 25, 24, 0.5) 0%,
    rgba(26, 25, 24, 0.2) 60%,
    rgba(26, 25, 24, 0.1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(61, 138, 90, 0.25);
  color: var(--primary-light);
  font-size: 0.813rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-badge svg {
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  max-width: 35rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ===========================
   INFO CARDS SECTION
   =========================== */
.info-section {
  padding: 4rem 5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.info-card p {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===========================
   NEWS SECTION
   =========================== */
.news-section {
  background: var(--bg-card);
  padding: 4rem 5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.news-header .section-label {
  text-align: left;
  margin-bottom: 0.5rem;
}

.news-header h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-outline-sm:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-card-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.news-card time {
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.news-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.news-show-all-mobile {
  display: none;
  margin-top: 1.5rem;
}

.btn-outline-full {
  width: 100%;
  justify-content: center;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: var(--primary-dark);
  padding: 5rem 5rem;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
}

.cta-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-dark);
  background: #fff;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--primary-dark);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 5rem 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-brand {
  max-width: 320px;
  flex-shrink: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-logo .logo-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.125rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-row svg {
  flex-shrink: 0;
  opacity: 0.4;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-meta {
  display: flex;
  gap: 1.5rem;
}

.footer-meta a {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-meta a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   PAGE CONTENT (Single & List)
   =========================== */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  max-width: 20ch;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.page-meta time {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

main {
  min-height: 60vh;
}

.content {
  padding-bottom: 4rem;
}

.content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.content h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.content p {
  margin-bottom: 1.1rem;
  max-width: 65ch;
}

.content ul,
.content ol {
  margin-bottom: 1.1rem;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.35rem;
}

.content strong {
  font-weight: 600;
  color: var(--text);
}

.content blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-card-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.content img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

.content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.content th,
.content td {
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}

.content th {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card-alt);
}

.content tr:hover td {
  background: rgba(245, 244, 241, 0.5);
}

/* List page */
.list-header {
  padding: 3rem 0 2.5rem;
}

.list-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

/* List page uses single-column layout for readability */
.news-grid--list {
  grid-template-columns: 1fr;
  max-width: 48rem;
}

/* Button used on list pages */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   KEYFRAMES
   =========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE: TABLET (960px)
   =========================== */
@media (max-width: 960px) {
  .container,
  .header-inner,
  .hero-content,
  .info-section,
  .news-section,
  .cta-section,
  .footer-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .hero {
    height: 480px;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .info-card p {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 3rem;
  }

  .cta-stats {
    gap: 2.5rem;
  }
}

/* ===========================
   RESPONSIVE: MOBILE (680px)
   =========================== */
@media (max-width: 680px) {
  :root {
    --header-height: 56px;
  }

  .container,
  .container--narrow,
  .header-inner,
  .hero-content,
  .info-section,
  .news-section,
  .cta-section,
  .footer-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Header */
  .logo-text {
    font-size: 1.25rem;
  }

  .btn-join {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                visibility 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 0.938rem;
    padding: 0.6rem 0;
    width: 100%;
  }

  /* Hero */
  .hero {
    height: 480px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 2.5rem;
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.938rem;
    padding: 0.75rem 1.5rem;
  }

  /* Info section */
  .info-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .info-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }

  .info-card p {
    display: none;
  }

  .info-card h3 {
    font-size: 1rem;
  }

  /* News */
  .news-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .news-header .btn-outline-sm {
    display: none;
  }

  .news-header h2 {
    font-size: 1.375rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-card {
    padding: 1.25rem;
  }

  .news-show-all-mobile {
    display: block;
  }

  /* CTA */
  .cta-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-sub {
    font-size: 0.938rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-white,
  .btn-ghost {
    font-size: 0.938rem;
    padding: 0.875rem 1.5rem;
    justify-content: center;
  }

  .cta-stats {
    gap: 0;
    justify-content: space-around;
    width: 100%;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Footer */
  .footer-inner {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-col {
    min-width: 120px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Page content */
  .page-header {
    padding: 2rem 0 1.5rem;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
