/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2a7a2a;
  --green-light: #3a9e3a;
  --green-dark:  #1a5c1a;
  --dark:        #0f0f0f;
  --dark2:       #1a1a1a;
  --dark3:       #242424;
  --gray:        #6b7280;
  --gray-light:  #f4f4f4;
  --white:       #ffffff;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.12);
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,122,42,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 10px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contacts a, .topbar-address {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-contacts a:hover { color: var(--green-light); }
.topbar-contacts i, .topbar-address i { color: var(--green-light); font-size: 12px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo img { height: 52px; width: auto; }

.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--dark2);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: var(--transition);
}
.nav a:hover { color: var(--green); }
.nav a:hover::after { width: 100%; }

.header-cta { font-size: 14px; padding: 10px 22px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('toby_parsons-nissan-240z-2925432.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,30,10,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-badge {
  display: inline-block;
  background: rgba(42,122,42,0.25);
  border: 1px solid var(--green);
  color: #7ee87e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .green { color: var(--green-light); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-header.light .section-label { background: rgba(255,255,255,0.1); color: #7ee87e; border-color: rgba(255,255,255,0.2); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--green);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(42,122,42,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 22px; color: var(--green); }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card li {
  font-size: 14px;
  color: var(--gray);
  padding-left: 16px;
  position: relative;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.about-text .section-label { margin-bottom: 16px; }
.about-text h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.about-text p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-features { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.about-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--dark2);
}
.about-feat i { color: var(--green); font-size: 16px; }

/* ===== WHY US ===== */
.why-us { background: var(--dark2); }
.why-us .section-header h2 { color: var(--white); }
.why-us .section-label { background: rgba(255,255,255,0.08); color: #7ee87e; border-color: rgba(255,255,255,0.15); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--green-light);
  transform: translateY(-4px);
}
.why-icon {
  width: 64px; height: 64px;
  background: rgba(42,122,42,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.why-icon i { font-size: 24px; color: var(--green-light); }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ===== WARRANTY BANNER ===== */
.warranty-banner {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 56px 0;
}
.warranty-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.warranty-text h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.warranty-text h2 i { margin-right: 10px; }
.warranty-text p { color: rgba(255,255,255,0.8); font-size: 16px; }
.warranty-banner .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.warranty-banner .btn-primary:hover {
  background: var(--gray-light);
  border-color: var(--gray-light);
}

/* ===== CONTACT ===== */
.contact { background: var(--gray-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon i { font-size: 16px; color: var(--white); }
.contact-item h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dark); margin-bottom: 6px; }
.contact-item p { font-size: 15px; color: var(--gray); line-height: 1.6; }
.contact-item a { color: var(--gray); }
.contact-item a:hover { color: var(--green); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact-form-wrap h3 i { color: #25d366; margin-right: 8px; }
.contact-form-wrap > p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 24px;
}
.wa-form { display: flex; flex-direction: column; gap: 14px; }
.wa-form input,
.wa-form select,
.wa-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--gray-light);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.wa-form select { cursor: pointer; }
.wa-form input:focus,
.wa-form select:focus,
.wa-form textarea:focus {
  border-color: #25d366;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.1);
}
.btn-wa-hero {
  background: #25d366;
  color: #ffffff;
  border: 2px solid #25d366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
}
.btn-wa-hero:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.btn-wa i { font-size: 20px; }

.contact-map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ===== OUR WORK ===== */
.our-work { background: var(--gray-light); }

.work-brand {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid #e5e7eb;
}
.work-brand:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.work-brand-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.work-brand-info p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.work-brand-info ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-brand-info li {
  font-size: 14px;
  color: var(--dark2);
  padding-left: 18px;
  position: relative;
  font-weight: 500;
}
.work-brand-info li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.machining-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(42,122,42,0.08);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  font-size: 13px !important;
  color: var(--dark2) !important;
  line-height: 1.6 !important;
}
.machining-note i { color: var(--green); margin-right: 6px; }

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.work-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.work-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .work-brand { grid-template-columns: 1fr; gap: 24px; }
  .work-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo img {
  height: 56px;
  margin-bottom: 14px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
}
.footer-logo p { color: rgba(255,255,255,0.45); font-size: 14px; }

.footer-links h4, .footer-contacts h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  padding: 4px 0;
}
.footer-links a:hover { color: var(--green-light); }
.footer-contacts { display: flex; flex-direction: column; }
.footer-contacts p { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 8px; line-height: 1.5; }
.footer-contacts a { color: rgba(255,255,255,0.5); }
.footer-contacts a:hover { color: var(--green-light); }

.footer-bottom {
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--green-light); }

/* ===== FLOATING CALL ===== */
.float-call {
  display: none;
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: var(--green);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(42,122,42,0.5);
  z-index: 9999;
  animation: pulse 2.5s infinite;
}
.float-call:hover { background: var(--green-light); transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(42,122,42,0.5); }
  50% { box-shadow: 0 6px 40px rgba(42,122,42,0.75); }
}

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

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .topbar-address { display: none; }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    gap: 4px;
    border-top: 2px solid var(--green);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .nav.open { display: flex; }
  .nav a {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--dark);
  }
  .nav a:last-child { border-bottom: none; }
  .burger { display: flex; }
  .header-cta { display: none; }

  .hero { min-height: 100vh; }
  .hero-stats { gap: 16px; }
  .stat-divider { height: 30px; }

  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
  .contact-map { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .warranty-inner { flex-direction: column; align-items: flex-start; }
  .float-call { display: flex; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-content { padding-top: 32px; padding-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 26px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
}
