/* ============================================================
   Disgráf.ca — Landing "en construcción"
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens de diseño ───────────────────────────────────────── */
:root {
  --color-bg:    #F5A800;
  --color-text:  #1a1100;
  --color-muted: #5a3e00;
  --color-white: #ffffff;
  --color-black: #111111;
  --color-wa:    #25D366;

  --radius-pill: 9999px;
  --radius-card: 12px;

  --font-base: 'Poppins', sans-serif;

  --transition: 0.2s ease;

  /* Márgenes laterales — refleja los de la plantilla de referencia */
  --side-padding: 15vw;
}

/* ── Base ───────────────────────────────────────────────────── */
html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Header — logo arriba a la derecha ──────────────────────── */
.site-header {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
}

.logo-wrap {
  display: inline-block;
  text-decoration: none;
}

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

/* ── Contenido principal — dos columnas ─────────────────────── */
.page {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4vw;
  align-items: center;
  padding: 0 var(--side-padding);
}

/* ── Columna izquierda ──────────────────────────────────────── */
.col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.heading-main {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.heading-sub {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 1.4rem;
}

.description {
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 1.8rem;
}

/* ── Botón WhatsApp ─────────────────────────────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--color-black);
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}

.btn-wa:hover {
  background: var(--color-wa);
  transform: translateY(-2px);
}

.btn-wa__icon {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
  flex-shrink: 0;
}

/* ── Columna derecha — ilustración ──────────────────────────── */
.col-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.construction-img {
  width: clamp(280px, 44vw, 560px);
  height: auto;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-12px); }
}

/* ── Footer — centrado en la parte inferior ─────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem 1.4rem;
  text-align: center;
}

/* Redes sociales */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.social-links__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-pill);
  transition: background var(--transition), border-color var(--transition);
}

.social-links__item:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.4);
}

.social-links__icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Datos de contacto */
.contact-info {
  font-size: 0.72rem;
  font-style: normal;
  color: var(--color-muted);
  line-height: 1.8;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

/* ── Responsive — móvil ─────────────────────────────────────── */
@media (max-width: 700px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  body {
    min-height: 100vh;
  }

  .site-header {
    position: static;
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem 0;
  }

  .page {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.5rem 0;
    column-gap: 0;
    row-gap: 1rem;
  }

  .col-left {
    order: 2;
    align-items: center;
    text-align: center;
  }

  .col-right {
    order: 1;
  }

  .description {
    text-align: center;
  }

  .construction-img {
    width: clamp(200px, 70vw, 320px);
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}
