:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #ffedd5;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --brown: #78350f;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: #ffffff;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 2px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.muted {
  color: var(--gray-600);
  font-size: 1rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-50) 100%);
  border-bottom: 2px solid var(--orange);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  text-decoration: none;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 8px;
  margin-right: 10px;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.3);
}

/* Desktop Menu */
.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 80%;
}

.menu a:hover {
  color: var(--orange);
  background: var(--orange-light);
}

.menu a.active {
  color: var(--orange);
  font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s;
}

.hamburger:hover {
  background: var(--gray-100);
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background: var(--orange);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: var(--orange);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-top: 2px solid var(--orange-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 400px;
  display: flex;
}

.mobile-menu a {
  color: var(--gray-700);
  text-decoration: none;
  padding: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.mobile-menu a:hover {
  background: var(--orange-light);
  color: var(--orange);
  border-left-color: var(--orange);
  padding-left: 1.5rem;
}

.mobile-menu a.active {
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
  border-left-color: var(--orange);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--orange-light) 0%, #ffffff 50%, var(--gray-50) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Card */
.hero-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 2px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 30px -5px rgba(249, 115, 22, 0.2), 0 15px 15px -5px rgba(249, 115, 22, 0.1);
}

.hero-placeholder {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  height: 240px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

/* Badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge {
  background: white;
  color: var(--orange);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--orange);
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.badge:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
}

/* Section */
.section {
  padding: 4rem 0;
}

/* Alternating section backgrounds */
.section:nth-of-type(odd) {
  background: linear-gradient(135deg, var(--orange-light) 0%, #ffffff 100%);
}

.section:nth-of-type(even) {
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-50) 100%);
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Cards */
.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation for multiple cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, var(--orange-light) 100%);
}

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

.card h3 {
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Service Icons */
.card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-icon {
  display: none;
}

/* Form */
.form {
  max-width: 700px;
  margin: 2rem 0;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-200);
}

.field {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--gray-300);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: white;
}

.input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

select.input {
  cursor: pointer;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer .logo {
  color: white;
  font-size: 1.25rem;
}

.footer .logo-mark {
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.4);
}

.cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer strong {
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer .muted {
  color: var(--gray-300);
}

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer small {
  color: var(--gray-400);
  display: block;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-700);
}

/* Responsive Design */
@media (max-width: 860px) {
  .menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .wrap {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .cols {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .form {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 2.5rem 0;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .badges {
    gap: 0.5rem;
  }
  
  .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 380px; /* adjusts nicely for desktop */
  aspect-ratio: 3 / 2; /* keeps shape consistent */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 0 auto;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps proper crop */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}
