:root {
  --primary-color: #0077B6;
  --secondary-color: #90E0EF;
  --text-color: #171717;
  --bg-color: #ffffff;
  --bg-light-gray: #f9fbfd;
  --sand-accent: #f4ece1;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --transition-speed: 0.3s;
  --max-width: 1200px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

h1 { font-size: 2.5rem; color: var(--primary-color); }
h2 { font-size: 2rem; border-left: 5px solid var(--secondary-color); padding-left: 15px; }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-light-gray);
}

/* Header & Navigation */
header {
  background: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-fixed-quote {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--secondary-color);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Lead Forms */
.quote-form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  border-top: 6px solid var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  background-color: var(--bg-light-gray);
  transition: border-color var(--transition-speed);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

/* Map Section */
.map-container {
  height: 400px;
  background-color: var(--sand-accent);
  border-radius: 12px;
  margin-top: 2rem;
  overflow: hidden;
  border: 2px solid var(--secondary-color);
}

/* Blog Styling */
.blog-excerpt {
  background: var(--white);
  padding: 1.5rem;
  border-bottom: 3px solid var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
}

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

/* Responsiveness */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .quote-form-container { padding: 1.5rem; }
  .btn-fixed-quote {
    bottom: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
  }
}

/* Helpers */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.accent-bg { background-color: var(--sand-accent); }