/* ==========================================================================
   ZZ POLJOPROMET — Agricultural Cooperative Portal
   Established Regional Agronomy, Soil Research & Agribusiness Advisory
   ========================================================================== */

:root {
  --primary: #1b4332;
  --primary-light: #2d6a4f;
  --primary-dark: #081c15;
  --accent: #c8963e;
  --accent-light: #e9c46a;
  --accent-dark: #9e6c20;
  --bg-page: #fbfbf9;
  --bg-surface: #ffffff;
  --bg-subtle: #f3f5f1;
  --bg-muted: #e9ece6;
  --text-main: #1f2937;
  --text-muted: #596775;
  --text-light: #8996a4;
  --border-color: #dbe2d8;
  --border-subtle: #edf2ea;
  --success: #2d6a4f;
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 4px rgba(27, 67, 50, 0.04);
  --shadow-md: 0 6px 16px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 14px 28px rgba(27, 67, 50, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --container-max: 1200px;
  --transition: all 0.25s ease-in-out;
}

*, *::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-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.6rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.65rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

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

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

/* Top Institutional Utility Bar */
.topbar {
  background-color: var(--primary-dark);
  color: #c9d6cf;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(200, 150, 62, 0.3);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(200, 150, 62, 0.2);
  color: var(--accent-light);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.topbar-contact a {
  color: #d1ded7;
}
.topbar-contact a:hover {
  color: var(--accent-light);
}

/* Main Header */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-brand svg, .site-brand img {
  height: 52px;
  width: auto;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.1rem;
  position: relative;
  letter-spacing: 0.2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta-btn {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  border: 1px solid var(--primary-light);
  box-shadow: 0 2px 5px rgba(27, 67, 50, 0.2);
}

.nav-cta-btn:hover {
  background-color: var(--accent-dark) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}

.nav-cta-btn::after {
  display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #132e22 0%, #1b4332 50%, #2d6a4f 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(200, 150, 62, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.85rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #d1ded7;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e9ece6;
  font-size: 0.825rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: #1b4332;
  border-color: var(--accent-light);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-light);
  color: #081c15;
  box-shadow: 0 4px 12px rgba(200, 150, 62, 0.35);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

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

.hero-card {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(200, 150, 62, 0.35);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  color: var(--accent-light);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.75rem;
}

.hero-stat-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 0.6rem;
}

.hero-stat-label {
  color: #d1ded7;
  font-size: 0.9rem;
}

.hero-stat-value {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Institutional Badge Bar */
.trust-bar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  padding: 0.5rem 1rem;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.trust-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Interactive Calculator / Tool */
.tool-box {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.tool-form-group {
  margin-bottom: 1.25rem;
}

.tool-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.tool-select, .tool-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-page);
  color: var(--text-main);
  transition: var(--transition);
}

.tool-select:focus, .tool-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.tool-results {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-results-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.tool-res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tool-res-item {
  background: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.tool-res-k {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.tool-res-v {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.2rem;
}

.tool-advisory-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

/* Interactive Tabs */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.tab-pane {
  display: none;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accordion FAQ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Article / Monograph Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-meta {
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.article-category {
  background-color: var(--bg-subtle);
  color: var(--primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.article-content {
  padding: 0.5rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.article-summary {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* Forms */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

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

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  font-size: 0.9rem;
}

.form-status.success {
  display: block;
  background-color: #d8f3dc;
  color: #1b4332;
  border: 1px solid #74c69d;
}

.form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* Compliance Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.content-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.sidebar-menu {
  list-style: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sidebar-menu li a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.sidebar-menu li:last-child a {
  border-bottom: none;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  background-color: var(--bg-subtle);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--accent);
}

.content-body {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.content-body h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.content-body h2:first-of-type {
  margin-top: 0;
}

.content-body h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.content-body ul, .content-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--text-muted);
}

.content-body li {
  margin-bottom: 0.5rem;
}

/* Legal Tables */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.legal-table th, .legal-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
}

.legal-table th {
  background-color: var(--bg-subtle);
  color: var(--primary);
  font-weight: 700;
}

.legal-table tr:nth-child(even) td {
  background-color: var(--bg-page);
}

/* Institutional Disclaimer Box */
.disclaimer-box {
  background-color: #fcfaf2;
  border: 1px solid #ebd9a4;
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: #634b15;
  margin: 2rem 0;
}

/* Footer */
.site-footer {
  background-color: #12281e;
  color: #c4d4cc;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-col p {
  color: #a7bbb0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #b9ccc2;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #b9ccc2;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: #8fa69a;
}

.footer-bottom a {
  color: #a7bbb0;
}
.footer-bottom a:hover {
  color: var(--accent-light);
}

/* Animations and Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cards-grid, .article-grid, .trust-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
}
