:root {
  color-scheme: dark;
  --bg: #0d0c0b;
  --bg-alt: #141210;
  --ink: #f5efe9;
  --muted: #c4b8ad;
  --accent: #e0732f;
  --accent-dark: #c55e20;
  --surface: #1b1916;
  --stroke: rgba(245, 239, 233, 0.12);
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f1ea;
  --bg-alt: #f2e4d5;
  --ink: #1a1713;
  --muted: #5a4e44;
  --accent: #d1612c;
  --accent-dark: #b94f20;
  --surface: #ffffff;
  --stroke: rgba(26, 23, 19, 0.1);
  --shadow: 0 14px 30px rgba(26, 23, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05) 0%, var(--bg) 50%);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(13, 12, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
}

[data-theme="light"] .site-header {
  background: rgba(247, 241, 234, 0.9);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.brand-mark {
  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);
  display: grid;
  place-items: center;
  background: #e1301b;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  margin: 0;
}

.brand-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(209, 97, 44, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--stroke);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.theme-toggle {
  padding: 9px 12px;
}

.theme-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.theme-icon-sun {
  display: inline-flex;
}

.theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: inline-flex;
}

.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  margin: 0 0 14px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 24px;
}

.hero-highlights {
  display: grid;
  gap: 12px;
}

.highlight {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
}

.highlight-title {
  font-weight: 600;
  margin: 0 0 4px;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 14px;
}

.card-title {
  font-weight: 700;
  margin: 0;
}

.hero-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 68px 0;
}

.section-head {
  max-width: 660px;
  margin: 0 auto 28px;
}

.section-head.centered {
  text-align: center;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.card h3 {
  margin-top: 0;
}

.logo-marquee {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: 16px 0;
}

.logo-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.logo-pill {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.use-cases {
  background: var(--bg);
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.use-case {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 18px 20px;
}

.use-case h3 {
  margin: 0 0 6px;
}

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

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 20px;
  font-size: 0.98rem;
}

.testimonial-author {
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--muted);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.process-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
}

.step-num {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.cta-final {
  background: linear-gradient(120deg, rgba(224, 115, 47, 0.18), rgba(20, 18, 16, 0.6));
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: #25d366;
  flex-shrink: 0;
}

.site-footer {
  padding: 34px 0 50px;
  background: #0a0908;
  color: var(--ink);
}

[data-theme="light"] .site-footer {
  background: #1f1a16;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.fineprint.center {
  text-align: center;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
  font-weight: 600;
  z-index: 20;
  display: none;
  opacity: 0;
}

@media (max-width: 1024px) {
  .header-row {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-copy {
    max-width: none;
  }

  .use-case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-actions {
    align-items: center;
  }
}

@media (max-width: 720px) {
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 56px 0;
  }

  .logo-track {
    animation-duration: 20s;
  }

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

  .sticky-cta {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
