/* ============================================
   RT EXCAVATION LLC — style.css
   Production stylesheet
   ============================================ */

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

:root {
  --amber:       #E8920A;
  --amber-dark:  #C27A06;
  --amber-light: #FDF3E3;
  --charcoal:    #1C1C1A;
  --charcoal-mid:#2E2E2B;
  --slate:       #4A4A46;
  --mist:        #F5F3EE;
  --white:       #FFFFFF;
  --border:      rgba(0,0,0,0.10);
  --font-display:'Bebas Neue', sans-serif;
  --font-serif:  'DM Serif Display', serif;
  --font-body:   'DM Sans', sans-serif;
  --max-w:       1180px;
  --pad-x:       5%;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; }

/* ---- ACCESSIBILITY ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--amber);
  color: var(--charcoal);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---- TYPOGRAPHY HELPERS ---- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-body {
  font-size: 17px;
  color: var(--slate);
  max-width: 600px;
  line-height: 1.75;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ============================================
   NAV
   ============================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}

nav {
  background: rgba(28,28,26,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.logo-mark.small { width: 30px; height: 30px; }

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}
.logo-text span { color: var(--amber); }

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

.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--charcoal) !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--amber-dark) !important; color: var(--white) !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  padding: 100px var(--pad-x) 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: var(--amber);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,146,10,0.15);
  border: 1px solid rgba(232,146,10,0.30);
  color: var(--amber);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 90px);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--amber); font-style: normal; }

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.stars { color: var(--amber); font-size: 18px; letter-spacing: 2px; }
.proof-text { color: rgba(255,255,255,0.5); font-size: 13px; }
.proof-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.14); }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--amber);
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
section {
  padding: 88px var(--pad-x);
}

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--mist); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.why-point { display: flex; gap: 18px; }

.why-point-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--amber);
  line-height: 0.9;
  min-width: 36px;
}

.why-point h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.why-point p { font-size: 15px; color: var(--slate); line-height: 1.65; }

.why-visual {
  background: var(--charcoal);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.why-visual-bg {
  position: absolute;
  top: -10px; right: -10px;
  font-family: var(--font-display);
  font-size: 130px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

.stat-block { position: relative; z-index: 1; }

.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--amber);
  line-height: 0.9;
  margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.55); }

.stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 28px 0;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews { background: var(--mist); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.review-card .stars { font-size: 15px; margin-bottom: 14px; }

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.reviewer {
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviewer::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 72px;
  align-items: center;
}

.about-img-block {
  background: var(--charcoal);
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-placeholder {
  font-family: var(--font-display);
  font-size: 32px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.6;
}

.about-img-label {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--amber);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.cred-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cred-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}

.cred-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--mist); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 12px;
}

/* ============================================
   BLOG
   ============================================ */
.blog { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }

.blog-img {
  height: 150px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  /* Replace with: background-image: url(...); background-size: cover; */
}

.blog-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card p { font-size: 13px; color: var(--slate); line-height: 1.65; flex: 1; }

.blog-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-link:hover { color: var(--amber-dark); }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--charcoal); }
.contact .section-title { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

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

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,146,10,0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 3px;
}

.contact-value {
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-value:hover { color: var(--amber); }

/* ---- FORM ---- */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 36px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 6px;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,146,10,0.12);
}

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--charcoal-mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--amber);
  color: var(--charcoal);
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--amber-dark); transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #141412;
  padding: 32px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-size: 13px; color: rgba(255,255,255,0.32); }

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-block { aspect-ratio: 3 / 4; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(28,28,26,0.98);
    padding: 24px var(--pad-x) 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links.open { display: flex; }

  .nav-links a { font-size: 16px; }
  .nav-cta { display: inline-block; text-align: center; padding: 12px 18px !important; }

  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(44px, 11vw, 64px); }
  .hero-sub { font-size: 17px; }

  section { padding: 60px var(--pad-x); }

  .trust-bar { gap: 16px; padding: 14px var(--pad-x); }
  .trust-item { font-size: 13px; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 480px) {
  .services-grid, .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .contact-form { padding: 24px 20px; }
}
