:root {
  --bg-deep: #0e0b11;
  --bg-surface: #17131d;
  --bg-surface-elevated: #221c2b;
  --border-subtle: rgba(255, 159, 28, 0.18);
  --border-glow: rgba(231, 29, 54, 0.35);
  --text-main: #fcfbfa;
  --text-muted: #b9b3c0;
  --amber-core: #ff9f1c;
  --amber-bright: #ffbf69;
  --crimson-burst: #e71d36;
  --emerald-flash: #2ec4b6;
  --gradient-pyro: linear-gradient(135deg, #e71d36 0%, #ff9f1c 65%, #ffbf69 100%);
  --gradient-dark: linear-gradient(180deg, #17131d 0%, #0e0b11 100%);
  --shadow-flame: 0 10px 30px -10px rgba(231, 29, 54, 0.4);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #201325 0%, #0e0b11 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Slim Unstuck Header */
.site-header {
  position: relative; /* Scrolls naturally off screen */
  width: 100%;
  background: rgba(14, 11, 17, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-symbol {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--gradient-pyro);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255, 159, 28, 0.5);
}

.logo-symbol svg {
  width: 16px;
  height: 16px;
  fill: #0e0b11;
}

.brand-accent {
  color: var(--amber-core);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.35rem 0.2rem;
  position: relative;
}

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

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

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

.btn-header-cta {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--gradient-pyro);
  color: #0e0b11;
  box-shadow: 0 4px 15px rgba(231, 29, 54, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 159, 28, 0.45);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-main);
}

/* Mobile Dropdown Panel */
.mobile-nav-panel {
  display: none;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-panel .nav-link {
  font-size: 1rem;
  display: block;
}

/* Main Container Structure */
main {
  flex: 1 0 auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

/* Section Header Typography */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-core);
  background: rgba(255, 159, 28, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 28, 0.3);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.section-title span {
  background: var(--gradient-pyro);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-pyro);
  color: #0e0b11;
  box-shadow: var(--shadow-flame);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--amber-core);
  background: rgba(255, 159, 28, 0.08);
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber-core);
  border: 1px solid var(--amber-core);
}

.btn-outline-amber:hover {
  background: var(--amber-core);
  color: #0e0b11;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 1.25rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(231, 29, 54, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item .metric-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber-core);
}

.metric-item .metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.hero-media-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-media-card:hover img {
  transform: scale(1.03);
}

.hero-badge-floating {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(14, 11, 17, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

/* Feature & Service Card */
.pyro-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pyro-card:hover {
  transform: translateY(-5px);
  border-color: var(--amber-core);
  box-shadow: 0 15px 35px -10px rgba(255, 159, 28, 0.25);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pyro-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(14, 11, 17, 0.85);
  backdrop-filter: blur(6px);
  color: var(--amber-bright);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 191, 105, 0.3);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-card-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber-core);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-card-action:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Interactive Calculator Module */
.calculator-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--amber-core);
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.2);
}

select.form-control option {
  background: var(--bg-surface);
  color: #fff;
}

.calc-result-box {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--amber-core);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
}

.calc-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber-core);
}

/* Detail & Article Pages Layout */
.article-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-subtle);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d6d0dc;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--amber-core);
  margin: 1.75rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.4rem;
}

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

.article-content li {
  margin-bottom: 0.6rem;
}

.spec-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-table th {
  background: var(--bg-surface-elevated);
  color: var(--amber-core);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.external-ref-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Legal Documents Structure */
.legal-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.legal-card h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-card .effective-date {
  color: var(--amber-core);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: block;
}

.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 2rem 0 0.85rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.4rem;
}

.legal-card p,
.legal-card li {
  color: #cac3d2;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Contact Details Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 159, 28, 0.12);
  border: 1px solid rgba(255, 159, 28, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber-core);
}

.info-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.info-detail {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

/* Universal Mandatory Footer */
.site-footer {
  margin-top: auto;
  background: #09070b;
  border-top: 1px solid rgba(255, 159, 28, 0.2);
  padding: 4rem 1.25rem 2rem;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 1.25rem 0 1.5rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.82rem;
  color: #8c8595;
  text-align: center;
}

.footer-address {
  font-style: normal;
  line-height: 1.5;
}

.footer-legal-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer-legal-bar a {
  color: #a49dae;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
}

.footer-legal-bar a:hover {
  color: var(--amber-core);
}

/* Persistent Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 14, 23, 0.98);
  border-top: 1px solid var(--amber-core);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  padding: 1.25rem;
  z-index: 9999;
  backdrop-filter: blur(12px);
  display: none; /* Revealed by app.js if no consent found */
}

.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 500px;
  font-size: 0.88rem;
  color: #ddd5e4;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--amber-core);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: var(--amber-core);
  color: #0e0b11;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background: #fff;
}

.btn-cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-cookie-decline:hover {
  border-color: #fff;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-cta-wrapper {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.95rem;
  }
  .site-header {
    padding: 0.35rem 0;
  }
  .brand-logo {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-cookie-accept, .btn-cookie-decline {
    width: 100%;
    text-align: center;
  }
}