/* ===================================================================
   DOMINIOS EN VENTA — Tooodo.com.ar
   Paleta: negro + gris bloque + dorado + blanco
   Motivo de marca: bandas diagonales (tomadas del isotipo)
=================================================================== */

:root {
  --black: #0a090a;
  --gray-block: #211e21;
  --gray-block-2: #29252a;
  --gold: #e6a945;
  --gold-light: #f3c877;
  --gold-dim: #8a6a2c;
  --white: #ffffff;
  --muted: #b9b3b8;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --skew: -5deg;
  --container: 1120px;
  --radius-sm: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.3px;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

p { margin: 0 0 1rem; color: var(--muted); }

a { color: inherit; text-decoration: none; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section-inner--narrow { max-width: 680px; }

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(230, 169, 69, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline:hover, .btn--outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-dim);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 9, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(230, 169, 69, 0.18);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark__img { height: 42px; width: auto; }

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(230, 169, 69, 0.10), transparent 60%),
    var(--black);
}

.hero__band {
  position: absolute;
  inset: -10% -20%;
  background: linear-gradient(180deg, transparent 0%, transparent 78%, rgba(230, 169, 69, 0.05) 78%, rgba(230, 169, 69, 0.05) 100%);
  transform: skewY(-4deg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(320px, 60vw);
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.hero__eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.4px;
}

.hero__title {
  font-size: clamp(3rem, 9vw, 6rem);
  color: var(--white);
  transform: skewX(var(--skew));
}
.hero__dot { color: var(--gold); }

.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  margin-top: 3.5rem;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color 0.2s ease;
}
.hero__scroll:hover { border-color: var(--gold); }
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}

/* ---------- Metrics (signature diagonal band) ---------- */
.metrics {
  background: var(--gray-block);
  position: relative;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  margin: -3vw 0;
  padding: 3vw 0;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.stat-block {
  background: var(--black);
  padding: 2.2rem 1rem;
  text-align: center;
  transform: skewX(var(--skew));
}

.stat-block__value {
  display: block;
  transform: skewX(calc(var(--skew) * -1));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--gold);
  line-height: 1;
}

.stat-block__label {
  display: block;
  transform: skewX(calc(var(--skew) * -1));
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.metrics__note {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- History ---------- */
.section-inner--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.figure-card {
  background: var(--gray-block);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  border-radius: var(--radius-sm);
}
.figure-card__kicker {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.figure-card__line {
  color: var(--white);
  font-size: 0.98rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.figure-card__line:first-of-type { border-top: none; padding-top: 0; }

/* ---------- Uses ---------- */
.uses { background: var(--black); }

.use-list {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.use-item {
  background: var(--gray-block);
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--gold-dim);
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.use-item:hover {
  border-top-color: var(--gold);
  background: var(--gray-block-2);
  transform: translateY(-4px);
}
.use-item:first-child { grid-column: 1 / -1; }
.use-item p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Offer ---------- */
.offer {
  background: var(--gray-block);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
  margin: -3vw 0;
  padding: 3vw 0;
}

.offer-form { margin-top: 2rem; }
.offer-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.offer-form__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--black);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.offer-form__row:focus-within { border-color: var(--gold); }

.offer-form__prefix {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  color: var(--gold-light);
  font-weight: 700;
  background: rgba(230, 169, 69, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-form__row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 0 0.9rem;
}
.offer-form__row input:focus { outline: none; }
.offer-form__row .btn { border-radius: 0; }

.offer-form__hint {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.offer-form__error {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #ff9d7a;
  min-height: 1.2em;
}
.offer-form__error.is-success { color: var(--gold-light); }

/* ---------- Contact ---------- */
.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--gray-block);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--gray-block-2);
}
.contact-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold-light);
}
.contact-card__value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin: 0 auto 1.2rem;
  opacity: 0.9;
}
.footer-inner p { max-width: 520px; margin-left: auto; margin-right: auto; }
.footer-fine { font-size: 0.8rem; opacity: 0.6; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  .btn, .use-item, .contact-card { transition: none; }
}

/* ---------- 404 (respaldo, ver .htaccess) ---------- */
.notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.notfound__inner { max-width: 480px; }
.notfound__logo { width: 140px; margin: 0 auto 1.8rem; }
.notfound__code {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 12vw, 5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.notfound__note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.75;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section-inner--split { grid-template-columns: 1fr; }
  .use-list { grid-template-columns: 1fr; }
  .use-item:first-child { grid-column: auto; }
  .contact-options { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .header-inner.is-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 9, 10, 0.97);
    padding: 1.2rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(230, 169, 69, 0.18);
  }

  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .offer-form__row { flex-wrap: wrap; }
  .offer-form__row input { flex-basis: 100%; padding: 0.8rem 0.9rem; }
  .offer-form__row .btn { flex: 1; }
  .offer-form__prefix { border-right: none; }
}

@media (max-width: 480px) {
  .section-inner { padding: 4rem 1.25rem; }
  .hero { padding-top: 6.5rem; }
}
