/* Reset & Variables - Deep Emerald & Amber Palette */
:root {
  --primary: #047857;
  --primary-hover: #065f46;
  --primary-light: #ecfdf5;
  --secondary: #0d9488;
  --secondary-hover: #0f766e;
  --secondary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --bg-main: #ffffff;
  --bg-alt: #f0fdf4;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --border: #d1fae5;
  --shadow-sm: 0 1px 2px 0 rgba(4, 120, 87, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(4, 120, 87, 0.08), 0 2px 4px -1px rgba(4, 120, 87, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(4, 120, 87, 0.1), 0 4px 6px -2px rgba(4, 120, 87, 0.04);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --container-width: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #061510;
    --bg-alt: #0a2119;
    --bg-card: #0f2d22;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #1b4737;
    --primary-light: #065f46;
    --secondary-light: #115e59;
  }
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-stack);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  text-align: center;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

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

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

.section {
  padding: 5rem 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

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

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
  .header {
    background-color: rgba(6, 21, 16, 0.95);
  }
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: radial-gradient(circle at top right, var(--primary-light), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-badges {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.badge-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: var(--bg-alt);
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  flex-grow: 1;
  font-size: 0.95rem;
}

.service-price-tag {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

/* Pricing Table */
.pricing-table-container {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  text-align: left;
}

.pricing-table th, .pricing-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.price-col {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Calculator Card */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 4rem;
}

.calculator-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.calculator-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-group {
  margin-bottom: 1.25rem;
}

.calc-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  color: var(--text-main);
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-alt);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  .calc-checkboxes {
    background: var(--bg-main);
  }
}

.calc-group .calc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 0;
}

.calc-group .calc-checkbox-label input {
  margin-top: 3px;
  flex-shrink: 0;
}

.calc-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  .calc-summary {
    background: var(--bg-main);
  }
}

.calc-summary h4 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.total-row {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.total-price {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 800;
}

.free-delivery-badge {
  margin-top: 1.25rem;
  padding: 0.75rem;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  position: relative;
}

.process-number {
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: calc(100% - 60px);
}

/* Location Coverage */
.coverage-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 350px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.area-list {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem 1rem;
  list-style: none;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.area-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-question svg {
  color: var(--primary);
  flex-shrink: 0;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Footer */
.footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem 0;
}

@media (prefers-color-scheme: dark) {
  .footer {
    background-color: #04100c;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .calculator-grid, .contact-grid, .footer-grid, .coverage-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-wrapper {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4.5rem);
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 2rem;
    gap: 1.1rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-menu li a.btn {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1.5rem !important;
    font-size: 1.1rem;
    text-align: center;
    justify-content: center;
  }

  .nav-link {
    font-size: 1.25rem;
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.4rem 0;
  }

  .logo {
    font-size: 1.25rem;
    white-space: nowrap;
    gap: 0.4rem;
  }

  .logo svg {
    width: 22px;
    height: 22px;
  }

  .calculator-card, .contact-form-wrapper {
    padding: 1.5rem;
  }

  .area-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 1.1rem;
    gap: 0.35rem;
  }

  .logo svg {
    width: 20px;
    height: 20px;
  }
}
