:root {
  color-scheme: dark;
  --bg: #080b20;
  --text: #f6f4ff;
  --muted: #d0d2e8;
  --accent: #a5f2ff;
  --line: #343854;
  font: 1rem/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 16px clamp(16px, 5vw, 80px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 780; letter-spacing: -.05em; }
.brand span {
  width: 25px; height: 25px; border: 2px solid #a2f4ff; border-radius: 8px;
  background: linear-gradient(135deg, #b28cff, #6348ff); transform: rotate(-12deg);
}
.top nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 21px; }
.top nav a { font-size: .9rem; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }
.home { min-height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.home main { display: grid; min-height: 0; }
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: clamp(340px, 58vh, 660px); padding: 32px clamp(20px, 8vw, 128px);
  background: #141a46;
}
.home .hero { min-height: 0; }
.cover, .shade { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cover { object-fit: cover; object-position: center; }
.shade { background: linear-gradient(90deg, #080b20 1%, #090d26e8 28%, #0a102999 51%, #080b2015 82%); }
.hero-copy { max-width: 740px; }
.eyebrow { color: var(--accent); font-size: .85rem; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 13px; }
h1 { max-width: 10.5ch; font-size: clamp(3.25rem, 7.6vw, 8.5rem); line-height: .93; letter-spacing: -.075em; margin: 0; text-wrap: balance; }
.service h1 { font-size: clamp(2.8rem, 6.5vw, 6.8rem); max-width: 14ch; }
.lead { max-width: 470px; color: var(--muted); font-size: clamp(1rem, 1.9vw, 1.26rem); margin: 19px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.primary, .secondary { display: inline-block; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: .9rem; }
.primary { background: #b9a5ff; color: #120c2b; }
.secondary { border: 1px solid #a4abdb; background: #0b1031a0; }
.primary:hover { background: #ddd1ff; }
.secondary:hover { background: #242650; }
.details { width: min(1160px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 35px 0; }
.details article { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #131634; }
.details h2 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 9px; }
.details p { margin: 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: #0d1029; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 5vw, 62px); padding: 13px 16px; font-size: .9rem; }
.quick a:hover { color: var(--accent); }
@media (max-width: 820px) {
  .top { flex-wrap: wrap; gap: 8px; }
  .top nav { justify-content: flex-start; gap: 4px 14px; }
  .details { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .home .hero { align-items: flex-end; padding: 18px 20px 24px; }
  .home .shade { background: linear-gradient(0deg, #080b20 10%, #080b20e6 34%, #080b2050 69%, #080b2010 100%); }
  .home .cover { object-position: 58% 26%; }
  .home h1 { font-size: clamp(2.2rem, 11vw, 4rem); }
  .lead { margin-top: 12px; }
  .actions { margin-top: 12px; }
  .home footer { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .home .hero { padding-block: 12px; }
  .home h1 { font-size: clamp(2.25rem, 9vh, 4.5rem); }
  .home .eyebrow, .home .lead, .home .actions { margin-block: 5px 0; }
  .home footer { display: none; }
}
@media (min-width: 821px) {
  .cover { left: auto; width: 65%; object-position: center 53%; }
  .shade { background: linear-gradient(90deg, #090d26 29%, #090d26c7 43%, #090d2620 67%, transparent 86%); }
}
.brand { font-size: clamp(.95rem, 2vw, 1.3rem); letter-spacing: -.035em; }
.brand span { flex: none; }
.lookup { width: min(1160px, calc(100% - 40px)); margin: 30px auto 0; padding: clamp(16px, 4vw, 32px); border: 1px solid var(--line); border-radius: 14px; background: #131634; }
.lookup h2 { margin: 0 0 14px; }
.lookup-fields { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.lookup input, .lookup select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid #777c9d; border-radius: 8px; padding: 9px 12px; }
.lookup input { flex: 1 1 220px; min-width: 0; }
.lookup select { display: block; }
.lookup button { font: inherit; font-weight: 700; border: 0; cursor: pointer; }
.lookup button:disabled { opacity: .65; cursor: wait; }
.lookup a { color: var(--accent); text-decoration: underline; }
.lookup p { margin: 10px 0 0; }
.lookup p:empty, .lookup p:has([hidden]) { display: none; }
.lookup form { margin-top: 16px; }
.domain-results:not([hidden]) { display: grid; gap: 8px; padding: 0; margin: 16px 0; list-style: none; }
.domain-results li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.domain-results span { color: var(--muted); }
.domain-results [data-status="registered"] { color: #ffb9c1; }
.domain-results [data-status="unregistered"] { color: #aaf3ca; }
.technical { width: min(1160px, calc(100% - 40px)); margin: 35px auto; }
.technical > h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.technical .details { width: 100%; padding: 0; }
.technical h3 { font-size: 1.2rem; margin: 0 0 9px; line-height: 1.25; }
.technical article p + p { margin-top: 12px; }
.technical article a { color: var(--accent); text-decoration: underline; }

/* Tarjetas de servicios y resultados de dominios */
.details, .technical { max-width: 1000px; }
.details { gap: 12px; padding-block: 24px; }
.details article {
  padding: 14px 16px;
  border-color: #292d49;
  border-radius: 10px;
  background: linear-gradient(145deg, #151733, #10132b);
}
.details h2, .technical h3 { font-size: 1.08rem; margin-bottom: 6px; }
.details p { line-height: 1.5; }
.technical { margin-block: 24px; }
.technical > h2 { margin-bottom: 12px; }
.technical .details { padding: 0; }
.lookup { max-width: 1000px; padding: clamp(14px, 2vw, 22px); border-radius: 10px; }
.domain-results li { padding: 7px 10px; border-radius: 7px; }
@media (min-width: 561px) and (max-width: 820px) {
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home .hero { overflow: hidden; background: #090d26; }
.home .cover { filter: blur(1px); }
.home .hero-copy { position: relative; z-index: 1; }

@media (min-width: 821px) {
  .home .cover {
    width: 76%;
    mask-image: linear-gradient(90deg, transparent, #000 38%);
  }
  .home .shade {
    background: linear-gradient(90deg, #090d26 10%, #090d26cb 30%, #090d2666 48%, transparent 74%);
  }
}
@media (max-width: 820px) {
  .home .shade {
    background: linear-gradient(90deg, #090d26ed, #090d26a8 49%, #090d2629);
  }
}
@media (max-width: 560px) {
  .home .shade {
    background: linear-gradient(0deg, #090d26 7%, #090d26e8 26%, #090d26a3 47%, #090d2614 83%);
  }
}

/* Contacto en la portada */
.home { grid-template-rows: auto auto minmax(min-content, 1fr) auto; }
.business-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding: 10px 20px;
  background: #10142d;
  border-block-end: 1px solid var(--line);
  font-style: normal;
}
.business-contact a,
.business-location {
  color: #fff;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.business-contact a span,
.business-location span {
  color: #cfbdfa;
  margin-inline-end: 5px;
  font-size: .8rem;
  font-weight: 500;
}
.business-contact a:hover,
.business-contact a:focus-visible { text-decoration: underline; }

@media (max-width: 560px) {
  .business-contact {
    justify-content: flex-start;
    gap: 6px 18px;
    font-size: .875rem;
  }
}

.company-description {
  text-align: justify;
  hyphens: auto;
  max-width: 55ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.company-description strong { color: var(--text); }
