/* ─────────────────────────────────────────────────────────────
   Ignite Kit — 1-Page Business Website Stylesheet
   Mobile-First, Semantic, Responsive Layout
   ───────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
  font-size: 16px;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tap-target);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.15s ease-in-out;
  text-align: center;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.25);
}

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

.btn-accent {
  background-color: var(--accent);
  color: #0f172a;
  box-shadow: 0 2px 4px rgba(var(--accent-rgb), 0.25);
}

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

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(var(--primary-rgb), 0.05);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background-color: var(--surface);
  color: var(--text);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ── Badges & Pills ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  line-height: 1.2;
}

.badge-accent {
  background-color: rgba(var(--accent-rgb), 0.15);
  color: #b45309;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand-logo {
  max-height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

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

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text);
  background-color: var(--surface);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 24px;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-subheadline {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}

.hero-offer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Section Header ───────────────────────────────────────── */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ── Services Section ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How It Works (Delivery Steps) ────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.step-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

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

/* ── About / Founder Section ──────────────────────────────── */
.about-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  border: 3px solid var(--primary);
  overflow: hidden;
  flex-shrink: 0;
}

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

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.about-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-story {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.guarantee-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: rgba(var(--accent-rgb), 0.1);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  align-items: flex-start;
}

.guarantee-icon {
  color: #b45309;
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #78350f;
  line-height: 1.5;
}

/* ── Reviews & Smart Review Funnel ────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.review-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
}

.review-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* The Smart Google Review Funnel Widget */
.smart-funnel-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--accent-rgb), 0.1) 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.funnel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

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

.star-rating-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.star-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-size: 1.5rem;
}

.star-btn:hover, .star-btn.active {
  color: #f59e0b;
  transform: scale(1.1);
  border-color: #f59e0b;
  background-color: #fffbeb;
}

/* Dual-Action Review & Direct Resolution (Option A) */
.dual-action-review-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.btn-review-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 700;
}

.btn-direct-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
}

.funnel-reassurance {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
  margin-top: 4px;
}

/* Modal Dialogs */
.modal-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  background-color: var(--surface);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  max-width: 460px;
  width: 90%;
  margin: auto;
}

.modal-dialog::backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.modal-icon {
  margin: 0 auto;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-success {
  background-color: #ecfdf5;
  color: #059669;
}

.modal-icon-feedback {
  background-color: #fffbeb;
  color: #d97706;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feedback-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  font-size: 16px; /* Prevents iOS Safari auto-zoom */
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-family: inherit;
  resize: vertical;
}

.feedback-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* ── Digital Card Feature Banner ──────────────────────────── */
.card-feature-box {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: var(--shadow-card);
  padding: 36px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.card-feature-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-feature-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.card-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 20px;
}

.card-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.card-feature-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Contact Section & Form ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  font-size: 16px; /* Critical: >= 16px to prevent iOS Safari auto-zoom */
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background-color: #ffffff;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

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

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}

.form-alert.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Footer Section ───────────────────────────────────────── */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 48px 0 32px;
  border-top: 1px solid #1e293b;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  width: 100%;
  font-size: 0.85rem;
}

.partner-upsell-hook {
  font-size: 0.85rem;
  color: #64748b;
}

.partner-upsell-hook a {
  color: #94a3b8;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.partner-upsell-hook a:hover {
  color: #ffffff;
}

/* ── Responsive Desktop Media Queries ──────────────────────── */
@media (min-width: 768px) {
  .hero-headline {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: row;
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
  }

  .card-feature-box {
    grid-template-columns: 1.4fr 1fr;
    padding: 48px;
  }

  .card-feature-actions {
    flex-direction: row;
  }

  .nav-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }
}
