:root {
  --bg-0: #24070d;
  --bg-1: #3a0912;
  --plate: #3a0c16;
  --plate-2: #4a101d;
  --line: rgba(244, 191, 42, 0.28);
  --line-strong: rgba(244, 191, 42, 0.58);
  --txt: #ffffff;
  --muted: #f4d995;
  --brand: #bf1022;
  --gold: #f4bf2a;
  --ember: #ffe8b3;
}

::selection {
  background: var(--gold);
  color: var(--bg-0);
}

::-moz-selection {
  background: var(--gold);
  color: var(--bg-0);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--txt);
}

.site-bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #a20d1d 0%, #7f0d19 45%, #560a13 100%);
}

[data-live-section] {
  animation: none;
}

[data-live-section="header"] {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  backdrop-filter: none !important;
}

[data-live-section="header"] nav a {
  color: #1f2937;
}

[data-live-section="header"] nav a[aria-current="page"] {
  color: #ffffff !important;
}

[data-live-section="header"] nav a:hover {
  color: #9f1239;
}

[data-live-section="header"] .brand-name {
  color: #a20d1d !important;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-live-section="header"] .brand-tagline {
  color: #ffd35c !important;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-live-section="header"] a[href="/"] {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

[data-live-section="header"] a[href="/"] img {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

[data-live-section="about"] .section-kicker {
  color: #ffd35c;
  font-size: 0.95rem;
}

[data-live-section="about"] .section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

[data-live-section="about"] .section-copy {
  color: #fff0c5 !important;
  font-size: 1.08rem;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

[data-live-section="about"] .about-team-card h3 {
  color: #ffe8b3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

[data-live-section="about"] .about-team-card p {
  color: #fff4da;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

[data-live-section="hero"] .section-kicker {
  color: #E8A838;
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-live-section="hero"] .section-title {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

[data-live-section="hero"] .section-copy {
  color: #fff0c5;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

[data-live-section="products"] .section-kicker {
  color: #ffd35c;
  font-size: 0.95rem;
}

[data-live-section="products"] .section-title {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

[data-live-section="products"] .section-copy {
  color: #fff0c5;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.42);
}

[data-live-section="products"] .steel-card > div:first-child h2,
[data-live-section="products"] .steel-card > div:first-child h3 {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

[data-live-section="products"] .steel-card > div:first-child p,
[data-live-section="products"] .steel-card > div:first-child span {
  color: #fff0c5;
}

[data-live-section="products"] .steel-card > div:nth-child(2),
[data-live-section="products"] .steel-card > div:nth-child(2) p,
[data-live-section="products"] .steel-card > div:nth-child(2) span,
[data-live-section="products"] .steel-card > div:nth-child(2) h3,
[data-live-section="products"] .steel-card > div:nth-child(2) a {
  color: #1f2937;
}

[data-live-section="products"] .steel-card > div:nth-child(2) .rounded-\[24px\] h3,
[data-live-section="products"] .steel-card > div:nth-child(2) .rounded-\[24px\] p,
[data-live-section="products"] .steel-card > div:nth-child(2) .rounded-\[24px\] span {
  color: #1f2937;
  text-shadow: none;
}

[data-live-section="products"] .steel-card > div:nth-child(2) .rounded-\[24px\] a {
  color: #5a0a12;
}

[data-live-section="projects"] .section-kicker {
  color: #ffd35c;
  font-size: 0.95rem;
}

[data-live-section="projects"] .section-title {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

[data-live-section="projects"] .section-copy {
  color: #fff0c5;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

[data-live-section="projects"] .steel-card h3 {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

[data-live-section="projects"] .steel-card p {
  color: #ffe8b3;
}

[data-live-section="projects"] .steel-card span {
  color: #ffd35c;
}

.hero-flyer {
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.hero-flyer-overlay {
  background: linear-gradient(180deg, rgba(60, 10, 18, 0.18) 0%, rgba(42, 8, 14, 0.58) 100%);
}

.hero-flyer-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: #61101c;
  color: #fff;
  transition: all 0.25s ease;
}

.hero-flyer-nav:hover {
  background: #bf1022;
  border-color: rgba(255, 255, 255, 1);
}

.hero-flyer-prev {
  left: 0.75rem;
}

.hero-flyer-next {
  right: 0.75rem;
}

.hero-flyer-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: #f1f5f9;
  transition: all 0.25s ease;
}

.hero-flyer-dot.is-active {
  width: 1.8rem;
  border-color: rgba(255, 255, 255, 1);
  background: #bf1022;
}

.steel-card {
  border: 1px solid var(--line);
  background: #4a101d;
  box-shadow: none;
}

.section-kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  opacity: 1;
}

.section-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.section-copy {
  color: var(--muted);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
  opacity: 1;
}

.hot-outline {
  position: relative;
}

.hot-outline::before {
  display: none;
}

.hot-outline:hover::before {
  opacity: 0;
}

#floating-whatsapp {
  box-shadow: 0 20px 45px rgba(37, 211, 102, 0.38);
}

@media (max-width: 640px) {
  /* Hero section mobile fixes */
  .section-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  
  .section-copy {
    font-size: 0.9375rem !important;
  }
  
  /* Project cards mobile */
  .steel-card {
    border-radius: 1rem !important;
  }
  
  /* Contact section mobile */
  .hot-outline {
    border-radius: 1.25rem !important;
  }
  
  /* Header mobile adjustments */
  [data-live-section="header"] .brand-name {
    font-size: 0.9rem !important;
  }
  
  [data-live-section="header"] .brand-tagline {
    font-size: 0.65rem !important;
  }
}

@media (max-width: 768px) {
  .hero-flyer-nav {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
  }

  .hero-flyer-nav svg {
    width: 16px;
    height: 16px;
  }

  .hero-flyer-prev {
    left: 0.4rem;
  }

  .hero-flyer-next {
    right: 0.4rem;
  }
}
