/* ============================================
   ARV CONSTRUCTION LLC - Main Stylesheet
   Professional, Scientific & Technical Services
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --primary: #0F1B2D;
  --primary-light: #1A365D;
  --primary-dark: #09111E;
  --accent: #D4A84B;
  --accent-light: #E4C06A;
  --accent-dark: #B8922E;
  --bg-light: #F0F4F8;
  --bg-white: #FFFFFF;
  --text: #1A202C;
  --text-muted: #4A5568;
  --text-light: #718096;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 27, 45, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --header-h: 80px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  line-height: 1.2;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 75, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--bg-white);
  border-color: var(--bg-white);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  height: var(--header-h);
}

.header.scrolled {
  background: rgba(15, 27, 45, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--bg-white);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
}

.logo span { color: var(--accent); }

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

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav a:hover { color: var(--bg-white); }
.nav a:hover::after { width: 100%; }

.nav .btn {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 168, 75, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26, 54, 93, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(15, 27, 45, 1) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 75, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 75, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(212, 168, 75, 0.12);
  border: 1px solid rgba(212, 168, 75, 0.2);
  border-radius: 50px;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3.75rem;
  color: var(--bg-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-white);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about { padding: 100px 0; background: var(--bg-white); }

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

.about-visual {
  position: relative;
}

.about-image-block {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.about-image-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(212, 168, 75, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(26, 54, 93, 0.4) 0%, transparent 50%);
}

.about-image-content {
  position: relative;
  z-index: 1;
}

.about-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-quote span { color: var(--accent); }

.about-attribution {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary);
  padding: 20px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge strong {
  font-size: 1.75rem;
  display: block;
}

.about-text .section-title { margin-top: 8px; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.9375rem;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(212, 168, 75, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 168, 75, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.service-list {
  margin-top: 20px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
}

.service-list li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 30%, rgba(212, 168, 75, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(26, 54, 93, 0.3) 0%, transparent 50%);
}

.why-choose .container { position: relative; z-index: 1; }

.why-choose .section-title { color: var(--bg-white); }
.why-choose .section-subtitle { color: rgba(255, 255, 255, 0.6); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 75, 0.2);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(212, 168, 75, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why-card h3 {
  color: var(--bg-white);
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.contact-info h2 { margin-bottom: 16px; }

.contact-info > p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

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

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 75, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-item-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

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

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.1);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer h4 {
  color: var(--bg-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 160px 0 60px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212, 168, 75, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(26, 54, 93, 0.3) 0%, transparent 50%);
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  color: var(--bg-white);
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================
   LEGAL PAGES (Privacy / Terms)
   ============================================ */
.legal-content {
  padding: 80px 0;
  background: var(--bg-white);
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
}

.legal-body .last-updated {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-body section {
  margin-bottom: 48px;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.legal-body h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  margin-top: 24px;
  color: var(--primary-light);
}

.legal-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin: 16px 0 24px;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-body li { margin-bottom: 8px; }

.legal-body ul li { list-style: disc; }
.legal-body ol li { list-style: decimal; }

.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

.legal-body a {
  color: var(--primary-light);
  text-decoration: underline;
}

.legal-body a:hover { color: var(--accent); }

.legal-nav {
  position: sticky;
  top: 100px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.legal-nav h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-nav a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.legal-nav a:last-child { border-bottom: none; }

.legal-nav a:hover { color: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
}

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

  .nav.active {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: rgba(15, 27, 45, 0.99);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .section-title { font-size: 1.875rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .about-experience-badge {
    position: static;
    margin-top: 20px;
  }

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

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-header h1 { font-size: 2rem; }

  .legal-body h2 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero h1 { font-size: 1.75rem; }
  .hero-stat-value { font-size: 1.5rem; }
  .container { padding: 0 16px; }
}
