:root {
  --bg: #0b0b0b;
  --bg-soft: #111111;
  --panel: #1a1a1a;
  --panel-2: #151515;
  --text: #f5f5f5;
  --muted: #bdbdbd;
  --yellow: #facc15;
  --yellow-dark: #d4a507;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: auto;
  height: 50px;
  max-width: 180px;
  flex-shrink: 0;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--yellow), #ffd74d);
  color: var(--bg);
  box-shadow: 0 12px 25px rgba(250, 204, 21, 0.25);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
}

.hero {
  padding: 5rem 0 1rem;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 28%),
    linear-gradient(180deg, #0b0b0b 0%, #0d0d0d 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-copy {
  max-width: 880px;
}

.stats {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.stat-item strong {
  color: var(--yellow);
  font-size: 1.8rem;
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-text {
  max-width: 620px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--muted);
}

.hero-points li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.section {
  padding: 6rem 0;
}

.alt-bg {
  background: #111111;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head.narrow {
  max-width: 620px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(16, 16, 16, 0.96));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.5);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.14);
  color: var(--yellow);
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.two-column h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.two-column p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-weight: 800;
}

.feature-panel {
  display: grid;
  gap: 1.2rem;
}

.feature-box {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
  font-weight: 800;
}

.feature-box h3 {
  margin: 0 0 0.35rem;
}

.feature-box p {
  margin: 0;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-step {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.9), rgba(16, 16, 16, 0.9));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
}

.process-step span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.13);
  color: var(--yellow);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.process-step h3 {
  margin: 0 0 0.6rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.footer-brand .brand-logo {
  height: 48px;
  max-width: 160px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0b0b0b;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
}

.site-footer h3 {
  margin: 0 0 0.8rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text) !important;
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow) !important;
  transform: translateY(-1px);
}

.social-link-whatsapp:hover,
.social-link-whatsapp:focus-visible {
  border-color: #25d366;
  color: #25d366 !important;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.assistant-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.assistant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--bg);
  font: inherit;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.assistant-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 1;
}

.assistant-panel {
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 6rem));
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.38);
  border-radius: 12px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.assistant-header h2,
.assistant-header p {
  margin: 0;
}

.assistant-header h2 {
  font-size: 1rem;
}

.assistant-header p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.assistant-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

.assistant-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 120px;
  padding: 1rem;
  overflow-y: auto;
}

.assistant-message {
  max-width: 88%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.assistant-message--user {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--bg);
}

.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.85rem;
}

.assistant-suggestions button {
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.assistant-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem;
  border-top: 1px solid var(--line);
}

.assistant-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.assistant-form .button {
  min-height: 46px;
  padding: 0.65rem 0.85rem;
}

.assistant-form input:focus-visible,
.assistant-close:focus-visible,
.assistant-suggestions button:focus-visible,
.assistant-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .services-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 1.25rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    min-height: 70px;
  }

  .brand-logo {
    height: 38px;
    max-width: 140px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

}
