/* Karbo — Tema oscuro, predominante negro */
:root {
  --color-bg: #0d0d0d;
  --color-bg-alt: #1a1a1a;
  --color-bg-card: #242424;
  --color-text: #ffffff;
  --color-text-muted: #a3a3a3;
  --color-text-soft: #737373;
  --color-accent: #b87333;
  --color-accent-hover: #c98442;
  --color-border: #2e2e2e;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: var(--space-lg);
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-hero {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
  min-width: 220px;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 260px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 var(--space-sm);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-xl);
  max-width: 18ch;
  color: var(--color-text);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, rgba(26, 26, 26, 0.6) 100%);
  border-radius: 0 0 0 120px;
  pointer-events: none;
}

/* Fortaleza — mensaje principal */
.section-fortaleza {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.fortaleza-text {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0;
  max-width: 52ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 65ch;
  margin: 0 0 var(--space-sm);
}

.section-lead:last-of-type {
  margin-bottom: 0;
}

.section-note {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: var(--space-lg) 0 0;
  max-width: 55ch;
}

/* Service blocks */
.service-block {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
}

.service-block-featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(184, 115, 51, 0.12) 0%, var(--color-bg-card) 100%);
}

.service-block-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.service-block-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.service-block-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
}

.service-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.service-block-list li {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Features list */
.features-list {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.features-list li {
  padding: var(--space-sm) 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.integration-note {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin: 0;
}

/* Contact */
.section-contact {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.contact-inner {
  text-align: center;
}

.section-contact .section-title {
  color: var(--color-text);
}

.contact-text {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 var(--space-xs);
  color: var(--color-text);
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-xs);
}

.footer-place {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-inner .btn-sm {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-bg {
    width: 100%;
    border-radius: 0;
    opacity: 0.8;
  }

  .fortaleza-text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .service-block-list {
    flex-direction: column;
  }
}
