:root {
  --color-sage: #6b8e6f;
  --color-cream: #f9f7f2;
  --color-earth: #4a443f;
  --color-moss: #4e6350;
  --color-white: #ffffff;
  --font-sans: "Helvetica Neue", Arial, sans-serif;

  --primary: var(--color-sage);
  --primary-hover: #5a7a5e;
  --primary-dark: var(--color-moss);
  --primary-light: rgba(107, 142, 111, 0.15);
  --dark: var(--color-moss);
  --text-main: var(--color-earth);
  --text-light: rgba(74, 68, 63, 0.7);
  --bg-light: var(--color-cream);
  --bg-white: var(--color-white);
  --border: rgba(107, 142, 111, 0.1);
  --success: var(--color-sage);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

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

.text-primary {
  color: var(--primary);
}
.text-white {
  color: var(--bg-white);
}
.text-light {
  color: var(--primary-light);
}
.block {
  display: block;
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-primary {
  background-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  font-size: 1rem;
}

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

.btn-outline {
  background-color: white;
  color: var(--text-main);
  border-color: var(--border);
}
.btn-outline:hover {
  background-color: var(--bg-light);
}

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

.btn-dark-blue {
  background-color: var(--primary-dark);
  color: white;
}
.btn-dark-blue:hover {
  background-color: #172554;
}

.w-full {
  width: 100%;
}
.mt-4 {
  margin-top: 1rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: white;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  display: none;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
}
.contact-info span {
  margin-right: 1.5rem;
}

/* Header */
.header {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-sage);
  letter-spacing: -0.5px;
}
.logo-icon {
  margin-right: 0.5rem;
}

.desktop-nav {
  display: none;
  gap: 2rem;
}
.desktop-nav a {
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s;
}
.desktop-nav a:hover {
  color: var(--primary);
}

.desktop-only {
  display: none;
}

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  padding: 1rem;
  background-color: white;
  border-top: 1px solid var(--border);
}
.mobile-nav.active {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
}
.mobile-nav a:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

/* Hero Section */
.hero {
  background-color: white;
  padding: 3rem 0;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--color-moss);
}
.hero-text p {
  font-size: 1.125rem;
  color: var(--text-main);
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
}
.section-header {
  max-width: 48rem;
  margin: 0 auto 3rem auto;
  text-align: center;
}
.subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.section-header h2 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem 0;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(107, 142, 111, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-moss);
}
.service-card p {
  color: var(--text-main);
  opacity: 0.7;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.service-link {
  color: var(--primary);
  font-weight: 500;
}
.service-link:hover {
  color: var(--primary-hover);
}

/* About Section */
.about {
  background-color: white;
  padding: 4rem 0;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.about-text > p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.check-icon {
  color: var(--success);
  font-weight: bold;
  font-size: 1.25rem;
}
.benefits-list h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.benefits-list p {
  color: var(--text-light);
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  padding: 2rem;
  color: white;
}
.overlay-content strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
}
.cta-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.cta h2 {
  color: white;
  font-size: 2rem;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Footer */
.footer {
  background-color: var(--color-moss);
  color: var(--color-white);
  opacity: 0.9;
  padding: 4rem 0 2rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.footer h3 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  text-align: center;
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-legal a:hover {
  color: white;
}

/* Media Queries */
@media (min-width: 768px) {
  .top-bar {
    display: block;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-only {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero {
    padding: 5rem 0;
  }
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  .hero-text {
    flex: 1;
  }
  .hero-text h1 {
    font-size: 3.5rem;
  }
  .hero-buttons {
    flex-direction: row;
  }
  .hero-image {
    flex: 1;
  }
  .hero-image img {
    height: 400px;
  }

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

  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .cta-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .cta-buttons {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-image img {
    height: 500px;
  }
}
