:root {
  --brand-red: #e70012;
  --brand-red-dark: #b8000e;
  --text-dark: #211f23;
  --text-gray: #7c7c7c;
  --bg-light: #f2f2f2;
  --available: #16a34a;
  --available-bg: #dcfce7;
  --unknown: #9ca3af;
  --unknown-bg: #f1f5f9;
  --font-body: "Barlow", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Barlow Condensed", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #fff;
  background-image: url("https://vleeko.com/wp-content/uploads/2024/06/bg-estrategia-digital.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  font-family: inherit;
}

/* Header */

.vleeko-header {
  font-family: var(--font-body);
}

.action-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.action-bar__inner {
  width: 100%;
  padding: 12px 20px;
  display: flex;
  gap: 24px;
}

.contact-details {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-details svg {
  width: 13px;
  height: 13px;
  fill: var(--brand-red);
  flex: none;
}

.contact-details a {
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--brand-red);
}

.top-bar {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.top-bar__inner {
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  display: block;
  height: 35px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 19px;
  color: var(--brand-red);
  text-decoration: none;
  letter-spacing: normal;
  white-space: nowrap;
  padding: 8px 20px;
}

.main-nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-red);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .action-bar__inner {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0 4px;
    border-top: 1px solid var(--bg-light);
  }

  .main-nav li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
  }

  .top-bar__inner {
    flex-wrap: wrap;
  }
}

/* Buscador de dominios */

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 16px 80px;
}

h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.75rem;
  line-height: 1.1;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 12px;
}

.subtitle {
  font-family: var(--font-body);
  color: var(--text-gray);
  text-align: center;
  font-size: 1.05rem;
  margin: 0 0 36px;
}

.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.search-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
}

.search-form input:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 1px;
}

.search-form button {
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--brand-red-dark);
}

.status {
  color: var(--text-gray);
  text-align: center;
  min-height: 20px;
  margin-bottom: 8px;
}

.results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.result__domain {
  font-weight: 600;
  color: var(--text-dark);
  flex: 1 1 auto;
  min-width: 160px;
}

.result__message {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge--available {
  background: var(--available-bg);
  color: var(--available);
}

.badge--taken {
  background: #fde2e4;
  color: var(--brand-red);
}

.badge--unknown {
  background: var(--unknown-bg);
  color: var(--unknown);
}

.contact-btn {
  flex: 1 1 100%;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand-red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.contact-btn:hover {
  background: var(--brand-red-dark);
}

@media (min-width: 480px) {
  .contact-btn {
    flex: 0 0 auto;
    margin-left: auto;
  }
}
