:root {
  --bg-primary: #0d1017;
  --bg-surface: #151922;
  --bg-card: #1c222e;
  --bg-card-hover: #242c3b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: rgba(245, 158, 11, 0.12);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #2e3646;
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-max: 1200px;
}

*, *::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: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(13, 16, 23, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
}

.site-nav {
  display: none;
}

@media (min-width: 860px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
  }
  .site-nav a:hover {
    color: var(--text-main);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #0b0e14;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-main);
  background-color: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

/* Hero Section */
.hero-section {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2rem;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

.hero-img {
  width: 100%;
  height: 480px;
  aspect-ratio: 16 / 10;
}

/* Sections Common */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-darker {
  background-color: var(--bg-surface);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

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

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-specs {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.service-specs li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: bold;
}

/* Tech Specs Showcase */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tech-media-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tech-media-box img {
  width: 100%;
  height: 420px;
  aspect-ratio: 4 / 3;
}

.tech-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.tech-item {
  background-color: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
}

.tech-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.tech-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Production Estimator (Zero Form, Button Selectors, Always Visible Result) */
.estimator-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.estimator-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .estimator-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.option-group-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.pill-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-pill {
  min-height: 48px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-pill:hover {
  border-color: var(--accent);
}

.calc-pill.active {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.calc-pill.active::after {
  content: "●";
  font-size: 0.8rem;
  color: var(--accent);
}

.estimator-result-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .estimator-result-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.result-data h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.result-breakdown {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

.price-tax {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* FAQ (Open by default, zero hidden content) */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.faq-card h3 {
  font-size: 1.12rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.faq-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Block (ENABLE_FORM: OFF) */
.contact-section-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-section-wrapper h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

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

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 520px) {
  .contact-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.contact-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

@media (min-width: 640px) {
  .contact-info-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-item {
  background-color: var(--bg-surface);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.contact-info-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item strong {
  font-size: 0.92rem;
  color: var(--text-main);
  word-break: break-all;
}

/* Footer */
.site-footer {
  background-color: #090b0f;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Legal Page Content Layout */
.legal-page-content {
  padding: clamp(3rem, 6vw, 5rem) 0;
  max-width: 820px;
  margin: 0 auto;
}

.legal-page-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text-main);
}

.legal-date {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.legal-section-block {
  margin-bottom: 2.25rem;
}

.legal-section-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.legal-section-block p, .legal-section-block ul {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal-section-block ul {
  padding-left: 1.5rem;
}

.legal-section-block li {
  margin-bottom: 0.4rem;
}

/* Cookie Notice Bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(21, 25, 34, 0.98);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  z-index: 100;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
}

.cookie-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 750px;
}

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

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}