/* UrbanGridBackup.com — Global Stylesheet v1.0 */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --color-primary:       #1e3a5f;
  --color-primary-dark:  #152b47;
  --color-primary-light: #2d5282;
  --color-accent:        #00b894;
  --color-accent-hover:  #00a381;
  --color-cta:           #e67e22;
  --color-cta-hover:     #d35400;
  --color-text:          #2d3748;
  --color-text-muted:    #718096;
  --color-text-light:    #a0aec0;
  --color-bg:            #f7f8fc;
  --color-bg-white:      #ffffff;
  --color-bg-dark:       #1a2744;
  --color-bg-section:    #eef2f7;
  --color-border:        #e2e8f0;
  --color-border-dark:   #cbd5e0;
  --color-success:       #27ae60;
  --color-warning:       #f39c12;
  --color-danger:        #e74c3c;
  --color-info:          #3498db;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --max-width:  1200px;
  --content-w:  780px;
  --transition: 0.2s ease;
}

/* ============================================================
   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-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

/* ============================================================
   Skip Link (accessibility + crawler focus signal)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.site-logo:hover { color: var(--color-accent); }

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

.site-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--color-accent-hover) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.9);
  padding: 1rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}
.cookie-banner.visible { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-banner p { flex: 1; font-size: 0.875rem; margin: 0; }
.cookie-banner a { color: var(--color-accent); }
.cookie-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

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

.content-container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  align-items: start;
}

/* CRITICAL: Sidebar always comes after <main> in DOM.
   CSS grid positions it visually to the right. */
.page-main { min-width: 0; }
.page-sidebar { position: sticky; top: 80px; }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(0,184,148,0.2);
  border: 1px solid rgba(0,184,148,0.4);
  color: #6ee7d5;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--color-accent); }
.hero-stat span { font-size: 0.8rem; opacity: 0.7; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,184,148,0.3); }

.btn-cta {
  background: var(--color-cta);
  color: #fff;
}
.btn-cta:hover { background: var(--color-cta-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(230,126,34,0.3); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: #fff; }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

.btn-affiliate {
  background: var(--color-cta);
  color: #fff;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.btn-affiliate:hover { background: var(--color-cta-hover); color: #fff; }

/* ============================================================
   Affiliate Disclosure Banner
   ============================================================ */
.affiliate-disclosure {
  background: #fffbeb;
  border: 1px solid #f6d860;
  border-left: 4px solid var(--color-warning);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #78350f;
}
.affiliate-disclosure p { margin: 0; }
.affiliate-disclosure a { color: #92400e; }

/* ============================================================
   Quick Answer Block
   ============================================================ */
.quick-answer {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border: 1px solid #a5d6a7;
  border-left: 4px solid var(--color-success);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.quick-answer h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-success);
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
}

.quick-answer p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.65;
  color: #1b4332;
}

/* ============================================================
   Table of Contents
   ============================================================ */
.toc {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.toc ol { padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.25rem; }
.toc a { font-size: 0.9rem; text-decoration: none; color: var(--color-primary); }
.toc a:hover { text-decoration: underline; color: var(--color-accent); }

/* ============================================================
   Article Typography
   ============================================================ */
article h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

article h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
  letter-spacing: -0.01em;
}

article h3 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 2rem 0 0.75rem;
}

article h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.5rem 0 0.5rem;
}

article p { margin-bottom: 1.25rem; }
article p:last-child { margin-bottom: 0; }

article ul, article ol {
  margin-bottom: 1.25rem;
}

/* ============================================================
   Spec Tables
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.spec-table, .comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-white);
  font-size: 0.9rem;
}

.spec-table caption, .comparison-table caption {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
  background: var(--color-bg-section);
  border-radius: var(--radius) var(--radius) 0 0;
}

.spec-table th[scope="col"],
.comparison-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  white-space: nowrap;
}

.spec-table th[scope="row"] {
  background: var(--color-bg-section);
  font-weight: 600;
  color: var(--color-text);
  padding: 0.65rem 1rem;
  white-space: nowrap;
  min-width: 180px;
}

.spec-table td,
.comparison-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.spec-table tr:last-child td,
.comparison-table tr:last-child td { border-bottom: none; }

.spec-table tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) td {
  background: #fafbfd;
}

.spec-table tr:hover td,
.comparison-table tbody tr:hover td {
  background: #f0f4fa;
}

.badge-lfp {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-nmc {
  display: inline-block;
  background: #fef3c7;
  color: #78350f;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   Product Cards
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.product-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.product-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}

.product-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.product-card-specs li {
  background: var(--color-bg-section);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

.product-card-specs li strong {
  display: block;
  color: var(--color-text);
  font-size: 0.875rem;
}

.product-card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.product-card-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ============================================================
   Section Blocks
   ============================================================ */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-section); }
.section-dark { background: var(--color-bg-dark); color: #fff; }

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

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-dark .section-header h2 { color: #fff; }

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   Category Cards (Homepage Hub)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.category-card .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
}

/* ============================================================
   Article Meta (author, date, reading time)
   ============================================================ */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0.75rem 0 1.5rem;
  flex-wrap: wrap;
}

.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.article-meta .updated-badge {
  background: #dbeafe;
  color: #1e40af;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-section { margin: 3rem 0; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-bg-white);
}

.faq-item h3 {
  padding: 1.1rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-item h3:hover { background: var(--color-bg-section); }

.faq-item h3::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] h3::after { content: '−'; }

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================================================
   Callout Boxes
   ============================================================ */
.callout {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.callout-icon { font-size: 1.5rem; flex-shrink: 0; }
.callout-content h4 { margin: 0 0 0.35rem; font-size: 0.9rem; font-weight: 700; }
.callout-content p { margin: 0; font-size: 0.9rem; }

.callout-info    { background: #eff6ff; border: 1px solid #bfdbfe; }
.callout-warning { background: #fffbeb; border: 1px solid #fde68a; }
.callout-success { background: #f0fdf4; border: 1px solid #bbf7d0; }
.callout-danger  { background: #fef2f2; border: 1px solid #fecaca; }

/* ============================================================
   Sidebar Components
   ============================================================ */
.sidebar-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.sidebar-product {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-product h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}

.sidebar-product .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.sidebar-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.sidebar-specs li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.sidebar-specs li:last-child { border-bottom: none; }
.sidebar-specs li strong { color: var(--color-text); }

/* ============================================================
   Admin / Legal Page Styles
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 3rem 1.5rem;
}

.page-hero-inner { max-width: var(--content-w); margin: 0 auto; }

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-hero .subtitle {
  opacity: 0.75;
  font-size: 0.95rem;
}

.legal-body {
  max-width: var(--content-w);
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-body p { margin-bottom: 1rem; font-size: 0.95rem; }
.legal-body ul { margin-bottom: 1rem; }
.legal-body li { font-size: 0.95rem; margin-bottom: 0.4rem; }

/* ============================================================
   Trust Badges
   ============================================================ */
.trust-bar {
  background: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
}

.trust-items {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.trust-item .trust-icon { font-size: 1.25rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-brand .site-logo { color: #fff; margin-bottom: 0.75rem; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-disclosure {
  font-size: 0.75rem;
  opacity: 0.5;
  max-width: 600px;
  line-height: 1.5;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--color-accent); }

/* ============================================================
   Verdict Box (for comparison pages)
   ============================================================ */
.verdict-box {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5282 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.verdict-box h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 0.75rem;
  color: #fff;
}

.verdict-box h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.verdict-box p {
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.35rem; color: var(--color-text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg-white);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,184,148,0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .page-sidebar { position: static; }

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

@media (max-width: 640px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--color-primary-dark); flex-direction: column; padding: 1rem; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: flex; }

  .hero { padding: 3rem 1.25rem; }
  .hero-stats { gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }

  .product-card-specs { grid-template-columns: 1fr; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .site-footer, .cookie-banner, .sidebar { display: none !important; }
  body { font-size: 12pt; }
  a { color: inherit; text-decoration: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}
