/* Inter Font - Self-hosted */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800.ttf') format('truetype');
}

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

:root {
  --bg-primary: #111418;
  --bg-secondary: #1f2226;
  --bg-card: #1a1d21;
  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --accent: #8bc53f;
  --accent-hover: #7ab435;
  --border-color: rgba(255, 255, 255, 0.12);
  --radius: 12px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  padding: 30px 0;
  text-align: center;
}

.logo {
  height: 70px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 640px) {
  .logo {
    height: auto;
    max-height: 70px;
    max-width: calc(100% - 48px);
  }
}

/* Hero Section */
.hero {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-primary);
  padding: 18px 56px;
  min-width: 320px;
}

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

.btn-secondary {
  background-color: #1a2332;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #242f42;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Hero Content */
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin: 24px 0;
}

@media (min-width: 968px) {
  .hero-title {
    font-size: 52px;
  }
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 480px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  color: #facc15;
  font-size: 14px;
}

/* Quote Form Container */
.quote-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-iframe {
  border: none;
  width: 100%;
  min-height: 400px;
}

/* Reviews Section */
.reviews-section {
  padding: 48px 0;
}

.reviews-container {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
}

.reviews-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.reviews-inner {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  padding: 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius);
  padding: 16px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: white;
}

.avatar-orange { background-color: #f97316; }
.avatar-green { background-color: #16a34a; }
.avatar-blue { background-color: #3b82f6; }
.avatar-red { background-color: #ef4444; }

.review-meta {
  flex: 1;
}

.review-name {
  font-weight: 600;
  font-size: 14px;
}

.review-time {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.google-logo {
  width: 20px;
  height: 20px;
}

/* Service Areas */
.service-areas {
  padding: 0 0 60px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.area-tag {
  padding: 10px 18px;
  background-color: var(--accent);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
}

.service-note {
  color: var(--text-muted);
  font-size: 14px;
}

.service-note a {
  color: var(--text-primary);
  text-decoration: underline;
}

/* DPF Info Sections */
.info-text {
  color: #9ca3af;
  font-size: 16px;
  line-height: 1.7;
}

/* Custom Form Styles */
.custom-form {
  width: 100%;
}

.form-stage {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.error-message {
  display: none;
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  min-width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 400;
}

.form-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.btn-half {
  min-width: auto;
  padding: 14px 24px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Form button specific styling */
.custom-form .btn-primary {
  background-color: #475569;
}

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

/* Success Message */
.success-content {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  margin: 0 auto 20px;
  font-weight: bold;
}

.success-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.success-content p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Mobile responsiveness for form buttons */
@media (max-width: 640px) {
  .form-buttons {
    grid-template-columns: 1fr;
  }

  .btn-half {
    width: 100%;
  }
}
