/* ============================================
   EL VALLE DEMOLITION INC — MAIN STYLESHEET
   Industrial / Bold / Copper & Black
   ============================================ */

:root {
  --copper: #b5722e;
  --copper-light: #d4923e;
  --copper-dark: #8a5520;
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --dark-gray: #2a2a2a;
  --mid-gray: #4a4a4a;
  --light-gray: #e8e4e0;
  --off-white: #f5f2ee;
  --white: #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --header-h: 80px;
  --section-pad: clamp(60px, 8vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

/* =====================
   BUTTONS
   ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn-primary:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181, 114, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* =====================
   HEADER
   ===================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181, 114, 46, 0.2);
  height: var(--header-h);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
}

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

.logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper-light);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 8px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--copper-light);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--copper);
  padding: 10px 20px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--copper-dark);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* =====================
   HERO
   ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(181, 114, 46, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(181, 114, 46, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--black) 0%, var(--charcoal) 40%, var(--dark-gray) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b5722e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--charcoal), transparent);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding: 0 24px;
  text-align: center;
  padding-top: var(--header-h);
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
  border: 1px solid rgba(181, 114, 46, 0.4);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  animation: fadeDown 0.8s ease forwards;
  opacity: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line-1 {
  animation: slideUp 0.7s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-line-2 {
  animation: slideUp 0.7s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-title em {
  font-style: normal;
  color: var(--copper-light);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--copper);
  opacity: 0.4;
  border-radius: 3px;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s ease 1.2s forwards;
  opacity: 0;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--copper-light), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* =====================
   STATS BAR
   ===================== */

.stats-bar {
  background: var(--copper);
  padding: 0;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 48px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}

/* =====================
   SECTIONS SHARED
   ===================== */

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

/* =====================
   SERVICES
   ===================== */

.services {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(181, 114, 46, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--copper);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--mid-gray);
  line-height: 1.65;
}

/* =====================
   ABOUT
   ===================== */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.about-image-accent {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid var(--copper);
  border-radius: 8px;
  z-index: 1;
}

.about-text-col .section-tag {
  display: block;
  margin-bottom: 8px;
}

.about-text-col .section-title {
  margin-bottom: 24px;
}

.about-text-col p {
  font-size: 1.02rem;
  color: var(--mid-gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.highlight svg {
  color: var(--copper);
  flex-shrink: 0;
}

/* =====================
   CTA BANNER
   ===================== */

.cta-banner {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(181, 114, 46, 0.12) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   CONTACT
   ===================== */

.contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info-col .section-tag {
  display: block;
  margin-bottom: 8px;
}

.contact-info-col .section-title {
  margin-bottom: 16px;
}

.contact-info-col > p {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  color: var(--copper);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--mid-gray);
}

.contact-item a:hover {
  color: var(--copper);
}

/* Contact Form */

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  transition: all 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(181, 114, 46, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* =====================
   FOOTER
   ===================== */

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-location {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--copper-light);
}

.footer-bottom {
  text-align: center;
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* =====================
   ANIMATIONS
   ===================== */

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    padding: 12px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    font-size: 1rem;
    padding: 14px 28px;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-col {
    order: -1;
  }

  .about-img {
    aspect-ratio: 16/10;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

  .stats-inner {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 40%;
    padding: 20px 16px;
  }

  .stat-divider {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stat {
    flex: 1 1 100%;
  }
}
