/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sun: #f59e0b;
  --sun-light: #fef3c7;
  --sun-dark: #d97706;
  --warm: #fffbeb;
  --warm-50: #fefce8;
  --text: #1c1917;
  --text-light: #57534e;
  --text-lighter: #a8a29e;
  --white: #ffffff;
  --bg: #fafaf9;
  --border: #e7e5e4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sun);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}

.btn:hover {
  background: var(--sun-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--warm) 0%, var(--bg) 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.highlight {
  color: var(--sun);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 1.025rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sun-light);
  color: var(--sun-dark);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding: 0 24px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 20px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.925rem;
  line-height: 1.55;
  padding-bottom: 24px;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--warm-50);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--warm) 0%, var(--bg) 60%);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner > p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-outline {
  background: transparent;
  color: var(--sun-dark);
  border: 2px solid var(--sun);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--sun-light);
  box-shadow: none;
}

.trust-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
}

.trust-badge strong {
  font-size: 1.5rem;
  color: var(--sun-dark);
}

.trust-badge span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Quote Page ===== */
.quote-page {
  padding: 120px 0 80px;
}

.quote-page-header {
  text-align: center;
  margin-bottom: 48px;
}

.quote-page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.quote-page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

.quote-page-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}

.form-group textarea {
  resize: vertical;
}

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

.form-note {
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-lighter);
  margin-top: 12px;
}

.quote-estimate {
  background: var(--warm);
  border: 2px solid var(--sun);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.estimate-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.estimate-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sun-dark);
  line-height: 1.2;
}

.estimate-breakdown {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 96px;
}

.trust-badges-vertical {
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.trust-badges-vertical .trust-badge {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.quote-sidebar-info {
  background: var(--warm-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.quote-sidebar-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.quote-sidebar-info ol {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-sidebar-info li {
  counter-increment: steps;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
}

.quote-sidebar-info li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sun-light);
  color: var(--sun-dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-success {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 36px;
  box-shadow: var(--shadow);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.quote-success p {
  color: var(--text-light);
  max-width: 320px;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer p {
  color: var(--text-lighter);
  font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

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

  .quote-page-wrapper {
    grid-template-columns: 1fr;
  }

  .quote-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  h2 {
    font-size: 1.75rem;
  }

  .quote-page-header h1 {
    font-size: 2rem;
  }

  .quote-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
