/* Landing de Saldofy (saldofy.com.ar). Estático, sin fuentes ni scripts de
   terceros. Mismos tokens de marca que la app (--accent #1D9E75). */

:root {
  color-scheme: light dark;
  --accent: #1D9E75;
  --accent-hover: #178a63;
  --accent-suave: rgba(29, 158, 117, .12);
  --fondo: #f6f7f5;
  --superficie: #ffffff;
  --superficie-2: #eef1ee;
  --texto: #1b2320;
  --texto-2: #55605b;
  --borde: #dfe4e0;
  --sombra: 0 10px 30px rgba(20, 40, 30, .10);
  --radio: 16px;
  --ancho: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #16191c;
    --superficie: #1e2226;
    --superficie-2: #252a2f;
    --texto: #e8ecea;
    --texto-2: #a3aca8;
    --borde: #2f353a;
    --sombra: 0 10px 30px rgba(0, 0, 0, .35);
    --accent-suave: rgba(29, 158, 117, .16);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--fondo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}
/* height:auto: sin esto el atributo height del <img> (que sólo está para
   reservar el espacio y evitar saltos al cargar) se vuelve un alto fijo. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }

/* --- Encabezado ------------------------------------------------------------ */
.encabezado {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--fondo) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}
.encabezado .contenedor { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.marca img { height: 30px; width: auto; }
.logo-oscuro { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-claro { display: none; }
  .logo-oscuro { display: block; }
}
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--texto-2); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--texto); }
@media (max-width: 760px) { .nav { display: none; } .encabezado .btn { margin-left: auto; } }

/* --- Botones ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primario { background: var(--accent); color: #fff; }
.btn-primario:hover { background: var(--accent-hover); }
.btn-secundario { background: transparent; color: var(--texto); border-color: var(--borde); }
.btn-secundario:hover { border-color: var(--accent); }
.btn-chico { padding: .5rem 1rem; font-size: .92rem; }
.btn-mp { background: #009EE3; color: #fff; }
.btn-mp:hover { background: #0087c2; }

/* --- Portada ----------------------------------------------------------------- */
.portada { padding: 4.5rem 0 3rem; overflow: hidden; }
.portada .contenedor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.etiqueta {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-suave); padding: .3rem .7rem; border-radius: 999px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 1rem 0; }
.bajada { font-size: 1.15rem; color: var(--texto-2); max-width: 34rem; margin: 0 0 2rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.nota { font-size: .85rem; color: var(--texto-2); margin-top: 1rem; }

.telefonos { position: relative; height: 560px; }
.telefono {
  position: absolute; width: 250px; padding: 9px; border-radius: 38px;
  background: #0c0f11; box-shadow: var(--sombra), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.telefono img { border-radius: 30px; width: 100%; }
.telefono.frente { right: 18%; top: 0; z-index: 2; }
.telefono.atras { right: -2%; top: 60px; transform: rotate(6deg); opacity: .9; }

@media (max-width: 900px) {
  .portada .contenedor { grid-template-columns: 1fr; }
  .telefonos { height: 480px; }
  .telefono { width: 215px; }
  .telefono.frente { right: auto; left: calc(50% - 150px); }
  .telefono.atras { right: auto; left: calc(50% - 20px); }
}

/* --- Secciones ----------------------------------------------------------------- */
section { scroll-margin-top: 80px; }
.seccion { padding: 5rem 0; }
.seccion.alterna { background: var(--superficie-2); }
.titulo-seccion { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.titulo-seccion h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.15; margin: .6rem 0; letter-spacing: -.01em; }
.titulo-seccion p { color: var(--texto-2); margin: 0; }

.grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .grilla { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grilla { grid-template-columns: 1fr; } }
.tarjeta {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.6rem; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.tarjeta h3 { margin: .9rem 0 .4rem; font-size: 1.1rem; }
.tarjeta p { margin: 0; color: var(--texto-2); font-size: .97rem; }
.icono {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-suave); color: var(--accent);
}
.icono svg { width: 24px; height: 24px; }

/* Bloque de privacidad */
.privacidad { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
/* La moneda de marca como máscara: el SVG usa currentColor, que en un <img>
   sale negro; así se pinta con el acento en los dos temas. */
.privacidad .moneda {
  width: 170px; aspect-ratio: 1; background: var(--accent); opacity: .85;
  -webkit-mask: url(coin-mark.svg) center / contain no-repeat;
  mask: url(coin-mark.svg) center / contain no-repeat;
}
.privacidad ul { padding-left: 1.2rem; color: var(--texto-2); }
.privacidad li { margin: .3rem 0; }
@media (max-width: 700px) { .privacidad { grid-template-columns: 1fr; } .privacidad .moneda { width: 120px; } }

/* Galería */
.galeria { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.galeria figure { margin: 0; text-align: center; }
.galeria .telefono { position: static; width: 230px; }
.galeria figcaption { margin-top: .8rem; color: var(--texto-2); font-size: .92rem; }
/* En el celular, tres teléfonos apilados son un scroll eterno: carrusel
   horizontal que se desliza con el dedo. */
@media (max-width: 760px) {
  .galeria {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    scroll-snap-type: x mandatory; gap: 1.2rem;
    margin-inline: -1.25rem; padding: .5rem 1.25rem 1rem;
    scrollbar-width: none;
  }
  .galeria::-webkit-scrollbar { display: none; }
  .galeria figure { flex: 0 0 auto; scroll-snap-align: center; }
  .galeria .telefono { width: 210px; }
}
.escritorio {
  margin: 3.5rem auto 0; max-width: 960px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--borde); box-shadow: var(--sombra);
}
.escritorio .barra { height: 30px; background: var(--superficie); display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.escritorio .barra span { width: 10px; height: 10px; border-radius: 50%; background: var(--borde); }
.video { margin-top: 4.5rem; text-align: center; }
.video h3 { font-size: 1.3rem; margin: 0 0 .4rem; }
.video p { color: var(--texto-2); margin: 0; }
.video .escritorio { margin-top: 1.5rem; }
.video .escritorio video { display: block; width: 100%; height: auto; background: #000; }

/* Sobre mí */
.sobre { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; max-width: 820px; margin: 0 auto; }
.monograma {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 2rem; font-weight: 700;
}
.sobre p { color: var(--texto-2); }
.firma { color: var(--texto) !important; font-weight: 600; }
@media (max-width: 600px) { .sobre { grid-template-columns: 1fr; } }

/* Apoyar */
.apoyar { text-align: center; max-width: 640px; margin: 0 auto; }
.apoyar p { color: var(--texto-2); }
.apoyar .acciones { justify-content: center; margin-top: 1.5rem; }

/* Pie */
.pie { border-top: 1px solid var(--borde); padding: 2.5rem 0; font-size: .92rem; color: var(--texto-2); }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.pie nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.pie a { color: var(--texto-2); text-decoration: none; }
.pie a:hover { color: var(--accent); }

/* Página de texto (privacidad) */
.texto { max-width: 760px; margin: 0 auto; padding: 3.5rem 0 4rem; }
.texto h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.texto h2 { margin-top: 2.4rem; font-size: 1.3rem; }
.texto p, .texto li { color: var(--texto-2); }
.texto strong { color: var(--texto); }
.actualizado { font-size: .9rem; color: var(--texto-2); }
