:root {
  --bg: #0f1419;
  --surface: #1a222d;
  --muted: #243040;
  --text: #e8eef5;
  --text-soft: #9aa8b8;
  --accent: #c45c26;
  --accent-hover: #d66f38;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe57;
  --topbar-bg: #0a1628;
  --topbar-accent: #4fd1c5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--topbar-accent);
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.top-bar {
  background: linear-gradient(90deg, var(--topbar-bg), #132238);
  border-bottom: 2px solid var(--topbar-accent);
  padding: 0.65rem 0;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.top-bar__phone {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-bar__label {
  color: var(--text-soft);
  font-weight: 600;
  margin-right: 0.35rem;
}

.top-bar__phone a {
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
}

.top-bar__phone a:hover {
  color: var(--topbar-accent);
  text-decoration: underline;
}

.top-bar__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--muted);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nav__brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 1.25rem;
}

.nav__links a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn--secondary {
  background: var(--muted);
  color: var(--text);
}

.btn--secondary:hover {
  background: #2d3d52;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--muted);
}

.btn--ghost:hover {
  border-color: var(--text-soft);
  text-decoration: none;
}

.btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.hero {
  padding: 3rem 0 3.5rem;
}

.hero__inner {
  max-width: 42rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero__lead {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 2.5rem 0;
}

.section--muted {
  background: var(--surface);
  border-block: 1px solid var(--muted);
}

.section h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.grid {
  display: grid;
  gap: 0.5rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.grid li {
  background: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.trust-line {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.contact {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact__info p {
  margin: 0 0 1rem;
}

.contact__form {
  background: var(--surface);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}

.contact__form input,
.contact__form textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--muted);
  background: var(--bg);
  color: var(--text);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 400;
}

.form-feedback {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-feedback--ok {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid var(--whatsapp);
  color: #b8f5c8;
}

.form-feedback--err {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid #c94c5c;
  color: #f5b8bf;
}

.footer {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--muted);
  background: var(--surface);
}

.footer__legal {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 65ch;
}

.footer__small {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
}

.wa-float:hover {
  background: var(--whatsapp-hover);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav__cta {
    width: 100%;
    order: 3;
  }

  .nav__inner {
    justify-content: center;
  }

  .nav__links {
    width: 100%;
    justify-content: center;
  }
}

.footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.footer__policies a {
  font-weight: 600;
  font-size: 0.9rem;
}

.legal {
  padding: 2rem 0 3rem;
}

.legal__inner {
  max-width: 65ch;
}

.legal h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal__updated {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: -0.25rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal code {
  font-size: 0.9em;
  background: var(--muted);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.legal__back {
  margin-top: 2.5rem;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  padding: 1rem 0;
}

.cookie-banner__inner {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 52ch;
}

.cookie-banner__text a {
  color: var(--topbar-accent);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cookie-banner__more {
  color: var(--text) !important;
}

body.has-cookie-banner {
  padding-bottom: 6rem;
}

body.has-cookie-banner .wa-float {
  bottom: 5.5rem;
}

@media (max-width: 480px) {
  body.has-cookie-banner .wa-float {
    bottom: 8rem;
    right: 0.75rem;
    left: 0.75rem;
    justify-content: center;
    text-align: center;
  }
}
