:root {
  --primary: #2c5f7c;
  --primary-dark: #1e4259;
  --secondary: #4a7c59;
  --accent: #d4a373;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-light: #f7fafc;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --container: 1100px;
  --spacing: 4rem;
}

*,
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--spacing) 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
}

.bg-light {
  background: var(--bg-light);
}

/* Header */
.site-header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-primary:hover {
  background: #c49363;
  transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

/* Map */
.map-container {
  height: 400px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info address {
  font-style: normal;
  line-height: 1.8;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.15);
}

#formStatus {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius);
  display: none;
}

.success { background: #d4edda; color: #155724; }
.error { background: #f8d7da; color: #721c24; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.legal {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-nav a {
    margin: 0 0.8rem;
  }
  
  .hero h1 { font-size: 2rem; }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container { height: 300px; }
}