:root {
  --primary-green: #1b4332;
  --forest-green: #2d6a4f;
  --emerald-green: #40916c;
  --mint-green: #74c69d;
  --vivid-orange: #e76f51;
  --deep-orange: #d9480f;
  --warm-amber: #f4a261;
  --ivory-base: #fbf8f2;
  --ivory-card: #ffffff;
  --ivory-accent: #f3eee3;
  --ivory-border: #e6ded0;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(27, 67, 50, 0.1), 0 8px 10px -6px rgba(27, 67, 50, 0.05);
  --shadow-lg: 0 20px 35px -5px rgba(27, 67, 50, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory-base);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style-position: inside;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* UNSTUCK SLIM HEADER */
.site-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid var(--ivory-border);
  padding: 10px 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-green);
  letter-spacing: -0.5px;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
}

.brand-accent {
  color: var(--vivid-orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 6px 4px;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--vivid-orange);
  border-radius: 2px;
}

.header-cta {
  background-color: var(--primary-green);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-green);
  transition: var(--transition);
}

.header-cta:hover {
  background-color: var(--vivid-orange);
  border-color: var(--vivid-orange);
  transform: translateY(-1px);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-green);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* HERO SECTION */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-green) 0%, #0f281e 100%);
  color: #ffffff;
  padding: 70px 0 65px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.15) 0%, rgba(231, 111, 81, 0) 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 162, 97, 0.2);
  border: 1px solid var(--warm-amber);
  color: var(--warm-amber);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--warm-amber);
}

.hero-desc {
  font-size: 1.15rem;
  color: #d1e7dd;
  max-width: 680px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--vivid-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--deep-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 111, 81, 0.35);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

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

/* SECTION COMMONS */
.section-padding {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 45px;
}

.section-tag {
  color: var(--vivid-orange);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 10px;
  max-width: 700px;
}

/* STAT BAR */
.stat-ticker {
  background-color: var(--ivory-accent);
  border-bottom: 1px solid var(--ivory-border);
  padding: 24px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* CARD GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--ivory-card);
  border: 1px solid var(--ivory-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--warm-amber);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #0b1f17;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(27, 67, 50, 0.9);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.card-length-metric {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background-color: var(--vivid-orange);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.card-footer-action {
  border-top: 1px solid var(--ivory-border);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest-green);
}

.card-btn:hover {
  color: var(--vivid-orange);
  transform: translateX(3px);
}

/* VERIFICATION PROTOCOLS & INDEX STYLING */
.verification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.verification-card {
  background: #ffffff;
  border: 1px solid var(--ivory-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.verification-card:hover {
  border-color: var(--emerald-green);
  box-shadow: var(--shadow-md);
}

.verification-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ivory-accent);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.verification-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.verification-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.measurement-tag-pill {
  display: inline-block;
  background-color: var(--ivory-accent);
  color: var(--forest-green);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 14px;
}

/* ARTICLE / DETAIL PAGE LAYOUT */
.article-header {
  background: linear-gradient(180deg, var(--ivory-accent) 0%, var(--ivory-base) 100%);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--ivory-border);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-breadcrumb a:hover {
  color: var(--vivid-orange);
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--ivory-border);
  padding-top: 16px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item strong {
  color: var(--primary-green);
}

.article-body-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 50px 0 80px;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 36px 0 16px;
  line-height: 1.25;
}

.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest-green);
  margin: 28px 0 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose ul, .prose ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.highlight-box {
  background: var(--ivory-accent);
  border-left: 4px solid var(--vivid-orange);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

.highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--primary-green);
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--ivory-border);
}

.breakdown-table th, .breakdown-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ivory-border);
  font-size: 0.95rem;
}

.breakdown-table th {
  background-color: var(--ivory-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-green);
}

/* SIDEBAR WIDGETS */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.widget-card {
  background: #ffffff;
  border: 1px solid var(--ivory-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ivory-accent);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ivory-border);
  font-size: 0.9rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 700;
  color: var(--primary-green);
  text-align: right;
}

/* CONTACT & LEGAL STYLES */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-card-info {
  background: var(--primary-green);
  color: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
}

.contact-form-wrap {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ivory-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ivory-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--ivory-base);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--vivid-orange);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

/* MANDATORY FOOTER */
.site-footer {
  background-color: #0d2319;
  color: #e2e8f0;
  padding: 70px 0 30px;
  border-top: 4px solid var(--vivid-orange);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--warm-amber);
  transform: translateX(3px);
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-address strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

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

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: var(--warm-amber);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 650px;
  background: #ffffff;
  border: 1px solid var(--ivory-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  animation: slideUp 0.35s ease-out;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--forest-green);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-cookie-accept:hover {
  background-color: var(--forest-green);
}

.btn-cookie-decline {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--ivory-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-decline:hover {
  background-color: var(--ivory-accent);
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .article-body-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ivory-border);
    box-shadow: var(--shadow-md);
    gap: 16px;
    align-items: flex-start;
  }

  .nav-menu.is-active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

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