@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --dark:    #1A1A1A;
  --charcoal:#2B2B2B;
  --steel:   #3A3A3A;
  --orange:  #E8711A;
  --orange-light: #F5A040;
  --white:   #FFFFFF;
  --fog:     #F0F0F0;
  --muted:   #888888;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(26,26,26,0.97);
  border-bottom: 2px solid var(--orange);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  min-width: 0; flex-shrink: 1;
}

.nav-logo img {
  height: 46px; width: 46px; object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}

.nav-logo-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white);
}

.nav-logo-text span {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange);
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  flex-shrink: 0; z-index: 101;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO (home page) ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,15,17,0.62), rgba(15,15,17,0.72)),
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(232,113,26,0.03) 40px, rgba(232,113,26,0.03) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    url('images/hero-banner.jpg');
  background-size: cover, auto, auto, cover;
  background-position: center, center, center, center;
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 380px 280px 0;
  border-color: transparent var(--orange) transparent transparent;
  opacity: 0.15;
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

/* ── LOGO WATERMARK ── */
.watermark {
  position: absolute;
  z-index: 1;
  opacity: 0.16;
  width: 780px; max-width: 85vw;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  top: 50%; left: 5%;
  transform: translateY(-50%);
  filter: brightness(0) invert(1);
}

.hero-logo {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: 2rem;
}

.hero-logo img { height: 90px; width: 90px; object-fit: contain; }

.hero-logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--white);
  line-height: 1;
}

.hero-logo-text em {
  display: block;
  font-family: var(--font-display);
  font-style: normal; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange);
  margin-top: 0.3rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.0;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.2rem;
  text-shadow: 0 4px 28px rgba(0,0,0,0.55);
}

.hero h1 span { color: var(--orange); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

.hero-pills {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.pill {
  background: rgba(232,113,26,0.15);
  border: 1px solid rgba(232,113,26,0.4);
  color: var(--orange-light);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.9rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; padding: 0.9rem 2.2rem;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 0.9rem 2rem;
  transition: border-color 0.2s, color 0.2s;
  background: none; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

/* ── PAGE HEADER (services / about / contact) ── */
.page-header {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 160px 5% 70px;
}
.page-header .hero-bg { opacity: 0.5; }
.page-header-content { position: relative; z-index: 2; max-width: 760px; }
.page-header .section-label { color: var(--orange-light); }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.05;
  text-transform: uppercase; color: var(--white);
  margin: 0.5rem 0 1rem;
}
.page-header h1 span { color: var(--orange); }
.page-header p {
  font-size: 1rem; color: rgba(255,255,255,0.6);
  max-width: 600px; line-height: 1.75;
}

/* ── TICKER BAR ── */
.ticker {
  background: var(--orange);
  padding: 0.7rem 0;
  overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 25s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin: 0 2.5rem;
}
.ticker span::before { content: '◆  '; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION SHARED ── */
section { padding: 90px 5%; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.05;
  text-transform: uppercase; color: var(--dark);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 0.97rem; color: #555;
  max-width: 580px; line-height: 1.75;
}

/* ── SERVICES TEASER (home page grid) ── */
#services { background: var(--dark); }
#services .section-title { color: var(--white); }
#services .section-intro { color: rgba(255,255,255,0.5); }

.services-header { margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2px;
  background: var(--steel);
}

.service-card {
  background: var(--charcoal);
  padding: 2.2rem 2rem;
  position: relative;
  transition: background 0.2s;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  background: #222;
  border-bottom-color: var(--orange);
}

.service-icon-box {
  width: 48px; height: 48px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.87rem; color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.service-link {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-light);
}

/* materials badges */
.materials {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.75rem;
}
.mat-badge {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(232,113,26,0.15);
  border: 1px solid rgba(232,113,26,0.35);
  color: var(--orange-light);
  padding: 0.2rem 0.6rem;
}

/* ── SERVICE DETAIL (services.html) ── */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 80px 5%;
  border-bottom: 1px solid #eee;
}
.service-detail:nth-child(even) { background: var(--fog); }
.service-detail:nth-child(even) .service-detail-media { order: 2; }

.service-detail-tag {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.6rem;
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900; line-height: 1.1;
  text-transform: uppercase; color: var(--dark);
  margin-bottom: 1.1rem;
}

.service-detail-text p {
  font-size: 0.95rem; color: #4a4a4a;
  line-height: 1.8; margin-bottom: 1rem;
}

.service-detail-text strong { color: var(--dark); }

.spec-list { list-style: none; margin: 1.2rem 0; }
.spec-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: #333;
  padding: 0.45rem 0;
}
.spec-list li::before {
  content: '◆'; color: var(--orange); flex-shrink: 0;
  margin-top: 0.1rem; font-size: 0.7rem;
}

.service-detail-media {
  display: grid; gap: 0.6rem;
}
.media-main { grid-column: 1 / -1; }
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.media-row.of-three { grid-template-columns: 1fr 1fr; }

.img-frame {
  position: relative; overflow: hidden;
  border: 1px solid #ddd;
  aspect-ratio: 4 / 3;
  background: #eee;
}
.img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.img-frame:hover img { transform: scale(1.04); }
.img-frame::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
}

/* ── ABOUT ── */
#about, .about-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  background: var(--fog);
}

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}

.stat-block {
  background: var(--white);
  padding: 1.5rem;
  border-left: 4px solid var(--orange);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 900;
  color: var(--orange); line-height: 1;
}

.stat-label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.3rem;
}

.about-right {
  background: var(--dark);
  padding: 3rem 2.5rem;
  position: relative;
}

.about-right::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 4px;
  background: var(--orange);
}

.about-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900; line-height: 1.15;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 1.5rem;
}
.about-tagline span { color: var(--orange); }

.about-right p {
  font-size: 0.92rem; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin-bottom: 1rem;
}

.why-list { list-style: none; margin-top: 1.5rem; }
.why-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.why-list li::before {
  content: '◆';
  color: var(--orange); flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── VALUES GRID (about page) ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.value-card { padding: 1.8rem; background: var(--white); border-top: 3px solid var(--orange); }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 0.6rem; color: var(--dark);
}
.value-card p { font-size: 0.88rem; color: #555; line-height: 1.65; }

/* ── CONTACT ── */
#contact, .contact-section { background: var(--white); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; margin-top: 3rem; align-items: start;
}

.contact-detail {
  display: flex; gap: 1rem;
  margin-bottom: 1.8rem; align-items: flex-start;
}

.contact-icon-box {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white);
}

.contact-detail strong {
  display: block; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.2rem;
}

.contact-detail span {
  display: block;
  font-size: 0.95rem; color: var(--dark); font-weight: 500;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid #ddd;
  background: var(--fog);
  font-family: var(--font-body);
  font-size: 0.9rem; color: var(--dark);
  outline: none; border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--orange); background: var(--white); }
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 3px solid var(--orange);
  padding: 2.5rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-brand {
  display: flex; align-items: center; gap: 0.75rem;
}
.footer-brand img { height: 40px; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white);
}
.footer-brand-name span { color: var(--orange); }

.footer-copy {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

.footer-legal {
  width: 100%;
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  margin-top: 0.5rem; text-align: center;
  letter-spacing: 0.02em;
}

.footer-contact {
  font-size: 0.85rem; color: var(--orange);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 2rem; padding: 60px 6%; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
}

@media (max-width: 768px) {
  #about, .about-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  nav { padding: 0 4%; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(26,26,26,0.98);
    border-bottom: 2px solid var(--orange);
    padding: 0.5rem 6%;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links li:last-child a { border-bottom: none; }

  .nav-logo img { height: 38px; width: 38px; }
  .nav-logo-text strong { font-size: 1rem; }
  .nav-logo-text span { font-size: 0.62rem; }

  .hero-logo img { height: 60px; width: 60px; }
  footer { flex-direction: column; text-align: center; }
  .page-header { padding: 130px 6% 50px; }
}

@media (max-width: 380px) {
  .nav-logo-text { display: none; }
  .hero-logo img { height: 48px; width: 48px; }
  .hero-logo-text strong { font-size: 1.6rem; }
}
