:root {
  --bg: #f4f6f8;
  --bg-alt: #ffffff;
  --text: #333333;
  --text-muted: #6b6b6d;
  --border: #e3e5e8;
  --primary: #ff3d14;
  --primary-dark: #e2340f;
  --primary-light: #fdeae5;
  --dark: #3a3a3c;
  --accent: #3a3a3c;
  --radius: 6px;
  --shadow: 0 4px 16px rgba(20, 22, 31, 0.06);
  --shadow-lg: 0 12px 32px rgba(20, 22, 31, 0.10);
  font-size: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1d1f;
    --bg-alt: #262628;
    --text: #f2f2f2;
    --text-muted: #a8a8aa;
    --border: #3a3a3c;
    --primary: #ff5a37;
    --primary-dark: #ff3d14;
    --primary-light: #3a241d;
    --dark: #dcdcdc;
    --accent: #dcdcdc;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { color: var(--text-muted); margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .logo-img {
    background: #fff;
    padding: 5px 8px;
    border-radius: 6px;
  }
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: 24px; white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--dark);
  color: var(--bg);
}
.btn-primary:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(circle at 15% 0%, var(--primary-light), transparent 55%);
}
.hero-inner { max-width: 760px; }
.eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.hero-sub { font-size: 1.15rem; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 48px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; font-weight: 800; }
.hero-stats span { color: var(--text-muted); font-size: 0.85rem; }

/* Sections */
section { padding: 88px 0; }
.section-sub { max-width: 560px; font-size: 1.05rem; margin-bottom: 40px; }
.services { background: var(--bg-alt); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin: 0; }

/* Portfolio */
.portfolio-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--primary);
}
.portfolio-link:hover { color: var(--primary-dark); }

/* Process */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }

/* Pricing */
.pricing { background: var(--bg-alt); }
.pricing-cards { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0;
}
.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 8px 0 4px;
}
.price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-desc { margin-bottom: 20px; }
.price-features { list-style: none; padding: 0; margin: 0 0 8px; flex-grow: 1; }
.price-features li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.price-features li:first-child { border-top: none; }
.price-features li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.pricing-note { margin-top: 24px; font-size: 0.85rem; }
.pricing-note code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}

/* FAQ */
.faq-list { max-width: 720px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--bg);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 14px 0 0; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-details { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-details li { margin-bottom: 8px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.contact-form button { align-self: flex-start; }
.form-note { margin: 4px 0 0; font-size: 0.88rem; min-height: 1.2em; }
.form-note.success { color: var(--accent); }
.form-note.error { color: var(--primary); }
.form-privacy { margin: 0; font-size: 0.78rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner a { color: var(--text-muted); }
.footer-inner a:hover { color: var(--primary); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
}
